Everything seems to work great with this library, except for the Image Upload. I tried both the UploadImage and UploadImageFromWeb function but none of them work. They throw me this WikiBotException:
"Error occurred when uploading image "TEST PAGE"."
More info:
- I develop with the latest version of mono framework
- I'm trying to test the upload on test.wikipedia.org (also tried on en.wikipedia.org but the same error appears)
- The way I write my function: page.UploadImage("/Users/cpt/Documents/Mono/WikiBot/WikiBot/photo.jpg", "photo.jpg", "photo.jpg", "photo.jpg", "photo.jpg");
Any idea why it doesn't work? Thanks in advance for the help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
UploadImage() function is routinely checked on test.wikipedia.org with .NET framework, it's ok. Not sure about Mono, but I guess it's all right too. Something may be wrong with path: "/Users/cpt/Documents/Mono/WikiBot/WikiBot/photo.jpg"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Everything seems to work great with this library, except for the Image Upload. I tried both the UploadImage and UploadImageFromWeb function but none of them work. They throw me this WikiBotException:
"Error occurred when uploading image "TEST PAGE"."
More info:
- I develop with the latest version of mono framework
- I'm trying to test the upload on test.wikipedia.org (also tried on en.wikipedia.org but the same error appears)
- The way I write my function: page.UploadImage("/Users/cpt/Documents/Mono/WikiBot/WikiBot/photo.jpg", "photo.jpg", "photo.jpg", "photo.jpg", "photo.jpg");
Any idea why it doesn't work? Thanks in advance for the help.
Sorry, I missed this thread.
UploadImage() function is routinely checked on test.wikipedia.org with .NET framework, it's ok. Not sure about Mono, but I guess it's all right too. Something may be wrong with path: "/Users/cpt/Documents/Mono/WikiBot/WikiBot/photo.jpg"