[tahoe-dev] Allmydata Tahoe Windows Client

FreeStorm . freestorm77 at gmail.com
Wed Apr 21 10:21:36 UTC 2010


Hello,

I'm trying to build the Allmydata Tahoe Windows Client.
But without success, that why I need help from folks :-)

As I can see, the project contains 3 different parts:
- WinFUZE
- AllmydataBackup
- Installer

I have succefully build WinFUZE and AllmydataBackup, but I have
trouble to build the Installer.

When I download the Tahoe source from trunk and do "make" and make
"windows-exe",
py2exe create "confwiz.exe", "tahoe.exe" "tahesrv.exe", but theses
executables can't work.

Here is some "highlight" output lines of the "make windows-exe" command:
( If needed I can past the full make output.)

====================================================

C:\tahoe-client\_tahoe_temp>make windows-exe
python setup.py run_with_pythonpath -c "make -C windows windows-exe"
running run_with_pythonpath
command = make -C windows windows-exe
make[1]: entrant dans le rÚpertoire ½ C:/tahoe-client/_tahoe_temp/windows +
python setup.py py2exe
C:\Python26\lib\site-packages\py2exe\build_exe.py:16:
DeprecationWarning: the sets module is deprecated
  import sets
running py2exe
creating C:\tahoe-client\_tahoe_temp\windows\build
creating C:\tahoe-client\_tahoe_temp\windows\build\bdist.win32
creating C:\tahoe-client\_tahoe_temp\windows\build\bdist.win32\winexe
creating C:\tahoe-client\_tahoe_temp\windows\build\bdist.win32\winexe\collect-2.6
creating C:\tahoe-client\_tahoe_temp\windows\build\bdist.win32\winexe\bundle-2.6
creating C:\tahoe-client\_tahoe_temp\windows\build\bdist.win32\winexe\temp
creating C:\tahoe-client\_tahoe_temp\windows\dist
*** searching for required modules ***
C:\tahoe-client\_tahoe_temp\support\Lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\web\microdom.py:181:
SyntaxWarning: assertion is always tr
ue, perhaps remove parentheses?
  assert (oldChild.parentNode is self,
*** parsing results ***
[...]
A lot of lines without errors
[...]

copying ..\src\allmydata\web\__init__.pyc ->
C:\tahoe-client\_tahoe_temp\windows\dist\pkg_resources\allmydata\web
creating C:\tahoe-client\_tahoe_temp\windows\dist\winfuse
copying C:\Python26\lib\site-packages\py2exe\run.exe ->
C:\tahoe-client\_tahoe_temp\windows\dist\tahoe.exe
copying C:\Python26\lib\site-packages\py2exe\run_w.exe ->
C:\tahoe-client\_tahoe_temp\windows\dist\confwiz.exe
copying C:\Python26\lib\site-packages\py2exe\run.exe ->
C:\tahoe-client\_tahoe_temp\windows\dist\tahoesvc.exe
The following modules appear to be missing
['Crypto', 'Crypto.Cipher', 'Crypto.PublicKey', 'Crypto.Util',
'FCNTL', 'PAM', 'Pyrex.Distutils.build_ext', '_curses', '_pybsddb',
'_scproxy', 'bsddb3
.dbutils', 'crypt', 'dl', 'gmpy', 'numpy', 'pamauth', 'pysqlite2',
'resource', 'shadow', 'subunit', 'wx.BitmapFromImage', 'wx.EmptyIcon']

*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.

   OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
   USER32.dll - C:\WINDOWS\system32\USER32.dll
   POWRPROF.dll - C:\WINDOWS\system32\POWRPROF.dll
   SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
   ole32.dll - C:\WINDOWS\system32\ole32.dll
   WINMM.dll - C:\WINDOWS\system32\WINMM.dll
   WSOCK32.dll - C:\WINDOWS\system32\WSOCK32.dll
   COMDLG32.dll - C:\WINDOWS\system32\COMDLG32.dll
   ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
   NETAPI32.dll - C:\WINDOWS\system32\NETAPI32.dll
   msvcrt.dll - C:\WINDOWS\system32\msvcrt.dll
   WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
   GDI32.dll - C:\WINDOWS\system32\GDI32.dll
   RPCRT4.dll - C:\WINDOWS\system32\RPCRT4.dll
   VERSION.dll - C:\WINDOWS\system32\VERSION.dll
   KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
   MSWSOCK.dll - C:\WINDOWS\system32\MSWSOCK.dll
   COMCTL32.dll - C:\WINDOWS\system32\COMCTL32.dll
   gdiplus.dll - C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\gdiplus.dll
   MSVCP90.dll - C:\tahoe-client\_tahoe_temp\windows\MSVCP90.dll
touch windows-exe.stamp
====================================================


When I start tahoe.exe the following errors occurs:
====================================================

C:\tahoe-client\_tahoe_temp>windows\dist\tahoe.exe
Traceback (most recent call last):
  File "tahoe.py", line 1, in <module>
  File "allmydata\__init__.pyc", line 26, in <module>
  File "nevow\__init__.pyc", line 143, in <module>
  File "nevow\__init__.pyc", line 29, in load
  File "nevow\util.pyc", line 183, in _namedAnyWithBuiltinTranslation
  File "twisted\python\reflect.pyc", line 456, in namedAny
  File "formless\webform.pyc", line 24, in <module>
  File "nevow\static.pyc", line 18, in <module>
  File "twisted\web\error.pyc", line 9, in <module>
ImportError: cannot import name resource

====================================================


When I run "tahoe.py" "conwiz.py" "tahoesvc.py" with python, they are woking

Are some variables settings or packages missing?
I miss something, but I don't know what :-)

Thanks for any help.

Frederic



My environment:
- Windows XP SP3
- MinGW 5.1.6
- GnuWin32 Make 3.81
- GnuWin32 CoretUtils 5.3.0
- Inno Setup 5.3.9
- Python 2.6 Py2exe 0.6.9
- Python 2.6 wxpython 2.8.10.1
- Python 2.6 pyWin32 214
- Python 2.6.5



More information about the tahoe-dev mailing list