Help talk:Uploading images: Difference between revisions
Jump to navigation
Jump to search
error |
No edit summary |
||
Line 18: | Line 18: | ||
[[User:Jon|Jon]] ([[User talk:Jon|talk]]) 18:14, 18 March 2019 (UTC) | [[User:Jon|Jon]] ([[User talk:Jon|talk]]) 18:14, 18 March 2019 (UTC) | ||
:Fixed - problem was needing to use http'''s''' not http for api url. [[User:Jon|Jon]] ([[User talk:Jon|talk]]) 19:45, 18 March 2019 (UTC) |
Revision as of 19:45, 18 March 2019
Commonist
I have an error message when trying to upload using commonist:
- INFO [2019-03-18T17:57:05.736Z] UploadFilesTask.scala:84 logging in
- DEBUG [2019-03-18T17:57:05.740Z] Connection.scala:120 POST http://wiki.nottinghack.org.uk/api.php HTTP/1.1
- DEBUG [2019-03-18T17:57:05.830Z] Connection.scala:123 HTTP/1.1 301 Moved Permanently
- ERROR [2019-03-18T17:57:05.832Z] UploadFilesTask.scala:70 upload task error
- java.lang.IllegalArgumentException: requirement failed: unexpected response: HTTP/1.1 301 Moved Permanently
- at scala.Predef$.require(Predef.scala:281)
- at commonist.mediawiki.Connection.handle(Connection.scala:126)
- at commonist.mediawiki.Connection.POST(Connection.scala:99)
- at commonist.mediawiki.API.login(API.scala:44)
- at commonist.task.UploadFilesTask.login(UploadFilesTask.scala:88)
- at commonist.task.UploadFilesTask.execute(UploadFilesTask.scala:47)
- at commonist.Task.commonist$Task$$run(Task.scala:75)
- at commonist.Task$$anon$1.run(Task.scala:30)
- at java.lang.Thread.run(Thread.java:748)