Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
websauna mac stacktrace
(saunaenv)➜ xact ws-alembic -c conf/development.ini -x packages=all revision --auto -m "Initial migration"
Traceback (most recent call last):
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/bin/ws-alembic", line 9, in <module>
load_entry_point('websauna==1.0a3', 'console_scripts', 'ws-alembic')()
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
return ep.load()
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2355, in load
return self.resolve()
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2361, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/src/websauna/websauna/system/__init__.py", line 5, in <module>
from websauna.system.mail.utils import create_mailer
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/src/websauna/websauna/system/mail/__init__.py", line 13, in <module>
from websauna.system.http import Request
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/src/websauna/websauna/system/http/__init__.py", line 9, in <module>
from websauna.system.admin.admin import Admin
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/src/websauna/websauna/system/admin/admin.py", line 9, in <module>
from websauna.system.core.root import Root
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/src/websauna/websauna/system/core/root.py", line 2, in <module>
from websauna.system.core.interfaces import IRoot
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/src/websauna/websauna/system/core/interfaces.py", line 22, in <module>
class IContainer(ILocation):
File "/Users/maz/tmp/.sidha/files.noindex/websaunaproj/saunaenv/src/websauna/websauna/system/core/interfaces.py", line 70, in IContainer
def items() -> Iterable[Tuple[str, ILocation]]:
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/typing.py", line 696, in __getitem__
parameters = tuple(_type_check(p, msg) for p in parameters)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/typing.py", line 696, in <genexpr>
parameters = tuple(_type_check(p, msg) for p in parameters)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/typing.py", line 299, in _type_check
raise TypeError(msg + " Got %.100r." % (arg,))
TypeError: Tuple[t0, t1, ...]: each t must be a type. Got <InterfaceClass pyramid.interfaces.ILocation>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment