Adding palettes from colourlover lens does not work

Bug #965122 reported by Michal Predotka on 2012-03-26
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
One Hundred Scopes
High
David Callé

Bug Description

Since some time clicking on a palette in coloulovers lens does nothing. Adding palettes with one click was one of my favorite feature in lenses.
How can I debug this?

David Callé (davidc3) on 2012-03-26
Changed in onehundredscopes:
status: New → In Progress
importance: Undecided → High
assignee: nobody → David Callé (davidc3)
David Callé (davidc3) wrote :

Hi Michał, I don't have a 11.10 install today to debug this.

Could you please kill the scope daemon :
$ ps aux | grep colourlovers
Find the process number of the unity-scope-colourlovers daemon (the first number after your user name)
$ kill <processnumber>

Then, restart it with :
$ /usr/lib/unity-scope-colourlovers/unity-scope-colourlovers

Do a search in the GraphicDesign lens, click on a palette, then paste here the terminal output.

Thank you very much.

Michal Predotka (mpredotka) wrote :

Thanks.
This is what I get.

michal@michal-Inspiron-530-11:~$ ps aux | grep colourlovers
michal 5139 0.3 0.2 62080 9948 ? Sl 12:38 0:00 /usr/bin/python /opt/extras.ubuntu.com/unity-lens-graphicdesign/lib/unity-scope-colourlovers
michal 5159 0.0 0.0 5692 776 pts/0 S+ 12:38 0:00 grep --color=auto colourlovers
michal@michal-Inspiron-530-11:~$ kill 5139
michal@michal-Inspiron-530-11:~$ /usr/lib/unity-scope-colourlovers/unity-scope-colourlovers
bash: /usr/lib/unity-scope-colourlovers/unity-scope-colourlovers: Nie ma takiego pliku ani katalogu
michal@michal-Inspiron-530-11:~$

“Nie ma takiego pliku ani katalogu” means “No such file or folder”

Michal Predotka (mpredotka) wrote :

OK, I've restarted with different command. Results are here:

michal@michal-Inspiron-530-11:~$ /opt/extras.ubuntu.com/unity-lens-graphicdesign/lib/unity-scope-colourlovers
Search changed to: 'None'
http://www.colourlovers.com/api/palettes?format=json&keywords=
Search changed to: 'vin'
http://www.colourlovers.com/api/palettes?format=json&keywords=vin
Search changed to: 'vintage'
http://www.colourlovers.com/api/palettes?format=json&keywords=vintage
Inkscape not found
Agave not found
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/unity-lens-graphicdesign/lib/unity-scope-colourlovers", line 64, in on_activate_uri
    GLib.spawn_command_line_async('notify-send -i "%s" "%s" "%s"' % ('applications-graphics',notification_title, notification_text))
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Failed to execute child process "notify-send" (Permission denied)
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 59, in apport_excepthook
    from apport.fileutils import likely_packaged
  File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 20, in <module>
    import apport.fileutils
  File "/usr/lib/python2.7/dist-packages/apport/fileutils.py", line 22, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 19, in <module>
    import apt
  File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 35, in <module>
    apt_pkg.init()
SystemError: E:Unable to read /etc/apt/apt.conf.d/ - opendir (13: Permission denied)

Original exception was:
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/unity-lens-graphicdesign/lib/unity-scope-colourlovers", line 64, in on_activate_uri
    GLib.spawn_command_line_async('notify-send -i "%s" "%s" "%s"' % ('applications-graphics',notification_title, notification_text))
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Failed to execute child process "notify-send" (Permission denied)

David Callé (davidc3) wrote :

Ok, I see what it is, the packagers for the Software Center have apparently messed up the authorizations of the scope, it's not able to trigger a notification and crashes. I'll try to get that fixed ASAP.

Michal Predotka (mpredotka) wrote :

Many thanks David!

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

Other bug subscribers