Fix 400 error in test_Client.test_import()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dmedia |
Fix Released
|
Critical
|
Jason Gerard DeRose |
Bug Description
I'm not sure what's going on here. This test passes on Maverick, fails on Natty. Could be issue in dmedia, desktopcouch, or CouchDB. Run `./setup.py test` in the dmedia tree to see failure. Here is trace:
=======
ERROR: test_import (dmedia.
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
return self._call(
File "/home/
return method(*args)
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
DBusException: org.freedesktop
File "/usr/lib/
retval = candidate_
File "/home/
return self.manager.
File "/home/
self._manager = ImportManager(
File "/home/
self.metastore = MetaStore(
File "/home/
self.desktop = CouchDatabase(
File "/usr/lib/
oauth_
File "/usr/lib/
oauth_
File "/usr/lib/
self.
File "/usr/lib/
super(
File "/usr/lib/
if self._database_name not in self._server:
File "/usr/lib/
self.
File "/usr/lib/
return self._request(
File "/usr/lib/
credentials
File "/usr/lib/
raise ServerError(
ServerError: (400, '')
-------
Ran 128 tests in 26.349s
FAILED (errors=1)
Related branches
- James Raymond: Approve
-
Diff: 3658 lines (+1603/-1016)32 files modifiedMANIFEST.in (+4/-3)
dmedia-cli (+69/-167)
dmedia-gtk (+46/-37)
dmedia-importer-service (+47/-46)
dmedia-service (+72/-0)
dmedia/__init__.py (+1/-0)
dmedia/abstractcouch.py (+22/-34)
dmedia/api.py (+87/-0)
dmedia/constants.py (+3/-1)
dmedia/core.py (+195/-0)
dmedia/filestore.py (+31/-36)
dmedia/gtkui/client.py (+19/-19)
dmedia/gtkui/service.py (+23/-28)
dmedia/gtkui/tests/test_client.py (+10/-9)
dmedia/gtkui/tests/test_service.py (+0/-53)
dmedia/importer.py (+5/-14)
dmedia/schema.py (+19/-3)
dmedia/service/__init__.py (+94/-0)
dmedia/tests/couch.py (+5/-3)
dmedia/tests/test_abstractcouch.py (+72/-143)
dmedia/tests/test_api.py (+125/-0)
dmedia/tests/test_core.py (+336/-0)
dmedia/tests/test_downloader.py (+8/-8)
dmedia/tests/test_filestore.py (+106/-77)
dmedia/tests/test_importer.py (+4/-4)
dmedia/tests/test_transcoder.py (+2/-2)
dmedia/tests/test_views.py (+65/-136)
dmedia/views.py (+76/-162)
dmedia/workers.py (+6/-6)
setup.py (+46/-23)
share/org.freedesktop.DMedia.service (+3/-0)
share/org.freedesktop.DMediaImporter.service (+2/-2)
Changed in dmedia: | |
milestone: | 0.4 → 0.5 |
Changed in dmedia: | |
milestone: | 0.5 → 0.6 |
Changed in dmedia: | |
status: | Triaged → In Progress |
assignee: | nobody → Jason Gerard DeRose (jderose) |
Changed in dmedia: | |
status: | In Progress → Fix Committed |
Changed in dmedia: | |
status: | Fix Committed → Fix Released |
Raised this to critical. This seems to be related to the D-Bus timeout problem I've been having:
DEBUG dispatch in process 25389: worker= 'ImportWorker' , key=u'/ home/jderose/ Videos' , args=(' ISDGZ4OU3OUC3VZ ORCXZGXBX' , u'/home/ jderose/ Videos' , dbus.Boolean(True), None) .DBusException: org.freedesktop .DBus.Error. NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
ERROR Introspect error on :1.311:/: dbus.exceptions
DEBUG Executing introspect queue due to error