WinLAFS:Windows Least-Authority File Store: How to install AllMyData_Tahoe_Lafs 1.10.0 on Windows 7 Home Premium 32 bit and 64 bit

WinLAFS WinLAFS at riseup.net
Sun Mar 29 02:00:03 UTC 2015


WinLAFS:
Windows Least-Authority File Store:
How to install AllMyData_Tahoe_Lafs 1.10.0  on Windows 7 Home Premium 32 
bit and 64 bit

Hello user of tahoe-lafs,
Hello developer of tahoe-lafs,

i managed to install tahoe-lafs on Windows 7 Home Premium 64 bit and 32 
bit
and wrote a small How-Do for Windows-User.

Additional i described the way how to find out "installation of 
tahoe-lafs on windows is not trivial"
and quickstart.rst is way not enough information for windows user to 
install tahoe-lafs successful.

Information's about installation of tahoe-lafs at windows are easier to 
gain from google then on the website itself (tahoe-lafs.org).

i am happy to hear developer daira is working on an installer for 
windows.
i am willing to beta test it.

in a meantime i would like to write some informations for windows users 
in your wiki.
the start could be the first part of the How-Do i wrote.

if you also a windows tahoe-lafs user feel free to mail at me.at WinLAFS 
riseup net.
or send the How-Do to somebody who like also to install tahoe-lafs 
successful.

developer suggestions are also welcome.

Regards,

smarty

attachment:
WinLAFS_How to install AllMyData_Tahoe_Lafs 1.10.0 on Windows 7 bit 
32_v1.rtf
WinLAFS_How to install AllMyData_Tahoe_Lafs 1.10.0 on Windows 7 bit 
64_v2.rtf

WinLAFS:
How to install AllMyData_Tahoe_Lafs 1.10.0 on Windows 7 bit 32

[if you like to install tahoe-lafs at win7bit64 look out for
WinLAFS: How to install AllMyData_Tahoe_Lafs 1.10.0 on Windows 7 bit 64 
]
__________________________________________________________________________
If you are attracted by errors, failures and user warnings on this Site,
but only like to install allmydata-tahoe-1.10.0 then start with 0 
(zero):
___________________________________________________________________________

0: Successful install may fail if you used already python:
0a: uninstall all installed dependencies related to python
0b: uninstall python
0c: delete the python directory
0d: delete the AllMyData_Tahoe_Lafs directory
0e: start from scratch at A.
_______________________________________________
installing tahoe-lafs on 7win32 with twisted 13
_______________________________________________

A. Install:	 allmydata-tahoe-1.10.0 at c:\lafs (unzip and rename to 
"lafs" only)
from 
https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-1.10.0.zip
B. We don't follow: 	C:\lafs\docs\quickstart.rst (open with word pad)
C. Install :	 python-2.7.9.msi at c:\python27 ( check: set Add pyton.exe 
to Path and
  			advanced-> check: compile  .py files to byte code after 
installation)
from https://www.python.org/ftp/python/2.7.9/python-2.7.9.msi

D. Install:	Twisted-13.0.0.win32-py2.7.msi
from https://pypi.python.org/pypi/Twisted/13.0.0
https://pypi.python.org/packages/2.7/T/Twisted/Twisted-13.0.0.win32-py2.7.msi

E. Install:		pywin32-217.win32-py2.7.exe
http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/
http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/pywin32-217.win32-py2.7.exe/download
F. Run as administrator :	C:\lafs>python setup.py build
(Start menu/All Programs/ Accessories /Command Prompt/right click/Run as 
administrator /jes
> cd c:\lafs)
	or like to read it all at :	C:\lafs\setup_build_bin.txt
  	Run:	C:\lafs>python setup.py build  > setup_build_bin.txt
					(go drink a cup of coffee 3min)
1. Result: run true ( it copying many somethings to -> 
build\lib\allmydata\...\...)
G.Run as administrator : 	C:\lafs>bin\tahoe --version
2.Result:
allmydata-tahoe: 1.10.0 [NL]foolscap: 0.7.0 [NL]pycryptopp: 
0.6.0.1206569328141510525648634803928199668821045408958 [NL]fec: 1.4.22 
[NL]Twisted: 13.0.0 [NL]Nevow: 0.11.1 [NL]zope.interface: unknown 
[NL]python: 2.7.9 [NL]platform: Windows-7-6.1.7601-SP1 [NL]pyOpenSSL: 
0.13.1 [NL]simplejson: 3.6.5 [NL]pycrypto: 2.4.1 [NL]pyasn1: 0.1.7 
[NL]mock: 1.0.1 [NL]setuptools: 0.6c16dev4 [NL]=NEW LINE
H. Check: Test Grid is online
Tahoe Test Grid Status at http://stats.pingdom.com/cvvac5t8l4fv/1300061
i. Run as administrator : 	C:\lafs>python setup.py trial (self-tests)
if like to read all at C:\lafs\trial_test_result.txt
Run:C:\lafs>python setup.py trial > trial_test_result.txt
						(go drink a cup of coffee 21min)
3. Result: PASSED (skips=14, expectedFailures=3, successes=1117)

This indicates you installed tahoe-lafs successful.
==================================================



if you get a failed:
check F.-i. if you don't Run as administrator ,  you may get:
					FAILED (skips=7, errors=19, successes=262 )
check 2.Result: something different?
		maybe you use already Python with more actual dependencies
		start again with 0 (zero):
		try uninstalling python, uninstalling python related dependencies , 
		deleting its directory and deleting the tahoe_lafs directory;
__________________________________________________________________________
If you are attracted by errors, failures and user warnings on this Site,
but only like to install allmydata-tahoe-1.10.0 then start with 0 
(zero):
___________________________________________________________________________
This following is about what happens if you follow the Install  Advise 
at
C:\lafs\docs\quickstart.rst (open with wordpad)
and this is the wrong , long, hard way along errors,failures and 
warnings.
____________________________________________________________________________
Some Tahoe_Lafs Installation Problems on windows 7 bit 32
____________________________________________________________
I. Install:	 allmydata-tahoe-1.10.0 at c:\lafs (unzip and rename to " 
lafs" only)
from 
https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-1.10.0.zip
II. follow: 	C:\lafs\docs\quickstart.rst (open with word pad)
III. Install :	 python-2.7.9.msi at c:\python27 ( check: set Add 
pyton.exe to Path and
  			advanced-> check: compile  .py files to byte code after 
installation)
from https://www.python.org/ftp/python/2.7.9/python-2.7.9.msi
IV. Run:	C:\lafs>python setup.py build
	(Start/Program files/command prompt > cd c:\lafs)
	or like to read it all at :	C:\lafs\setup_build_bin.txt
  	Run:	C:\lafs>python setup.py build  > setup_build_bin.txt
					(go drink a cup of coffee)
my 1.Result:
error: Installed distribution twisted 12.1.0 conflicts with requirement 
twisted>=13.0
V. Install:	Twisted-13.0.0.win32-py2.7.msi
from https://pypi.python.org/pypi/Twisted/13.0.0
https://pypi.python.org/packages/2.7/T/Twisted/Twisted-13.0.0.win32-py2.7.msi
VI. Delete: C:\lafs
VII. Try again I.+IV. (install lafs + run lafs setup build bin)
my 2. Result: run true ( it copying many somethings to -> 
build\lib\allmydata\...\...)
VIII. Run: 	C:\lafs>bin\tahoe --version
my 3.Result:
allmydata-tahoe: 1.10.0 [NL]foolscap: 0.7.0 [NL]pycryptopp: 
0.6.0.1206569328141510525648634803928199668821045408958 [NL]fec: 1.4.22 
[NL]Twisted: 13.0.0 [NL]Nevow: 0.11.1 [NL]zope.interface: unknown 
[NL]python: 2.7.9 [NL]platform: Windows-7-6.1.7601-SP1 [NL]pyOpenSSL: 
0.13.1 [NL]simplejson: 3.6.5 [NL]pycrypto: 2.4.1 [NL]pyasn1: 0.1.7 
[NL]mock: 1.0.1 [NL]setuptools: 0.6c16dev4 [NL]=NEW LINE
IX. Run: 	C:\lafs>python setup.py trial (self-tests)
if like to read all at C:\lafs\trial_test_result.txt
Run:C:\lafs>python setup.py trial > trial_test_result.txt
my 4. Result: FAILED (skips=7, errors=19, successes=262 )
[at this point i could be nearly ready, but i don't know what was wrong
and made the wrong conclusions:]
[So many errors maybe the  Tahoe Test Grid isn't online]
X. Check: Tahoe Test Grid Status at 
http://stats.pingdom.com/cvvac5t8l4fv/1300061
[reading C:\lafs\trial_test_result.txt so many errors related with 
Twisted, maybe we need a newer version we will take Twisted 15 we find 
here https://pypi.python.org/pypi/Twisted ]
XI. cut all down:
Uninstall: 	Twisted-13.0.0.win32-py2.7.msi
Uninstall:	python-2.7.9.msi
Delete: 		C:\tahoe
Delete:		C:\python27
XII. new from scratch: I.+ III.  (install lafs + python27)
XIII.  Install:	Twisted-15.0.0.win32-py2.7.msi
https://pypi.python.org/packages/2.7/T/Twisted/Twisted-15.0.0.win32-py2.7.msi
	from  https://pypi.python.org/pypi/Twisted/15.0.0
XIV.  Run:	C:\lafs>python setup.py build
	(Start/Program files/command prompt > cd c:\lafs)
	or like to read it all at :	C:\lafs\setup_build_bin.txt
  	Run:	C:\lafs>python setup.py build  > setup_build_bin.txt
					(go drink a cup of coffee)
my 5. Result: run true ( it copying many somethings to -> 
build\lib\allmydata\...\...)
XV. Run: 	C:\lafs>bin\tahoe --version
my 6.Result:
:0: UserWarning: You do not have a working installation of the 
service_identity module: 'No module named service_identity'.  Please 
install it from <https://pypi.python.org/pypi/service_identity> and make 
sure all of its dependencies are satisfied.  Without the 
service_identity module and a recent enough pyOpenSSL to support it, 
Twisted can perform only rudimentary TLS client hostname verification.  
Many valid certificate/hostname mappings may be rejected.
allmydata-tahoe: 1.10.0 [NL]foolscap: 0.7.0 [NL]pycryptopp: 
0.6.0.1206569328141510525648634803928199668821045408958 [NL]fec: 1.4.22 
[NL]Twisted: 15.0.0 [NL]Nevow: 0.11.1 [NL]zope.interface: unknown 
[NL]python: 2.7.9 [NL]platform: Windows-7-6.1.7601-SP1 [NL]pyOpenSSL: 
0.13.1 [NL]simplejson: 3.6.5 [NL]pycrypto: 2.4.1 [NL]pyasn1: 0.1.7 
[NL]mock: 1.0.1 [NL]setuptools: 0.6c16dev4 [NL]=NEW LINE
XVI. Run: 	C:\lafs>python setup.py trial (self-tests)
if like to read all at C:\lafs\trial_test_result.txt
Run:C:\lafs>python setup.py trial > trial_test_result.txt
my 7. Result: FAILED (skips=7, failures=1, errors=19, successes=261)
XVII. Check: Tahoe Test Grid Status at 
http://stats.pingdom.com/cvvac5t8l4fv/1300061
[seams we have more problems than before.]
many errors may related to Twisted
have a look at the dependencies of  Twisted15
read |V|=  is in the list of tahoe-lafs dependencies
read |X|= is not in the list of tahoe-lafs dependencies
read |W|= 6.Result:User Warning: service_identity, its dependencies and 
pyOpenSSL

Twisted 15.0.0  and its dependencies:
http://twistedmatrix.com/trac/wiki/Downloads
http://twisted.readthedocs.org/en/latest/installation/howto/optional.html
     Twisted 15.0.0 for Python 2.7 (​msi | ​exe) 	|V|
http://twistedmatrix.com/Releases/Twisted/15.0/Twisted-15.0.0.win32-py2.7.msi
        ​Zope.Interface (required)			|V|
https://pypi.python.org/pypi/zope.interface/4.1.2#downloads
https://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-4.1.2.win32-py2.7.exe#md5=ab9396981638835220fc78209bd2d803
https://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-4.1.2-py2.7-win32.egg#md5=fb87cff4eb7407af290a78ff628f7063
conch - packages for working with conch/SSH.
         gmpy 					|X|
         pyasn1 					|V|
         pycrypto 					|V|
     ​PyCrypto 2.0.1 for Python 2.5 (needed for Conch)
https://twistedmatrix.com/Releases/Dependencies/Win/pycrypto-2.0.1.win32-py2.5.exe
tls - packages that are needed to work with TLS.
    service_identity 				|V||W|
https://pypi.python.org/pypi/service_identity
https://pypi.python.org/packages/2.7/s/service_identity/service_identity-14.0.0-py2.py3-none-any.whl
http://service-identity.readthedocs.org/en/14.0.0/installation.html
Additionally, the following PyPI modules are required for 
service_identity:
       characteristic				|V||W|
       pyasn1					|V||W|
       pyasn1-modules				|V||W|
  ​    PyOpenSSL 					|W|
(needed for SSL >= 0.12 (0.14 strongly recommended))
egenix-pyopenssl-0.13.7.win32-py2.7.msi
https://www.egenix.com/cryptodownload/?python=2.7+installer&file=egenix-pyopenssl-0.13.7.win32-py2.7.msi
allmydata-tahoe-1.10.0 and its dependencies:
https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html
Packages for Python 2.7 that have compiled C/C++ code:
Twisted, zope.interface, pycrypto, pycryptopp, zfec
Packages that are platform-independent or source-only:
  Nevow,  argparse,  characteristic,  cryptography,  enum34,  foolscap,  
mock,  pyasn1,  pyasn1-modules,  pycparser,  pyutil,  service_identity,  
simplejson,  six,  txAWS,  zbase32
and for windows only	win32api

we try to install Twisted 15 and its dependencies following advise:
XVIII. cut all down:
Uninstall: 	Twisted-15.0.0.win32-py2.7.msi
Uninstall:	python-2.7.9.msi
Delete: 		C:\lafs
Delete:		C:\python27
XIX. new from scratch: I.+ III. (install lafs + python27)
XX. Install: 	service_identity
https://pypi.python.org/pypi/service_identity
https://pypi.python.org/packages/2.7/s/service_identity/service_identity-14.0.0-py2.py3-none-any.whl
http://service-identity.readthedocs.org/en/14.0.0/installation.html
copy: service_identity-14.0.0-py2.py3-none-any.whl to c:\lafs
(Start/Program files/command prompt > cd c:\lafs)
  Run:	C:\lafs>pip install  service_identity-14.0.0-py2.py3-none-any.whl
  my 8.Result: error: Microsoft Visual C++ 9.0 is required (Unable to 
find vcvarsall.bat). Get it from http://aka.ms/vcpython27
Reason: "Downloading/unpacking cffi>=0.8 (from 
cryptography>=0.2.1->pyopenssl>=0.12->service-identity==14.0.0)"
XXI. Install:	cryptography
https://pypi.python.org/pypi/cryptography/0.7.2
https://pypi.python.org/packages/cp27/c/cryptography/cryptography-0.7.2-cp27-none-win32.whl
  	Run:	C:\lafs>pip install  cryptography-0.7.2-cp27-none-win32.whl
  my 9.Result: error: Microsoft Visual C++ 9.0 is required (Unable to 
find vcvarsall.bat). Get it from http://aka.ms/vcpython27
  Reason: cryptography requires  cffi>=0.8
Dependencies:
  cffi>=0.8 is required by  cryptography,
  cryptography  is required by pyopenssl,
  pyopenssl  is required by service-identity,
service-identity is additional required by  Twisted for
tls - packages that are needed  to work with TLS,
  Twisted is required by  allmydata-tahoe-lafs setup
XXII. install: 	cffi
https://pypi.python.org/pypi/cffi/0.8.6
https://pypi.python.org/packages/cp27/c/cffi/cffi-0.8.6-cp27-none-win32.whl
copy:  cffi-0.8.6-cp27-none-win32.whl to c:\lafs
(Start/Program files/command prompt > cd c:\lafs)
Run:	C:\lafs>pip install cffi-0.8.6-cp27-none-win32.whl
XXIII.  Install:	  ​Zope.Interface (required for Twisted)
https://pypi.python.org/pypi/zope.interface/4.1.2#downloads
https://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-4.1.2.win32-py2.7.exe
XXIV.  Install:	 Twisted 15.0.0 for Python 2.7 (​msi | ​exe)
http://twistedmatrix.com/Releases/Twisted/15.0/Twisted-15.0.0.win32-py2.7.msi
from from  https://pypi.python.org/pypi/Twisted/15.0.0
XXV. Run:	C:\lafs>python setup.py build
	(Start/Program files/command prompt > cd c:\lafs)
	or like to read it all at :	C:\lafs\setup_build_bin.txt
  	Run:	C:\lafs>python setup.py build  > setup_build_bin.txt
					(go drink a cup of coffee)
my 10. Result: run throu ( it copying many somethings to -> 
build\lib\allmydata\...\...)
XXVI. Run: 	C:\lafs>bin\tahoe --version
my 11.Result:
:0: UserWarning: You do not have a working installation of the 
service_identity module: 'No module named service_identity'.  Please 
install it from <https://pypi.python.org/pypi/service_identity> and make 
sure all of its dependencies are satisfied.  Without the 
service_identity module and a recent enough pyOpenSSL to support it, 
Twisted can perform only rudimentary TLS client hostname verification.  
Many valid certificate/hostname mappings may be rejected.
allmydata-tahoe: 1.10.0 [NL]foolscap: 0.7.0 [NL]pycryptopp: 
0.6.0.1206569328141510525648634803928199668821045408958 [NL]fec: 1.4.22 
[NL]Twisted: 15.0.0 [NL]Nevow: 0.11.1 [NL]zope.interface: unknown 
[NL]python: 2.7.9 [NL]platform: Windows-7-6.1.7601-SP1 [NL]pyOpenSSL: 
0.13.1 [NL]simplejson: 3.6.5 [NL]pycrypto: 2.4.1 [NL]pyasn1: 0.1.7 
[NL]mock: 1.0.1 [NL]setuptools: 0.6c16dev4 [NL]=NEW LINE
XXVII. Run: 	C:\lafs>python setup.py trial (self-tests)
if like to read all at C:\lafs\trial_test_result.txt
Run:C:\lafs>python setup.py trial > trial_test_result.txt
my 12. Result: FAILED (skips=7, errors=19, successes=262)
[we updated twisted but still 19 errors with twisted ]
[i read anywhere at C:\lafs\trial_test_result.txt there is a problem 
with a temp directory, and got the idea there must be a problem with the 
right to write to the temp directory]
Rightsmanagemant for C:\ lafs=everybody everything
start/computer/"C:\"/Mouse right klick at /"C:lafs"/properties/security
/edit/add/advanced/look for (users)/(select)/everybody 
(all)/ok/ok/select user name /everybody 
(all)/|V|(check)/allow/all/and/allow/alter/OK
maybe also
start/computer/"C:\"/Mouse right klick at /"C:\lafs"/properties/security
/advanced/owner/edit/more users and groups/advanced/look for 
(users)/(select)/everybody (all)/OK/OK/OK
if there is no security tab maybe you are working on xp home edition.
you have to restart your computer at secured mode
and see if it is possible to alter the ownership of
"c:/lafs" or/and the allowances there.
[we need a other version ?what requires twisted>=13.0 ?]
https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2249
nevow-0.11.1-py2.7.egg:
C:\lafs\support\lib\site-packages\nevow-0.11.1-py2.7.egg\EGG-INFO\requires.txt:
"twisted>=13.0"
[i read also at
http://comments.gmane.org/gmane.comp.file-systems.tahoe.devel/8336
we need pywin32]
->--------------------8336--------------------
First install Twisted 14.0
from <https://twistedmatrix.com/trac/wiki/Downloads#Windows>.
(Make sure to get the 64-bit version in your case. It shouldn't matter 
whether you
use the msi or exe installer.)
Then install pywin32
from< http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/ 
 >.
You need pywin32-219.win-amd64-py2.7.exe for 64-bit Windows.
Then try the build again.
-----------------------------------------------<--
[for short i tried it again]
pre install:
python27
tahoe 1.10.0
Twisted 14.0
pywin32
FAILED (skips=14, expectedFailures=3, failures=3, errors=10, 
successes=1114)
some failures related to service_identity
[and again]
post install:
pip install cffi
pip install service_identity
test don't get ready after installing service_identity
[and again]
try post install:
pip install cffi-0.8.6-cp27-none-win32.whl
pip install service_identity-14.0.0-py2.py3-none-any.whl
test don't get ready after installing service_identity
[and again]
pre install von:
pip install cffi-0.8.6-cp27-none-win32.whl
pip install service_identity-14.0.0-py2.py3-none-any.whl
-> script likes to install cffi-0.9.1 -> no compiler error
[and again]
try post install:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#cffi
http://www.lfd.uci.edu/~gohlke/pythonlibs/z94jfosk/cffi-0.9.1-cp27-none-win32.whl
pip install cffi-0.9.1-cp27-none-win32.whl
-> script anyway likes to install cffi-0.9.1 -> no compiler error
[No way without compiler? at this point i nearly give up,
but remembered Twisted 13 run true, with no warnings about  
service_identity.
I  tried A. - i. see above and made it ]
and we know now any shell from an administrator account is not an 
administrator shell
this step is not necessary if you run as administrator:
B: allowances for "C:\lafs" :
As admin selekt user "everybody"  allow everything (all) for user 
"everybody"(all users)
	start/computer/"C:\"/Mouse right click at 
/"C:\lafs"/properties/security
	/edit/add/advanced/look for (users)/(select)/everybody (all)/OK/OK/
	select user name /everybody 
(all)/|V|(check)/allow/all/and/allow/alter/OK
(this is a translation of the "path", look out for similar expressions 
if necessary)
  it helps partly to shrink the failures to only one but still a fail
__________________________________________________________________________
If you are attracted by errors, failures and user warnings on this Site,
but only like to install allmydata-tahoe-1.10.0 then start with 0 
(zero):
---------------------------------------------------------------------------------------------------------
Conclusion:
On windows; you can not only follow the quickstart.rst
On windows; you need pre-installation of: python27,Twisted13 and  
pywin32
On windows; you need to run the scripts as Administrator,
	not only in an account with admin user rights.
_________________________________________________________________________________

WinLAFS:
Windows Least-Authority File Store

  How to install AllMyData_Tahoe_Lafs 1.10.0
  on Windows 7 Home Premium 64 bit

[i installed already WinLAFS on 7win32 see WinLAFS:How to install 
AllMyData_Tahoe_Lafs 1.10.0 on Windows 7 bit 32 ; it should be possible 
to install python for 32bit windows and 32bit dependencies on win7bit64 
]
[but i gave 64bit a try]
__________________________________________________________________________
If you are attracted by errors, failures and user warnings on this Site,
but only like to install allmydata-tahoe-1.10.0 then start with 0 
(zero):
___________________________________________________________________________
0: Successful install may fail if you used already python:
0a: uninstalled all installed dependencies related to python
0b: uninstalled python
0c: delete the python directory
0d: delete the AllMyData_Tahoe_Lafs directory
0e: start from scratch at A.
____________________________________________
installing tahoe-lafs on 7win64 with twisted 13
____________________________________________
preinstall:
python-2.7.9.
Twisted-13.0.0.
pywin32-217.
copy:
  allmydata-tahoe-1.10.0
egenix_pyopenssl-0.13.7-py2.7-win-amd64.egg
_______________________________________________
A. Unzip and Copy:	 allmydata-tahoe-1.10.0 to c:\lafs (unzip and rename 
to "lafs" only)
from 
https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-1.10.0.zip
B. We don't follow: 	C:\lafs\docs\quickstart.rst (open with word pad)
C. Install :	 python-2.7.9.amd64.msi at c:\python27 ( check: set Add 
pyton.exe to Path
and advanced-> check: compile  .py files to byte code after 
installation)
from https://www.python.org/downloads/release/python-279/
	https://www.python.org/ftp/python/2.7.9/python-2.7.9.amd64.msi
D. Install:	Twisted-13.0.0.win-amd64-py2.7.msi
from http://twistedmatrix.com/Releases/Twisted/13.0/
http://twistedmatrix.com/Releases/Twisted/13.0/Twisted-13.0.0.win-amd64-py2.7.msi
E. Install:		pywin32-217.win-amd64-py2.7.exe
http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/
http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/pywin32-217.win-amd64-py2.7.exe/download
F.Copy: 		egenix_pyopenssl-0.13.7-py2.7-win-amd64.egg
and
  	Rename:	to
		c:\tahoe-deps\pyopenssl-0.13.7-py2.7-win-amd64.egg
from 	https://www.egenix.com/products/python/pyOpenSSL/
	[scroll down till: Egg Distribution Installation ]
https://downloads.egenix.com/python/index/ucs2/egenix-pyopenssl/0.13.7/egenix_pyopenssl-0.13.7-py2.7-win-amd64.egg
G.Run as administrator :		C:\lafs>python setup.py build
(Start menu/All Programs/Command Prompt/right click/Run as administrator 
/jes> cd c:\lafs)
	or like to read it all at :	C:\lafs\setup_build_bin.txt
  	Run as administrator :	C:\lafs>python setup.py build  > 
setup_build_bin.txt
					(go drink a cup of coffee 3 min)
1. Result: run thru ( it copying many somethings to -> 
build\lib\allmydata\...\...)
H. Run as administrator : 	C:\lafs>bin\tahoe --version
2.Result:
allmydata-tahoe: 1.10.0 [NL]foolscap: 0.7.0 [NL]pycryptopp: 
0.6.0.1206569328141510525648634803928199668821045408958 [NL]fec: 1.4.22 
[NL]Twisted: 13.0.0 [NL]Nevow: 0.11.1 [NL]zope.interface: unknown 
[NL]python: 2.7.9 [NL]platform: Windows-7-6.1.7601-SP1 [NL]pyOpenSSL: 
0.13.7 [NL]simplejson: 3.6.5 [NL]pycrypto: 2.5 [NL]pyasn1: 0.1.7 
[NL]mock: 1.0.1 [NL]setuptools: 0.6c16dev4 [NL]=NEW LINE
i. Check: Test Grid is online
Tahoe Test Grid Status at http://stats.pingdom.com/cvvac5t8l4fv/1300061
J.Run as administrator : 	C:\lafs>python setup.py trial (self-tests)
		if like to read all at C:\lafs\trial_test_result.txt
	Run as administrator :C:\lafs>python setup.py trial > 
trial_test_result.txt
						(go drink a cup of coffee 19min)
3. Result: PASSED (skips=14, expectedFailures=3, successes=1117)

This indicates you installed tahoe-lafs successful.
==================================================


__________________________________________________________________________
If you are attracted by errors, failures and user warnings on this Site,
but only like to install allmydata-tahoe-1.10.0 then start with 0 
(zero):
___________________________________________________________________________

This following is about what happens if you follow the Install  Advise 
at
C:\lafs\docs\quickstart.rst (open with wordpad)
and this is the wrong , long, hard way along errors,failures and 
warnings.
----------------------------------------------------------------------------------------------
Some Tahoe_Lafs Installation Problems on windows 7 bit 64
-------------------------------------------------------------------------------------------
[ because of my "success" installing  tahoe-lafs at win7bit32,
  i thought i am now a already skilled tahoe-lafs installer ]
I. Install:	 allmydata-tahoe-1.10.0 at c:\lafs (unzip and rename to " 
lafs" only)
from 
https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-1.10.0.zip
II. allowances for "C:\lafs" :
As admin selekt user "everybody"  allow everything (all) for user 
"everybody"(all users)
	start/computer/"C:\"/Mouse right click at 
/"C:\lafs"/properties/security
	/edit/add/advanced/look for (users)/(select)/everybody (all)/OK/OK/
	select user name /everybody 
(all)/|V|(check)/allow/all/and/allow/alter/OK
[this is a translation of the "path", look out for similar expressions 
if necessary]
	[At this time i thought i solved a tmp-write problem,
	but successful was only the RUN AS ADMINISTRATOR method ]
III. follow: 	C:\lafs\docs\quickstart.rst (open with word pad)
IV. Install :	 python-2.7.9.msi at c:\python27 ( check: set Add 
pyton.exe to Path and
  			advanced-> check: compile  .py files to byte code after 
installation)
from https://www.python.org/ftp/python/2.7.9/python-2.7.9.msi
V. Run:	C:\lafs>python setup.py build
	(Start/Program files/command prompt > cd c:\lafs)
	or like to read it all at :	C:\lafs\setup_build_bin.txt
  	Run:	C:\lafs>python setup.py build  > setup_build_bin.txt
					(go drink a cup of coffee)
my 1.Result:
error: Installed distribution twisted 12.1.0 conflicts with requirement 
twisted>=13.0
VI. Install:	Twisted-13.0.0.win-amd64-py2.7.msi
	from http://twistedmatrix.com/Releases/Twisted/13.0/
http://twistedmatrix.com/Releases/Twisted/13.0/Twisted-13.0.0.win-amd64-py2.7.msi
VI. Delete: C:\lafs
VII. Try again I.+II.+V. (install lafs + run lafs setup build bin)
my 2. Result: 	error: Setup script exited with error: Unable to find 
vcvarsall.bat
[reason: script like to compile and install cffi 0.9.2]
[Twisted-13.0.0 adds tls - packages that are needed to work with TLS. =  
   service_identity]
[dependencies of service_identity:]
[------------------------------------------------------------------------------------------------------
https://pypi.python.org/pypi/service_identity
https://pypi.python.org/packages/2.7/s/service_identity/service_identity-14.0.0-py2.py3-none-any.whl
service-identity==14.0.0	 requires	pyopenssl>=0.12
https://downloads.egenix.com/python/index/ucs2/egenix-pyopenssl/0.13.7/egenix_pyopenssl-0.13.7-py2.7-win-amd64.egg
https://www.egenix.com/cryptodownload/?file=egenix-pyopenssl-0.13.7.win-amd64-py2.7.msi
pyopenssl-0.13.7-py2.7-win-amd64.egg		requires	cryptography>=0.2.1  
								+	(six>=1.5.2 )
https://pypi.python.org/packages/cp27/c/cryptography/cryptography-0.4-cp27-none-win_amd64.whl
https://pypi.python.org/packages/cp27/c/cryptography/cryptography-0.5-cp27-none-win_amd64.whl
	cryptography-0.5-cp27-none-win_amd64.whl	 requires	 cffi>=0.8
http://www.lfd.uci.edu/~gohlke/pythonlibs/z94jfosk/cffi-0.9.2-cp27-none-win_amd64.whl
		cffi-0.9.2-cp27-none-win_amd64.whl 	 requires	pycparser
-----------------------------------------------------------------------------------------------------]
tabula rasa: 0a-0e
I.-IV. + VI.
copy 	 egenix-pyopenssl-0.13.7-py2.7-win-amd64.egg		to 	c\tahoe-deps
copy	 cffi-0.9.2-cp27-none-win_amd64.whl 		 to c:\lafs
copy 	cryptography-0.5-cp27-none-win_amd64.whl	 to c:\lafs
pip install cffi-0.9.2-cp27-none-win_amd64.whl
pip install cryptography-0.5-cp27-none-win_amd64.whl
install egenix-pyopenssl-0.13.7.win-amd64-py2.7.msi
run thru
install win32api= pywin32
FAILED (skips=14, expectedFailures=3, failures=1, errors=4, 
successes=1116) [1]
-------------------------------------------------------------------------------------------------------------------------
try install with egg only no msi 
(egenix-pyopenssl-0.13.7.win-amd64-py2.7 )
----------------------------------------------------------------------------------------------------
tabula rasa: 0a-0e
I.-IV. + VI.
preinstall:
pyton27
Twisted-13.0.0.win-amd64-py2.7.msi
win32api = pywin32
copy 	 egenix-pyopenssl-0.13.7-py2.7-win-amd64.egg	  	to	 c\tahoe-deps
error: Setup script exited with error: Unable to find vcvarsall.bat
[need pip install off cffi ?] no -> rename
rename [!]+copy 	pyopenssl-0.13.7-py2.7-win-amd64.egg	  [!]	to 
c\tahoe-deps
FAILED (skips=14, expectedFailures=3, failures=1, errors=3, 
successes=1116)

[------------------------How to prevent the last failure 
?-------------------------------------------
[ and we know now any shell from an administrator account is not an 
administrator shell
[ this step is not necessary if you run as administrator:
[ II. allowances for "C:\lafs" :
[ As admin selekt user "everybody"  allow everything (all) for user 
"everybody"(all users)
[		start/computer/"C:\"/Mouse right click at 
/"C:\lafs"/properties/security
[		/edit/add/advanced/look for (users)/(select)/everybody (all)/OK/OK/
[		select user name /everybody 
(all)/|V|(check)/allow/all/and/allow/alter/OK
[	[this is a translation of the "path", look out for similar expressions 
if necessary]
[ it helps partly to shrink the failures to only one, but you still get 
a fail
----------------------------------------------------------------------------------------------------]
__________________________________________________________________________
If you are attracted by errors, failures and user warnings on this Site,
but only like to install allmydata-tahoe-1.10.0 then start with 0 
(zero):
___________________________________________________________________________
Conclusion:
On windows, you can not only follow the quickstart.rst
On windows, you need pre-installation of: python27,Twisted and  pywin32
On windows, you need to run the scripts as Administrator,
	not only an account with admin user rights.
On windows 64 you need additional 
egenix_pyopenssl-0.13.7-py2.7-win-amd64.egg









-------------- next part --------------
A non-text attachment was scrubbed...
Name: WinLAFS_How to install AllMyData_Tahoe_Lafs 1.10.0 on Windows 7 bit 32_v1.rtf
Type: text/rtf
Size: 31828 bytes
Desc: not available
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20150329/655e5fb4/attachment.rtf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WinLAFS_How to install AllMyData_Tahoe_Lafs 1.10.0 on Windows 7 bit 64_v2.rtf
Type: text/rtf
Size: 21675 bytes
Desc: not available
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20150329/655e5fb4/attachment-0001.rtf>


More information about the tahoe-dev mailing list