FS#12007 - Elisa won't start after Python2.6 upgrade

Attached to Project: Community Packages
Opened by Nick (ltpl4y3r) - Wednesday, 05 November 2008, 18:39 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 10 December 2008, 21:27 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Elisa gives the following error message after it is freshly installed.

$ elisa
Traceback (most recent call last):
File "/usr/bin/elisa", line 308, in <module>
main()
File "/usr/bin/elisa", line 279, in main
_setup_reactor()
File "/usr/bin/elisa", line 87, in _setup_reactor
from twisted.internet import glib2reactor
File "/usr/lib/python2.6/site-packages/twisted/internet/glib2reactor.py", line 23, in <module>
from twisted.internet import gtk2reactor
File "/usr/lib/python2.6/site-packages/twisted/internet/gtk2reactor.py", line 35, in <module>
import gobject
File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py", line 33, in <module>
from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
File "/usr/lib/python2.6/site-packages/gtk-2.0/glib/option.py", line 33, in <module>
import optparse
ValueError: bad marshal data

It had worked before I upgraded to python2.6.

This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 10 December 2008, 21:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 0.5.20
Comment by Andrea Scarpino (BaSh) - Wednesday, 05 November 2008, 19:19 GMT
are you using elisa-base 0.5.16-1 and pygobject 2.15.4-2?
Comment by Nick (ltpl4y3r) - Thursday, 06 November 2008, 03:07 GMT
I did have pygobject 2.15.4-2 installed.
I am using elisa-base 0.5.16-1

I tried reinstalling python2.6 and it worked, kind of...

It will now launch, but it won't navigate to any folders, or recognize any files.
Here is the new error. I try add a folder or see a folder that I added in the config.

$ elisa
/usr/lib/python2.6/site-packages/twisted/internet/_sslverify.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import itertools, md5
/usr/lib/python2.6/site-packages/elisa/core/utils/classinit.py:34: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument
warn("ClassInitMeta class is deprecated")
/usr/lib/python2.6/sha.py:8: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument
DeprecationWarning, 2)
WARN MainThread plugin_registry Nov 05 19:01:57 plugin conflict elisa-plugin-coherence 0.1 (elisa/core/plugin_registry.py:221)
/usr/lib/python2.6/cgitb.py:245: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument
value = pydoc.text.repr(getattr(evalue, name))
WARN MainThread application Nov 05 19:01:58 Retrieving default media directories failed. Error logged at /tmp/elisa_38eFQx.txt (elisa/core/media_directory_helper.py:39)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.ipod.ipod_resource:IpodResource failed. A full traceback can be found at /tmp/elisa_hTaIbU.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.yesfm.yesfm_resource:YesfmResource failed. A full traceback can be found at /tmp/elisa_wvMl8M.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.daap.daap_resource_provider:DaapResourceProvider failed. A full traceback can be found at /tmp/elisa_ETgeKM.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.shoutcast.shoutcast_resource:ShoutcastResource failed. A full traceback can be found at /tmp/elisa_jdSZb7.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.amazon.resource_provider:AmazonResourceProvider failed. A full traceback can be found at /tmp/elisa_bXDEPn.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.elisa_updater.resource_provider:UpdaterResourceProvider failed. A full traceback can be found at /tmp/elisa_EbkdI8.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.hal.hal_resource:HALResource failed. A full traceback can be found at /tmp/elisa_WJKD08.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.smbwin32.smbwin32_resource:SmbWin32Resource failed. A full traceback can be found at /tmp/elisa_NaDPML.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.flickr.resource_provider:FlickrResourceProvider failed. A full traceback can be found at /tmp/elisa_GUGo70.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.avahi.avahi_resource_provider:AvahiResourceProvider failed. A full traceback can be found at /tmp/elisa_RKJ4zT.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.wmd.wmd_resource:WMDResource failed. A full traceback can be found at /tmp/elisa_h53m8R.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.youtube.resource_provider:YoutubeResourceProvider failed. A full traceback can be found at /tmp/elisa_UoMLWk.txt (elisa/core/manager.py:83)
WARN MainThread resource_manager Nov 05 19:01:58 Creating elisa.plugins.discogs.discogs_resource:DiscogsResource failed. A full traceback can be found at /tmp/elisa_U_GOAh.txt (elisa/core/manager.py:83)
WARN MainThread service_manager Nov 05 19:01:58 Creating elisa.plugins.database.dbus_service:DatabaseDBusServiceProvider failed. A full traceback can be found at /tmp/elisa_1TheiV.txt (elisa/core/manager.py:83)
WARN MainThread service_manager Nov 05 19:01:58 Creating elisa.plugins.gnome.gnome_screensaver_service:GnomeScreensaverService failed. A full traceback can be found at /tmp/elisa_DDADX6.txt (elisa/core/manager.py:83)
WARN MainThread service_manager Nov 05 19:01:58 Creating elisa.plugins.winscreensaver.winscreensaver:WinScreenSaver failed. A full traceback can be found at /tmp/elisa_Jn748k.txt (elisa/core/manager.py:83)
WARN MainThread gst_metadata_slave_process_protocol Nov 05 19:01:58 Starting Slave-2 on unix:/tmp/elisa-metadata-rxGl5l.socket launching elisa.plugins.gstreamer.amp_slave.run_slave
(Slave-2 stdout) (elisa/plugins/amp/master.py:54)
WARN MainThread input_manager Nov 05 19:01:58 Creating elisa.plugins.winremote.streamzap_input:StreamzapInput failed. A full traceback can be found at /tmp/elisa_OS_mlI.txt (elisa/core/manager.py:83)
WARN MainThread input_manager Nov 05 19:01:58 Creating elisa.plugins.lirc.lirc_input:LircInput failed. A full traceback can be found at /tmp/elisa_1C9aBe.txt (elisa/core/manager.py:83)
WARNING:root:Cannot find theme file: /usr/lib/python2.6/site-packages/elisa/plugins/poblesec/widgets/player/styles.conf
WARNING:root:Cannot find resource file: /usr/lib/python2.6/site-packages/elisa/plugins/poblesec/widgets/player/resources.conf
WARNING:root:Cannot find theme configuration files
WARNING:root:Cannot find resource file: /usr/lib/python2.6/site-packages/elisa/plugins/poblesec/widgets/resources.conf
WARNING:root:Cannot find theme file: /usr/lib/python2.6/site-packages/elisa/plugins/database/styles.conf
WARNING:root:Cannot find resource file: /usr/lib/python2.6/site-packages/elisa/plugins/database/resources.conf
WARNING:root:Cannot find theme configuration files
WARN MainThread gst_metadata_slave_process_protocol Nov 05 19:02:02 /usr/lib/python2.6/site-packages/twisted/internet/_sslverify.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import itertools, md5
/usr/lib/python2.6/site-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
/usr/lib/python2.6/site-packages/elisa/core/utils/classinit.py:34: UserWarning: ClassInitMeta class is deprecated
warn("ClassInitMeta class is deprecated")
(Slave-2 stderr) (elisa/plugins/amp/master.py:57)
WARN MainThread gst_metadata_slave_process_protocol Nov 05 19:02:02 Starting Slave-5 on unix:/tmp/elisa-metadata-2Xrzcd.socket launching elisa.plugins.gstreamer.amp_slave.run_slave
(Slave-5 stdout) (elisa/plugins/amp/master.py:54)
WARN MainThread gst_metadata_slave_process_protocol Nov 05 19:02:02 /usr/lib/python2.6/site-packages/twisted/internet/_sslverify.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import itertools, md5
/usr/lib/python2.6/site-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
(Slave-5 stderr) (elisa/plugins/amp/master.py:57)
WARN MainThread gst_metadata_slave_process_protocol Nov 05 19:02:02 /usr/lib/python2.6/site-packages/elisa/core/utils/classinit.py:34: UserWarning: ClassInitMeta class is deprecated
warn("ClassInitMeta class is deprecated")
(Slave-5 stderr) (elisa/plugins/amp/master.py:57)
WARN MainThread media_scanner Nov 05 19:02:03 /file:///home/nick/vids/porn/ failed: [Failure instance: Traceback (failure with no frames): <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/file:///home/nick/vids/porn/'
] (elisa/plugins/database/media_scanner.py:550)
WARNING:root:Cannot find theme file: /usr/lib/python2.6/site-packages/elisa/plugins/poblesec/base/styles.conf
WARNING:root:Cannot find resource file: /usr/lib/python2.6/site-packages/elisa/plugins/poblesec/base/resources.conf
WARNING:root:Cannot find theme configuration files
WARN MainThread default Nov 05 19:02:07 Entering controller with path /poblesec/settings/directory_settings failed. Full failure log at /tmp/elisa_MuMdhP.txt (elisa/plugins/poblesec/history.py:73)
WARN MainThread twisted Nov 05 19:02:07 A twisted traceback occurred. (twisted/internet/defer.py:415)

Twisted traceback:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/elisa/core/component.py", line 128, in create
return instance.initialize(**kwargs)
File "/usr/lib/python2.6/site-packages/elisa/plugins/poblesec/directory_settings.py", line 246, in initialize
dfr.addCallback(load_items)
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 195, in addCallback
callbackKeywords=kw)
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 186, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/python2.6/site-packages/elisa/plugins/poblesec/directory_settings.py", line 242, in load_items
devices, dfr_devices = application.resource_manager.get(devices_uri)
File "/usr/lib/python2.6/site-packages/elisa/core/resource_manager.py", line 166, in get
return self._proxy("get", uri, uri, context_model)
File "/usr/lib/python2.6/site-packages/elisa/core/resource_manager.py", line 132, in _proxy
provider = self._get_resource_provider(uri)
File "/usr/lib/python2.6/site-packages/elisa/core/resource_manager.py", line 129, in _get_resource_provider
raise NoMatchingResourceProvider(uri)
elisa.core.resource_manager.NoMatchingResourceProvider: No resource provider found for URI volumes://localhost/?filter=file


** (elisa:3656): CRITICAL **: pgm_gl_drawable_draw: assertion `PGM_IS_GL_DRAWABLE (gldrawable)' failed

** (elisa:3656): CRITICAL **: pgm_gl_drawable_draw: assertion `PGM_IS_GL_DRAWABLE (gldrawable)' failed

^ This error repeats forever.

I am wondering if this is a problem with the 'twisted' framework.
Comment by Andrea Scarpino (BaSh) - Monday, 24 November 2008, 20:14 GMT
is this still present in elisa-base 0.15.17?
Comment by christopher rogers (godane) - Wednesday, 03 December 2008, 01:52 GMT
I found out how to fix this.

1. you need to build twisted-web2 package. You may need this has a dep too. Anyway someone has to add this to community.

2. you need this too (In the begin of build function): export PYTHONPATH=$PWD/elisa-core:$PWD/elisa-plugins:$PYTHONPATH
This has to be in both elisa-base and elisa-plugins PKGBUILDs.

This is what makes elisa-bzr work better then elisa-base.

I hope this helps.

Loading...