[問題] Picasa2flickr 出現"UnicodeEcodeError"
不好意思小弟是flickr新手,
關於上傳的問題想請教各位大大,
昨天剛開了pro帳號,
照精華區的方法用了Picasa2flickr上傳照片,
大約是800多張吧。傳了一個晚上。
早上想再續傳,上傳頁面卻出現下面的錯誤訊息:
picasa2flickr
Requested to upload files:
--> -->
UnicodeEncodeError Python 2.4.4: /usr/bin/python
Mon Sep 22 05:13:04 2008
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/4now.net/picasa2flickr/index.py
98 elif nb_display < 8:
99 nb_display += 1
100 print '<td style="font-size:10px;"><a href="%s"><img src="%s" alt="%s"/></a> (%s)</td>' \
101 % (img_url, img_url+'?size=32', title_txt, get_hr(file_size))
102 if not nb_display%4:
img_url = u'http://localhost:2163/f02553a00d42a14de1546ddb4d112680/image4007.jpg', title_txt = u'DSC_1116 TGS \u5916\u89c0.JPG', get_hr = <function get_hr>, file_size = 0
UnicodeEncodeError: 'ascii' codec can't encode characters in position 213-214: ordinal not in range(128)
args = ('ascii', u'<td style="font-size:10px;"><a href="http://loca...32" alt="DSC_1116 TGS \u5916\u89c0.JPG"/></a> (0.0 Kb)</td>', 213, 215, 'ordinal not in range(128)')
encoding = 'ascii'
end = 215
object = u'<td style="font-size:10px;"><a href="http://loca...32" alt="DSC_1116 TGS \u5916\u89c0.JPG"/></a> (0.0 Kb)</td>'
reason = 'ordinal not in range(128)'
start = 213
請問有人也有一樣問題嘛?這這這該怎麼解決呢@@
--
才剛開始用flickr一天,
老天不要對我這麼殘忍啊啊啊~
麻煩各位高手...感恩(拜)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.41.105.8
推
09/22 11:28, , 1F
09/22 11:28, 1F
推
09/22 11:31, , 2F
09/22 11:31, 2F
→
09/22 20:22, , 3F
09/22 20:22, 3F
→
09/22 20:24, , 4F
09/22 20:24, 4F
→
09/23 06:35, , 5F
09/23 06:35, 5F
→
09/23 06:36, , 6F
09/23 06:36, 6F
→
09/23 06:37, , 7F
09/23 06:37, 7F
推
09/24 21:42, , 8F
09/24 21:42, 8F
Flickr 近期熱門文章
PTT數位生活區 即時熱門文章