https://bugzilla.wikimedia.org/show_bug.cgi?id=57694
Web browser: ---
Bug ID: 57694
Summary: uninformative DoesNotExistError logging
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Web API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
We are trying to debug a failure with the way parsoid is set up in the
Labs-Vagrant visualeditor role setup
<https://wikitech.wikimedia.org/wiki/Talk:Labs-vagrant#Parsoid_errors_using_VisualEditor_role>
When the client gets 404 errors, the error in /var/log/upstart/parsoid.log is
just
ERROR in localhost:Main_Page
Stack trace: DoesNotExistError: Page Fetch failure for null
worker 25269 died (1), restarting.
but it doesn't say what the error is.
ebernhardson tweaked the second line to actually say what's going wrong by
adding error to the output, so the second line becomes
Stack trace: DoesNotExistError: Page Fetch failure for null : Error: Invalid
URI
"undef/w/api.php?format=json&action=query&meta=siteinfo&siprop=namespaces%7Cnamespacealiases%7Cmagicwords%7Cfunctionhooks%7Cextensiontags%7Cgeneral%7Cinterwikimap%7Clanguages%7Cprotocols"
, and now we can get somewhere :)
Two-line patch on its way
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l