[tahoe-dev] Windwos installation problems

Black Dew blackdew at gmail.com
Wed Jun 10 01:48:52 PDT 2009


> http://testgrid.allmydata.org:3567/uri/URI%3ADIR2-RO%3Asnrfwfxatrci35zdgjnzxxx2ke%3Aunarxv347edtku3xzmefy4mcdmfngxzeb72iyqcadbjzjpczjx5a/index.html
>
> If you edit your setup.cfg file and add that URL to the list of
> "find_links" then when you build Tahoe-LAFS it should use the binary
> instead of trying to compile zfec.

I tryed installing using the binary packages on both the original (XP)
system and a different one (running Vista x64). The install ran fine,
but when starting tahoe it fails with an ImportError - "The specified
procedure could not be found" in pycryptopp/publickey/rsa.pyd

I've tryed runing it in Dependency Walker (a tool for windows that
shows DLL dependencies) but it doesn't show anythong usefull:

00:00:08.844: LoadLibraryExA("C:\Python26\lib\site-packages\pycryptopp-0.5.12-py2.6-win32.egg\pycryptopp\publickey\rsa.pyd",
0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "PYTHON26.DLL"
at address 0x1E0DD8CF by thread 1.
00:00:08.860: Loaded "RSA.PYD" at address 0x01CE0000 by thread 1.
Successfully hooked module.
00:00:08.860: First chance exception 0xC0000139 (DLL Not Found)
occurred in "NTDLL.DLL" at address 0x7C9B6668 by thread 1.
00:00:08.860: Unloaded "RSA.PYD" at address 0x01CE0000 by thread 1.
00:00:08.875: LoadLibraryExA("C:\Python26\lib\site-packages\pycryptopp-0.5.12-py2.6-win32.egg\pycryptopp\publickey\rsa.pyd",
0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL by thread 1.
Error:     (127).

(This computer runs a Hebrew localised version of windows and DW
doesn't show the errors correctly, error 127 is "The specified
procedure could not be found")

I've uploaded the whole log from Dependency Walker here
http://testgrid.allmydata.org:3567/file/URI%3ACHK%3Ablb5mtf4qncuxx6thy7mhwodo4%3Az6f3cycd7tulxzjx6denq25rl3vx5lerv53imgzcvyedu22heqoq%3A3%3A10%3A98758/@@named=/pycryptopp%20dll%20import%20fail.txt

I then tried to build pycryptopp from sources, i've started with
0.5.13 (from pypi.python.org) using MS Visual Studio 2008 Express - it
failed with:

_pycryptoppmodule.obj : error LNK2019: unresolved external symbol
"void __cdecl init_sha256(struct _object *)"
(?init_sha256@@YAXPAU_object@@@Z) referenced in function
_init_pycryptopp

build log: http://testgrid.allmydata.org:3567/file/URI%3ACHK%3Arbbswxrh47ibk2z3dqvdxerp2i%3Ahbkbetvtehtqxtzowzrjkqyfqcx7qajyrwpltir5xpffaxxvqb2a%3A3%3A10%3A18636/@@named=/pycryptopp-0.5.13-buildfail.txt

Then i tryed compiling the 0.5.12 version (also from PYPI) and it
built without problems and tahoe worked fine using it.

This is on the original XP machine, i'll try runing it on the other
Vista x64 one with the pycryptopp i built later today.

I've also uploaded the working pycryptopp-0.5.12-py2.6-win32.egg if
anyone is interested:
http://testgrid.allmydata.org:3567/file/URI%3ACHK%3Atibishi6eigyyvx4ogliahgswm%3Abxwoc6f6kipzc7nkhshd2dozpszsfwipumxwozjkcj4opvtstj6q%3A3%3A10%3A1096064/@@named=/pycryptopp-0.5.12-py2.6-win32.egg


More information about the tahoe-dev mailing list