Giter VIP home page Giter VIP logo

Comments (5)

tholzheim avatar tholzheim commented on August 16, 2024

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:RatingForm: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.

WolfgangFahl avatar WolfgangFahl commented on August 16, 2024

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.

tholzheim avatar tholzheim commented on August 16, 2024

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.

tholzheim avatar tholzheim commented on August 16, 2024

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.

WolfgangFahl avatar WolfgangFahl commented on August 16, 2024

I assume this only happens in broken wikis and there might be a related phabricator task.

from py-3rdparty-mediawiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.