Page 1 of 2

[FIXED] deluge blank screen

Posted: Mon Dec 29, 2008 3:18 pm
by peratu
Hi!

I'm using Gentoo. I have installed deluge several times with the same result: a blank screen.
The best description is an image: http://www.carrosses.com/~peratu/dibus/ ... deluge.png

I don't know which is the problem that causes this.

I'm using:
Python 2.5.2
gtk+-2.14.5
pygtk-2.13.0
dbus-python-0.83.0
pygobject-2.15.4
pyxdg-0.17

If you need more info for help, please ask me.

Thank you in advance.

Re: deluge blank screen

Posted: Mon Dec 29, 2008 5:05 pm
by andar
peratu wrote:Hi!

I'm using Gentoo. I have installed deluge several times with the same result: a blank screen.
The best description is an image: http://www.carrosses.com/~peratu/dibus/ ... deluge.png

I don't know which is the problem that causes this.

I'm using:
Python 2.5.2
gtk+-2.14.5
pygtk-2.13.0
dbus-python-0.83.0
pygobject-2.15.4
pyxdg-0.17

If you need more info for help, please ask me.

Thank you in advance.
Make sure there are no running instances of deluge or deluged and try again with debug logging:

Code: Select all

$ deluge -L debug

Re: deluge blank screen

Posted: Mon Dec 29, 2008 11:01 pm
by peratu

Code: Select all

peratu@hp ~ $ ps -e | grep deluge
peratu@hp ~ $ rm -Rf .config/deluge/
peratu@hp ~ $ deluge -L debug
[INFO    ] 00:02:03 main:103 Deluge ui 1.1.0-RC1
[DEBUG   ] 00:02:03 main:104 options: {'loglevel': 'debug', 'args': None, 'quiet': False, 'ui': None, 'logfile': None, 'config': None}
[DEBUG   ] 00:02:03 main:105 args: []
[DEBUG   ] 00:02:03 main:106 ui_args: []
[DEBUG   ] 00:02:03 configmanager:36 ConfigManager started..
[INFO    ] 00:02:03 main:109 Starting ui..
[DEBUG   ] 00:02:03 ui:36 UI init..
[DEBUG   ] 00:02:03 configmanager:79 Getting config 'ui.conf'
[WARNING ] 00:02:03 config:242 Unable to load config file: /home/peratu/.config/deluge/ui.conf
[DEBUG   ] 00:02:03 config:244 Config /home/peratu/.config/deluge/ui.conf loaded: {'default_ui': 'gtk'}
[WARNING ] 00:02:03 config:263 Unable to open config file: /home/peratu/.config/deluge/ui.conf
[DEBUG   ] 00:02:03 config:268 Saving new config file /home/peratu/.config/deluge/ui.conf.new
[DEBUG   ] 00:02:03 config:277 Moving new config file /home/peratu/.config/deluge/ui.conf.new to /home/peratu/.config/deluge/ui.conf..
[INFO    ] 00:02:03 ui:52 Starting GtkUI..
[DEBUG   ] 00:02:03 client:101 CoreProxy init..
[DEBUG   ] 00:02:03 configmanager:79 Getting config 'gtkui.conf'
[WARNING ] 00:02:03 config:242 Unable to load config file: /home/peratu/.config/deluge/gtkui.conf
[DEBUG   ] 00:02:03 config:244 Config /home/peratu/.config/deluge/gtkui.conf loaded: {'sidebar_show_zero': False, 'show_rate_in_title': False, 'autoadd_queued': False, 'close_to_tray': True, 'ntf_sound_path': '/home/peratu', 'window_width': 640, 'ntf_server': '', 'default_load_path': None, 'window_y_pos': 0, 'classic_mode': True, 'window_pane_position': -1, 'ntf_email': False, 'enabled_plugins': [], 'show_connection_manager_on_start': True, 'show_statusbar': True, 'autoadd_enable': False, 'ntf_popup': False, 'ntf_username': '', 'ntf_pass': '', 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'ntf_security': None, 'autoconnect_host_uri': None, 'window_maximized': False, 'enable_system_tray': True, 'show_sidebar': True, 'window_x_pos': 0, 'window_height': 480, 'lock_tray': False, 'connection_limit_list': [50, 100, 200, 300, 500], 'sidebar_position': 170, 'ntf_sound': False, 'tray_password': '', 'focus_add_dialog': True, 'show_new_releases': True, 'start_in_tray': False, 'autoconnect': False, 'choose_directory_dialog_path': '/home/peratu', 'ntf_tray_blink': True, 'check_new_releases': True, 'sidebar_show_trackers': False, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': '/home/peratu/.config/deluge', 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'ntf_email_add': '', 'interactive_add': True, 'signal_port': 40000}
1.1.0-RC1
[DEBUG   ] 00:02:03 gtkui:168 retcode: 0
[DEBUG   ] 00:02:03 component:94 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 00:02:03 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:03 component:94 Registered IPCInterface with ComponentRegistry..
[DEBUG   ] 00:02:03 component:94 Registered DbusInterface with ComponentRegistry..
[DEBUG   ] 00:02:03 ipcinterface:75 Processing args from other process: []
[DEBUG   ] 00:02:03 ipcinterface:78 Not connected to host.. Adding to queue.
[INFO    ] 00:02:03 dbusinterface:76 Registering with DBUS..
[DEBUG   ] 00:02:03 component:94 Registered Signals with ComponentRegistry..
[DEBUG   ] 00:02:03 signalreceiver:44 SignalReceiver init..
[DEBUG   ] 00:02:03 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:03 config:124 Setting 'signal_port' to 41115 of <type 'int'>
[WARNING ] 00:02:03 config:263 Unable to open config file: /home/peratu/.config/deluge/gtkui.conf
[DEBUG   ] 00:02:03 config:268 Saving new config file /home/peratu/.config/deluge/gtkui.conf.new
[DEBUG   ] 00:02:03 config:277 Moving new config file /home/peratu/.config/deluge/gtkui.conf.new to /home/peratu/.config/deluge/gtkui.conf..
[DEBUG   ] 00:02:03 component:94 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 00:02:03 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:03 config:203 Registering function for show_rate_in_title key..
[DEBUG   ] 00:02:03 mainwindow:80 Showing window
[DEBUG   ] 00:02:03 config:124 Setting 'window_pane_position' to 99 of <type 'int'>
[DEBUG   ] 00:02:04 menubar:42 MenuBar init..
[DEBUG   ] 00:02:04 component:94 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 component:94 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 00:02:04 toolbar:40 ToolBar Init..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 component:94 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 00:02:04 listview:124 ListView initialized..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 listview:224 Loading ListView state file: torrentview.state
[WARNING ] 00:02:04 listview:229 Unable to load state file: [Errno 2] No existe el fichero o el directorio: '/home/peratu/.config/deluge/torrentview.state'
[DEBUG   ] 00:02:04 torrentview:118 TorrentView Init..
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 listview:179 sort_func: <function queue_column_sort at 0x86cd25c> sort_id: 3
[DEBUG   ] 00:02:04 component:94 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 torrentdetails:391 Loading TorrentDetails state file: tabs.state
[WARNING ] 00:02:04 torrentdetails:396 Unable to load state file: [Errno 2] No existe el fichero o el directorio: '/home/peratu/.config/deluge/tabs.state'
[DEBUG   ] 00:02:04 torrentdetails:57 parent: None
[DEBUG   ] 00:02:04 torrentdetails:57 parent: None
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 files_tab:241 Loading FilesTab state file: files_tab.state
[WARNING ] 00:02:04 files_tab:246 Unable to load state file: [Errno 2] No existe el fichero o el directorio: '/home/peratu/.config/deluge/files_tab.state'
[DEBUG   ] 00:02:04 torrentdetails:57 parent: None
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 peers_tab:195 Loading PeersTab state file: peers_tab.state
[WARNING ] 00:02:04 peers_tab:200 Unable to load state file: [Errno 2] No existe el fichero o el directorio: '/home/peratu/.config/deluge/peers_tab.state'
[DEBUG   ] 00:02:04 torrentdetails:57 parent: None
[DEBUG   ] 00:02:04 torrentdetails:57 parent: None
[DEBUG   ] 00:02:04 component:94 Registered SideBar with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 component:94 Registered FilterTreeView with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 sidebar:74 add tab:filters
[DEBUG   ] 00:02:04 filtertreeview:259 nothing selected
[DEBUG   ] 00:02:04 component:94 Registered Preferences with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 component:94 Registered SystemTray with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 config:203 Registering function for enable_system_tray key..
[DEBUG   ] 00:02:04 systemtray:69 Enabling the system tray icon..
[DEBUG   ] 00:02:04 component:94 Registered StatusBar with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 component:94 Registered AddTorrentDialog with ComponentRegistry..
[DEBUG   ] 00:02:04 coreconfig:32 CoreConfig init..
[DEBUG   ] 00:02:04 component:94 Registered CoreConfig with ComponentRegistry..
[DEBUG   ] 00:02:04 component:94 Registered PluginManager with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 pluginmanagerbase:52 Plugin manager init..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[DEBUG   ] 00:02:04 pluginmanagerbase:103 Found plugin: Stats 0.1
[DEBUG   ] 00:02:04 pluginmanagerbase:103 Found plugin: Blocklist 1.0
[DEBUG   ] 00:02:04 pluginmanagerbase:103 Found plugin: Label 0.1
[DEBUG   ] 00:02:04 component:94 Registered ConnectionManager with ComponentRegistry..
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'hostlist.conf.1.1'
[WARNING ] 00:02:04 config:242 Unable to load config file: /home/peratu/.config/deluge/hostlist.conf.1.1
[DEBUG   ] 00:02:04 config:244 Config /home/peratu/.config/deluge/hostlist.conf.1.1 loaded: {'hosts': ['http://127.0.0.1:58846']}
[DEBUG   ] 00:02:04 configmanager:79 Getting config 'gtkui.conf'
[INFO    ] 00:02:04 connectionmanager:477 Starting localhost:58846 daemon..

Re: deluge blank screen

Posted: Mon Dec 29, 2008 11:18 pm
by andar
Try using RC2 and see if that helps.

Re: deluge blank screen

Posted: Tue Dec 30, 2008 8:37 pm
by peratu
I have this problem with all versions of deluge torrent older than RC1. I'll try with RC2 this night.

**** EDITED****

I have already tried the RC2 and I have the same blank screen.

Re: deluge blank screen

Posted: Tue Dec 30, 2008 10:11 pm
by andar
peratu wrote:I have this problem with all versions of deluge torrent older than RC1. I'll try with RC2 this night.

**** EDITED****

I have already tried the RC2 and I have the same blank screen.
Ok, then please try running the daemon with debug logging since it's likely not starting properly.

Code: Select all

$ deluged -d -L debug

Re: deluge blank screen

Posted: Wed Dec 31, 2008 11:02 am
by peratu

Code: Select all

peratu@hp ~ $ deluged -d -L debug
[DEBUG   ] 11:46:50 configmanager:36 ConfigManager started..
[INFO    ] 11:46:50 daemon:36 Deluge daemon 1.1.0-RC2
[DEBUG   ] 11:46:50 daemon:37 options: {'loglevel': 'debug', 'quiet': False, 'logfile': None, 'config': None, 'port': None, 'pidfile': None, 'donot': True}
[DEBUG   ] 11:46:50 daemon:38 args: []
Traceback (most recent call last):
  File "/usr/bin/deluged", line 8, in <module>
    load_entry_point('deluge==1.1.0-RC2', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.5/site-packages/deluge/main.py", line 200, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.5/site-packages/deluge/core/daemon.py", line 42, in __init__
    from deluge.core.core import Core
  File "/usr/lib/python2.5/site-packages/deluge/core/core.py", line 45, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
peratu@hp ~ $

Code: Select all

peratu@hp ~ $ emerge --search python-libtorrent
Searching...   
[ Results for search key : python-libtorrent ]
[ Applications found : 0 ]

Re: deluge blank screen

Posted: Wed Dec 31, 2008 2:46 pm
by danii
if you want to try to install libtorrent through portage the right command is:

Code: Select all

emerge net-libs/rb_libtorrent
Deluge uses Rasterbar's libtorrent
I'm also using deluge in gentoo but I haven't had any major problems, and I must have a similar setup, I'm also using XFCE, but I'm using the libtorrent that's supplied by the deluge package and the major difference is that I'm using the portage stable versions of:
peratu wrote:I'm using:
Python 2.5.2
gtk+-2.14.5
pygtk-2.13.0
dbus-python-0.83.0
pygobject-2.15.4
pyxdg-0.17
are you emerging with ACCEPT_KEYWORD="~x86", if you are I don't recommend it, I've tried it some time ago but packages start breaking left and right can you post your /etc/make.conf

Re: deluge blank screen

Posted: Wed Dec 31, 2008 3:45 pm
by peratu
danii wrote:if you want to try to install libtorrent through portage the right command is:

Code: Select all

emerge net-libs/rb_libtorrent
Deluge uses Rasterbar's libtorrent
I'm also using deluge in gentoo but I haven't had any major problems, and I must have a similar setup, I'm also using XFCE, but I'm using the libtorrent that's supplied by the deluge package and the major difference is that I'm using the portage stable versions of:
peratu wrote:I'm using:
Python 2.5.2
gtk+-2.14.5
pygtk-2.13.0
dbus-python-0.83.0
pygobject-2.15.4
pyxdg-0.17
are you emerging with ACCEPT_KEYWORD="~x86", if you are I don't recommend it, I've tried it some time ago but packages start breaking left and right can you post your /etc/make.conf
I have tried with rc_libtorrent , and I have the same problem.
Yes, I'm using ~x86 keyword. I'm going to remove it and re-merge deluge, Python, pygtk, gtk+ and more...

################ EDITED ##################

I have re-merged all python modules and gkt+ ( now I have gtk+-2.12.11 ) and I still with the same problem:

Code: Select all

peratu@hp ~ $ rm -Rf .config/deluge/
peratu@hp ~ $ deluged -d -L debug
[DEBUG   ] 17:41:34 configmanager:36 ConfigManager started..
[INFO    ] 17:41:34 daemon:36 Deluge daemon 1.1.0-RC2
[DEBUG   ] 17:41:34 daemon:37 options: {'loglevel': 'debug', 'quiet': False, 'logfile': None, 'config': None, 'port': None, 'pidfile': None, 'donot': True}
[DEBUG   ] 17:41:34 daemon:38 args: []
Traceback (most recent call last):
  File "/usr/bin/deluged", line 8, in <module>
    load_entry_point('deluge==1.1.0-RC2', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.5/site-packages/deluge/main.py", line 200, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.5/site-packages/deluge/core/daemon.py", line 42, in __init__
    from deluge.core.core import Core
  File "/usr/lib/python2.5/site-packages/deluge/core/core.py", line 45, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent

Code: Select all

peratu@hp ~ $ ls /var/db/pkg/dev-python/
dbus-python-0.82.4  pycrypto-2.0.1-r6  pyopenssl-0.6   pyxdg-0.15              setuptools-0.6_rc8-r1
numeric-24.2-r6     pygobject-2.14.2   pyorbit-2.14.3  pyxf86config-0.3.34-r1  twisted-8.1.0
pycairo-1.4.12      pygtk-2.12.1-r2    pyrex-0.9.4.1   pyxml-0.8.4-r1          twisted-web-8.1.0

Code: Select all

peratu@hp ~ $ cat /etc/make.conf
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"
USE="X alsa unicode hal mmx sse sse2 ssse3"
LINGUAS="es"
VIDEO_CARDS=""
#ACCEPT_KEYWORDS="~x86"

Re: deluge blank screen

Posted: Wed Dec 31, 2008 5:23 pm
by peratu
I have installed the stable version of deluge in Gentoo (deluge-0.5.9.3) and I have this result:

Code: Select all

peratu@hp ~ $ deluge 
Traceback (most recent call last):
  File "/usr/bin/deluge", line 45, in <module>
    import deluge.core
  File "/usr/lib/python2.5/site-packages/deluge/core.py", line 59, in <module>
    import deluge_core
ImportError: /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/python2.5/site-packages/deluge/deluge_core.so)
I have installed libstdc++, and I still having the same error.

I have done:

Code: Select all

hp peratu # USE="gtk" ACCEPT_KEYWORDS="~x86" emerge =deluge-1.0.7
and...

Code: Select all

peratu@hp ~ $ deluged -d
[DEBUG   ] 18:25:39 configmanager:36 ConfigManager started..
[INFO    ] 18:25:39 daemon:36 Deluge daemon 1.0.7
[DEBUG   ] 18:25:39 daemon:37 options: {'logfile': None, 'config': None, 'port': None, 'donot': True}
[DEBUG   ] 18:25:39 daemon:38 args: []
Traceback (most recent call last):
  File "/usr/bin/deluged", line 8, in <module>
    load_entry_point('deluge==1.0.7', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.5/site-packages/deluge/main.py", line 161, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.5/site-packages/deluge/core/daemon.py", line 42, in __init__
    from deluge.core.core import Core
  File "/usr/lib/python2.5/site-packages/deluge/core/core.py", line 44, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent