Daemon fails to start because "Accomplishment collection with invalid ABOUT file"

Bug #1012839 reported by Chris Wayne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments System
Incomplete
Undecided
Unassigned

Bug Description

Version: 0.2 from release ppa

Summary:

When launching the accomplishments-viewer, starting the daemon seems to fail with the following stack trace:

cwayne@pacothecat:~$ accomplishments-viewer
Daemon seems to be installed to: /usr
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `Window' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `EditExtrainfoDialog' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)
Starting the daemon using command `twistd -noy /usr/bin/accomplishments-daemon --logfile=/home/cwayne/.cache/accomplishments/logs/daemon.log &`
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `AccomplishmentsViewerWindow' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)
Daemon seems to be installed to: /usr
------------------- Ubuntu Accomplishments Daemon - 2012-06-13 16:14:36.207395 -------------------
Accomplishments install paths: /home/cwayne/accomplishments
Trophies path: /home/cwayne/.local/share/accomplishments/trophies
/home/cwayne/accomplishments/accomplishments/ubuntu-community/ABOUT
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 652, in run
    runApp(config)
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 386, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 451, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 462, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.7/dist-packages/twisted/application/service.py", line 405, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.7/dist-packages/twisted/persisted/sob.py", line 210, in loadValueFromFile
    exec fileObj in d, d
  File "/usr/bin/accomplishments-daemon", line 47, in <module>
    gpg_key=os.path.join(paths.systemdata_dir, "validation-key.pub"))
  File "/usr/lib/python2.7/dist-packages/accomplishments/daemon/app.py", line 41, in applicationFactory
    show_notifications=True)
  File "/usr/lib/python2.7/dist-packages/accomplishments/daemon/dbusapi.py", line 69, in __init__
    self.api = api.Accomplishments(self, self.show_notifications)
  File "/usr/lib/python2.7/dist-packages/accomplishments/daemon/api.py", line 378, in __init__
    self.reload_accom_database()
  File "/usr/lib/python2.7/dist-packages/accomplishments/daemon/api.py", line 816, in reload_accom_database
    raise LookupError("Accomplishment collection with invalid ABOUT file ")
exceptions.LookupError: Accomplishment collection with invalid ABOUT file

Failed to load application: Accomplishment collection with invalid ABOUT file

Revision history for this message
Matt Fischer (mfisch) wrote :

How did you install the package? It appears to be installed into your home directory?

Changed in ubuntu-accomplishments-system:
status: New → Incomplete
Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote : Re: [Bug 1012839] Re: Daemon fails to start because "Accomplishment collection with invalid ABOUT file"

It indeed looks as if an accomplishments collection was installed in
your home dir. Was it intended, or did you mean to use a default
installation? If you intentionally wanted to use such setup, can you
please send us the contents of your
/home/cwayne/accomplishments/accomplishments/ubuntu-community/ABOUT
file?

Revision history for this message
Matt Fischer (mfisch) wrote :

Is this still reproducible?

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.