libtorrent 0.14.1?

Suggestions and discussion of future versions
Post Reply
AdamW
New User
New User
Posts: 9
Joined: Tue Aug 14, 2007 4:39 pm
Location: Vancouver, Canada
Contact:

libtorrent 0.14.1?

Post by AdamW »

Hi, guys. I just tested running Deluge 1.07 with libtorrent (rasterbar, of course) 0.14.1. It fails; startup hangs trying to create the local tracker. It can't be ctrl-C'ed or killed, only kill -9'ed. Running with the libtorrent provided by Deluge instead works fine.

Is this known? Will it be corrected in the next release? Thanks!
Adam Williamson
Mandriva
Community manager | Bugmaster | Newsletter editor | Proofreader | Translator | Packager
Mandriva Deluge packages available in /contrib/backports repositories for 2007 and 2007 Spring
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: libtorrent 0.14.1?

Post by andar »

AdamW wrote:Hi, guys. I just tested running Deluge 1.07 with libtorrent (rasterbar, of course) 0.14.1. It fails; startup hangs trying to create the local tracker. It can't be ctrl-C'ed or killed, only kill -9'ed. Running with the libtorrent provided by Deluge instead works fine.

Is this known? Will it be corrected in the next release? Thanks!
Tracker?

Perhaps you could be more specific of where it fails..? Any log ouput?
AdamW
New User
New User
Posts: 9
Joined: Tue Aug 14, 2007 4:39 pm
Location: Vancouver, Canada
Contact:

Re: libtorrent 0.14.1?

Post by AdamW »

Yeah, sure, I figured you'd know what I meant, but...have to switch packages again. I meant daemon, of course, not tracker. Think-o.

Here's the complete console output. At this point, the app is basically hung, with the window partly drawn. It does not respond to input and, as I said, cannot be killed, only kill -9'ed.

Code: Select all

[adamw@lenovo isomaster]$ deluge
[INFO    ] 00:43:31 main:85 Deluge ui 1.0.7
[DEBUG   ] 00:43:31 main:86 options: {'config': None, 'logfile': None, 'ui': None}
[DEBUG   ] 00:43:31 main:87 args: []
[DEBUG   ] 00:43:31 configmanager:36 ConfigManager started..
[INFO    ] 00:43:31 main:90 Starting ui..
[DEBUG   ] 00:43:31 ui:36 UI init..
[DEBUG   ] 00:43:31 configmanager:80 Getting config 'ui.conf'
[DEBUG   ] 00:43:31 config:39 Config created with filename: ui.conf
[DEBUG   ] 00:43:31 config:40 Config defaults: {'default_ui': 'gtk'}
[INFO    ] 00:43:31 ui:52 Starting GtkUI..
[DEBUG   ] 00:43:31 client:46 CoreProxy init..
[DEBUG   ] 00:43:31 configmanager:61 get_config_dir: /home/adamw/.config/deluge
[DEBUG   ] 00:43:32 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:32 config:39 Config created with filename: gtkui.conf
[DEBUG   ] 00:43:32 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/adamw', 'check_new_releases': False, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': '/home/adamw/.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   ] 00:43:32 gtkui:149 retcode: 0
[DEBUG   ] 00:43:32 component:94 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 00:43:32 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:32 component:94 Registered IPCInterface with ComponentRegistry..
[DEBUG   ] 00:43:32 component:94 Registered DbusInterface with ComponentRegistry..
[DEBUG   ] 00:43:32 ipcinterface:75 Processing args from other process: []
[DEBUG   ] 00:43:32 ipcinterface:78 Not connected to host.. Adding to queue.
[INFO    ] 00:43:32 dbusinterface:74 Registering with DBUS..
[DEBUG   ] 00:43:32 component:94 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 00:43:32 configmanager:80 Getting config 'gtkui.conf'
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/mainwindow.py:50: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "glade/main_window.glade"))
[DEBUG   ] 00:43:33 mainwindow:76 Showing window
[DEBUG   ] 00:43:33 menubar:41 MenuBar init..
[DEBUG   ] 00:43:33 component:94 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 component:94 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 00:43:33 toolbar:40 ToolBar Init..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
/usr/lib/python2.5/site-packages/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   ] 00:43:33 config:131 save_timer: None
[DEBUG   ] 00:43:33 component:94 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 00:43:33 listview:117 ListView initialized..
[DEBUG   ] 00:43:33 torrentview:102 TorrentView Init..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 listview:186 Loading ListView state file: torrentview.state
[DEBUG   ] 00:43:33 component:94 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 torrentdetails:376 Loading TorrentDetails state file: tabs.state
[DEBUG   ] 00:43:33 torrentdetails:57 parent: None
[DEBUG   ] 00:43:33 torrentdetails:57 parent: None
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 files_tab:208 Loading FilesTab state file: files_tab.state
[DEBUG   ] 00:43:33 torrentdetails:57 parent: None
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 peers_tab:168 Loading PeersTab state file: peers_tab.state
[DEBUG   ] 00:43:33 torrentdetails:57 parent: None
[DEBUG   ] 00:43:33 torrentdetails:57 parent: None
[DEBUG   ] 00:43:33 component:94 Registered SideBar with ComponentRegistry..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 config:131 save_timer: 39
[DEBUG   ] 00:43:33 component:94 Registered Preferences with ComponentRegistry..
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/preferences.py:44: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "glade/preferences_dialog.glade"))
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 component:94 Registered SystemTray with ComponentRegistry..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 config:162 Registering function for enable_system_tray key..
[DEBUG   ] 00:43:33 systemtray:68 Enabling the system tray icon..
[DEBUG   ] 00:43:33 component:94 Registered StatusBar with ComponentRegistry..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 config:131 save_timer: 39
[DEBUG   ] 00:43:33 component:94 Registered AddTorrentDialog with ComponentRegistry..
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py:46: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "deluge.ui.gtkui", "glade/add_torrent_dialog.glade"))
[DEBUG   ] 00:43:33 component:94 Registered Signals with ComponentRegistry..
[DEBUG   ] 00:43:33 signalreceiver:44 SignalReceiver init..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 config:116 Setting 'signal_port' to 58169 of <type 'int'>
[DEBUG   ] 00:43:33 config:131 save_timer: 39
[DEBUG   ] 00:43:33 coreconfig:32 CoreConfig init..
[DEBUG   ] 00:43:33 component:94 Registered CoreConfig with ComponentRegistry..
[DEBUG   ] 00:43:33 component:94 Registered PluginManager with ComponentRegistry..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 pluginmanagerbase:40 Plugin manager init..
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[DEBUG   ] 00:43:33 configmanager:61 get_config_dir: /home/adamw/.config/deluge
[DEBUG   ] 00:43:33 pluginmanagerbase:87 Found plugin: Blocklist 1.0
[DEBUG   ] 00:43:33 pluginmanagerbase:87 Found plugin: Label 0.1
[DEBUG   ] 00:43:33 component:94 Registered ConnectionManager with ComponentRegistry..
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/connectionmanager.py:69: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "glade/connection_manager.glade"))
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'hostlist.conf'
[DEBUG   ] 00:43:33 config:39 Config created with filename: hostlist.conf
[DEBUG   ] 00:43:33 config:40 Config defaults: {'hosts': ['127.0.0.1:58846']}
[DEBUG   ] 00:43:33 configmanager:80 Getting config 'gtkui.conf'
[INFO    ] 00:43:33 connectionmanager:426 Starting localhost:58846 daemon..
Last edited by johnnyg on Mon Dec 15, 2008 9:39 am, edited 1 time in total.
Reason: please use the code tags
Adam Williamson
Mandriva
Community manager | Bugmaster | Newsletter editor | Proofreader | Translator | Packager
Mandriva Deluge packages available in /contrib/backports repositories for 2007 and 2007 Spring
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: libtorrent 0.14.1?

Post by markybob »

paste ~/.config/deluge/deluged.log
AdamW
New User
New User
Posts: 9
Joined: Tue Aug 14, 2007 4:39 pm
Location: Vancouver, Canada
Contact:

Re: libtorrent 0.14.1?

Post by AdamW »

Code: Select all

[DEBUG   ] 00:43:34 configmanager:36 ConfigManager started..
[INFO    ] 00:43:34 daemon:36 Deluge daemon 1.0.7
[DEBUG   ] 00:43:34 daemon:37 options: {'logfile': None, 'config': '/home/adamw/.config/deluge', 'port': 58846, 'donot': False}
[DEBUG   ] 00:43:34 daemon:38 args: []
[INFO    ] 00:43:34 configmanager:50 Setting config directory to: /home/adamw/.config/deluge
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 45, in <module>
    if not (libtorrent.version_major == 0 and libtorrent.version_minor == 14):
NameError: name 'libtorrent' is not defined
Adam Williamson
Mandriva
Community manager | Bugmaster | Newsletter editor | Proofreader | Translator | Packager
Mandriva Deluge packages available in /contrib/backports repositories for 2007 and 2007 Spring
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: libtorrent 0.14.1?

Post by andar »

Ah yea, that looks like a typo on my part. I will commit a patch to the 1.0.0_RC branch tonight and you can use that in your package.
AdamW
New User
New User
Posts: 9
Joined: Tue Aug 14, 2007 4:39 pm
Location: Vancouver, Canada
Contact:

Re: libtorrent 0.14.1?

Post by AdamW »

Thanks a lot for that, I'll keep an eye out for it.
Adam Williamson
Mandriva
Community manager | Bugmaster | Newsletter editor | Proofreader | Translator | Packager
Mandriva Deluge packages available in /contrib/backports repositories for 2007 and 2007 Spring
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: libtorrent 0.14.1?

Post by andar »

It's been committed in revision 4419 and 4420

The patch is here too: http://dpaste.com/99537/ http://dpaste.com/99538/ but you might want to make your own..
AdamW
New User
New User
Posts: 9
Joined: Tue Aug 14, 2007 4:39 pm
Location: Vancouver, Canada
Contact:

Re: libtorrent 0.14.1?

Post by AdamW »

Thanks again - I'll just re-generate the patch from the SVN commits, I think.

Just noticed you're over in Victoria - how are you liking this weather, huh?
Adam Williamson
Mandriva
Community manager | Bugmaster | Newsletter editor | Proofreader | Translator | Packager
Mandriva Deluge packages available in /contrib/backports repositories for 2007 and 2007 Spring
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: libtorrent 0.14.1?

Post by andar »

AdamW wrote:Thanks again - I'll just re-generate the patch from the SVN commits, I think.

Just noticed you're over in Victoria - how are you liking this weather, huh?
I hate it. It's never been this cold since I've lived here. I think we might get more snow tonight too : (
Post Reply