deluge keeps crashing [solved]

General support for problems installing or using Deluge
Post Reply
User avatar
drdemented
New User
New User
Posts: 6
Joined: Sat Dec 27, 2008 2:15 pm
Location: Indiana
Contact:

deluge keeps crashing [solved]

Post by drdemented »

I'm a n00b so don't slaughter me if I'm repeating a question.

I upgraded to the new version of Deluge, but it wouldn't run (grey-screen on startup) so I retrograded to 0.5.4.1-1ubuntu3

now it opens and immediately crashes while trying to import the blocklist....

I have searched the forums (and Google) but haven't found an answer. Any help would be greatly appreciated!

Code: Select all

michael@darkmage:~$ deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Capping download to -1 bytes per second
Capping upload to 62464 bytes per second
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin EventLogging
Initialising plugin NetworkHealth
Initialising plugin ExtraStats
Initialising plugin NetworkGraph
Initialising plugin TorrentSearch
Initialising plugin TorrentFiles
Initialising plugin BlocklistImport
Initialising plugin TorrentCreator
Initialising plugin TorrentPieces
Initialising plugin SimpleRSS
Initialising plugin DesiredRatio
Initialising plugin Locations
Initialising plugin TorrentNotification
Initialising plugin TorrentPeers
Initialising plugin SpeedLimiter
Scanning plugin dir /home/michael/.config/deluge/plugins
Applying preferences
Starting DHT...
Capping download to -1 bytes per second
Capping upload to 62464 bytes per second
Showing window
Loading TorrentPeers plugin...
Loading TorrentFiles plugin...
Loading TorrentNotification plugin...
Loading TorrentCreator plugin...
Loading blocklist plugin ...
Fetching http://www.bluetack.co.uk/config/pipfilter.dat.gz
importing with gzmule
GZMuleReader loading /home/michael/.config/deluge/blocklist.cache
MuleReader loading
TextBase loading
Starting import
Traceback (most recent call last):
  File "/usr/bin/deluge", line 140, in <module>
    start_deluge()
  File "/usr/bin/deluge", line 129, in start_deluge
    interface.start(options.tray, get_cmd_line_torrents())
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 840, in start
    self.load_plugins()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 858, in load_plugins
    self.plugins.enable_plugin("Blocklist Importer")
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 75, in enable_plugin
    self.enabled_plugins[name] = plugin.enable(self.core, self.interface)
  File "/usr/share/deluge/plugins/BlocklistImport/__init__.py", line 29, in enable
    return BlocklistImport(path, core, interface)
  File "/usr/share/deluge/plugins/BlocklistImport/__init__.py", line 67, in __init__
    self.loadlist(fetch=self.config.get('load_on_start'))
  File "/usr/share/deluge/plugins/BlocklistImport/__init__.py", line 104, in loadlist
    ips = reader.next()
  File "/usr/share/deluge/plugins/BlocklistImport/text.py", line 31, in next
    txt = self.fd.readline()
  File "/usr/lib/python2.5/gzip.py", line 399, in readline
    c = self.read(readsize)
  File "/usr/lib/python2.5/gzip.py", line 227, in read
    self._read(readsize)
  File "/usr/lib/python2.5/gzip.py", line 263, in _read
    self._read_gzip_header()
  File "/usr/lib/python2.5/gzip.py", line 164, in _read_gzip_header
    raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file
Last edited by drdemented on Sun Dec 28, 2008 2:39 pm, edited 1 time in total.
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: deluge keeps crashing

Post by markybob »

rm ~/.config/deluge/blocklist*
and use http://deluge-torrent.org/blocklist/pipfilter.dat.gz instead of that bluetack url (which is down and will never be back up)
0.5.4.1 is beyond ancient. you should upgrade.
User avatar
drdemented
New User
New User
Posts: 6
Joined: Sat Dec 27, 2008 2:15 pm
Location: Indiana
Contact:

Re: deluge keeps crashing

Post by drdemented »

markybob wrote:rm ~/.config/deluge/blocklist*
and use http://deluge-torrent.org/blocklist/pipfilter.dat.gz instead of that bluetack url (which is down and will never be back up)
0.5.4.1 is beyond ancient. you should upgrade.
Awesome. Thank you very much.

I'd love to upgrade, but that's the only one the repositories will let me use and when I tried to upgrade manually to 1.0.99 the program goes grey-screen and freezes on me. It's not like I have an ancient or slow computer, either. I have 4 gigs of RAM and a dual core processor.
User avatar
drdemented
New User
New User
Posts: 6
Joined: Sat Dec 27, 2008 2:15 pm
Location: Indiana
Contact:

Re: deluge keeps crashing

Post by drdemented »

Your reply had me thinking, so I tried to install 1.0.7 since 1.0.99 wouldn't work and got this error:

Code: Select all

michael@darkmage:~$ deluge
[INFO    ] 16:31:18 main:85 Deluge ui 1.0.7
[DEBUG   ] 16:31:18 main:86 options: {'config': None, 'logfile': None, 'ui': None}
[DEBUG   ] 16:31:18 main:87 args: []
[DEBUG   ] 16:31:18 configmanager:36 ConfigManager started..
[INFO    ] 16:31:18 main:90 Starting ui..
[DEBUG   ] 16:31:18 ui:36 UI init..
[DEBUG   ] 16:31:18 configmanager:80 Getting config 'ui.conf'
[DEBUG   ] 16:31:18 config:39 Config created with filename: ui.conf
[DEBUG   ] 16:31:18 config:40 Config defaults: {'default_ui': 'gtk'}
[INFO    ] 16:31:18 ui:52 Starting GtkUI..
[DEBUG   ] 16:31:18 client:46 CoreProxy init..
[DEBUG   ] 16:31:18 configmanager:61 get_config_dir: /home/michael/.config/deluge
[DEBUG   ] 16:31:18 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 16:31:18 config:39 Config created with filename: gtkui.conf
[DEBUG   ] 16:31:18 config:40 Config defaults: {'autoadd_queued': False, 'close_to_tray': True, 'window_width': 640, 'default_load_path': None, 'window_y_pos': 0, 'classic_mode': True, 'window_pane_position': -1, 'enabled_plugins': [], 'show_connection_manager_on_start': True, 'show_statusbar': True, 'autoadd_enable': False, '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, 'window_x_pos': 0, 'window_height': 480, 'lock_tray': False, 'connection_limit_list': [50, 100, 200, 300, 500], 'tray_password': '', 'focus_add_dialog': True, 'show_new_releases': True, 'start_in_tray': False, 'autoconnect': False, 'choose_directory_dialog_path': '/home/michael', 'check_new_releases': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': '/home/michael/.config/deluge', 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'interactive_add': True, 'signal_port': 40000}
1.0.7
[DEBUG   ] 16:31:18 gtkui:149 retcode: 0
[DEBUG   ] 16:31:18 component:94 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 16:31:18 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 16:31:18 component:94 Registered IPCInterface with ComponentRegistry..
[DEBUG   ] 16:31:18 component:94 Registered DbusInterface with ComponentRegistry..
[DEBUG   ] 16:31:18 ipcinterface:75 Processing args from other process: []
[DEBUG   ] 16:31:18 ipcinterface:78 Not connected to host.. Adding to queue.
[INFO    ] 16:31:18 dbusinterface:74 Registering with DBUS..
[DEBUG   ] 16:31:18 component:94 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 16:31:18 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 16:31:18 mainwindow:76 Showing window
[DEBUG   ] 16:31:18 menubar:41 MenuBar init..
[DEBUG   ] 16:31:18 component:94 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 16:31:18 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 16:31:18 component:94 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 16:31:18 toolbar:40 ToolBar Init..
[DEBUG   ] 16:31:18 configmanager:80 Getting config 'gtkui.conf'
/var/lib/python-support/python2.5/deluge/ui/gtkui/toolbar.py:69: GtkWarning: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
  component.get("MenuBar").torrentmenu_glade.get_widget("remove_torrent_menu"))
[DEBUG   ] 16:31:18 config:131 save_timer: None
[DEBUG   ] 16:31:18 component:94 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 16:31:18 listview:117 ListView initialized..
[DEBUG   ] 16:31:18 torrentview:102 TorrentView Init..
[DEBUG   ] 16:31:18 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 16:31:18 listview:186 Loading ListView state file: torrentview.state
[DEBUG   ] 16:31:19 component:94 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 16:31:19 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 16:31:19 torrentdetails:376 Loading TorrentDetails state file: tabs.state
Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    load_entry_point('deluge==1.0.7', 'console_scripts', 'deluge')()
  File "/var/lib/python-support/python2.5/deluge/main.py", line 91, in start_ui
    UI(options, args)
  File "/var/lib/python-support/python2.5/deluge/ui/ui.py", line 54, in __init__
    ui = GtkUI(args)
  File "/var/lib/python-support/python2.5/deluge/ui/gtkui/gtkui.py", line 176, in __init__
    self.torrentdetails = TorrentDetails()
  File "/var/lib/python-support/python2.5/deluge/ui/gtkui/torrentdetails.py", line 120, in __init__
    self.add_tab(default_tabs[tab_name]())
KeyError: 'Status'
Next I installed 0.5.8.1 and it at least started up fine until trying to use the blocklist:

Code: Select all

michael@darkmage:~$ deluge
checking for ubuntu...
found and fixing ubuntu
michael@darkmage:~$ checking for ubuntu...
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin WebSeed
Initialising plugin EventLogging
Initialising plugin NetworkHealth
Initialising plugin ExtraStats
Initialising plugin NetworkGraph
Initialising plugin TorrentFiles
Initialising plugin FlexRSS
Initialising plugin BlocklistImport
Initialising plugin MoveTorrent
Initialising plugin TorrentCreator
Initialising plugin WebUi
Initialising plugin DesiredRatio
Initialising plugin Search
Initialising plugin Scheduler
Initialising plugin TorrentNotification
Initialising plugin TorrentPeers
Initialising plugin SpeedLimiter
Scanning plugin dir /home/michael/.config/deluge/plugins
Applying preferences
Starting DHT...
Showing window
Found NetworkGraph plugin...
Found TorrentPeers plugin...
Found SpeedLimiter plugin...
Found TorrentFiles plugin...
Found TorrentNotification plugin...
Found NetworkHealth plugin...
Found TorrentCreator plugin...
Found blocklist plugin ...
Pickling state...
Fetching http://deluge-torrent.org/blocklist/pipfilter.dat.gz
importing with p2bgz
PGReader loading /home/michael/.config/deluge/blocklist.cache
LEADER IS 774910000
Traceback (most recent call last):
  File "/usr/bin/deluge", line 145, in <module>
    start_deluge()
  File "/usr/bin/deluge", line 129, in start_deluge
    interface.start(get_cmd_line_torrents())
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1038, in start
    self.load_plugins()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1088, in load_plugins
    self.plugins.enable_plugin("Blocklist Importer")
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 80, in enable_plugin
    self.enabled_plugins[name] = plugin.enable(self.core, self.interface)
  File "/usr/share/deluge/plugins/BlocklistImport/__init__.py", line 29, in enable
    return BlocklistImport(path, core, interface)
  File "/usr/share/deluge/plugins/BlocklistImport/__init__.py", line 67, in __init__
    self.loadlist(fetch=self.config.get('load_on_start'))
  File "/usr/share/deluge/plugins/BlocklistImport/__init__.py", line 104, in loadlist
    reader = readers[ltype][1](self.blockfile)
  File "/usr/share/deluge/plugins/BlocklistImport/peerguardian.py", line 32, in __init__
    raise PGException(_("Invalid leader") + " %d"%hdr)
BlocklistImport.peerguardian.PGException: Invalid leader 774910000
I'll stick with what I have for the time being. I like Deluge's GUI compared to other torrent trackers...
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: deluge keeps crashing

Post by markybob »

0.5.8.1 failed because you picked the wrong type. you gave it a emule list and told it to use peerguardian.
1.0.7 failed because you had it using the newer 1.0.99 config files. you cant downgrade like that. if you do, you need to first delete ~/.config/deluge
User avatar
drdemented
New User
New User
Posts: 6
Joined: Sat Dec 27, 2008 2:15 pm
Location: Indiana
Contact:

Re: deluge keeps crashing

Post by drdemented »

markybob wrote:0.5.8.1 failed because you picked the wrong type. you gave it a emule list and told it to use peerguardian.
1.0.7 failed because you had it using the newer 1.0.99 config files. you cant downgrade like that. if you do, you need to first delete ~/.config/deluge

Aha! Again, I thank you profusely...I have the newest one running perfectly.
Post Reply