View Single Post
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#416
Ooookay. I edited the panucci file now.
I inserted print ("Test") after the last import line.

Now the file is only 2173 bytes big and if I run it I got this error:
Code:
~ $ panucci 
Test
No handlers could be found for logger "panucci.settings.Settings"
Traceback (most recent call last):
  File "/usr/bin/panucci", line 64, in <module>
    from panucci import main
  File "/opt/panucci/lib/panucci/main.py", line 63, in <module>
    from panucci.player import player
  File "/opt/panucci/lib/panucci/player.py", line 26, in <module>
    from panucci.dbusinterface import interface
  File "/opt/panucci/lib/panucci/dbusinterface.py", line 159, in <module>
    dbus.service.BusName('org.panucci.panucciInterface', session_bus) )
  File "/opt/panucci/lib/panucci/dbusinterface.py", line 36, in __init__
    dbus.service.Object.__init__(self, object_path=path, bus_name=bus_name)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 480, in __init__
    self.add_to_connection(conn, object_path)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 571, 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 edited it with the same tool I copy the files on my N900. A SSH client with the name WinSCP. [sigh]

Sorry to waste again your time.