Ubuntu Accomplishments Daemon is not working in Raring

Bug #1132483 reported by Nicolas DERIVE on 2013-02-24
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Daemon
Undecided
Unassigned

Bug Description

Under raring using latest versions from your PPAs (ubuntu-accomplishments-admins daily and ubuntu-accomplishments PPA), I got these errors, preventing me from connecting to the daemon using the GUI client:

Launching the daemon...
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:667: PyGIDeprecationWarning: Calling io_add_watch without priority as second argument is deprecated
  PyGIDeprecationWarning)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:678: PyGIDeprecationWarning: Calling io_add_watch with priority keyword argument is deprecated, put it as second positional argument
  PyGIDeprecationWarning)
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 161, 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 26, in applicationFactory
    show_notifications=True)
  File "/usr/lib/python2.7/dist-packages/accomplishments/daemon/dbusapi.py", line 56, in __init__
    from accomplishments.daemon import api
  File "/usr/lib/python2.7/dist-packages/accomplishments/daemon/api.py", line 17, in <module>
    import Image
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 75, in <module>
    from . import ImageMode
exceptions.ValueError: Attempted relative import in non-package

Failed to load application: Attempted relative import in non-package

nicolas@black-angel:~$ /usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:667: PyGIDeprecationWarning: Calling io_add_watch without priority as second argument is deprecated
  PyGIDeprecationWarning)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:678: PyGIDeprecationWarning: Calling io_add_watch with priority keyword argument is deprecated, put it as second positional argument
  PyGIDeprecationWarning)
^C
nicolas@black-angel:~$ accomplishments-daemon
Launching the daemon...
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:667: PyGIDeprecationWarning: Calling io_add_watch without priority as second argument is deprecated
  PyGIDeprecationWarning)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:678: PyGIDeprecationWarning: Calling io_add_watch with priority keyword argument is deprecated, put it as second positional argument
  PyGIDeprecationWarning)
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 161, 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 26, in applicationFactory
    show_notifications=True)
  File "/usr/lib/python2.7/dist-packages/accomplishments/daemon/dbusapi.py", line 56, in __init__
    from accomplishments.daemon import api
  File "/usr/lib/python2.7/dist-packages/accomplishments/daemon/api.py", line 17, in <module>
    import Image
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 75, in <module>
    from . import ImageMode
exceptions.ValueError: Attempted relative import in non-package

Failed to load application: Attempted relative import in non-package

nicolas@black-angel:~$ /usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:667: PyGIDeprecationWarning: Calling io_add_watch without priority as second argument is deprecated
  PyGIDeprecationWarning)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:678: PyGIDeprecationWarning: Calling io_add_watch with priority keyword argument is deprecated, put it as second positional argument
  PyGIDeprecationWarning)

What's the problem? If you need more info to debug, I will provide them :)

Nicolas DERIVE (kalon33) wrote :

This is version 0.3~quantal2+181~raring1

Matt Fischer (mfisch) wrote :

What version of python-imaging do you have installed? And, are you still seeing this?

Nicolas DERIVE (kalon33) wrote :

Yes I'm still seeing this (the daemon was not updated these days). I've python-imaging 1.1.7+1.7.8-1ubuntu2 installed (latest raring version). Do you need some other infos?

Matt Fischer (mfisch) wrote :

I created a Raring VM and I cannot repro the issue. The daemon launches and fires up in the background (after a few deprecation warnings).

Is there anything else special or different you did?

Download full text (6.9 KiB)

I only added the fitbit plugin for ubuntu-accomplishments. Its working
properly on another computer using quantal packages.

I don't see anything special apart of that. Is there something
particular I should check?

Le 2013-03-05 04:18, Matt Fischer a écrit :
> I created a Raring VM and I cannot repro the issue. The daemon
> launches
> and fires up in the background (after a few deprecation warnings).
>
> Is there anything else special or different you did?
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1132483
>
> Title:
> Ubuntu Accomplishments Daemon is not working in Raring
>
> Status in Ubuntu Accomplishments Daemon:
> New
>
> Bug description:
> Under raring using latest versions from your PPAs (ubuntu-
> accomplishments-admins daily and ubuntu-accomplishments PPA), I got
> these errors, preventing me from connecting to the daemon using the
> GUI client:
>
> Launching the daemon...
> /usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:667:
> PyGIDeprecationWarning: Calling io_add_watch without priority as
> second argument is deprecated
> PyGIDeprecationWarning)
> /usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:678:
> PyGIDeprecationWarning: Calling io_add_watch with priority keyword
> argument is deprecated, put it as second positional argument
> PyGIDeprecationWarning)
> 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 161, 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
> 26, in applicationFactory
> show_notifications=True)
> File
> "/usr/lib/python2.7/dist-packages/accomplishments/daemon/dbusapi.py",
> line 56, in __init__
> from accomplishments.daemon import api
> File
> "/usr/lib/python2.7/dist-packages/accomplishments/daemon/api.py",
> line
> 17, in <module>
> import Image
> File "/u...

Read more...

Matt Fischer (mfisch) wrote :

Fitbit is working for me as well.

Can you go to ~/.cache/accomplishments/logs and delete all the logs, then logout and try and restart the daemon then?

After that can you post me your daemon.log from the directory above?

Nicolas DERIVE (kalon33) wrote :
Download full text (7.0 KiB)

Sure,

I went to this directory, but it was empty. I started the
accomplishment-daemon (accomplishments-daemon command without args), but
it didn't wrote anything to the directory, no file, so no daemon.log
file to send...

Is there anything else I can do to help?

Le 2013-03-06 00:02, Matt Fischer a écrit :
> Fitbit is working for me as well.
>
> Can you go to ~/.cache/accomplishments/logs and delete all the logs,
> then logout and try and restart the daemon then?
>
> After that can you post me your daemon.log from the directory above?
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1132483
>
> Title:
> Ubuntu Accomplishments Daemon is not working in Raring
>
> Status in Ubuntu Accomplishments Daemon:
> New
>
> Bug description:
> Under raring using latest versions from your PPAs (ubuntu-
> accomplishments-admins daily and ubuntu-accomplishments PPA), I got
> these errors, preventing me from connecting to the daemon using the
> GUI client:
>
> Launching the daemon...
> /usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:667:
> PyGIDeprecationWarning: Calling io_add_watch without priority as
> second argument is deprecated
> PyGIDeprecationWarning)
> /usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:678:
> PyGIDeprecationWarning: Calling io_add_watch with priority keyword
> argument is deprecated, put it as second positional argument
> PyGIDeprecationWarning)
> 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 161, 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
> 26, in applicationFactory
> show_notifications=True)
> File
> "/usr/lib/python2.7/dist-packages/accomplishments/daemon/dbusapi.py",
> line 56, in __init__
> from accomplishments.daemon import api
> File
> "/usr/lib/python2.7/dist-packages/accomplishm...

Read more...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers