So I ran build_all_mingw.bat which quit immediately and then ran build.bat in the py2exe folder. That didn't do much but the note at the bottom of the webpage about 7Zip on the command line sure got me thinking so I tried running python from the command line and turns out I couldn't do it. So I enter PATH to make sure I'm gonna be adding the python path to the right variable and it displays path then I type "PATH =" and while I'm trying to think of the right way to add to the end of the path (it's been a while since I used the prompt) and I accidentally hit enter and I'm like "Oh crap did I just do that" so I scroll up a bit and prntscr that window and paste that in paint and then re-enter the path one character at a time adding python and 7zip to the end of it. So now I was ready to run the build script. Well now I got a little farther and it generated two folders named build and dist but within those folders there was no executable. I back out, add a pause at the end of the build batch file (I later did this for all the build batch files) and ran it again - this time, it paused and I saw there was an error - a missing module called zope. So I google that and find an installer for a module called zope.interface and install that and run it again and crap another missing module. This one was called Twisted and it didn't come with an installer, just a wheel file. I had no idea what to do with that but I quickly found I needed a utility called pip so I downloaded that and found out I didn't need the wheel file because I could just type the name of the module and pip would install it for me. But first I had to get a visual C++ thingie for python, so I did that and finally installed Twisted. Now I entered a cycle of installing a module, running the build file to see what the next missing module was, then installing that module, until the whole thing actually finished and spit out an executable. I eagerly run this executable and guess what it exits immediately so I run the batch file and it lets me know I'm missing the module bytes. Then I try installing that module with pip and rebuilding and still get the error so I follow the traceback to line 19 in protocol.py where it tries to import from pyspades.bytes. Well there's no way I can install the pyspades module now is there cuz it's all right here so I go back to google and it turns out lots of people on this forum have this same problem. Too bad I can't go past page one to see if it ever gets resolved but the general first step is to run build_all_mingw.bat. So I add the pause to the end of this one and guess what it returns a bunch of errors. So I start installing modules again and I get an error about gcc not being found so I go to google and avert another error by finding out that windows actually needs special unofficial gcc binaries. Well that's great I saved some time and now it actually finishes the whole script so that's good but the server still doesn't run so there's still problems. I look into it and up near the top it says I'm missing the module compressedvxl.pyo or something similar. I actually found a forum thread where someone managed to get this far and they had the same issue, but they never resolved it. After looking at the Pysnips github where they didn't include it in the build script I decided I'd just comment it out and see how far I got. I commented it out and ran it and now I was getting a gcc error up there as well - and now, finally, almost 24 hours later, I finally hit a problem I can't solve myself. So I inquire here, now that the site is back up, how do I fix the following error:
Code: Select all(note - excerpt from the output of build_all_mingw.bat in command prompt - this isn't the whole thing, but I can't seem to redirect the whole output to a text file, so this part will have to suffice. I'm pretty sure the error is one of these errors.)
./pyspades/common.cpp:6402: error: no match for 'operator!' in '!__pyx_t_6' .pyspades/common.cpp:6402: note: candidates are: operator!(bool) <built-in> error: command 'gcc' failed with exit status 1
Ok so there's two error here - first of all, the "no match for operator! in !__pyx_t_6", which, according to the file itself, is automatically built by cython. Next, there's gcc failing with exit status 1. I'm not sure if the real problem is the operator, causing gcc to exit, or simply gcc on windows being hard to work with.
Or maybe someone just has a pyspades server with the local attribute added already compiled. If you could lend me a copy, that'd be great. Although I'm fine with compiling it, if that's even possible anymore.