[tahoe-dev] [tahoe-lafs] #773: document installation on Windows

David-Sarah Hopwood david-sarah at jacaranda.org
Sun Aug 16 18:51:40 PDT 2009


tahoe-lafs wrote:
> #773: document installation on Windows

I succeeded in installing on Vista using the InstallDetails instructions
for Python 2.6 (native using MinGW, not cygwin). There is a bug in the
instructions -- in step 2 of "What if that doesn't work?",

C:\Python26\Libs\distutils

should be

C:\Python26\lib\distutils


Minor nits:
 - even though most people will probably work it out, there should be
   a note that C:\Python26 is only the default Python installation
   directory.

 - on Vista, there is an extra click on 'Advanced system settings' to
   get to the environment variable settings from the System control panel
   applet.

 - the errors from darcs were confusing and led me down a blind alley
   for a while, though.


Also, after installation, the error messages if you try to use some of the
subcommands without arguments, are rather unhelpful, e.g.

c:\Python26\Scripts\tahoe webopen
(same for 'ls')

Traceback (most recent call last):
 File "c:\Python26\Scripts\tahoe-script.py", line 8, in <module>
   load_entry_point('allmydata-tahoe==1.5.0-r4044', 'console_scripts',
'tahoe')()
 File
"c:\python26\lib\site-packages\allmydata_tahoe-1.5.0_r4044-py2.6.egg\allmydata\scripts\runner.py",
line 91, in run
   rc = runner(sys.argv[1:])
 File
"c:\python26\lib\site-packages\allmydata_tahoe-1.5.0_r4044-py2.6.egg\allmydata\scripts\runner.py",
line 47, in runner
   config.parseOptions(argv)
 File
"c:\python26\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\python\usage.py",
line 231, in parseOptions
   self.subOptions.parseOptions(rest)
 File
"c:\python26\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\python\usage.py",
line 241, in parseOptions
   self.postOptions()
 File
"c:\python26\lib\site-packages\allmydata_tahoe-1.5.0_r4044-py2.6.egg\allmydata\scripts\cli.py",
line 39, in postOptions
   node_url_file = os.path.join(self['node-directory'], "node.url")
 File "c:\python26\lib\ntpath.py", line 96, in join
   assert len(path) > 0
TypeError: object of type 'NoneType' has no len()


I expected this to give a syntax summary for the subcommand (which works
for 'cp' and 'restart', for example).

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com



More information about the tahoe-dev mailing list