On Tue, Jan 15, 2013 at 11:42 PM, David-Sarah Hopwood <span dir="ltr"><<a href="mailto:david-sarah@jacaranda.org" target="_blank">david-sarah@jacaranda.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 15/01/13 05:46, knuttila @<a href="http://dslextreme.com" target="_blank">dslextreme.com</a> wrote:<br>
> Step 4 blunts its nose into the wall. The root cause is needing a 64bit twisted -- but the<br>
> symptom is "Unable to find vcvarsall.bat". "google is your friend" on this sort of thing.<br>
> Some rummaging, and you find there's a couple of ways to make the message go<br>
> away.<br>
><br>
</div>> Current solution -- basically, go to Twisted Matrix _(_<a href="http://twistedmatrix.com/trac/" target="_blank">http://twistedmatrix.com/trac/</a>) and<br>
<div class="im">> look for<br>
> the current win7 64bit version. I used: "Twisted-12.3.0.win-amd64-py.2.7.msi".<br>
<br>
</div>Unfortunately the precompiled "egg" for that dependency is missing for 64-bit Python 2.7<br>
on Windows:<br>
<br>
<a href="https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html" target="_blank">https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html</a><br>
<br>
which is why it tried to compile from source.<br>
<div class="im"><br></div></blockquote><div><br></div><div>Agreed. And I see someone has added this now, so going to the twisted site should</div><div>no longer be necessary. Thx! (we'll test that btw and report back :)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> Aside: it turns out that you can install the 32bit Twisted version as well, and it will make<br>
> the message go away.<br>
<br>
</div>That won't work.<br>
<div class="im"><br></div></blockquote><div> </div><div>Yeh, I was "suspicious". Mostly I figured if we documented some of this on the thread, others</div><div>could skip trying it. I'm not exactly a windows-guy, so some of this is translating linux experience.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> Step 5 won't work -- at least as far as I can see. The python file named "tahoe" appears to<br>
> need a "c:\Python27\python.exe" in front of it. (I'm a linux guy -- on any unix, we can use<br>
> the shell trick of marking a file executable, and giving the name of the interpreter in the<br>
> first line. What is the equivalent trick for DOS/Win7?) In any event, if you want to actually<br>
> run tahoe, you do something like:<br>
><br>
> c:\Python27\python.exe C:\tahoe-lafs\bin\tahoe create-client C:\tahoelafsbase<br>
><br>
> Rather than:<br>
><br>
> C:\tahoe-lafs\bin\tahoe create-client C:\tahoelafsbase<br>
><br>
> as described.<br>
<br>
</div>That's odd, it should just work.<br>
<br></blockquote><div><br></div><div>Agreed. And in fact, it does work. (I've confessed to goofing on the path already. With appropriate</div><div>repairs, all works fine)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- Do you have Python 3.x installed?<br></blockquote><div><br></div><div>This is a great point. I missed on detailing the Python 2.7 install. (which worked fine of</div><div>course, but without that information, it's hard to parse some of the rest of the mail)</div>
<div><br></div><div>(there is no Python 3.x install on this box)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- What is the first line of C:\tahoe-lafs\bin\tahoe.pyscript ?<br>
- What version of Python, if any, is first on the PATH? (i.e. what does<br>
"python -V" report)<br>
<div class="im"><br></div></blockquote><div><br></div><div>I shall report on this from the office in the morning. (no machine access)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
> Yes, we did some path tricks, and wrote some cheesy bat files to paper<br>
> over some of this, but it's awkward. (the silly part is I'm sure it's<br>
> do-able under win7/dos, but I've not run across the formula in casual<br>
> googling)<br>
><br>
> The last bit comes from trying to fire it up. I'm missing a bit of notes here, but somewhere<br>
> we got a message moaning about a missing win32 api. I googled that, and came across<br>
> a blog who was following similar footsteps for a different application. Anyway, we installed<br>
> the pywin32 pieces from sourceforge and all that went away.<br>
<br>
</div>It shouldn't be necessary to install pywin32. If you uninstall pywin32 (from Add/Remove<br>
Programs), what error message does it give exactly?<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Yeh. I googled it to get the repair, but didn't write it down. It was a fairly generic </div><div>sort of "missing win32 api" sounding message. We're about to do a clean install, and</div>
<div>will definitely faithfully record messages. (sometimes, the energy in pushing to get</div><div>something working leads to blank sheets of paper at the wrong times....)</div><div><br></div><div>But first some overall status, and some next steps. We've attached the win7 box to the</div>
<div>grid, and loaded/unloaded files into the grid. Files shares are being allocated to it, and the</div><div>universe seems to be running as it should. So with all the mucking around, it all seems to</div><div>be working.</div>
<div><br></div><div>Our next step will be to clear the box and validate the steps we used to get it onto our</div><div>test grid. I will try to give the complete steps used, and will definitely be more faithful about</div>
<div>"cut/paste" messages/etc. </div><div><br></div><div>btw, I totally appreciate the commentary. We've started using tahoe-lafs only weeks ago, and</div><div>have made solid progress even in learning mode. </div>
<div><br></div><div>--krk.</div><div><br></div><div>---</div><div>Kim Knuttila</div></div>