Bug encountered during accessing local Wiki
See original GitHub issuePython 3.5.2 (default, Oct 8 2019, 13:06:37)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from mediawiki import MediaWiki
>>> mw = MediaWiki(url="http://192.168.10.3:10080/mywiki/api.php")
Traceback (most recent call last):
File "/XXXXXXX/barrust-mediawiki/mediawiki/mediawiki/mediawiki.py", line 92, in __init__
self._get_site_info()
File "/XXXXXXX/barrust-mediawiki/mediawiki/mediawiki/mediawiki.py", line 868, in _get_site_info
raise MediaWikiException("Missing query in response")
mediawiki.exceptions.MediaWikiException: An unknown error occured: "Missing query in response". Please report it on GitHub!
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/XXXXXXX/barrust-mediawiki/mediawiki/mediawiki/mediawiki.py", line 94, in __init__
raise MediaWikiAPIURLError(url)
mediawiki.exceptions.MediaWikiAPIURLError: http://192.168.10.3:10080/mywiki/api.php is not a valid MediaWiki API URL
Wiki is valid, works perfectly, API is enabled. The Wiki version is quite recent: 1.33.0 Hm, so what do do now?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Bugs and Troubleshooting - Champaign-Urbana - LocalWiki
This page describes bugs encountered within the CU Wiki (and potentially the localwiki in general). Please read through the headings to make sure...
Read more >Manual:Common errors and symptoms - MediaWiki
MediaWiki Errors · All pages have no content, but when editing a page the wiki text is there · Image Thumbnails not working...
Read more >Software bug - Wikipedia
A software bug is an error, flaw or fault ; Bugs in software can arise from mistakes and errors made in interpreting and...
Read more >Wikipedia:Bug reports and feature requests
The bug report management tool of Phabricator is called Maniphest. Bug reports and feature requests that are not directly related to the MediaWiki...
Read more >List of software bugs - Wikipedia
Many software bugs are merely annoying or inconvenient but some can have extremely serious consequences – either financially or as a threat to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Wonderful! I released a new version and uploaded to pypi! @jkpubsrc if this didn’t resolve your issue, please reopen this ticket.
@barrust was just able to give it a try, seems to work perfectly! I did try both passing in the url, username, and password at initialization and via
set_api_url
after initialization and both were able to successfully login and access the wiki without issue