Skip to content

Instantly share code, notes, and snippets.

@revi

revi/log.err Secret

Created May 28, 2017 19:45
Show Gist options
  • Save revi/46520a81e5a797b3322ea4f830531b5c to your computer and use it in GitHub Desktop.
Save revi/46520a81e5a797b3322ea4f830531b5c to your computer and use it in GitHub Desktop.
kiwki.us error
revi@REDACTED:~/wikiteam$ python dumpgenerator.py --api=https://kiwki.us/w/api.php --xml --images
Checking API... https://kiwki.us/w/api.php
API is OK: https://kiwki.us/w/api.php
Checking index.php... https://kiwki.us/w/index.php
index.php is OK
#########################################################################
# Welcome to DumpGenerator 0.3.0-alpha by WikiTeam (GPL v3) #
# More info at: https://github.com/WikiTeam/wikiteam #
#########################################################################
#########################################################################
# Copyright (C) 2011-2017 WikiTeam developers #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
Analysing https://kiwki.us/w/api.php
Trying generating a new dump into a new directory...
Loading page titles from namespaces = all
Excluding titles from namespaces = None
23 namespaces found
Retrieving titles in the namespace 0
... 1147 titles retrieved in the namespace 0
Retrieving titles in the namespace 1
. 21 titles retrieved in the namespace 1
Retrieving titles in the namespace 2
. 143 titles retrieved in the namespace 2
Retrieving titles in the namespace 3
. 15 titles retrieved in the namespace 3
Retrieving titles in the namespace 4
. 70 titles retrieved in the namespace 4
Retrieving titles in the namespace 5
. 3 titles retrieved in the namespace 5
Retrieving titles in the namespace 6
.... 1544 titles retrieved in the namespace 6
Retrieving titles in the namespace 7
. 0 titles retrieved in the namespace 7
Retrieving titles in the namespace 8
. 72 titles retrieved in the namespace 8
Retrieving titles in the namespace 9
. 0 titles retrieved in the namespace 9
Retrieving titles in the namespace 10
. 372 titles retrieved in the namespace 10
Retrieving titles in the namespace 11
. 1 titles retrieved in the namespace 11
Retrieving titles in the namespace 12
. 2 titles retrieved in the namespace 12
Retrieving titles in the namespace 13
. 0 titles retrieved in the namespace 13
Retrieving titles in the namespace 14
. 331 titles retrieved in the namespace 14
Retrieving titles in the namespace 15
. 0 titles retrieved in the namespace 15
Retrieving titles in the namespace 2600
. 33 titles retrieved in the namespace 2600
Retrieving titles in the namespace 3000
.Traceback (most recent call last):
File "dumpgenerator.py", line 2084, in <module>
main()
File "dumpgenerator.py", line 2076, in main
createNewDump(config=config, other=other)
File "dumpgenerator.py", line 1649, in createNewDump
getPageTitles(config=config, session=other['session'])
File "dumpgenerator.py", line 403, in getPageTitles
for title in titles:
File "dumpgenerator.py", line 277, in getPageTitlesAPI
allpages = jsontitles['query']['allpages']
KeyError: 'query'
revi@REDACTED:~/wikiteam$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment