1 | C:\Users\Jonatan> C:\Python27\python.exe C:\Users\Jonatan\Desktop\pywikibot\core2\pwb.py flickrripper -user_id:35142635@N05 -removecategories -addcategory:Photographs_by_S._Rae]][[Category:Photos_of_species_uploaded_by_Josve05a]][[Category:Files_uploaded_by_Josve05a_(S._Rae) -autonomous -putthrottle:0 -socket_timeout:120 -start_id:8699156516 |
---|---|
2 | WARNING: Configuration variable 'absolute_import' is defined but unknown. |
3 | Misspelled? |
4 | WARNING: Configuration variable 'db_port' is defined but unknown. |
5 | Misspelled? |
6 | WARNING: Configuration variable 'weblink_dead_days' is defined but unknown. |
7 | Misspelled? |
8 | WARNING: Configuration variable 'panoramio' is defined but unknown. |
9 | Misspelled? |
10 | 8699156516 |
11 | Found duplicate image at Megascolia maculata - Flickr - S. Rae (3).jpg |
12 | 8699156494 |
13 | Found duplicate image at Megascolia maculata.jpg |
14 | 8698033823 |
15 | Found duplicate image at Megascolia maculata2.jpg |
16 | 8699157614 |
17 | WARNING: url as string is deprecated. Use an iterable instead. |
18 | The suggested description is: |
19 | == {{int:filedesc}} == |
20 | {{Information |
21 | |Description=Argaka, Cyprus |
22 | |Source=[https://www.flickr.com/photos/35142635@N05/8699157614/ Sphex flavipennis - a humungous wasp] |
23 | |Date=2013-04-30 06:01 |
24 | |Author=[https://www.flickr.com/people/35142635@N05 S. Rae] from Scotland, UK |
25 | |Permission= |
26 | |other_versions= |
27 | }} |
28 | {{Location dec|35.076861|32.495627|source:Flickr}} |
29 | |
30 | =={{int:license-header}}== |
31 | {{cc-by-2.0}} |
32 | {{flickrreview}} |
33 | [[Category:Photographs_by_S._Rae]][[Category:Photos_of_species_uploaded_by_Josve05a]][[Category:Files_uploaded_by_Josve05a_(S._Rae)]] |
34 | |
35 | Uploading file to commons:commons via API... |
36 | Reading file https://farm9.staticflickr.com/8557/8699157614_86c9b29599_o.jpg |
37 | ERROR: Traceback (most recent call last): |
38 | File "C:\Users\Jonatan\Desktop\pywikibot\core2\pywikibot\data\api.py", line 1558, in submit |
39 | body=body, headers=headers) |
40 | File "C:\Users\Jonatan\Desktop\pywikibot\core2\pywikibot\tools\__init__.py", line 1105, in wrapper |
41 | return obj(*__args, **__kw) |
42 | File "C:\Users\Jonatan\Desktop\pywikibot\core2\pywikibot\comms\http.py", line 279, in request |
43 | r = fetch(baseuri, method, body, headers, **kwargs) |
44 | File "C:\Users\Jonatan\Desktop\pywikibot\core2\pywikibot\comms\http.py", line 381, in fetch |
45 | error_handling_callback(request) |
46 | File "C:\Users\Jonatan\Desktop\pywikibot\core2\pywikibot\comms\http.py", line 297, in error_handling_callback |
47 | raise request.data |
48 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 2361: ordinal not in range(128) |
49 | |
50 | WARNING: Waiting 5 seconds before retrying. |
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
I haven't tried using flickrripper.py for 3.0 since I started, due to it not being migrated for that version...
Comment Actions
I think this might just be another version of T99366: error with httplib2 and unicode_literals: UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 1872: ordinal not in range(128). The solution is fixing the bytes/unicode mess in our comms layer, but my last attempt at that went no-where.
Try using master instead of 2.0? Note that this is about the pywikibot version, not the python version.