Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270400 - app-misc/klive uses obsolete Python libraries and doesn't stop cleanly
Summary: app-misc/klive uses obsolete Python libraries and doesn't stop cleanly
Status: RESOLVED DUPLICATE of bug 268737
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 10:00 UTC by Michael Mounteney
Modified: 2009-05-25 13:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (info,3.62 KB, text/plain)
2009-05-20 19:19 UTC, Michael Mounteney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mounteney 2009-05-19 10:00:08 UTC
# /etc/init.d/klive start
klive            |* Starting KLive...
klive            |/usr/lib/python2.6/site-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
klive            |  import os, md5, sys
klive            |/usr/lib/python2.6/site-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
klive            |  import sha

Sometimes when klive is restarted (this happens indirectly in my case when I restart net.wlan0, which restarts klive because klive depends on net.wlan0), a process refuses to die, so klive doesn't stop.  However, this latter problem is not reliably reproducible.

Reproducible: Always

Steps to Reproduce:
1. Upgrade Python to 2.6.
2. /etc/init.d/klive (re)start
Actual Results:  
Error messages are sent to screen.

Expected Results:  
No error messages, just a clean start.

It seems that klive has not been adapted to Python 2.6.  That is my hunch.  Maybe it works cleanly with 2.5.
Comment 1 Sebastian Luther (few) 2009-05-19 14:39:30 UTC
Please provide emerge --info and a better description of your restart problem (logs, error messages, ...).
Comment 2 Michael Mounteney 2009-05-20 19:19:54 UTC
Created attachment 191931 [details]
emerge --info output
Comment 3 Michael Mounteney 2009-05-20 19:22:09 UTC
emerge --info output attached.

I don't know what additional debugging information to attach.  The error message from /etc/init.d/klive (re)start was posted in the original bug description and is unambiguous.

Forget the refusal to die --- I can't reproduce that, but the deprecation warning is clear.
Comment 4 Mike Auty (RETIRED) gentoo-dev 2009-05-25 13:44:19 UTC
Klive depends on the twisted framework, and it's this that is using the deprecated python modules.  I'm therefore marking this as a duplicate of bug 268737.

You mentioned that we should forget the not-cleanly-dieing issue.  If you *would* like to pursue this, please file a new bug report.

*** This bug has been marked as a duplicate of bug 268737 ***