-
-
Save anonymous/182aa8e2c8f56c1ccfd63b56342d660d to your computer and use it in GitHub Desktop.
Werkzeug Internal Server Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask/app.py", line 2000, in __call__ | |
return self.wsgi_app(environ, start_response) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask/app.py", line 1991, in wsgi_app | |
response = self.make_response(self.handle_exception(e)) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask/app.py", line 1567, in handle_exception | |
reraise(exc_type, exc_value, tb) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request | |
rv = self.dispatch_request() | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request | |
return self.view_functions[rule.endpoint](**req.view_args) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/flask_login.py", line 792, in decorated_view | |
return func(*args, **kwargs) | |
File "/Users/bob/python/jcm_matchmaker/app/decorators.py", line 12, in decorated_function | |
return f(*args, **kwargs) | |
File "/Users/bob/python/jcm_matchmaker/app/main/views.py", line 198, in manage_companies | |
company.countries = form.countries.data | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 224, in __set__ | |
instance_dict(instance), value, None) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/sqlalchemy/orm/dynamic.py", line 139, in set | |
self._set_iterable(state, dict_, value) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/sqlalchemy/orm/dynamic.py", line 161, in _set_iterable | |
collection_history=collection_history) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/sqlalchemy/orm/dynamic.py", line 99, in fire_append_event | |
value = fn(state, value, initiator or self._append_token) | |
File "/Users/bob/python/jcm_matchmaker/venv/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 1176, in emit_backref_from_collection_append_event | |
child_state, child_dict = instance_state(child), \ | |
AttributeError: 'int' object has no attribute '_sa_instance_state' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment