| 01:38:37 | | HackMii_ (hacktheplanet) joins |
| 01:38:44 | | HackMii quits [Ping timeout: 240 seconds] |
| 01:39:41 | | HackMii_ is now known as HackMii |
| 04:13:33 | | atirclog quits [Quit: Bye] |
| 04:13:33 | | Connection closed. |
| 04:13:52 | | atirclog (atirclog) joins |
| 04:13:52 | | Topic: https://archiveteam.org/index.php?title=WikiTeam |
| 04:13:52 | | Topic set by JAA at 2020-10-15 00:06:28Z |
| 04:13:58 | | Current users: atirclog (atirclog), HackMii (hacktheplanet), ragu__ (ragu), systwi (systwi), Ryz (Ryz), EggplantNBot, Craigle (Craigle), Zerote, @JAA (JAA), OrIdow6 (OrIdow6), @chfoo (chfoo), @arkiver (arkiver), @ChanServ, jodizzle (jodizzle), balrog (balrog), nico_32, @hook54321 (hook54321), tech234a (tech234a), phuzion (phuzion), @AlsoJAA (JAA) |
| 07:09:28 | | ragu__ quits [Ping timeout: 252 seconds] |
| 07:17:22 | <jodizzle> | Having some problems dumping it. In particular, querying this page always seems to 500: http://www.zefrank.com/wikidata/index.php?action=submit&offset=1&limit=1000&pages=Fabuloso_Friday%2FMain_Project_Page&title=Special%3AExport |
| 07:18:26 | <jodizzle> | I think the error message has changed, though. It was showing something different earlier (that I unfortunately didn't copy down). |
| 07:19:34 | <jodizzle> | I guess I'll try some more later, but otherwise I may need to figure out how to skip over an error like that. |
| 09:06:16 | | Craigle quits [Quit: The Lounge - https://thelounge.chat] |
| 12:00:36 | | Craigle (Craigle) joins |
| 12:46:27 | | vicarage joins |
| 12:46:55 | <vicarage> | https://raw.githubusercontent.com/WikiTeam/wikiteam/master/dumpgenerator.py still uses python2, which is no longer available in Mint 20. Can it be upgraded to python3 |
| 12:47:41 | <vicarage> | https://archiveteam.org/index.php?title=WikiTeam quotes an IRC channel http://chat.efnet.org:9090/?channels=%23wikiteam which refuses to connect. Should it be hackint? |
| 16:10:35 | | atphoenix (atphoenix) joins |
| 16:30:17 | <@JAA> | vicarage: It can certainly be done, but nobody has done the work so far, unfortunately. PRs are welcome though! |
| 17:27:53 | <vicarage> | It is very offputting to the casual user, as it suggests the system was abandoned years ago, given how long python2 has been deprecated. |
| 17:29:17 | <vicarage> | I installed python2, and get error |
| 17:29:23 | <vicarage> | python2 ./dumpgenerator.py --api=http://wiki.johnbray.org.uk/api.php --xml |
| 17:29:42 | <vicarage> | ...Loading page titles from namespaces = allExcluding titles from namespaces = None18 namespaces found Retrieving titles in the namespace 0Traceback (most recent call last): File "./dumpgenerator.py", line 2569, in <module> main() File "./dumpgenerator.py", line 2559, in main resumePreviousDump(config=config, other=other) File |
| 17:29:42 | <vicarage> | "./dumpgenerator.py", line 2168, in resumePreviousDump getPageTitles(config=config, session=other['session']) File "./dumpgenerator.py", line 391, in getPageTitles for title in titles: File "./dumpgenerator.py", line 261, in getPageTitlesAPI site = mwclient.Site(apiurl.netloc, apiurl.path.replace("api.php", ""), |
| 17:29:43 | <vicarage> | scheme=apiurl.scheme)NameError: global name 'mwclient' is not defined |
| 17:31:18 | <@JAA> | Yeah, I've been hoping for a Python 3 version for years at this point. But well, there just aren't enough people around here that have time to deal with the numerous code dev work that would be necessary. |
| 17:31:43 | <@JAA> | That suggests you need to install mwclient. |
| 17:33:46 | <@JAA> | According to the code, you should get a warning about that: https://github.com/WikiTeam/wikiteam/blob/0cfde9e9d11ce2f12fcb5bfa11bfc8757c54cabc/dumpgenerator.py#L51 |
| 17:33:47 | <vicarage> | it says at the top 'lPlease install the mwclient module if you want to use --xmlrevisions.', but I'm didn't as I didn't want revision history. adding -curronly does not change the situation |
| 17:34:44 | <@JAA> | Yeah, seems like that warning isn't entirely up to date. |
| 17:34:55 | <@JAA> | mwclient is used for other things as well, not just XML revisions. |
| 17:35:35 | <vicarage> | Oh, well I'll try installing it with pip |
| 17:41:50 | <vicarage> | Works. https://github.com/WikiTeam/wikiteam/issues/400 raised about mwclient. https://github.com/WikiTeam/wikiteam/issues/395 was raised about python2 by someone else in September |
| 17:45:13 | <vicarage> | thanks for your help |
| 18:04:20 | <@JAA> | Thanks for filing that! |
| 18:28:27 | | vicarage quits [Remote host closed the connection] |
| 20:59:34 | <Zerote> | I recently submitted two issues as well, regarding some error handling that causes dumps to finish while being incomplete, #398 and #398. I'll try and see if I can fix them, but not sure when I have time |
| 20:59:56 | <Zerote> | 399 ^ |