Custom Query (1173 matches)
Results (271 - 273 of 1173)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #5362 | duplicate | Audio submission test fails with | ||
| Description |
When running the tests, the TestSubmission.test_audio test fails, here is the traceback: Traceback (most recent call last):
File "/home/tsyesika/mediagoblin/mediagoblin/tests/test_submission.py", line 393, in test_audio
self.check_normal_upload('Audio', path)
File "/home/tsyesika/mediagoblin/mediagoblin/tests/test_submission.py", line 127, in check_normal_upload
**self.upload_data(filename))
File "/home/tsyesika/mediagoblin/mediagoblin/tests/test_submission.py", line 90, in do_post
response = self.test_app.post(url, data, **kwargs)
File "/home/tsyesika/mediagoblin/local/lib/python2.7/site-packages/WebTest-1.4.3-py2.7.egg/webtest/app.py", line 838, in post
content_type=content_type)
File "/home/tsyesika/mediagoblin/local/lib/python2.7/site-packages/WebTest-1.4.3-py2.7.egg/webtest/app.py", line 810, in _gen_request
expect_errors=expect_errors)
File "/home/tsyesika/mediagoblin/local/lib/python2.7/site-packages/WebTest-1.4.3-py2.7.egg/webtest/app.py", line 1102, in do_request
res = req.get_response(app, catch_exc_info=True)
File "build/bdist.linux-x86_64/egg/webob/request.py", line 1313, in send
application, catch_exc_info=True)
File "build/bdist.linux-x86_64/egg/webob/request.py", line 1281, in call_application
app_iter = application(self.environ, start_response)
File "/home/tsyesika/mediagoblin/local/lib/python2.7/site-packages/WebTest-1.4.3-py2.7.egg/webtest/lint.py", line 179, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/tsyesika/mediagoblin/mediagoblin/app.py", line 342, in __call__
return self.call_backend(environ, start_response)
File "/home/tsyesika/mediagoblin/local/lib/python2.7/site-packages/Werkzeug-0.10.4-py2.7.egg/werkzeug/wsgi.py", line 591, in __call__
return self.app(environ, start_response)
File "/home/tsyesika/mediagoblin/mediagoblin/app.py", line 276, in call_backend
return self._finish_call_backend(request, environ, start_response)
File "/home/tsyesika/mediagoblin/mediagoblin/app.py", line 318, in _finish_call_backend
response = controller(request)
File "/home/tsyesika/mediagoblin/mediagoblin/decorators.py", line 47, in wrapper
return controller(request, *args, **kwargs)
File "/home/tsyesika/mediagoblin/mediagoblin/decorators.py", line 74, in new_controller_func
return controller(request, *args, **kwargs)
File "/home/tsyesika/mediagoblin/mediagoblin/decorators.py", line 47, in wrapper
return controller(request, *args, **kwargs)
File "/home/tsyesika/mediagoblin/mediagoblin/decorators.py", line 74, in new_controller_func
return controller(request, *args, **kwargs)
File "/home/tsyesika/mediagoblin/mediagoblin/decorators.py", line 103, in wrapper
return controller(request, *args, **kwargs)
File "/home/tsyesika/mediagoblin/mediagoblin/submit/views.py", line 73, in submit_start
user=request.user.username)
File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/attributes.py", line 316, in __get__
return self.impl.get(instance_state(instance), dict_)
File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/attributes.py", line 611, in get
value = callable_(state, passive)
File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/state.py", line 442, in __call__
self.manager.deferred_scalar_loader(self, toload)
File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/loading.py", line 555, in load_scalar_attributes
(state_str(state)))
DetachedInstanceError: Instance <LocalUser at 0x7fe7368aa8d0> is not bound to a Session; attribute refresh operation cannot proceed
|
|||
| #5363 | fixed | Serialization of Collection fails | ||
| Description |
When Collections are now serialized in the API it throws an exception because there is no "self.items" this was renamed as per a comment TODO to be "num_items" it needs changing in serialization. |
|||
| #5372 | fixed | test_comment_notification fails with werkzeug 0.11 or newer | ||
| Description |
It seems any Werkzeug version 0.11 or higher breaks out test_comment_notification test, it seems the port number is dropped from the URL in the email body: I've converted the "\n" to newlines to make it more readable. Werkzeug 0.10.4 or below:
Werkzeug 0.11.0 and above:
We could just change it to have the port number in the test and it would pass however that means pinning werkzeug at 0.11 or higher, this may or may not be a problem I don't know, we already pin it at 0.7.0 or higher. |
|||
