Comments (5)
This issue is really odd.
As far as I have tracked down the issue the problem is the page title.
If I execute wikipush -l -s orfixed -t test -p "Form:Rating"
I get the same error.
But if I move the complete page to Form:Test
(Form:Rating
→Form:Test
) and execute wikipush -l -s orfixed -t test -p "Form:Test"
it works. Moving the page back results again in an error.
$ wikipush -l -s orfixed -l -t test -p "Form:Rating"
copying 1 pages from wikirenderTest to test
1/1 ( 100%): copying Form:Rating ...👎
$ wikipush -l -s orfixed -l -t test -p "Form:Test"
copying 1 pages from wikirenderTest to test
1/1 ( 100%): copying Form:Test ...✅
$ wikipush -l -s orfixed -l -t test -p "Form:Rating"
copying 1 pages from wikirenderTest to test
1/1 ( 100%): copying Form:Rating ...👎
So I assume the page title is responsible for the issue.
I have observed several times now that certain pages can not be pushed it seems that these cases are related to this issue
from py-3rdparty-mediawiki.
For the time being using the debug option and showing more details of the problem might help. Is this Mediawiki Version related?
from py-3rdparty-mediawiki.
I did not check different MediaWiki Versions (tested against 1.35.4 (Page Forms | 5.3.2)).
What do you mean with more details this is the only information you get from the wiki api
{
"error":
{
"code": "internal_api_error_MWException",
"info": "[d503a790754280a592b8a62e] Caught exception of type MWException",
"errorclass": "MWException"
}
}
from py-3rdparty-mediawiki.
If the page is created before the push (empty page) the error is not thrown but the content of the page is also not pushed so the issue for Form:Rating
remains if the page already exists.
from py-3rdparty-mediawiki.
I assume this only happens in broken wikis and there might be a related phabricator task.
from py-3rdparty-mediawiki.
Related Issues (20)
- wikiedit with input from a structured file HOT 1
- add debug option for wikiedit
- fixAsk alters the query semantic HOT 3
- 0.6.0 didn't make it to pypi
- allow any of the tabulate tablefmt options as output format for wikiquery
- pywikibot verbose log workaround
- allow count queries HOT 3
- refactor wikibot package/module name conflict
- fix needsLogin
- ❌:'url' when backing up read links of images with -wi option
- show traceback on exceptions of command line if -debug option is set
- wikiedit allow to modify single parameter of a macro WikiSon HOT 2
- change project structure to pyproject.toml
- fixes wikiuser in interactive mode
- pip show does not show Summary, Home-Page, Author and License
- remove password attribute after encryption as a default
- return list of pageTitles for which the push failed for WikiPush.push
- add getStatistics call
- add single signon support via direct SQL connection
- add is_admin info to SSO
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 py-3rdparty-mediawiki.