Bug#770591: Creepy: Plugins not working

Ross Gammon rossgammon at mail.dk
Sat Nov 22 13:05:18 UTC 2014


Package: creepy
Version: 1.2~alpha
Severity: grave

Hi Team,

The twitter and flickr plugins are not working in this version of Creepy
due to Creepy trying to write to the *.config & *.labels files in
usr/share/* without the correct permissions.

Petter Reinholdtsen and I have been working (well Petter mainly) on
Creepy to get it upgraded to the latest version after it was removed
from testing due to a dependency on an old version of osmgpsmap. It took
a lot of patching due to the non-portability of the creepy code. Several
pull requests have been submitted upstream.

Anyway, here are the errors from the creepy.main.log when the current
version in unstable is installed and you try to configure the twitter &
flickr plugins:
2014-11-20 18:00:01,625 - yapsy_loaded_plugin_Twitter_Plugin_0 - DEBUG -
Trying to load the labels file for the  twitter plugin .
2014-11-20 18:00:01,770 - yapsy_loaded_plugin_Flickr_Plugin_0 - DEBUG -
Trying to load the labels file for the  flickr plugin .
2014-11-20 18:01:22,340 - yapsy_loaded_plugin_Twitter_Plugin_0 - ERROR -
[Errno 13] Permission denied:
'/usr/share/creepy/plugins/twitter/twitter.conf'
2014-11-20 18:01:24,584 - yapsy_loaded_plugin_Twitter_Plugin_1 - DEBUG -
Trying to load the labels file for the  twitter plugin .
2014-11-20 18:01:24,586 - yapsy_loaded_plugin_Flickr_Plugin_1 - DEBUG -
Trying to load the labels file for the  flickr plugin .
2014-11-20 18:02:20,901 - yapsy_loaded_plugin_Twitter_Plugin_1 - ERROR -
[Errno 13] Permission denied:
'/usr/share/creepy/plugins/twitter/twitter.conf'
2014-11-20 18:02:27,458 - yapsy_loaded_plugin_Twitter_Plugin_2 - DEBUG -
Trying to load the labels file for the  twitter plugin .
2014-11-20 18:02:27,460 - yapsy_loaded_plugin_Flickr_Plugin_2 - DEBUG -
Trying to load the labels file for the  flickr plugin .
2014-11-20 18:02:47,547 - models.InputPlugin - ERROR - Could not save
the configuration for the flickr plugin.
2014-11-20 18:02:47,547 - models.InputPlugin - ERROR - [Errno 13]
Permission denied: '/usr/share/creepy/plugins/flickr/flickr.conf'
Traceback (most recent call last):
  File "/usr/share/creepy/models/InputPlugin.py", line 70, in
saveConfiguration
    config.write()
  File "/usr/lib/python2.7/dist-packages/configobj.py", line 2128, in write
    with open(self.filename, 'wb') as h:
IOError: [Errno 13] Permission denied:
'/usr/share/creepy/plugins/flickr/flickr.conf'
2014-11-20 18:02:47,582 - models.InputPlugin - ERROR - Could not save
the configuration for the twitter plugin.

Petter suggests the sensible approach of rewriting the config file
handling to only write changed (non-default) values to ~/.creepy/
somewhere and load setup from both /usr/share/creepy/ and ~/.creepy/
when using the plugin.  See <URL:
https://lists.debian.org/debian-devel/2005/11/msg00017.html > for some
details on the idea.

Regards,

Ross

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20141122/693b9319/attachment.sig>


More information about the Pkg-grass-devel mailing list