#wikiteam 2013-10-28,Mon

↑back Search

Time Nickname Message
16:11 🔗 kyan__ Nemo_bis, yesterday I asked about this error with launcher.py http://hastebin.com/raw/xupemicivi What I was resuming was a dump of multiple wikis using a text file list. With each downloaded wiki, launcher.py tries to check the contents of the 7zip file to make sure it's finished, but since that error happens it never gets past the first (already finished) zip file. I ended up getting around it by commenting out lines 49 through 54.
16:12 🔗 Nemo_bis 21.49 <@Nemo_bis> I don't understand what kyan wanted to resume, the download was complete and compressed
16:13 🔗 kyan__ Nemo_bis, yes. That wiki was. The launcher.py run had been aborted during a later wiki in the list.
16:14 🔗 kyan__ Nemo_bis, So the first few wikis in the list were complete, but one had gotten cut off in progress and most of the list hadn't been started yet.
16:15 🔗 Nemo_bis it's supposed not to run 7z l on an archive which doesn't exist, i'm confused
16:15 🔗 kyan__ Nemo_bis, The archives were present, created and finished.
16:17 🔗 kyan__ Nemo_bis, It was having trouble because when it tries to check the finished archives, it runs check_output(), which doesn't seem to be defined in that script.
16:18 🔗 kyan__ I don't really know Python well enough to figure out how it's supposed to work exactly, but the script does work fine if I delete all the previously finished 7zip files. (It will then recreate them all.)
16:21 🔗 kyan__ Nemo_bis, I figured it out.
16:21 🔗 kyan__ Nemo_bis, subprocess.check_output is only available on Python 2.7 or later. I'm on 2.6.
16:21 🔗 kyan__ Mystery solved.
16:21 🔗 kyan__ Sorry for the bother :D
18:38 🔗 Nemo_bis whoops
18:39 🔗 Nemo_bis sadly, I remember we had some problems before using that one
18:43 🔗 ersi Wonder what he's using if got Python 2.6
18:43 🔗 ersi I know Red Hat Enterprise Linux uses 2.6, but other than that

irclogger-viewer