Ubuntu Accomplishments Daemon is not working in Raring

Bug #1132483 reported by Nicolas DERIVE
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Daemon
New
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 :)

Revision history for this message
Nicolas DERIVE (kalon33) wrote :

This is version 0.3~quantal2+181~raring1

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

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

Revision history for this message
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?

Revision history for this message
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?

Revision history for this message
Nicolas DERIVE (kalon33) wrote : Re: [Bug 1132483] Re: Ubuntu Accomplishments Daemon is not working in Raring
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...

Revision history for this message
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?

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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