Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (wikiteam3) [snowolf@computer dump-2007-01-30]$ wikiteam3dumpgenerator http://localhost:8182 --xml --images
- Checking API... http://localhost:8182/api.php
- MediaWiki API seems to work but returned no index URL
- API is OK: http://localhost:8182/api.php
- Checking index.php... http://localhost:8182/index.php
- check_index(): Trying Special:Random...
- POST http://localhost:8182/index.php {'title': 'Special:Random'} 301
- GET http://localhost:8182/index.php?title=Speciale:Random {'title': 'Special:Random'} 302
- GET http://localhost:8182/index.php?title=Praefectus_Castrorum {'title': 'Special:Random'} 200
- index.php available probability: 90% (0.9)
- index.php is OK
- No --path argument provided. Defaulting to:
- [working_directory]/[domain_prefix]-[date]-wikidump
- Which expands to:
- ./localhost_8182-20241001-wikidump
- --delay is the default value of 1.5
- There will be a 1.5 second delay between HTTP calls in order to keep the server from timing you out.
- If you know that this is unnecessary, you can manually specify '--delay 0.0'.
- Undo monkey patch...
- #########################################################################
- # Welcome to DumpGenerator 4.3.3 by WikiTeam3 (GPL v3) #
- # More info at: <https://github.com/saveweb/wikiteam3> #
- # Copyright (C) 2011-2024 WikiTeam developers #
- #########################################################################
- Analysing http://localhost:8182/api.php
- No suitable dump found at Internet Archive
- Trying generating a new dump into a new directory...
- http://localhost:8182/api.php
- Retrieving the XML for every page from the beginning
- Retrieving the XML for every page
- Loading page titles from namespaces = all
- Excluding titles from namespaces = None
- 16 namespaces found
- Retrieving titles in the namespace 0
- Traceback (most recent call last):
- File "/home/snowolf/.virtualenvs/wikiteam3/bin/wikiteam3dumpgenerator", line 8, in <module>
- sys.exit(main())
- ^^^^^^
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/__init__.py", line 7, in main
- DumpGenerator()
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/dump/generator.py", line 83, in __init__
- DumpGenerator.createNewDump(config=config, other=other)
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/dump/generator.py", line 109, in createNewDump
- generate_XML_dump(config=config, session=other.session)
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/dump/xmldump/xml_dump.py", line 146, in generate_XML_dump
- doXMLExportDump(config, session, xmlfile, lastPage)
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/dump/xmldump/xml_dump.py", line 71, in doXMLExportDump
- for title in read_titles(config, session=session, start=start):
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/api/page_titles.py", line 266, in read_titles
- getPageTitles(config=config, session=session)
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/api/page_titles.py", line 215, in getPageTitles
- for title in titles:
- ^^^^^^
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/api/page_titles.py", line 41, in getPageTitlesAPI
- site = mwclient.Site(
- ^^^^^^^^^^^^^^
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 186, in __init__
- self.site_init()
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 209, in site_init
- meta = self.get('query', meta='siteinfo|userinfo',
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 300, in get
- return self.api(action, 'GET', *args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 361, in api
- if self.handle_api_result(info, sleeper=sleeper):
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 418, in handle_api_result
- raise errors.APIError(info['error']['code'],
- mwclient.errors.APIError: ('unknown_meta', "Unrecognised values for parameter 'meta'", '\n \n This API allows programs to access various functions of MediaWiki software.\n For more details see API Home Page @ http://meta.wikimedia.org/wiki/API\n \n Status: ALPHA -- all features shown on this page should be working,\n but the API is still in active development, and may change at any time.\n Make sure you monitor changes to this page, wikitech-l mailing list,\n or the source code in the includes/api directory for any changes.\n \nParameters:\n format - The format of the output\n One value: json, jsonfm, php, phpfm, wddx, wddxfm, xml, xmlfm, yaml, yamlfm, rawfm\n Default: xmlfm\n action - What action you would like to perform\n One value: help, login, opensearch, feedwatchlist, query\n Default: help\n version - When showing help, include version for each module\n\n\n*** *** *** *** *** *** *** *** *** *** Modules *** *** *** *** *** *** *** *** *** *** \n\n* action=help *\n Display this help screen.\n\n* action=login *\n This module is used to login and get the authentication tokens.\nParameters:\n lgname - User Name\n lgpassword - Password\n lgdomain - Domain (optional)\nExamp
Advertisement
Add Comment
Please, Sign In to add comment