Comments (7)
With any page, always?
from mediawiker.
Yeah, many pages face this problem, but sometimes the page opens up fine on first try.
(Granted, the successful first-time opens may have failed a while ago and I just don't remember it... at least I hope this isn't the case)
from mediawiker.
Can't reproduce :(
For example, page https://wreckit-woodhouse.fandom.com/wiki/Apple_Metro_Applen opens without errors for me.
ST, Dev channel, latest 4112
from mediawiker.
That page loads fine for me as well (haven't managed to reproduce for some arbitrary existing page on that test wiki in this brief session).
I swapped back to see if I could open https://thealchemistcode.fandom.com/wiki/Zwei without issue, and it threw error on first try just now. This page has thrown error for me various times.
Here's my attempt at opening a page on wreckit-woodhouse, swapping wikis back to thealchemistcode, and then opening Zwei. The first try failed, but subsequent attempts succeed:
Page [[Wreck-it_Woodhouse/About_Us]] was opened successfully from "wreckit-woodhouse.fandom.com".
>>> '''DEBUG''' Get connection from connection manager.
>>> '''DEBUG''' Cached connection: True
>>> '''DEBUG''' Get connection from connection manager.
>>> '''DEBUG''' Cached connection: True
>>> TypeError exception for get_page: unorderable types: int() > NoneType()
>>> '''DEBUG''' Get connection from connection manager.
>>> '''DEBUG''' Cached connection: True
Page [[Zwei]] was opened successfully from "The Alchemist Code Wiki".
>>> '''DEBUG''' Get connection from connection manager.
>>> '''DEBUG''' Cached connection: True
>>> '''DEBUG''' Get connection from connection manager.
>>> '''DEBUG''' Cached connection: True
Page [[Zwei]] was opened successfully from "The Alchemist Code Wiki".
>>> '''DEBUG''' Get connection from connection manager.
>>> '''DEBUG''' Cached connection: True
from mediawiker.
Always without errors for me..
Yoy could try to increase timeout value:
retry_timeout
(default: 30),
maybe it will help
from mediawiker.
Thanks, I'll give retry_timeout
a go (trying 40 for now).
By the way, when a page fails to load, this gets dumped to ST console (paths truncated for brevity):
Traceback (most recent call last):
File "...\Mediawiker\mwcommands\mw_utils.py", line 1072, in on_done
set_timeout_async(self.callback(title), 0)
File "...\Mediawiker\mediawiker.py", line 148, in get_section_number
return self.page_open(self.title)
File "...\Mediawiker\mediawiker.py", line 177, in page_open
if utils.api.page_can_edit(page):
File "...\Mediawiker\mwcommands\mw_utils.py", line 538, in page_can_edit
return page.can('edit')
AttributeError: 'NoneType' object has no attribute 'can'
from mediawiker.
It's just result, we received None-object instead of Page-object. I'll add more readable message for this.
from mediawiker.
Related Issues (20)
- Connection exception: 'HTTPError' object does not support indexing - GSSAPI Authentication HOT 9
- Automatically converting tabs to spaces/spaces to tabs on load HOT 6
- Shorten the summary / description
- Certificate failing HOT 9
- No option to "Open page" in Command Palette HOT 7
- syntax highlighter doesn't recognize <math> tags with "display=..." attributes HOT 2
- Support per-site "new_page_template_path" overriding the default
- Keys start acting strange after saving a page
- Chrome cookies not working: "cookies_browser": "chrome",
- authentication via firefox failing HOT 1
- File Load usage HOT 1
- InsecureRequestWarning -- wants a verified cert but those fail HOT 1
- 12 months of inactivity of repository owner HOT 2
- Code folding HOT 5
- [SSL: CERTIFICATE_VERIFY_FAILED] on wiki connection HOT 2
- "Unable to get page" on private wiki HOT 3
- Follow Special:MyPage links when opening pages HOT 1
- Sublime release 4172 is breaking Mediawiker HOT 4
- "Open page in SublimeText" gadget
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediawiker.