Project

General

Profile

Actions

Bug #1491

closed

WikiHelp upload internal server error 500

Added by Andras Timar over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

I get the following error message from upload.pl script:

timar@timar-x230:~/Wikihelp> ./upload-wiki.pl
keys on reference is experimental at ./upload-wiki.pl line 195.
2: 500 Internal Server Error : error occurred when accessing https://help-api.libreoffice.org/api.php after 1 attempt(s) at ./upload-wiki.pl line 117.

Actions #1

Updated by Christian Lohmaier over 8 years ago

  • Assignee set to Dennis Roczek

might be changed dependency - -Dennis tweaked the wiki lately.. assigning to him

Actions #2

Updated by Dennis Roczek over 8 years ago

Christian Lohmaier wrote:

might be changed dependency - -Dennis tweaked the wiki lately.. assigning to him

meh... sadly not. I tested the patch and all worked fine. Just searching for the error and found https://stackoverflow.com/questions/24725370/error-using-keys-on-a-hash which says the keys function might even be removed in future version. Simply revert commit f36f2883973e4ba6d59ee8d0d9b3e98273aa1c44 ( https://gerrit.libreoffice.org/#/c/16198 ) and I will try to fix it for the next version. :-(

Actions #3

Updated by Andras Timar over 8 years ago

It is not related to experimental function in Perl. When I use previous version of upload.pl, I get the same error.

timar@timar-x230:~/Wikihelp> ./upload-wiki.pl -r
2: 500 Internal Server Error : error occurred when accessing https://help-api.libreoffice.org/api.php after 1 attempt(s) at ./upload-wiki.pl line 116.

In line 116:
$mw->login( { lgname => $name, lgpassword => $password } ) || die $mw->{error}->{code} . ': ' . $mw->{error}->{details};

So the login does not work. 176.9.154.106 help-api.libreoffice.org
Please check the server config.

Actions #4

Updated by Florian Effenberger over 8 years ago

Can the problem be resolved with this, or was this not working?

The Document Foundation Redmine wrote on 2015-09-24 at 18:30:

meh... sadly not. I tested the patch and all worked fine. Just searching
for the error and found
https://stackoverflow.com/questions/24725370/error-using-keys-on-a-hash
which says the keys function might even be removed in future version.
Simply revert commit f36f2883973e4ba6d59ee8d0d9b3e98273aa1c44 (
https://gerrit.libreoffice.org/#/c/16198 ) and I will try to fix it for
the next version. :-(

Actions #5

Updated by Andras Timar over 8 years ago

Florian, no, see my previous comment.

On Fri, Sep 25, 2015 at 10:04 AM, The Document Foundation Redmine
<> wrote:

Actions #6

Updated by Florian Effenberger over 8 years ago

Dennis, Cloph, any chance you can have a look what's wrong? I assume
it's related to the latest changes to the wiki somehow.

Actions #7

Updated by Dennis Roczek over 8 years ago

Hope that works by mail: I believe I fixed it. That was the last part.
The error logs were clear: missing extension. As I mentioned earlier: i
removed many of our unused extension (and also some which were actually
in use like the syntaxhighlight at helpwiki :-p)

Regards,

dennis (i will be offline in ~50 minutes, cloph/andras: can you test the
connection / verify the uplaod. my wifi is again bad and i do not have
any testfile for uploading atm!)

Am 25.09.2015 10:15, schrieb The Document Foundation Redmine:

Actions #8

Updated by Dennis Roczek over 8 years ago

Christian Lohmaier wrote:

might be changed dependency - -Dennis tweaked the wiki lately.. assigning to him

ha, my mail (responding to one of the redmine mails) dodn't get in here. :-(

I believe I fixed it. The error logs were clear: missing extension. I removed many of our unused extension (and also some which were actually in use like the syntaxhighlight at helpwiki :-p)

cloph/andras: can you test the connection / verify the upload. I do not have any testfiles for upload atm!)

Regards,

Dennis

Actions #9

Updated by Dennis Roczek over 8 years ago

  • Status changed from New to Feedback
Actions #10

Updated by Dennis Roczek over 8 years ago

  • Status changed from Feedback to Closed

verified by andras: solved as he can upload the help now. :-)

Actions #11

Updated by Florian Effenberger over 8 years ago

Thank you so much, you rock!

Actions

Also available in: Atom PDF