Error while creating torrent file

General support for problems installing or using Deluge
Post Reply
pi11
New User
New User
Posts: 7
Joined: Wed Jan 14, 2009 10:09 pm

Error while creating torrent file

Post by pi11 »

Iam trying to create torrent file for directory with many files (23 Gb).
And reciveing this error:

Code: Select all

/usr/lib/python2.6/site-packages/deluge/metafile.py:23: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  from sha import sha
Exception in thread Thread-72:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/createtorrentdialog.py", line 333, in create_torrent
    httpseeds=httpseeds)
  File "/usr/lib/python2.6/site-packages/deluge/metafile.py", line 96, in make_meta_file
    info = makeinfo(path, piece_length, progress, name, content_type, private)
  File "/usr/lib/python2.6/site-packages/deluge/metafile.py", line 165, in makeinfo
    p2 = [to_utf8(n) for n in p]
  File "/usr/lib/python2.6/site-packages/deluge/metafile.py", line 137, in to_utf8
    'illegal bytes.') % (name, get_filesystem_encoding())
TypeError: unsupported operand type(s) for %: 'exceptions.Exception' and 'tuple'

Python 2.6
Deluge 1.1.6
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Error while creating torrent file

Post by andar »

What is your file system encoding?

Code: Select all

$ python
>>> import sys
>>> print sys.getfilesystemencoding()
pi11
New User
New User
Posts: 7
Joined: Wed Jan 14, 2009 10:09 pm

Re: Error while creating torrent file

Post by pi11 »

UTF-8
Post Reply