


Dvorapa ( talk) 22:26, 23 March 2019 (UTC) Reply Dvorapa: I thougth description is the Page and the Summary is whats written in the #filehistory for each versions. What you've done you set uploaded file description, not summary. JoKalliauer ( talk) 21:52, 4 March 2019 (UTC) Reply JoKalliauer: Hello, you set no summary there. Script terminated python /data/project/shared/pywikipedia/core/scripts/upload.py Oxygen480-status-weather-mist.svg -keep -ignorewarn -noverify -summary MySummary ValueError: APISite.upload: cannot upload file without a summary/description. Raise ValueError('APISite.upload: cannot upload file without ' User:Framawiki it seems that summary is not working on python /data/project/shared/pywikipedia/core/scripts/upload.py Oxygen480-status-weather-mist.svg -keep -ignorewarn -summary MySummaryĭo you want to change this description? (es, o, uit): nįile "/data/project/shared/pywikibot/core/pywikibot/specialbots.py", line 430, in upload_fileįile "/data/project/shared/pywikibot/core/pywikibot/page.py", line 2682, in uploadįile "/data/project/shared/pywikibot/core/pywikibot/tools/_init_.py", line 1738, in wrapperįile "/data/project/shared/pywikibot/core/pywikibot/site.py", line 6194, in upload Ioneil 21:58, (UTC) Reply Upload multiple files? I am running python 2.4 on Windows XP, and my user-config.py setting are: I get the same error no matter what image file I use. UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 342: unexpected code byte Return codecs.utf_8_decode(input, errors, True) Returned_html = returned_code(())įile "C:\Python24\lib\encodings\utf_8.py", line 16, in decode I am able to log in without any problems, but when I try to upload any image (using URL or local file) to the server, I get the following error message:įile "C:\Documents and Settings\Jim\My Documents\Downloads\Applications\Python WikiBot\pywikipedia\upload.py", line 251, in ?įile "C:\Documents and Settings\Jim\My Documents\Downloads\Applications\Python WikiBot\pywikipedia\upload.py", line 247, in mainįile "C:\Documents and Settings\Jim\My Documents\Downloads\Applications\Python WikiBot\pywikipedia\upload.py", line 229, in runįile "C:\Documents and Settings\Jim\My Documents\Downloads\Applications\Python WikiBot\pywikipedia\upload.py", line 201, in upload_image Ioneil 22:05, (UTC) Reply 'utf8' Can't Decode Byte This is the default:Īnd if your wiki is in the root folder of your server, you might need this:

The server logs should record every file that was requested by a client that it couldn't find.Īlso, make sure you check the path specified by grandijooswiki_family.py (or whatever_family.py) is accurate. If you are able to access your wiki when you log in, then you are probably requesting a nonexistent file. In general there are two reasons for a 403 error: wrong permissions on the file, or wrong un/pw.

These should be available through your web hosting service, and are automatically kept by the web server program (like Apache). You should be able to get information about why the page is forbidden by checking the server logs. thnx - GrandiJoos 18:16, (UTC) Reply An Idea Anybody knows why upload.py does not work? I'm running Mediawiki 1.6.3 and am using the newest upload.py available. Manually uploading using the bot user account works and editing an article using the editarticly.py script works to. When I try to upload an image using this script I get a 403 Forbidden page back.
