No Ubuntu One crashes the daemon

Bug #942738 reported by Andrea Grandi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments System
Fix Released
Critical
Andrea Grandi

Bug Description

I'm using Ubuntu 12.04 (updated to the latest packages) and using the latest code from Bazaar, I'm getting this error:

andrea@andrea-VirtualBox:~/Documents/sviluppo/ubuntu-accomplishments-system/daemon$ ./rundaemon.sh
Importing the validation key...
gpg: directory `/home/andrea/.gnupg' created
gpg: new configuration file `/home/andrea/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/andrea/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/home/andrea/.gnupg/secring.gpg' created
gpg: keyring `/home/andrea/.gnupg/pubring.gpg' created
gpg: /home/andrea/.gnupg/trustdb.gpg: trustdb created
gpg: key 6E0B8634: public key "Ubuntu Accomplishments Verifier <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
Starting the accomplishments daemon...
(this would be done by D-Bus activation in the real world)

** WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Traceback (most recent call last):
  File "./libaccomplishments-daemon/daemon.py", line 859, in <module>
    service = AccomplishmentsService(show_notifications=not options.suppress_notifications)
  File "./libaccomplishments-daemon/daemon.py", line 767, in __init__
    self.ad = Accomplishments(self, self.show_notifications)
  File "./libaccomplishments-daemon/daemon.py", line 110, in __init__
    self._loadConfigFile()
  File "./libaccomplishments-daemon/daemon.py", line 425, in _loadConfigFile
    u1ver = self.verifyU1Account()
  File "./libaccomplishments-daemon/daemon.py", line 290, in verifyU1Account
    u1email = json.loads(auth.request(url='https://one.ubuntu.com/api/account/')[1])['email']
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Related branches

Revision history for this message
Jono Bacon (jonobacon) wrote :

This looks to be because Ubuntu One support is not there.

Changed in ubuntu-accomplishments-system:
status: New → Confirmed
summary: - ValueError: No JSON object could be decoded
+ No Ubuntu One crashes the daemon
Changed in ubuntu-accomplishments-system:
importance: Undecided → Critical
assignee: nobody → Andrea Grandi (andreagrandi)
Revision history for this message
Jono Bacon (jonobacon) wrote :

This was resolved in Duncan's upload.

Changed in ubuntu-accomplishments-system:
status: Confirmed → 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.