Manual talk:Pywikibot/imagecopy.py

From mediawiki.org

Got an IOError, let's try again[edit]

I've got a blocking infinite loop on IO error when trying to upload 39 files like this one (which was on the French Wikibooks and that I finally transfered manually) but not with this one.

It happens with the Pywikibot from two months ago as well as with the one of yesterday, with imagecopy.py -page:, imagecopy.py -cat: and imagecopy.py -transclude:. JackPotte (talk) 14:53, 6 July 2014 (UTC)Reply

And sometimes I get instead:

Got CH desc.
Exception in thread Thread-39:
Traceback (most recent call last):
 File "C:\Program Files (x86)\Python\lib\threading.py", line 552, in __bootstrap_inner
   self.run()
 File "imagecopy.py", line 257, in run
   tablock = CH.split('<textarea ')[1].split('>')[0]
IndexError: list index out of range

JackPotte (talk) 16:02, 6 July 2014 (UTC)Reply

License suggestion[edit]

This feature would be useful because every image without any license is immediately deleted by the Commons administrators after its upload. JackPotte (talk) 14:53, 6 July 2014 (UTC)Reply