later after some small revisions, it comes here:
Traceback (most recent call last):
File "C:\BitTornado-0.3.15\BitTornado-CVS\btdownloadgui.py", line 2349, in
_next
savedas = dow.saveAs(choosefile,d.newpath)
File "C:\BitTornado-0.3.15\BitTornado-CVS\BitTornado\download_bt1.py", line
411, in saveAs
existing = 1
TypeError: decoding Unicode is not supported
and i donot know how to handle with it,
if len(listdir(file)) > 0: # if it's not empty
for x in self.info['files']:
if path.exists(path.join(file, x['path'][0])):
existing = 1
here is the revision,and formerly i make some revisions on
import sys
if path.exists(path.join(unicode(file,'utf-8'),
unicode(x['path'][0],'utf-8')):
and since then the TypeError remains though i have removed that statement.
thanks, if anyone can be helpful.
jolley
---------------------------------
雅虎免费邮箱-3.5G容量,20M附件
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com