Skip to content

Assorted dumpgenerator.py failures with some Miraheze (MediaWiki 1.39.3) wikis #467

@nemobis

Description

@nemobis
Titles saved at... bigforestmirahezeorg_w-20230617-titles.txt
18795 page titles loaded                                                                                                                                                                                                                    https://bigforest.miraheze.org/w/api.php
Getting the XML header from the API                                                                                   
Retrieving the XML for every page from the beginning
42 namespaces found                                                                                                   
Trying to export all revisions from namespace 0
Trying to get wikitext from the allrevisions API and to build the XML                                                                                                                                                                       Traceback (most recent call last):                                                                                    
  File "dumpgenerator.py", line 2572, in <module>
    main()
  File "dumpgenerator.py", line 2564, in main
    createNewDump(config=config, other=other)
  File "dumpgenerator.py", line 2135, in createNewDump
    generateXMLDump(config=config, titles=titles, session=other['session'])
  File "dumpgenerator.py", line 742, in generateXMLDump
    for xml in getXMLRevisions(config=config, session=session, start=start):
  File "dumpgenerator.py", line 843, in getXMLRevisions
    for page in arvrequest['query']['allrevisions']:
UnboundLocalError: local variable 'arvrequest' referenced before assignment
No </mediawiki> tag found: dump failed, needs fixing; resume didn't work. Exiting.

Not sure what's special about this wiki https://bigforest.miraheze.org/wiki/%ED%8A%B9%EC%88%98:%EB%B2%84%EC%A0%84

Maybe it was just an occasional error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions