daily pastebin goal
29%
SHARE
TWEET

pixivDownloader error

a guest Sep 8th, 2013 135 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "PixivUtil2.py", line 99, in downloadImage
  3.     if os.path.exists(filename) and os.path.isfile(filename) :
  4.   File "/usr/lib/python2.7/genericpath.py", line 18, in exists
  5.     os.stat(path)
  6. UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-47: ordinal not in range(128)
  7. Traceback (most recent call last):
  8.   File "PixivUtil2.py", line 99, in downloadImage
  9.     if os.path.exists(filename) and os.path.isfile(filename) :
  10.   File "/usr/lib/python2.7/genericpath.py", line 18, in exists
  11.     os.stat(path)
  12. UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-47: ordinal not in range(128)
  13. Traceback (most recent call last):
  14.   File "PixivUtil2.py", line 99, in downloadImage
  15.     if os.path.exists(filename) and os.path.isfile(filename) :
  16.   File "/usr/lib/python2.7/genericpath.py", line 18, in exists
  17.     os.stat(path)
  18. UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-47: ordinal not in range(128)
  19. Traceback (most recent call last):
  20.   File "PixivUtil2.py", line 99, in downloadImage
  21.     if os.path.exists(filename) and os.path.isfile(filename) :
  22.   File "/usr/lib/python2.7/genericpath.py", line 18, in exists
  23.     os.stat(path)
  24. UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-47: ordinal not in range(128)
  25. Traceback (most recent call last):
  26.   File "PixivUtil2.py", line 714, in processImage
  27.     result = downloadImage(img, filename, viewPage.geturl(), overwrite, __config__.retry, __config__.backupOldFile)
  28.   File "PixivUtil2.py", line 208, in downloadImage
  29.     return downloadImage(url, filename, referer, overwrite, retry - 1)
  30.   File "PixivUtil2.py", line 208, in downloadImage
  31.     return downloadImage(url, filename, referer, overwrite, retry - 1)
  32.   File "PixivUtil2.py", line 208, in downloadImage
  33.     return downloadImage(url, filename, referer, overwrite, retry - 1)
  34.   File "PixivUtil2.py", line 99, in downloadImage
  35.     if os.path.exists(filename) and os.path.isfile(filename) :
  36.   File "/usr/lib/python2.7/genericpath.py", line 18, in exists
  37.     os.stat(path)
  38. UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-47: ordinal not in range(128)
  39. Traceback (most recent call last):
  40.   File "PixivUtil2.py", line 1624, in main
  41.     menuDownloadByImageId(mode, opisvalid, args)
  42.   File "PixivUtil2.py", line 1263, in menuDownloadByImageId
  43.     processImage(mode, None, int(image_id))
  44.   File "PixivUtil2.py", line 714, in processImage
  45.     result = downloadImage(img, filename, viewPage.geturl(), overwrite, __config__.retry, __config__.backupOldFile)
  46.   File "PixivUtil2.py", line 208, in downloadImage
  47.     return downloadImage(url, filename, referer, overwrite, retry - 1)
  48.   File "PixivUtil2.py", line 208, in downloadImage
  49.     return downloadImage(url, filename, referer, overwrite, retry - 1)
  50.   File "PixivUtil2.py", line 208, in downloadImage
  51.     return downloadImage(url, filename, referer, overwrite, retry - 1)
  52.   File "PixivUtil2.py", line 99, in downloadImage
  53.     if os.path.exists(filename) and os.path.isfile(filename) :
  54.   File "/usr/lib/python2.7/genericpath.py", line 18, in exists
  55.     os.stat(path)
  56. UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-47: ordinal not in range(128)
  57. ]2;PixivDownloader 20130804 PixivDownloader2 version 20130804
  58. https://nandaka.wordpress.com/tag/pixiv-downloader/
  59. Reading /home/nho/workshop/PixivUtil2/config.ini ...
  60. done.
  61. Creating database... done.
  62. Using Username: nhorus
  63. logging in with saved cookie
  64. Trying to log with saved cookie
  65. done.
  66. Processing Image Id: 38344819
  67. ]2;PixivDownloader 20130804 MemberId: 685000 ImageId: 38344819Title: ????????
  68. Tags : ???????????? ?????? ????????????????
  69. Date : 2013-09-07 06:59:00
  70. Mode : big
  71. Image URL : http://i2.pixiv.net/img28/img/1492s2941/38344819.png?1378595733
  72. Filename  : /home/nho/adata/pixiv/685000/38344819 - ????????????
  73. Using Referer: http://www.pixiv.net/member_illust.php?mode=big&illust_id=38344819
  74. Start downloading... 1 2 3 4
  75. Using Referer: http://www.pixiv.net/member_illust.php?mode=big&illust_id=38344819
  76. Start downloading... 1 2 3 4
  77. Using Referer: http://www.pixiv.net/member_illust.php?mode=big&illust_id=38344819
  78. Start downloading... 1 2 3 4
  79. Using Referer: http://www.pixiv.net/member_illust.php?mode=big&illust_id=38344819
  80. Start downloading... Error at processImage(): (<type 'exceptions.UnicodeEncodeError'>, UnicodeEncodeError('ascii', u'/home/nho/adata/pixiv/685000/38344819 - \u6559\u5ba4\u30e2\u30ce\u30af\u30ed\u30fc\u30e0.png', 40, 48, 'ordinal not in range(128)'), <traceback object at 0x253fcf8>)
  81. Dumping html to: Error Big Page for image 38344819.html
  82. Dumping html to: Error Medium Page for image 38344819.html
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top