SRU: Parley fails to initialize Python scripts

Bug #484802 reported by Michał Zając
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kdeedu (Ubuntu)
Fix Released
Undecided
Jonathan Riddell
Karmic
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Jonathan Riddell

Bug Description

Parley from KDE Edu module fails to initialize Python modules, this is due libkrosspython0 not being installed.
Test case:

  1. Install Parley (sudo apt-get install parley)
  2. Run it
  3. You will see something like this -> http://imagebin.ca/view/QD8FuG.html
      Rough translation: Scripts below couldn't be activated because of errors:

This is what happens when you run those scripts in terminal -> http://pastebin.com/f2096e265

The solution is to add libkrosspython0 to recommends on Parley. I attached the debdiffs:

fixed-to-ppa.debdiff -> This is debdiff to KDE 4.3.3 package in PPA

fixed-to-current.debdiff -> This is debdiff to KDE 4.3.2 provided by default in Karmic

Revision history for this message
Michał Zając (quintasan) wrote :
Revision history for this message
Michał Zając (quintasan) wrote :
Revision history for this message
Michał Zając (quintasan) wrote :
Revision history for this message
Michał Zając (quintasan) wrote :
Revision history for this message
Jonathan Riddell (jr) wrote :
Revision history for this message
Jonathan Riddell (jr) wrote :

I added the change to not install the broken wiktionary_sound script and uploaded to Lucid, karmic-proposed (awaiting approval) and kubuntu-ppa updates for karmic.

Revision history for this message
Michał Zając (quintasan) wrote :

Update Test Case:
  1. Open up Parley
  2. It will complain about not working scripts. Close it.
  3. Install update.
  4. Open it up once again. It should not complain about anything

Revision history for this message
Martin Pitt (pitti) wrote :

Please note that it'd be more robust for the lucid package to keep parley-data.install as it is and instead add a "rm wiktionary_sound" to debian/rules after dh_install. Otherwise you will need to update the .install file with each upstream update.

affects: Ubuntu Karmic → kdeedu (Ubuntu Karmic)
Changed in kdeedu (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted kdeedu into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Packages from -proposed fix this for me.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Dan Trevino (dantrevino) wrote :

Followed steps per comment #7 above, still had an error:

"The following script could not be activated due to errors in the script:
/usr/share/kde4/apps/parley/plugins/wiktionary_sound.py"

Screenshot attached.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

That would be a separate bug. The problem being addressed here is that no plugins are able to run due to the lack of a python kross interpreter.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Another confirmation of the bug + the fix at bug 486913.

Martin Pitt (pitti)
Changed in kdeedu (Ubuntu Lucid):
status: New → Fix Committed
assignee: nobody → Jonathan Riddell (jr)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdeedu - 4:4.3.2-0ubuntu1.1

---------------
kdeedu (4:4.3.2-0ubuntu1.1) karmic-proposed; urgency=low

  * Now Parley recommends libkrosspython0 (Closes LP: #484802)
  * Do not install wiktionary_sound.{py,desktop} in parley-data.install,
    it does not work.
 -- Michal Zajac <email address hidden> Fri, 20 Nov 2009 18:15:37 +0100

Changed in kdeedu (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Please fix in lucid ASAP.

Changed in kdeedu (Ubuntu Lucid):
assignee: Jonathan Riddell (jr) → nobody
milestone: none → lucid-alpha-1
Martin Pitt (pitti)
Changed in kdeedu (Ubuntu Lucid):
assignee: nobody → Jonathan Riddell (jr)
Revision history for this message
Jonathan Riddell (jr) wrote :

fixed in 4:4.3.3-0ubuntu1 in lucid

Changed in kdeedu (Ubuntu Lucid):
status: Fix Committed → Fix Released
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.