OK, well,1.1.6 no longer crashes, but the torrent doesn't add for me either. It comes up as it contains nothing.
Seems that instead of crashing, it just ignores any Japanese characters.
Deluge 1.1.5 cant add torrent file with japanese letters
Re: Deluge 1.1.5 cant add torrent file with japanese letters
Could you try the torrent posted by garren earlier in the thread? Also, please note that you need to save the torrent file to disk and open it manually from within deluge (double clicking is not going to work).venohm wrote:OK, well,1.1.6 no longer crashes, but the torrent doesn't add for me either. It comes up as it contains nothing.
Seems that instead of crashing, it just ignores any Japanese characters.
-
- Seeder
- Posts: 108
- Joined: Fri Aug 10, 2007 2:26 pm
Re: Deluge 1.1.5 cant add torrent file with japanese letters
I couldn't add it, either. In fact, when it was in my Recycle Bin, if I opened my recycle bin, it crashed Windows Explorer.
Definitely a Windows issue.
Definitely a Windows issue.
Re: Deluge 1.1.5 cant add torrent file with japanese letters
When I open the torrents, the add window comes up, but there are no files listed. Clicking add doesn't add anything to my download list.
Re: Deluge 1.1.5 cant add torrent file with japanese letters
I use Linux, 1.1.6 is same as venohm (no files listed), 1.1.5 can list the files for same torrent.
Re: Deluge 1.1.5 cant add torrent file with japanese letters
Are you sure that you are opening a torrent file on disk from within the deluge application? You need to start deluge, and go to "Files -> Add torrent", select the "file" tab and open the .torrent file. Clicking on a unicode torrent file in Windows explorer (or a browser link) is not going to work, unfortunately, due to limitations in the way than Python 2.5 on Windows handles program arguments with unicode.venohm wrote:When I open the torrents, the add window comes up, but there are no files listed. Clicking add doesn't add anything to my download list.
This works for me (Windows XP SP3, deluge 1.1.6).
If you are doing this, please run deluge with logging (deluge.cmd -L debug -l <logfile>) and post the contents of the logfile in this thread.
Re: Deluge 1.1.5 cant add torrent file with japanese letters
Please post log file output. The torrent link posted earlier in the thread works for me under Ubuntu 8.10 with deluge 1.1.6 (built from source).blowback wrote:I use Linux, 1.1.6 is same as venohm (no files listed), 1.1.5 can list the files for same torrent.
Re: Deluge 1.1.5 cant add torrent file with japanese letters
Sorry, I confirmed the issue with wrong torrent file but I realized this is another problem.jesperl wrote:Please post log file output. The torrent link posted earlier in the thread works for me under Ubuntu 8.10 with deluge 1.1.6 (built from source).blowback wrote:I use Linux, 1.1.6 is same as venohm (no files listed), 1.1.5 can list the files for same torrent.
I confirmed to reproduce it (1.1.5 can add, 1.1.6 cannot add) with the following torrent (doesn't include Japanese characters).
http://www.frozen-layer.com/descargas/35646.torrent
Logs:
.xsession-errors (GtkUI)
Code: Select all
/usr/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
"glade/main_window.glade"))
/usr/lib/python2.6/site-packages/deluge/ui/gtkui/filtertreeview.py:202: GtkWarning: gtk_tree_store_set_value: assertion `VALID_ITER (iter, tree_store)' failed
self.treestore.set_value(row, 3, count)
/usr/lib/python2.6/site-packages/deluge/ui/gtkui/filtertreeview.py:214: GtkWarning: gtk_tree_store_set_value: assertion `VALID_ITER (iter, tree_store)' failed
self.treestore.set_value(row, FILTER_COLUMN, True)
/usr/lib/python2.6/site-packages/deluge/ui/gtkui/filtertreeview.py:183: GtkWarning: gtk_tree_store_set_value: assertion `VALID_ITER (iter, tree_store)' failed
self.treestore.set_value(self.cat_nodes[cat], FILTER_COLUMN, True)
/usr/lib/python2.6/site-packages/deluge/ui/gtkui/filtertreeview.py:190: GtkWarning: gtk_tree_store_set_value: assertion `VALID_ITER (iter, tree_store)' failed
self.treestore.set_value(self.filters[f], FILTER_COLUMN, False)
Code: Select all
$ deluged -L debug
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/site-packages/deluge/core/preferencesmanager.py", line 451, in run
+ "&plugins=" + quote_plus(self.config["enabled_plugins"])
File "/usr/lib/python2.6/urllib.py", line 1224, in quote_plus
return quote(s, safe)
File "/usr/lib/python2.6/urllib.py", line 1216, in quote
res = map(safe_map.__getitem__, s)
KeyError: 'Blocklist'
Code: Select all
[INFO ] 00:26:30 daemon:48 Deluge daemon 1.1.6
[DEBUG ] 00:26:30 daemon:49 options: {'loglevel': 'debug', 'quiet': False, 'logfile': '/tmp/deluged1.1.6.log', 'config': None, 'port': None, 'pidfile': None, 'donot': False}
[DEBUG ] 00:26:30 daemon:50 args: []
[DEBUG ] 00:26:30 core:91 Core init..
[DEBUG ] 00:26:30 component:106 Registered Core with ComponentRegistry..
[DEBUG ] 00:26:30 component:106 Registered PreferencesManager with ComponentRegistry..
[DEBUG ] 00:26:30 configmanager:91 Getting config 'core.conf'
[DEBUG ] 00:26:30 config:256 Config /home/user/.config/deluge/core.conf loaded: {'info_sent': 0.0, 'lsd': True, 'send_info': True, 'state_location': '/home/user/.config/deluge/state', 'move_completed_path': '/home/user/Videos', 'enc_in_policy': 1, 'queue_new_to_top': False, 'ignore_limits_on_local_network': True, 'rate_limit_ip_overhead': False, 'daemon_port': 58846, 'natpmp': False, 'max_active_limit': 3, 'utpex': True, 'max_active_downloading': 2, 'max_active_seeding': 1, 'allow_remote': False, 'max_half_open_connections': 8, 'download_location': '/home/user/Download', 'compact_allocation': False, 'max_upload_speed': 40.0, 'prioritize_first_last_pieces': True, 'auto_managed': True, 'enc_level': 2, 'max_connections_per_second': 8, 'dont_count_slow_torrents': False, 'random_outgoing_ports': True, 'dht': True, 'new_release_check': True, 'enc_out_policy': 1, 'max_upload_slots_global': 4, 'seed_time_limit': 100, 'share_ratio_limit': 2.0, 'max_download_speed': -1.0, 'torrentfiles_location': '/home/user', 'stop_seed_at_ratio': True, 'peer_tos': '0x00', 'upnp': True, 'max_download_speed_per_torrent': -1, 'outgoing_ports': [0, 0], 'enabled_plugins': ['Blocklist'], 'random_port': True, 'autoadd_enable': False, 'max_connections_global': 150, 'enc_prefer_rc4': True, 'listen_ports': [6881, 6891], 'max_upload_slots_per_torrent': -1, 'stop_seed_ratio': 0.99999999999999922, 'seed_time_ratio_limit': 7.0, 'max_upload_speed_per_torrent': -1, 'copy_torrent_file': False, 'move_completed': True, 'proxies': {'peer': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'web_seed': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'tracker': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'dht': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}}, 'add_paused': False, 'max_connections_per_torrent': -1, 'remove_seed_at_ratio': False, 'autoadd_location': '/home/user', 'config_location': '/home/user/.config/deluge', 'plugins_location': '/home/user/.config/deluge/plugins'}
[DEBUG ] 00:26:30 configmanager:91 Getting config 'core.conf'
[INFO ] 00:26:30 core:110 Starting XMLRPC server on port 58846
[DEBUG ] 00:26:30 core:179 Starting libtorrent session..
[DEBUG ] 00:26:30 alertmanager:54 AlertManager initialized..
[DEBUG ] 00:26:30 component:106 Registered AlertManager with ComponentRegistry..
[DEBUG ] 00:26:30 component:106 Registered SignalManager with ComponentRegistry..
[DEBUG ] 00:26:30 component:106 Registered PluginManager with ComponentRegistry..
[DEBUG ] 00:26:30 pluginmanagerbase:64 Plugin manager init..
[DEBUG ] 00:26:30 configmanager:91 Getting config 'core.conf'
[DEBUG ] 00:26:30 pluginmanagerbase:115 Found plugin: Blocklist 1.0
[DEBUG ] 00:26:30 pluginmanagerbase:115 Found plugin: Label 0.1
[DEBUG ] 00:26:30 component:106 Registered TorrentManager with ComponentRegistry..
[DEBUG ] 00:26:30 torrentmanager:124 TorrentManager init..
[DEBUG ] 00:26:30 configmanager:91 Getting config 'core.conf'
[DEBUG ] 00:26:30 config:215 Registering function for max_connections_per_torrent key..
[DEBUG ] 00:26:30 torrentmanager:613 max_connections_per_torrent set to -1..
[DEBUG ] 00:26:30 config:215 Registering function for max_upload_slots_per_torrent key..
[DEBUG ] 00:26:30 torrentmanager:619 max_upload_slots_per_torrent set to -1..
[DEBUG ] 00:26:30 config:215 Registering function for max_upload_speed_per_torrent key..
[DEBUG ] 00:26:30 torrentmanager:624 max_upload_speed_per_torrent set to -1..
[DEBUG ] 00:26:30 config:215 Registering function for max_download_speed_per_torrent key..
[DEBUG ] 00:26:30 torrentmanager:629 max_download_speed_per_torrent set to -1..
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert torrent_finished_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert torrent_paused_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert torrent_checked_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert tracker_reply_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert tracker_announce_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert tracker_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert tracker_warning_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert tracker_error_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert storage_moved_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert torrent_resumed_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert state_changed_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert save_resume_data_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert save_resume_data_failed_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert file_renamed_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert metadata_received_alert
[DEBUG ] 00:26:30 alertmanager:88 Registered handler for alert file_error_alert
[DEBUG ] 00:26:30 component:106 Registered FilterManager with ComponentRegistry..
[DEBUG ] 00:26:30 filtermanager:88 FilterManager init..
[DEBUG ] 00:26:30 component:106 Registered AutoAdd with ComponentRegistry..
[DEBUG ] 00:26:30 configmanager:91 Getting config 'core.conf'
[DEBUG ] 00:26:30 config:215 Registering function for autoadd_enable key..
[DEBUG ] 00:26:30 autoadd:126 _on_autoadd_enable
[DEBUG ] 00:26:30 config:215 Registering function for autoadd_location key..
[DEBUG ] 00:26:30 autoadd:133 _on_autoadd_location
[DEBUG ] 00:26:30 component:106 Registered AuthManager with ComponentRegistry..
[DEBUG ] 00:26:30 component:129 Starting component PreferencesManager..
[DEBUG ] 00:26:30 config:215 Registering function for torrentfiles_location key..
[DEBUG ] 00:26:30 config:215 Registering function for state_location key..
[DEBUG ] 00:26:30 config:215 Registering function for listen_ports key..
[DEBUG ] 00:26:30 config:215 Registering function for random_port key..
[DEBUG ] 00:26:30 preferencesmanager:251 random port value set to True
[DEBUG ] 00:26:30 preferencesmanager:265 listen port range set to 56053-56063
[DEBUG ] 00:26:30 config:215 Registering function for outgoing_ports key..
[DEBUG ] 00:26:30 config:215 Registering function for random_outgoing_ports key..
[DEBUG ] 00:26:30 config:215 Registering function for peer_tos key..
[DEBUG ] 00:26:30 preferencesmanager:279 setting peer_tos to: 0x00
[DEBUG ] 00:26:30 config:215 Registering function for dht key..
[DEBUG ] 00:26:30 preferencesmanager:289 dht value set to True
[DEBUG ] 00:26:30 config:215 Registering function for upnp key..
[DEBUG ] 00:26:30 preferencesmanager:311 upnp value set to True
[DEBUG ] 00:26:30 config:215 Registering function for natpmp key..
[DEBUG ] 00:26:30 preferencesmanager:318 natpmp value set to False
[DEBUG ] 00:26:30 config:215 Registering function for utpex key..
[DEBUG ] 00:26:30 preferencesmanager:332 utpex value set to True
[DEBUG ] 00:26:30 config:215 Registering function for lsd key..
[DEBUG ] 00:26:30 preferencesmanager:325 lsd value set to True
[DEBUG ] 00:26:30 config:215 Registering function for enc_in_policy key..
[DEBUG ] 00:26:30 preferencesmanager:337 encryption value enc_in_policy set to 1..
[DEBUG ] 00:26:30 preferencesmanager:351 encryption settings:
out_policy: enabled
in_policy: enabled
level: both
prefer_rc4: True
[DEBUG ] 00:26:30 config:215 Registering function for enc_out_policy key..
[DEBUG ] 00:26:30 preferencesmanager:337 encryption value enc_out_policy set to 1..
[DEBUG ] 00:26:30 preferencesmanager:351 encryption settings:
out_policy: enabled
in_policy: enabled
level: both
prefer_rc4: True
[DEBUG ] 00:26:30 config:215 Registering function for enc_level key..
[DEBUG ] 00:26:30 preferencesmanager:337 encryption value enc_level set to 2..
[DEBUG ] 00:26:30 preferencesmanager:351 encryption settings:
out_policy: enabled
in_policy: enabled
level: both
prefer_rc4: True
[DEBUG ] 00:26:30 config:215 Registering function for enc_prefer_rc4 key..
[DEBUG ] 00:26:30 preferencesmanager:337 encryption value enc_prefer_rc4 set to True..
[DEBUG ] 00:26:30 preferencesmanager:351 encryption settings:
out_policy: enabled
in_policy: enabled
level: both
prefer_rc4: True
[DEBUG ] 00:26:30 config:215 Registering function for max_connections_global key..
[DEBUG ] 00:26:30 preferencesmanager:354 max_connections_global set to 150..
[DEBUG ] 00:26:30 config:215 Registering function for max_upload_speed key..
[DEBUG ] 00:26:30 preferencesmanager:358 max_upload_speed set to 40.0..
[DEBUG ] 00:26:30 config:215 Registering function for max_download_speed key..
[DEBUG ] 00:26:30 preferencesmanager:368 max_download_speed set to -1.0..
[DEBUG ] 00:26:30 config:215 Registering function for max_upload_slots_global key..
[DEBUG ] 00:26:30 preferencesmanager:377 max_upload_slots_global set to 4..
[DEBUG ] 00:26:30 config:215 Registering function for max_half_open_connections key..
[DEBUG ] 00:26:30 config:215 Registering function for max_connections_per_second key..
[DEBUG ] 00:26:30 config:215 Registering function for ignore_limits_on_local_network key..
[DEBUG ] 00:26:30 config:215 Registering function for share_ratio_limit key..
[DEBUG ] 00:26:30 preferencesmanager:392 share_ratio_limit set to 2.0..
[DEBUG ] 00:26:30 config:215 Registering function for seed_time_ratio_limit key..
[DEBUG ] 00:26:30 preferencesmanager:397 seed_time_ratio_limit set to 7.0..
[DEBUG ] 00:26:30 config:215 Registering function for seed_time_limit key..
[DEBUG ] 00:26:30 preferencesmanager:402 seed_time_limit set to 100..
[DEBUG ] 00:26:30 config:215 Registering function for max_active_downloading key..
[DEBUG ] 00:26:30 preferencesmanager:408 max_active_downloading set to 2..
[DEBUG ] 00:26:30 preferencesmanager:409 active_downloads: 8
[DEBUG ] 00:26:30 config:215 Registering function for max_active_seeding key..
[DEBUG ] 00:26:30 preferencesmanager:414 max_active_seeding set to 1..
[DEBUG ] 00:26:30 preferencesmanager:415 active_seeds: 5
[DEBUG ] 00:26:30 config:215 Registering function for max_active_limit key..
[DEBUG ] 00:26:30 preferencesmanager:420 max_active_limit set to 3..
[DEBUG ] 00:26:30 preferencesmanager:421 active_limit: 15
[DEBUG ] 00:26:30 config:215 Registering function for dont_count_slow_torrents key..
[DEBUG ] 00:26:30 preferencesmanager:426 dont_count_slow_torrents set to False..
[DEBUG ] 00:26:30 config:215 Registering function for send_info key..
[DEBUG ] 00:26:30 preferencesmanager:431 Sending anonymous stats..
[DEBUG ] 00:26:30 config:215 Registering function for proxies key..
[DEBUG ] 00:26:30 config:215 Registering function for new_release_check key..
[DEBUG ] 00:26:30 preferencesmanager:462 Checking for new release..
[DEBUG ] 00:26:30 core:323 get_new_release
[DEBUG ] 00:26:30 config:215 Registering function for rate_limit_ip_overhead key..
[DEBUG ] 00:26:30 preferencesmanager:486 rate_limit_ip_overhead: False
[DEBUG ] 00:26:30 component:129 Starting component Core..
[DEBUG ] 00:26:30 component:129 Starting component AlertManager..
[DEBUG ] 00:26:30 alertmanager:107 listen_succeeded_alert: successfully listening on 0.0.0.0:56053
[DEBUG ] 00:26:30 alertmanager:107 listen_failed_alert: listening on [::]:0 failed: Bad file descriptor
[DEBUG ] 00:26:30 component:129 Starting component SignalManager..
[DEBUG ] 00:26:30 component:129 Starting component PluginManager..
[DEBUG ] 00:26:30 corepluginbase:47 Registering export function export_download as blocklist_download
[DEBUG ] 00:26:30 corepluginbase:47 Registering export function export_get_config as blocklist_get_config
[DEBUG ] 00:26:30 corepluginbase:47 Registering export function export_get_status as blocklist_get_status
[DEBUG ] 00:26:30 corepluginbase:47 Registering export function export_import as blocklist_import
[DEBUG ] 00:26:30 corepluginbase:47 Registering export function export_set_config as blocklist_set_config
[DEBUG ] 00:26:30 corepluginbase:51 CorePlugin initialized..
[DEBUG ] 00:26:30 init:46 0
[DEBUG ] 00:26:30 core:77 Blocklist: Plugin enabled..
[DEBUG ] 00:26:30 configmanager:91 Getting config 'blocklist.conf'
[DEBUG ] 00:26:30 config:256 Config /home/user/.config/deluge/blocklist.conf loaded: {'check_after_days': 4, 'file_type': 'gzmule', 'try_times': 3, 'file_date': 'Wed Apr 8 00:41:18 2009', 'file_size': 3159720, 'listtype': 'gzmule', 'load_on_start': True, 'url': 'http://deluge-torrent.org/blocklist/nipfilter.dat.gz', 'file_url': 'http://deluge-torrent.org/blocklist/nipfilter.dat.gz', 'timeout': 180}
[DEBUG ] 00:26:30 core:162 Reset IP Filter..
[DEBUG ] 00:26:30 text:92 GZMuleReader loading: /home/user/.config/deluge/blocklist.cache
[DEBUG ] 00:26:30 text:85 MuleReader loading
[DEBUG ] 00:26:30 text:24 TextBase loading
[DEBUG ] 00:26:30 core:184 Blocklist import starting..
[INFO ] 00:26:30 pluginmanagerbase:138 Plugin Blocklist enabled..
[DEBUG ] 00:26:30 component:129 Starting component TorrentManager..
[DEBUG ] 00:26:30 configmanager:91 Getting config 'core.conf'
[DEBUG ] 00:26:30 torrentmanager:476 Opening torrent state file for load.
[WARNING ] 00:26:30 torrentmanager:491 Unable to update state file to a compatible version: list index out of range
[DEBUG ] 00:26:30 pluginmanager:151 run_post_session_load
[DEBUG ] 00:26:30 component:129 Starting component AutoAdd..
[DEBUG ] 00:26:30 component:153 Pausing component AutoAdd..
[DEBUG ] 00:26:30 component:129 Starting component AuthManager..
[DEBUG ] 00:26:30 component:129 Starting component FilterManager..
[DEBUG ] 00:26:31 core:335 new_release: 1.1.6
[DEBUG ] 00:26:42 alertmanager:107 portmap_alert: successfully mapped port using UPnP. external port: 56053
[DEBUG ] 00:26:42 alertmanager:107 portmap_alert: successfully mapped port using UPnP. external port: 56053
[DEBUG ] 00:27:09 signalmanager:94 Registering http://127.0.0.1:42947 as a signal reciever..
[DEBUG ] 00:27:09 core:335 new_release: 1.1.6
[DEBUG ] 00:27:28 signalmanager:85 Deregistering 127.0.0.1 as a signal reciever..
[DEBUG ] 00:28:21 core:194 Blocklist import complete!
[INFO ] 00:29:07 core:268 Shutting down core..
[DEBUG ] 00:29:07 core:283 Joining listen thread to make sure it shutdowns cleanly..
[DEBUG ] 00:29:07 component:141 Stopping component Core..
[DEBUG ] 00:29:07 component:141 Stopping component AlertManager..
[DEBUG ] 00:29:07 component:141 Stopping component SignalManager..
[DEBUG ] 00:29:07 component:141 Stopping component AutoAdd..
[DEBUG ] 00:29:07 component:141 Stopping component PreferencesManager..
[DEBUG ] 00:29:07 component:141 Stopping component TorrentManager..
[DEBUG ] 00:29:07 torrentmanager:550 Saving torrent state file.
[DEBUG ] 00:29:07 component:141 Stopping component AuthManager..
[DEBUG ] 00:29:07 component:141 Stopping component PluginManager..
[DEBUG ] 00:29:07 core:97 Reset IP Filter..
[DEBUG ] 00:29:07 core:100 Blocklist: Plugin disabled
[DEBUG ] 00:29:08 component:141 Stopping component FilterManager..
[DEBUG ] 00:29:08 component:182 Shutting down component Core..
[DEBUG ] 00:29:08 component:182 Shutting down component AlertManager..
[DEBUG ] 00:29:08 component:182 Shutting down component SignalManager..
[DEBUG ] 00:29:08 component:182 Shutting down component AutoAdd..
[DEBUG ] 00:29:08 component:182 Shutting down component PreferencesManager..
[DEBUG ] 00:29:08 component:182 Shutting down component TorrentManager..
[DEBUG ] 00:29:08 component:182 Shutting down component AuthManager..
[DEBUG ] 00:29:08 component:182 Shutting down component PluginManager..
[DEBUG ] 00:29:08 core:97 Reset IP Filter..
[DEBUG ] 00:29:08 core:100 Blocklist: Plugin disabled
[DEBUG ] 00:29:08 component:182 Shutting down component FilterManager..
I use Arch Linux, python 2.6.1.
Re: Deluge 1.1.5 cant add torrent file with japanese letters
I did some more changes in [5051] regarding this and I believe it should be working now..