Missing dependency on python-simplejson

Bug #1089461 reported by Barry Drake
36
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntuone-client (Ubuntu)
Fix Released
Undecided
dobey
Raring
Fix Released
Undecided
dobey

Bug Description

Following yesterday's Raring Updates, after booting, I get an error that says the ubuntuone-syncdaemon has closed. If I tell apport to report the bug, nothing happens. Running the ubuntuone control panel from the terminal gets me:

~$ ubuntuone-control-panel-qt
QGtkStyle was unable to detect the current GTK+ theme.
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: ubuntuone.platform.tools.linux.IPCError: org.freedesktop.DBus.Error.Spawn.ChildExited:
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: ubuntuone.platform.tools.linux.IPCError: org.freedesktop.DBus.Error.Spawn.ChildExited:
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: ubuntuone.platform.tools.linux.IPCError: org.freedesktop.DBus.Error.Spawn.ChildExited:
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: ubuntuone.platform.tools.linux.IPCError: org.freedesktop.DBus.Error.Spawn.ChildExited:

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: ubuntuone-control-panel-qt 4.1.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.7.0-5.13-generic 3.7.0-rc8
Uname: Linux 3.7.0-5-generic i686
ApportVersion: 2.7-0ubuntu1
Architecture: i386
Date: Wed Dec 12 16:11:36 2012
InstallationDate: Installed on 2012-11-17 (24 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20121117)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: ubuntuone-control-panel
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Barry Drake (b-drake) wrote :
Revision history for this message
Roberto Alsina (ralsina) wrote :

Could you attach the ubuntuone logs? They are located in ~/.cache/ubuntuone/log/

Since those logs may contain filenames and other private information, I'll mark the bug as private.

Revision history for this message
dobey (dobey) wrote :

syncdaemon-exceptions.log is the only important one we need for this bug, I think.

Changed in ubuntuone-control-panel (Ubuntu):
status: New → Incomplete
dobey (dobey)
affects: ubuntuone-control-panel (Ubuntu) → ubuntuone-client (Ubuntu)
Changed in ubuntuone-client (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Changed in ubuntuone-client:
status: New → Incomplete
assignee: nobody → Ubuntu One Client Engineering team (ubuntuone-client-engineering)
Roberto Alsina (ralsina)
information type: Public → Private
Revision history for this message
Barry Drake (b-drake) wrote :

Here are two syncdaemon-exceptions logs

Revision history for this message
Barry Drake (b-drake) wrote :

Early days yet - but I've just taken the Raring updates which included an updated syncdaemon and this seems to have fixed the problem. Maybe someone else can verify?

Revision history for this message
dobey (dobey) wrote :

Do you have any more errors showing up in the logs in ~/.cache/ubuntuone/log/ at all? There should be a syncdaemon.log and syncdaemon-exceptions.log which should hopefully show some errors.

However, I have seen no other reports on this issue other than from you, and I see no such crashes on the errors.ubuntu.com crash report site. I wonder if perhaps this is limited to your own system. Can you replicate the issue on other computers, or as another user on the same machine?

Revision history for this message
Barry Drake (b-drake) wrote :

This problem is different from the last one which was fixed. I now get the following if I use u1sdtool:

~$ u1sdtool --list-folders
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:651: PyGIDeprecationWarning: Calling io_add_watch without priority as second argument is deprecated
  PyGIDeprecationWarning)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:662: PyGIDeprecationWarning: Calling io_add_watch with priority keyword argument is deprecated, put it as second positional argument
  PyGIDeprecationWarning)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:677: PyGIDeprecationWarning: Calling io_add_watch with a file descriptor is deprecated; call it with a GLib.IOChannel object
  PyGIDeprecationWarning)

Oops, an error ocurred:
org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1

I suspect that something in the dependencies somewhere never got updated, but worked OK on my late November installation right through to yesterday when I accidentally trashed the drive it was installed on. The new iso was taken this morning and updated later in the day.

Revision history for this message
Barry Drake (b-drake) wrote :

There are only two log files. First:

Revision history for this message
Barry Drake (b-drake) wrote :

Second

Revision history for this message
dobey (dobey) wrote :

The deprecation warnings are not a problem, and they will go away as soon as a newer pygobject gets uploaded to raring. As for the logs, if there is no syncdaemon.log then it would seem like ubuntuone-syncdaemon is crashing before it can even set up logging, which is pretty early on.

What happens if in a terminal you simply run "/usr/lib/ubuntuone-client/ubuntuone-syncdaemon --debug" to start it?

Revision history for this message
Barry Drake (b-drake) wrote :

~$ /usr/lib/ubuntuone-client/ubuntuone-syncdaemon --debug
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:651: PyGIDeprecationWarning: Calling io_add_watch without priority as second argument is deprecated
  PyGIDeprecationWarning)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:662: PyGIDeprecationWarning: Calling io_add_watch with priority keyword argument is deprecated, put it as second positional argument
  PyGIDeprecationWarning)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:677: PyGIDeprecationWarning: Calling io_add_watch with a file descriptor is deprecated; call it with a GLib.IOChannel object
  PyGIDeprecationWarning)
Traceback (most recent call last):
  File "/usr/lib/ubuntuone-client/ubuntuone-syncdaemon", line 68, in <module>
    from ubuntuone.syncdaemon.main import Main
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/main.py", line 38, in <module>
    from ubuntuone.syncdaemon import (
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/action_queue.py", line 37, in <module>
    import simplejson
ImportError: No module named simplejson

Oh, and I did try UbuntuOne from another account withe the same result.

Revision history for this message
Barry Drake (b-drake) wrote :

I've installed python-simplejson and UbuntuOne now works correctly. There seems to be an issue in that simplejson is no longer installed by default in Raring and UbuntuOne does not show it as a dependency. Hope this is of assistance.

Revision history for this message
dobey (dobey) wrote :

I've deleted the attachments and made the bug public again. A fix will be available soon.

information type: Private → Public
Changed in ubuntuone-client (Ubuntu):
status: Incomplete → In Progress
Changed in ubuntuone-client:
assignee: Ubuntu One Client Engineering team (ubuntuone-client-engineering) → nobody
Changed in ubuntuone-client (Ubuntu):
assignee: nobody → Rodney Dawes (dobey)
summary: - ubuntuone-syncdaemon crashes after startup
+ Missing dependency on python-simplejson
no longer affects: ubuntuone-client
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 4.1.0-0ubuntu2

---------------
ubuntuone-client (4.1.0-0ubuntu2) raring; urgency=low

  * debian/control:
    - Add missing runtime dependency on python-simplejson. (LP: #1089461)
 -- Rodney Dawes <email address hidden> Tue, 18 Dec 2012 16:47:56 -0500

Changed in ubuntuone-client (Ubuntu Raring):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.