facebook widget don't work - missing packages

Bug #521752 reported by u2ix
72
This bug affects 21 people
Affects Status Importance Assigned to Milestone
KDE Base
Fix Released
Medium
kde4libs (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned
plasma-widget-facebook (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: plasma-widget-facebook

I tried to use the facebook widget in Kde 4.4 (backports). After adding it to the desktop It displays an error message:
"The package facebook (necessary for facebook) could not be opened."
This happened after adding kubuntu backports.

Ubuntu Release: 9.10
Package Version (plasma-widget-facebook): 1.0-0ubuntu1

Revision history for this message
blacklocist (blacklocist) wrote :

Having same problem here!

description: updated
Revision history for this message
Ofir Klinger (klinger-ofir) wrote :

I can confirm this bug.

Is there some solution?

Revision history for this message
Harry Ranquist (harryranquist) wrote :

What package am I missing?

Revision history for this message
Iskendar (alexander-borghgraef) wrote :

I can confirm this too.

Revision history for this message
Søren Holm (sgh) wrote :

I have the same issue here on Lucid

Revision history for this message
Jonathan Riddell (jr) wrote :

As far as I can tell this is an upstream but, plasma no longer looks in the global directory for python plasmoids.

plasma-desktop(1363)/libplasma Plasma::Package::isValid: Could not find required file mainscript , look in "/home/jr/.kde/share/apps/plasma/plasmoids/facebook/contents/code/main"

Well of course it isn't in ~/.kde it's in /usr/share/kde4/apps/plasma/plasmoids/facebook

Changed in plasma-widget-facebook (Ubuntu):
milestone: none → ubuntu-10.04-beta-2
tags: added: kubuntu
Changed in kdebase:
status: Unknown → Confirmed
Revision history for this message
Brian Thomason (brian-thomason) wrote :

This also effects plasma-widget-googlecalendar and any other package that uses a scriptengine.

plasma/applet.cpp in kde4libs does a KStandardDirs::locate for the dir containing the widget. Unfortunately, something is creating empy dirs in ~/.kde/share/apps/plasma/plasmoids/$appname. Given the search order for KStandardDirs::locate, it happily returns this empty dir first.

I have added a tiny patch which solves the problem.

I'm not sure why this worked in karmic; either the search order for KStandardDirs::locate was different, or it was using a different search order.

Revision history for this message
Brian Thomason (brian-thomason) wrote :

>I'm not sure why this worked in karmic; either the search order for KStandardDirs::locate was different, or it was using a different >search order.

I'm not sure why this worked in karmic; either the search order for KStandardDirs::locate was different, or the empty dirs weren't being created in karmic.

Revision history for this message
Jonathan Riddell (jr) wrote :

Lovely. Committed to packaging bzr and upstream's svn.

Jonathan Riddell (jr)
Changed in plasma-widget-facebook (Ubuntu Lucid):
status: New → Invalid
Changed in kdebase-workspace (Ubuntu Lucid):
milestone: none → ubuntu-10.04-beta-2
tags: added: patch
Jonathan Riddell (jr)
affects: kdebase-workspace (Ubuntu Lucid) → kde4libs (Ubuntu Lucid)
Changed in kde4libs (Ubuntu Lucid):
status: New → Fix Released
Changed in kdebase:
status: Confirmed → Fix Released
Changed in kdebase:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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