Skip to content

Instantly share code, notes, and snippets.

@mazz
Created May 25, 2018 02:11
Show Gist options
  • Select an option

  • Save mazz/d3ee18d0b8c6635c2d9118dbaedcd88d to your computer and use it in GitHub Desktop.

Select an option

Save mazz/d3ee18d0b8c6635c2d9118dbaedcd88d to your computer and use it in GitHub Desktop.
docker-websauna app error
app | Error processing line 1 of /usr/local/lib/python3.5/site-packages/websauna-nspkg.pth:
app |
app | Traceback (most recent call last):
app | File "/usr/local/lib/python3.5/site.py", line 167, in addpackage
app | exec(line)
app | File "<string>", line 1, in <module>
app | File "<frozen importlib._bootstrap>", line 574, in module_from_spec
app | AttributeError: 'NoneType' object has no attribute 'loader'
app |
app | Remainder of file ignored
app | Traceback (most recent call last):
app | File "/usr/local/bin/ws-alembic", line 6, in <module>
app | from pkg_resources import load_entry_point
app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3086, in <module>
app | @_call_aside
app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
app | f(*args, **kwargs)
app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3099, in _initialize_master_working_set
app | working_set = WorkingSet._build_master()
app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 574, in _build_master
app | ws.require(__requires__)
app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 892, in require
app | needed = self.resolve(parse_requirements(requirements))
app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 778, in resolve
app | raise DistributionNotFound(req, requirers)
app | pkg_resources.DistributionNotFound: The 'websauna' distribution was not found and is required by the application
app exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment