Page 1 of 1

Can't show deluge window

Posted: Fri May 22, 2009 6:44 pm
by Dr4k0n
I upgrade Deluge from 0.5.9.3 to 1.1.7. First version works well. New version wan't start: show empty window. I removed old Deluge config from my home directory, but it not help.
OS: Gentoo Linux
Python: 2.5.2
libtorrent: 0.12.4
I have tried to start with Deluge daemon and without it.

Startup with debug flag:

Code: Select all

drakon@dr4k0n ~ $ deluge --loglevel=debug
[INFO    ] 22:13:22 main:117 Deluge ui 1.1.7
[DEBUG   ] 22:13:22 main:118 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': None, 'logfile': None, 'config': None}
[DEBUG   ] 22:13:22 main:119 args: []
[DEBUG   ] 22:13:22 main:120 ui_args: []
[INFO    ] 22:13:22 main:123 Starting ui..
[DEBUG   ] 22:13:22 ui:47 UI init..
[DEBUG   ] 22:13:22 configmanager:91 Getting config 'ui.conf'
[DEBUG   ] 22:13:22 config:253 Config /home/drakon/.config/deluge/ui.conf loaded: {'default_ui': 'gtk'}
[INFO    ] 22:13:22 ui:64 Starting GtkUI..
[DEBUG   ] 22:13:23 client:113 CoreProxy init..
[DEBUG   ] 22:13:23 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:23 config:253 Config /home/drakon/.config/deluge/gtkui.conf loaded: {'close_to_tray': True, 'ntf_sound_path': '/home/drakon', 'window_width': 640, 'default_load_path': None, 'window_y_pos': 0, 'ntf_email': False, 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'show_statusbar': True, 'ntf_popup': False, 'ntf_pass': '', 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'autoconnect_host_uri': None, 'window_maximized': False, 'enable_system_tray': True, 'show_sidebar': True, 'show_connection_manager_on_start': True, 'lock_tray': False, 'ntf_sound': False, 'tray_password': '', 'focus_add_dialog': True, 'ntf_server': '', 'start_in_tray': False, 'ntf_tray_blink': True, 'check_new_releases': True, 'autoadd_queued': False, 'classic_mode': True, 'window_pane_position': 109, 'enabled_plugins': [], 'show_rate_in_title': False, 'autoadd_enable': False, 'ntf_username': '', 'interactive_add': True, 'sidebar_show_zero': False, 'window_x_pos': 0, 'window_height': 480, 'ntf_security': None, 'connection_limit_list': [50, 100, 200, 300, 500], 'sidebar_position': 170, 'show_new_releases': True, 'autoconnect': False, 'choose_directory_dialog_path': '/home/drakon', 'sidebar_show_trackers': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': '/home/drakon/.config/deluge', 'ntf_email_add': '', 'signal_port': 53469}
1.1.7
[DEBUG   ] 22:13:23 gtkui:182 retcode: 0
[DEBUG   ] 22:13:23 component:106 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 22:13:23 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:23 component:106 Registered IPCInterface with ComponentRegistry..
[DEBUG   ] 22:13:23 component:106 Registered DbusInterface with ComponentRegistry..
[DEBUG   ] 22:13:23 ipcinterface:87 Processing args from other process: []
[DEBUG   ] 22:13:23 ipcinterface:90 Not connected to host.. Adding to queue.
[INFO    ] 22:13:23 dbusinterface:88 Registering with DBUS..
[DEBUG   ] 22:13:23 component:106 Registered Signals with ComponentRegistry..
[DEBUG   ] 22:13:23 signalreceiver:56 SignalReceiver init..
[DEBUG   ] 22:13:23 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:23 config:135 Setting 'signal_port' to 52992 of <type 'int'>
[DEBUG   ] 22:13:23 config:278 Saving new config file /home/drakon/.config/deluge/gtkui.conf.new
[DEBUG   ] 22:13:23 config:290 Backing up old config file to /home/drakon/.config/deluge/gtkui.conf~
[DEBUG   ] 22:13:23 config:298 Moving new config file /home/drakon/.config/deluge/gtkui.conf.new to /home/drakon/.config/deluge/gtkui.conf..
[DEBUG   ] 22:13:23 component:106 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 22:13:23 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:23 config:212 Registering function for show_rate_in_title key..
[DEBUG   ] 22:13:23 mainwindow:92 Showing window
[DEBUG   ] 22:13:24 menubar:54 MenuBar init..
[DEBUG   ] 22:13:24 component:106 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 component:106 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 22:13:24 toolbar:52 ToolBar Init..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 component:106 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 22:13:24 listview:137 ListView initialized..
[DEBUG   ] 22:13:24 listview:236 Loading ListView state file: torrentview.state
[DEBUG   ] 22:13:24 torrentview:130 TorrentView Init..
[DEBUG   ] 22:13:24 component:106 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 22:13:24 torrentdetails:411 Loading TorrentDetails state file: tabs.state
[DEBUG   ] 22:13:24 torrentdetails:70 parent: None
[DEBUG   ] 22:13:24 torrentdetails:70 parent: None
[DEBUG   ] 22:13:24 files_tab:254 Loading FilesTab state file: files_tab.state
[DEBUG   ] 22:13:24 torrentdetails:70 parent: None
[DEBUG   ] 22:13:24 peers_tab:208 Loading PeersTab state file: peers_tab.state
[DEBUG   ] 22:13:24 torrentdetails:70 parent: None
[DEBUG   ] 22:13:24 torrentdetails:70 parent: None
[DEBUG   ] 22:13:24 component:106 Registered SideBar with ComponentRegistry..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 component:106 Registered FilterTreeView with ComponentRegistry..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 sidebar:86 add tab:filters
[DEBUG   ] 22:13:24 filtertreeview:270 nothing selected
[DEBUG   ] 22:13:24 component:106 Registered Preferences with ComponentRegistry..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 component:106 Registered SystemTray with ComponentRegistry..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 config:212 Registering function for enable_system_tray key..
[DEBUG   ] 22:13:24 systemtray:81 Enabling the system tray icon..
[DEBUG   ] 22:13:24 component:106 Registered StatusBar with ComponentRegistry..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 component:106 Registered AddTorrentDialog with ComponentRegistry..
[DEBUG   ] 22:13:24 coreconfig:44 CoreConfig init..
[DEBUG   ] 22:13:24 component:106 Registered CoreConfig with ComponentRegistry..
[DEBUG   ] 22:13:24 component:106 Registered PluginManager with ComponentRegistry..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 pluginmanagerbase:64 Plugin manager init..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[DEBUG   ] 22:13:24 pluginmanagerbase:115 Found plugin: Blocklist 1.0
[DEBUG   ] 22:13:24 pluginmanagerbase:115 Found plugin: Label 0.1
[DEBUG   ] 22:13:24 component:106 Registered ConnectionManager with ComponentRegistry..
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'hostlist.conf.1.1'
[WARNING ] 22:13:24 config:251 Unable to load config file: /home/drakon/.config/deluge/hostlist.conf.1.1
[DEBUG   ] 22:13:24 config:253 Config /home/drakon/.config/deluge/hostlist.conf.1.1 loaded: {'hosts': ['http://127.0.0.1:58846']}
[DEBUG   ] 22:13:24 configmanager:91 Getting config 'gtkui.conf'
[INFO    ] 22:13:24 connectionmanager:490 Starting localhost:58846 daemon..
File deluged.log in my home directory:

Code: Select all

[ERROR   ] 22:47:25 main:207 No module named libtorrent
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/usr/lib64/python2.5/site-packages/deluge/core/daemon.py", line 54, in __init__
    from deluge.core.core import Core
  File "/usr/lib64/python2.5/site-packages/deluge/core/core.py", line 57, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
But I have installed libtorrent 0.12.4. Maybe I should use rb_libtorrent package?

Re: Can't show deluge window

Posted: Fri May 22, 2009 8:06 pm
by andar
Yes, you need the real libtorrent.. http://www.libtorrent.org

Re: Can't show deluge window

Posted: Fri May 22, 2009 8:56 pm
by Dr4k0n
Installing the rb_libtorrent doesn't help.

Daemon running command:

Code: Select all

deluged --logfile=/var/log/deluged --loglevel=debug --config=/etc/conf.d/deluged --port=2333
Config file /etc/conf.d/deluged:

Code: Select all

# /etc/conf.d/deluged
# Change this to the user you want to run deluged as.
# You may specify a group too, after a colon
DELUGED_USER="drakon"
DELUGEUI_START="false"
DELUGEUI_OPTS="-u web"
Result in log file:

Code: Select all

[INFO    ] 00:53:08 daemon:48 Deluge daemon 1.1.7
[DEBUG   ] 00:53:08 daemon:49 options: {'loglevel': 'debug', 'quiet': False, 'logfile': '/var/log/deluged', 'config': '/etc/conf.d/deluged', 'port': 2333, 'pidfile': None, 'donot': False}
[DEBUG   ] 00:53:08 daemon:50 args: []
[INFO    ] 00:53:08 configmanager:62 Setting config directory to: /etc/conf.d/deluged
[ERROR   ] 00:53:08 main:207 No module named libtorrent
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/usr/lib64/python2.5/site-packages/deluge/core/daemon.py", line 54, in __init__
    from deluge.core.core import Core
  File "/usr/lib64/python2.5/site-packages/deluge/core/core.py", line 57, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent

Re: Can't show deluge window

Posted: Fri May 22, 2009 11:46 pm
by andar
What version of libtorrent? And make sure you emerge it with the python use flag.

Re: Can't show deluge window

Posted: Sat May 23, 2009 1:37 am
by Dr4k0n
Last version. Yes, I emerge it with python flag.

So recompiling dev-libs/boost and after this rb_libtorrent and deluge solves the problem