Ticket #791 (closed bug: duplicate)

Opened 6 weeks ago

Last modified 6 weeks ago

developement version does not install

Reported by: Grimsqueaker Owned by:
Priority: major Milestone:
Component: Core Version: 0.5
Keywords: developement Cc:

Description

I have the svn code and have tried to install Listen from it, but it does not seem to work. First my /usr/bin/listen file had incorrect values in it, I corrected these according to your FAQ. Then i saw that the folders in dists.py were incorrect and corrected them as well. Then I got import errors regarding trying to import helper in monitor.py. I changed the line "from helper import helper" to "import helper" and then got another import error (below):

Traceback (most recent call last):

File "/usr/lib/listen/listen", line 81, in <module>

from vfs import makedirs

File "/usr/lib/listen/vfs/init.py", line 24, in <module>

from vfs.monitor import FileMonitor?

File "/usr/lib/listen/vfs/monitor.py", line 32, in <module>

from library import ListenDB

Im going back to the version in Ubuntu's repos for now, it works. Ill try again when its been fixed.

btw I love Listen, it is defintely the best player for me.

Change History

follow-up: ↓ 2   Changed 6 weeks ago by theli

Are you sure you used the lasted svn ? What is your revision number ?

in reply to: ↑ 1 ; follow-up: ↓ 3   Changed 6 weeks ago by Grimsqueaker

Sorry, I didnt change the version on the ticket, I am using 0.5.99-1 which seems to be the latest.

I have also noticed that there is a library.py and a library folder (containing init.py) on the same level. Doesnt that confuse the namespaces?

I have tried installing 0.5 from the Ubuntu repos again, it also doesnt work now :(

Traceback (most recent call last):

File "/usr/lib/listen/listen.py", line 218, in <module>

ListenApp?()

File "/usr/lib/listen/listen.py", line 144, in init

from widget.listen import Listen

File "/usr/lib/listen/widget/listen.py", line 33, in <module>

from player import Player

File "/usr/lib/listen/player/init.py", line 30, in <module>

from vfs import get_uris_from_asx, get_uris_from_m3u, get_uris_from_pls

File "/usr/lib/listen/vfs/init.py", line 24, in <module>

from vfs.monitor import FileMonitor?

File "/usr/lib/listen/vfs/monitor.py", line 31, in <module>

from utils import threaded

ImportError?: cannot import name threaded

in reply to: ↑ 2   Changed 6 weeks ago by Grimsqueaker

I tried getting the svn code again, both devel and release versions dont work :( Could it be my dependancies? Its not complaining about those any more when I try to run Listen.

Also some of the names in your list of translators in const.py were giving the following error:

SyntaxError?: Non-ASCII character '\xc2' in file /usr/lib/listen/const.py on line 130, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

  Changed 6 weeks ago by Grimsqueaker

OK I tried svn of the tags/0.5x/0.5 and I got a bit further, after fixing the UTF-8 encoding Listen almost starts, but I get the following error:

daniel@danielpc:/usr/lib/listen$ listen location: /usr/lib/xulrunner-1.9.0.1/libxpcom.so before 3 Error grabbing key 144, 0x82ca020 Error grabbing key 153, 0x82ca020 Error grabbing key 162, 0x82ca020 Error grabbing key 164, 0x82ca020 Traceback (most recent call last):

File "/usr/lib/listen/listen.py", line 219, in <module>

ListenApp?()

File "/usr/lib/listen/listen.py", line 146, in init

self.listen_instance = Listen()

File "/usr/lib/listen/widget/listen.py", line 121, in init

self.dbus_service = ListenDBus(self,player)

File "/usr/lib/listen/dbus_manager.py", line 56, in init

dbus.service.Object.init(self, bus_name, object_path)

File "/var/lib/python-support/python2.5/dbus/service.py", line 447, in init

validate_object_path(object_path)

ValueError?: Invalid object path '/org/gnome/listen/': ends with '/' and is not just '/'

  Changed 6 weeks ago by Grimsqueaker

OK, I removed the trailing slash from "/org/gnome/listen/", now I get this:

daniel@danielpc:/usr/lib/listen$ listen location: /usr/lib/xulrunner-1.9.0.1/libxpcom.so before 3 Error grabbing key 144, 0x82ca020 Error grabbing key 153, 0x82ca020 Error grabbing key 162, 0x82ca020 Error grabbing key 164, 0x82ca020 Traceback (most recent call last):

File "/usr/lib/listen/listen.py", line 219, in <module>

ListenApp?()

File "/usr/lib/listen/listen.py", line 146, in init

self.listen_instance = Listen()

File "/usr/lib/listen/widget/listen.py", line 121, in init

self.dbus_service = ListenDBus(self,player)

File "/usr/lib/listen/dbus_manager.py", line 56, in init

dbus.service.Object.init(self, bus_name, object_path)

File "/var/lib/python-support/python2.5/dbus/service.py", line 477, in init

self.add_to_connection(conn, object_path)

File "/var/lib/python-support/python2.5/dbus/service.py", line 568, in add_to_connection

self._fallback)

RuntimeError?: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)

I know nothing about d-bus currently....

  Changed 6 weeks ago by theli

  • status changed from new to closed
  • resolution set to duplicate

duplicate of #571 and #583

Note: See TracTickets for help on using tickets.