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

github tarball ModuleNotFoundError: No module named 'afew.version' #283

Open
GuillaumeSeren opened this issue Aug 27, 2020 · 0 comments
Open

Comments

@GuillaumeSeren
Copy link
Collaborator

GuillaumeSeren commented Aug 27, 2020

Hey,
After releasing 3.0.1 I try to use the gh tarball and get this error.

Traceback (most recent call last):
  File "/usr/bin/afew", line 11, in <module>
    load_entry_point('afew==3.0.1', 'console_scripts', 'afew')()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2452, in load
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2458, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.7/site-packages/afew/commands.py", line 15, in <module>
    from afew.version import version
ModuleNotFoundError: No module named 'afew.version'
 mail-sync-afew-mover.service: Main process exited, code=exited, status=1/FAILURE

The file 'afew/version.py' contain the missing piece,
so I think it should be in the gh tarball.

$ cat afew/version.py
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
version = '3.0.1'
@GuillaumeSeren GuillaumeSeren changed the title github incomplete ModuleNotFoundError: No module named 'afew.version' github tarball ModuleNotFoundError: No module named 'afew.version' Aug 27, 2020
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