Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions error #23

Open
jtrakk opened this issue Aug 24, 2019 · 0 comments
Open

Permissions error #23

jtrakk opened this issue Aug 24, 2019 · 0 comments

Comments

@jtrakk
Copy link

jtrakk commented Aug 24, 2019

Hello I'm running py2deb -- . and getting an error.

py2deb 2.1
Python 3.7.3

I'm not sure which directory it's referring to but my project directory has permissions 755.

deb_pkg_tools.package[25587] INFO Building package in /tmp/py2deb-build-3itgtat_ ..
dpkg-deb: error: control directory has bad permissions 750 (must be >=0755 and <=0775)
Traceback (most recent call last):
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/py2deb/cli.py", line 200, in main
    archives, relationships = converter.convert(arguments)
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/py2deb/converter.py", line 752, in convert
    archive = package.convert()
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/py2deb/package.py", line 502, in convert
    copy_files=False)
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/deb_pkg_tools/package.py", line 718, in build_package
    fakeroot=ALLOW_FAKEROOT_OR_SUDO, logger=logger)
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/executor/__init__.py", line 174, in execute
    return execute_prepared(ExternalCommand(*command, **options))
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/executor/__init__.py", line 203, in execute_prepared
    command.start()
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/executor/__init__.py", line 1441, in start
    self.start_once(**kw)
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/executor/__init__.py", line 1508, in start_once
    self.wait(check=check)
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/executor/__init__.py", line 1551, in wait
    self.check_errors(check=check)
  File "/home/user/Documents/mypackage/venv/lib/python3.7/site-packages/executor/__init__.py", line 1673, in check_errors
    raise self.error_type(self)
executor.ExternalCommandFailed: External command failed with exit code 2!

Command:
fakeroot dpkg-deb --build /tmp/py2deb-build-3itgtat_ /tmp/deb-pkg-tools-build-90n472fs/python3-alabaster_0.7.12_all.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant