#wikiteam 2014-07-11,Fri

↑back Search

Time Nickname Message
10:21 🔗 Dec-31-99 Hello, there.
10:22 🔗 Dec-31-99 I need help finding out how to properly use the upload Python script.
10:24 🔗 midas ... ok ill do it
10:24 🔗 midas just the uploading?
10:24 🔗 midas pip install internetarchive
10:24 🔗 midas get your s3 keys
10:24 🔗 midas ia configure
10:24 🔗 midas enter the keys
10:25 🔗 midas ia --help for the information
10:28 🔗 Dec-31-99 I'm in the command prompt currently.
10:28 🔗 Dec-31-99 Waiting... for... response...
10:29 🔗 midas waiting at what?
10:30 🔗 Dec-31-99 For the CMD prompt to install. Now it installed. Could you please link to the S3 keys?
10:35 🔗 Dec-31-99 Is it necessary to put the keys on a text file?
10:36 🔗 Dec-31-99 Specifically with the name "keys.txt"?
10:40 🔗 Nemo_bis Dec-31-99: http://www.archive.org/account/s3.php
10:40 🔗 Nemo_bis And yes it is
10:41 🔗 Dec-31-99 In the same directory as uploader.py, right?
10:41 🔗 Nemo_bis Dec-31-99: please follow the docs https://github.com/WikiTeam/wikiteam/wiki/Tutorial#Automatic_publishing
10:41 🔗 Nemo_bis yes
10:42 🔗 Dec-31-99 http://pastebin.com/raw.php?i=9zpt1Q1b when I try to run ia in CMD.
10:42 🔗 Dec-31-99 What's the syntax for keys.txt? (try answering both questions)
10:42 🔗 Nemo_bis see URL above
10:46 🔗 Dec-31-99 I have a question: "Run the script like `python uploader.py mywikis`, where `mywikis` is a list of the api.php URL(s) of the wiki(s) to upload, one per line." What's the syntax for uploading?
10:47 🔗 Dec-31-99 I mean, what do I type in the command prompt to upload? --api=URL/api.php?
10:53 🔗 Dec-31-99 Traceback (most recent call last): File "uploader.py", line 39, in <module> listfile = sys.argv[1] IndexError: list index out of range...
10:54 🔗 Dec-31-99 Why did that happen?
11:00 🔗 Dec-31-99 Never mind. It's because I forgot to add "Keys.txt" in the prompt.
11:30 🔗 Dec-31-99 Could someone please explain to me how to use launcher.py? I added an api url in mylist.txt, CMD claims to be downloading it, but no luck. It did not download the wiki.
11:30 🔗 Dec-31-99 It also keeps saying: ". is not a recognized command[...]"
11:31 🔗 Dec-31-99 I'll be right back. I hope someone could please help me figure this out.
11:32 🔗 midas start with just adding 1 wiki to dumpgenerator.py
11:36 🔗 Dec-31-99 I do that, but the problem is using launcher.py
11:36 🔗 Dec-31-99 So I first use dumpgeenerator.py, then launcher.py?
11:37 🔗 Dec-31-99 So what do I first do?
11:40 🔗 Dec-31-99 Hello?
11:41 🔗 Dec-31-99 midas: Are you there?
13:39 🔗 Dec-31-99 Okay, I'm back. Will someone please explain to me how to use launcher.py?
13:40 🔗 Dec-31-99 I downloaded a basic wiki from dumpgenerator.py, like midas wanted me to do. Is that the first step?
14:11 🔗 Nemo_bis https://github.com/WikiTeam/wikiteam/wiki/Tutorial#Download_a_list_of_wikis
14:25 🔗 Dec-31-99 What would you type in the command prompt?
14:30 🔗 Dec-31-99 Never mind that for now. First, I have this error when trying to install python packages: "error: Unable to find vcvarsall.bat"
14:31 🔗 Dec-31-99 How do I fix this error? Help would be appreciated.
14:46 🔗 Dec-31-99 Hello? Is anyone there to help me?
14:50 🔗 midas what did you type to get that error ?
14:50 🔗 Nemo_bis Dec-31-99: no idea what that is
14:50 🔗 Nemo_bis And I've never run python in Windows I think
14:51 🔗 Dec-31-99 Okay, I guess I'll move on to my next question: what do I type to run launcher.py?
14:51 🔗 midas python launcher.py
14:53 🔗 Dec-31-99 Isn't there a text file that has to come afterward?
14:56 🔗 Nemo_bis https://github.com/WikiTeam/wikiteam/wiki/Tutorial#Download_a_list_of_wikis
14:56 🔗 Nemo_bis Please confirm you read the docs
14:59 🔗 Dec-31-99 Alright.
15:58 🔗 Dec-31-99 When I downloaded launcher.py and ran it, it says twice ". is not recognized as a command". Does anyone know why that is?
15:59 🔗 Dec-31-99 How do I make a 7z file with launcher.py?
16:01 🔗 Dec-31-99 ######################################################################### # Downloading http://supermariobros.wikia.com/api.php ######################################################################### '.' is not recognized as an internal or external command, operable program or batch file."
16:01 🔗 Dec-31-99 That's what happens. Does anyone know how to fix this issue?
16:02 🔗 ersi Hm
16:03 🔗 ersi What python version are you on?
16:03 🔗 Dec-31-99 I typed "python launcher.py mylist.txt" and this happened.
16:03 🔗 Dec-31-99 I am simulatenously using Python 2.7.7 and 3.4.1.
16:03 🔗 ersi And what platform are you on (Windows?)?
16:04 🔗 Dec-31-99 Windows 7 Home Premium
16:04 🔗 ersi Yeah, "." isn't going to exist then I guess
16:04 🔗 Dec-31-99 x64 operating system. Both versions of Python are x64, by the way.
16:05 🔗 Dec-31-99 Dumpgenerator.py seems to be the only Windows-friendly Python script. :/
16:05 🔗 ersi "." means basically "the current directory" in *NIX systems
16:06 🔗 Dec-31-99 I learned that two days ago, to be honest.
16:07 🔗 Dec-31-99 Is there a way someone could make a Windows-friendly version of launcher.py? I'm still expanding on C++ knowledge at school.
16:07 🔗 Nemo_bis Windows is not friendly so nobody wants to be friend with it
16:08 🔗 ersi Hehe
16:08 🔗 ersi It'd probably be easier if you installed cygwin, and ran the scripts within that instead
16:08 🔗 ersi cygwin is basically a *NIX/Linuxish environment but on Windows.
16:08 🔗 Nemo_bis Does "python dumpgenerator.py" work better than "./dumpgenerator.py" in Windows?
16:09 🔗 ersi ./ ain't gonna work mate
16:09 🔗 Nemo_bis Nothing works in Windows anyway
16:09 🔗 ersi so I'd say yes
16:09 🔗 Dec-31-99 Yeah, it does, and ./dumpgenerator.py does not work in Windows.
16:09 🔗 Nemo_bis If "python *" works, you "only" have to figure out how to make "python" resolve to "python2" in recent UNIX OS
16:09 🔗 Dec-31-99 Only "python dumpgenerator.py" does.
16:10 🔗 ersi If you have The Warrior, you could log onto that and use the wikiteam tools from there
16:10 🔗 Nemo_bis We used ./ for an arch user
16:10 🔗 ersi wat
16:11 🔗 Nemo_bis because python resolves to python3 and everything breaks down
16:11 🔗 Dec-31-99 So Archive Team doesn't like Windows, I believe?
16:11 🔗 Nemo_bis I've not seen a Windows user in years on this channel ^^
16:11 🔗 ersi Dec-31-99: Correct. It's far from optimal
16:11 🔗 Nemo_bis It's Windows that doesn't like us, not the other way round
16:12 🔗 ersi But there are and have been Windows users helping out though.
16:12 🔗 Nemo_bis We'd gladly accept patches to make launcher.py work with both Windows and Arch Linux. :-) If someone knows how, because I'm not going to run Windows to test
16:13 🔗 Nemo_bis Alternatively, does "python2" work on all systems?
16:14 🔗 Dec-31-99 I can't run python2 on Windows.
16:14 🔗 Dec-31-99 I have a Windows computer that I can test with. ;)
16:14 🔗 Dec-31-99 By the way, my grandfather hates Windows and loves Linux.
16:15 🔗 * Nemo_bis feels older
16:15 🔗 Dec-31-99 He taught me about Linux on this vacation. Previously, I didn't understand Linux.
16:15 🔗 Dec-31-99 Linux even makes the oldest computers fast. It's awesome.
16:16 🔗 Nemo_bis Yes, except when you run Google Chrome in it
16:16 🔗 Nemo_bis If you can test, please send pull requests to our repo to make scripts work with Windows (dong some research on UNIX OS compatibility as well though) :)
16:17 🔗 Dec-31-99 What's a "pull"?
16:17 🔗 Dec-31-99 (By the way, dumpgenerator.py works great on Windows).
16:18 🔗 Dec-31-99 And the WikiTeam script also works on Windows.
16:18 🔗 Nemo_bis Yes, probably we should just stop calling scripts from other scripts via shell :)
16:18 🔗 Nemo_bis Aww dupe https://archive.org/details/wiki-wikiswtorcom https://archive.org/details/wiki-swtorgamepediacom
16:19 🔗 Nemo_bis Dec-31-99: pull: https://help.github.com/articles/fork-a-repo
16:22 🔗 Dec-31-99 What is a pull? The tutorial is unclear...
16:24 🔗 Dec-31-99 Is it like a request for the author to consider putting into the program or something?
16:24 🔗 Nemo_bis yes
16:25 🔗 Dec-31-99 There is Linux CMD images on the GitHub page.
16:26 🔗 Dec-31-99 So I have some wikis I archived on to archive.org (manually). Who can help add them to the WikiTeam collection?
16:29 🔗 Dec-31-99 Hello?
19:26 🔗 Nemo_bis That was covered already in the tutorial as well, btw
19:26 🔗 Nemo_bis Hopefully he found it

irclogger-viewer