installing error

Bug #987800 reported by Bone Pyae Sone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Daemon
New
Undecided
Unassigned

Bug Description

when i run a command --> twistd -noy /usr/bin/accomplishments-daemon, it show

 Daemon seems to be run not installed, branch base path used: /usr/lib/pymodules/python2.7
ERROR:root:No credentials found in SSO. Credentials Not Found Error: missing key consumer_key
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/accomplishments/daemon/app.py", line 41, in applicationFactory
    show_notifications=True)
  File "/usr/lib/pymodules/python2.7/accomplishments/daemon/dbusapi.py", line 61, in __init__
    self.api = api.Accomplishments(self, self.show_notifications)
  File "/usr/lib/pymodules/python2.7/accomplishments/daemon/api.py", line 413, in __init__
    self.asyncapi.wait_until_a_sig_file_arrives()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1141, in unwindGenerator
    return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/pymodules/python2.7/accomplishments/daemon/api.py", line 90, in wait_until_a_sig_file_arrives
    success_filter=lambda path,
exceptions.TypeError: wait_for_signals() got an unexpected keyword argument 'success_filter'
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 622, 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 376, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 441, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 452, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.7/dist-packages/twisted/application/service.py", line 400, 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/pymodules/python2.7/accomplishments/daemon/app.py", line 41, in applicationFactory
    show_notifications=True)
  File "/usr/lib/pymodules/python2.7/accomplishments/daemon/dbusapi.py", line 61, in __init__
    self.api = api.Accomplishments(self, self.show_notifications)
  File "/usr/lib/pymodules/python2.7/accomplishments/daemon/api.py", line 414, in __init__
    self.generate_all_trophies()
  File "/usr/lib/pymodules/python2.7/accomplishments/daemon/api.py", line 596, in generate_all_trophies
    files = self._get_accomplishments_files_list()
  File "/usr/lib/pymodules/python2.7/accomplishments/daemon/api.py", line 465, in _get_accomplishments_files_list
    sets = os.listdir(self.accomplishments_path)
exceptions.OSError: [Errno 2] No such file or directory: '/home/bonepyae/accomplishments/accomplishments/'

Failed to load application: [Errno 2] No such file or directory: '/home/bonepyae/accomplishments/accomplishments/'

Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote :

It seems you have no accomplishments set installed. You should install one before using the application, there are instructions on how to install Ubuntu Community Accomplisments here: https://wiki.ubuntu.com/Accomplishments/Installing#installing-uca.

In case you got this error while using Ubuntu Accomplishments Daemon, be warned that currently the daemon does integrate with ubuntu-community-accomplishments package, due to #977362 - in this case you will also need to install accomplishments manually, using the link above.

no longer affects: ubuntu-accomplishments-system
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.