Ticket #345 (closed defect: fixed)
- Remember to check that the log messages do not contain personal information.
- Tickets containing names or links to copyrighted material will be deleted. Clean them out!
- For more permissions: register or login with flexget / anon
- Format your config and logs with {{{ ... }}} wiki formatting
RSS -> Deluge plugins and GZip (not a valid bencoded string)?
| Reported by: | d-Pixie@… | Owned by: | gazpachoking |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0 |
| Component: | Plugins | Version: | 1.0 (bleeding edge) |
| Keywords: | deluge, string | Cc: |
Description
I get this when pulling torrents via the RSS plugin to Deluge:
INFO deluge Using deluge 1.1 api
2009-10-29 14:57 INFO deluge Setting core uri as http://localclient:9e36182370b96bd095d78adac8d4b22e6dab7805@127.0.0.1:58846
2009-10-29 14:57 WARNING deluge Unable to open /home/pixie/.flexget/temp/c4ac93ce193cfb67febbbf2a0000e604: not a valid bencoded string
2009-10-29 14:57 ERROR feed Unhandled error in plugin deluge: not a valid bencoded string
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/FlexGet-1.0r879-py2.6.egg/flexget/feed.py", line 226, in __run_event
method(self)
File "/usr/local/lib/python2.6/dist-packages/FlexGet-1.0r879-py2.6.egg/flexget/plugin.py", line 193, in __call__
return getattr(self.plugin.instance, self.method_name)(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/FlexGet-1.0r879-py2.6.egg/flexget/plugins/output_deluge.py", line 88, in on_feed_output
self.add_to_deluge11(feed, config)
File "/usr/local/lib/python2.6/dist-packages/FlexGet-1.0r879-py2.6.egg/flexget/plugins/output_deluge.py", line 120, in add_to_deluge11
sclient.add_torrent_file([entry['file']], [opts])
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 282, in add_torrent_file
ti = deluge.ui.common.TorrentInfo(torrent_file)
File "/usr/lib/pymodules/python2.6/deluge/ui/common.py", line 76, in __init__
raise e
Exception: not a valid bencoded string
2009-10-29 14:57 INFO feed Aborting feed xxxxxxxxxxx (plugin: deluge)
I checked around a bit and found a few posts regarding this error and python. Most concluded that it was a GZip error. eg. the torrent file comes back encoded with GZip from the server and the handler (different in different cases) feeds it to Deluge still encoded which doesn't work since Deluge cant read it.
Can anyone confirm? Or have another idea? RSS pulled from torrentz.com in my case ...
Change History
Note: See
TracTickets for help on using
tickets.
