Snowolf

Untitled

Sep 30th, 2024
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1. (wikiteam3) [snowolf@computer dump-2007-01-30]$ wikiteam3dumpgenerator http://localhost:8182 --xml --images
  2. Checking API... http://localhost:8182/api.php
  3. MediaWiki API seems to work but returned no index URL
  4. API is OK: http://localhost:8182/api.php
  5. Checking index.php... http://localhost:8182/index.php
  6. check_index(): Trying Special:Random...
  7. POST http://localhost:8182/index.php {'title': 'Special:Random'} 301
  8. GET http://localhost:8182/index.php?title=Speciale:Random {'title': 'Special:Random'} 302
  9. GET http://localhost:8182/index.php?title=Praefectus_Castrorum {'title': 'Special:Random'} 200
  10. index.php available probability: 90% (0.9)
  11. index.php is OK
  12. No --path argument provided. Defaulting to:
  13. [working_directory]/[domain_prefix]-[date]-wikidump
  14. Which expands to:
  15. ./localhost_8182-20241001-wikidump
  16. --delay is the default value of 1.5
  17. There will be a 1.5 second delay between HTTP calls in order to keep the server from timing you out.
  18. If you know that this is unnecessary, you can manually specify '--delay 0.0'.
  19. Undo monkey patch...
  20. #########################################################################
  21. # Welcome to DumpGenerator 4.3.3 by WikiTeam3 (GPL v3) #
  22. # More info at: <https://github.com/saveweb/wikiteam3> #
  23. # Copyright (C) 2011-2024 WikiTeam developers #
  24. #########################################################################
  25.  
  26. Analysing http://localhost:8182/api.php
  27. No suitable dump found at Internet Archive
  28. Trying generating a new dump into a new directory...
  29. http://localhost:8182/api.php
  30.  
  31. Retrieving the XML for every page from the beginning
  32.  
  33.  
  34. Retrieving the XML for every page
  35.  
  36. Loading page titles from namespaces = all
  37. Excluding titles from namespaces = None
  38. 16 namespaces found
  39. Retrieving titles in the namespace 0
  40. Traceback (most recent call last):
  41. File "/home/snowolf/.virtualenvs/wikiteam3/bin/wikiteam3dumpgenerator", line 8, in <module>
  42. sys.exit(main())
  43. ^^^^^^
  44. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/__init__.py", line 7, in main
  45. DumpGenerator()
  46. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/dump/generator.py", line 83, in __init__
  47. DumpGenerator.createNewDump(config=config, other=other)
  48. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/dump/generator.py", line 109, in createNewDump
  49. generate_XML_dump(config=config, session=other.session)
  50. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/dump/xmldump/xml_dump.py", line 146, in generate_XML_dump
  51. doXMLExportDump(config, session, xmlfile, lastPage)
  52. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/dump/xmldump/xml_dump.py", line 71, in doXMLExportDump
  53. for title in read_titles(config, session=session, start=start):
  54. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  55. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/api/page_titles.py", line 266, in read_titles
  56. getPageTitles(config=config, session=session)
  57. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/api/page_titles.py", line 215, in getPageTitles
  58. for title in titles:
  59. ^^^^^^
  60. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/wikiteam3/dumpgenerator/api/page_titles.py", line 41, in getPageTitlesAPI
  61. site = mwclient.Site(
  62. ^^^^^^^^^^^^^^
  63. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 186, in __init__
  64. self.site_init()
  65. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 209, in site_init
  66. meta = self.get('query', meta='siteinfo|userinfo',
  67. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  68. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 300, in get
  69. return self.api(action, 'GET', *args, **kwargs)
  70. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  71. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 361, in api
  72. if self.handle_api_result(info, sleeper=sleeper):
  73. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  74. File "/home/snowolf/.virtualenvs/wikiteam3/lib/python3.12/site-packages/mwclient/client.py", line 418, in handle_api_result
  75. raise errors.APIError(info['error']['code'],
  76. 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