Windows 7 Ultimate 64-Bit Build Error pyOpenSSL #1266

Closed
opened 2010-11-20 18:13:05 +00:00 by pgrunwald · 6 comments
pgrunwald commented 2010-11-20 18:13:05 +00:00
Owner
Searching for pyOpenSSL
Reading <http://pypi.python.org/simple/pyOpenSSL/>
Reading <http://pyopenssl.sourceforge.net/>
Reading <http://launchpad.net/pyopenssl>
Best match: pyOpenSSL 0.11
Downloading <http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.tar.gz>
Processing pyOpenSSL-0.11.tar.gz
Running pyOpenSSL-0.11\setup.py -q bdist_egg --dist-dir c:\users\paul\appdata\local\temp\easy_install-j3loco\pyOpenSSL-0.11\egg-dist-tmp-cue999
error: Setup script exited with error: Could not find 'openssl.exe'

G:\allmydata-tahoe-1.8.0-r4803>
``` Searching for pyOpenSSL Reading <http://pypi.python.org/simple/pyOpenSSL/> Reading <http://pyopenssl.sourceforge.net/> Reading <http://launchpad.net/pyopenssl> Best match: pyOpenSSL 0.11 Downloading <http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.tar.gz> Processing pyOpenSSL-0.11.tar.gz Running pyOpenSSL-0.11\setup.py -q bdist_egg --dist-dir c:\users\paul\appdata\local\temp\easy_install-j3loco\pyOpenSSL-0.11\egg-dist-tmp-cue999 error: Setup script exited with error: Could not find 'openssl.exe' G:\allmydata-tahoe-1.8.0-r4803> ```
tahoe-lafs added the
packaging
major
defect
1.8.0
labels 2010-11-20 18:13:05 +00:00
tahoe-lafs added this to the 1.8.1 milestone 2010-11-20 18:13:05 +00:00
pgrunwald commented 2010-11-20 18:15:10 +00:00
Author
Owner

Using:
Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [v.1500 64 bit (AMD64)]MSC on win32

G:\allmydata-tahoe-1.8.0-r4803>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=g:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.0 (GCC)

Using: Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [v.1500 64 bit (AMD64)]MSC on win32 G:\allmydata-tahoe-1.8.0-r4803>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=g:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,obj c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r untime-libs --disable-werror --build=mingw32 --prefix=/mingw Thread model: win32 gcc version 4.5.0 (GCC)
zooko commented 2010-11-27 20:34:47 +00:00
Author
Owner

Adding '```' around the initial report to escape from trac formatting.

Adding '```' around the initial report to escape from trac formatting.
zooko commented 2010-11-27 20:50:31 +00:00
Author
Owner

Could you please try again now that there is a windows-x86_64 package of pyOpenSSL hosted here:

http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html

Could you please try again now that there is a windows-x86_64 package of pyOpenSSL hosted here: <http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html>
pgrunwald commented 2010-11-27 22:56:42 +00:00
Author
Owner

Hi - Thanks - it builds now. Below are the results of "python setup.py test":

===============================================================================
SKIPPED: allmydata.test.test_cli.Backup.test_ignore_symlinks

Symlinks are not supported by Python on this platform.

SKIPPED: allmydata.test.test_cli.Cp.test_dangling_symlink_vs_recursion

Symlinks are not supported by Python on this platform.

SKIPPED: allmydata.test.test_encodingutil.StdlibUnicode.test_open_unrepresenta
ble

This test is not applicable to platforms that represent filenames as Unicode.

SKIPPED: allmydata.test.test_hung_server.HungServerDownloadTest.test_2_good_8_
hung_then_1_recovers_mutable

still broken

SKIPPED: allmydata.test.test_hung_server.HungServerDownloadTest.test_2_good_8_
hung_then_1_recovers_with_2_shares_mutable

still broken

SKIPPED: allmydata.test.test_hung_server.HungServerDownloadTest.test_3_good_7_
hung_mutable

still broken

SKIPPED: allmydata.test.test_node.TestCase.test_secrets_dir_protected

We don't know how to set permissions on Windows.

SKIPPED: allmydata.test.test_provisioning.Reliability.test_basic

reliability model requires NumPy

SKIPPED: allmydata.test.test_runner.RunNode.test_baddir

twistd does not fork under windows

SKIPPED: allmydata.test.test_runner.RunNode.test_client

twistd does not fork under windows

SKIPPED: allmydata.test.test_runner.RunNode.test_client_no_noise

twistd does not fork under windows

SKIPPED: allmydata.test.test_runner.RunNode.test_introducer

twistd does not fork under windows

SKIPPED: allmydata.test.test_runner.RunNode.test_keygen

twistd does not fork under windows

SKIPPED: allmydata.test.test_storage.Server.test_large_share

This test can spuriously fail if you have less than 4 GiB free on your filesyste
m, and if your filesystem doesn't support efficient sparse files then it is very
expensive (Mac OS X and Windows don't support efficient sparse files).

SKIPPED: allmydata.test.test_web.Web.test_reliability_tool

reliability tool requires NumPy

TODO: allmydata.test.test_upload.EncodingParameters.test_problem_layout_commen
t_187

Reason: "this isn't fixed yet"
Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
546, in _got_response
return self._loop()
File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
396, in _loop
return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
561, in _failed
raise UploadUnhappinessError(msg)
allmydata.interfaces.UploadUnhappinessError: shares could be placed on only 2 se
rver(s) such that any 2 of them have enough shares to recover the file, but we w
ere asked to place shares on at least 3 such servers. (placed all 3 shares, want
to place shares on at least 3 servers such that any 2 of them have enough share
s to recover the file, sent 3 queries to 3 peers, 1 queries placed some shares,
2 placed none (of which 2 placed none due to the server being full and 0 placed
none due to an error))
===============================================================================
TODO: allmydata.test.test_upload.EncodingParameters.test_problem_layout_ticket
_1124

Reason: 'Fix this after 1.7.1 release.'
Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
546, in _got_response
return self._loop()
File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
396, in _loop
return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
561, in _failed
raise UploadUnhappinessError(msg)
allmydata.interfaces.UploadUnhappinessError: shares could be placed on only 3 se
rver(s) such that any 2 of them have enough shares to recover the file, but we w
ere asked to place shares on at least 4 such servers. (placed all 4 shares, want
to place shares on at least 4 servers such that any 2 of them have enough share
s to recover the file, sent 4 queries to 4 peers, 4 queries placed some shares,
0 placed none (of which 0 placed none due to the server being full and 0 placed
none due to an error))
===============================================================================
TODO: allmydata.test.test_upload.EncodingParameters.test_problem_layout_ticket
_1128

Reason: 'Invent a smarter uploader that uploads successfully in this case.'
Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
546, in _got_response
return self._loop()
File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
396, in _loop
return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line
561, in _failed
raise UploadUnhappinessError(msg)
allmydata.interfaces.UploadUnhappinessError: shares could be placed on only 3 se
rver(s) such that any 2 of them have enough shares to recover the file, but we w
ere asked to place shares on at least 4 such servers. (placed all 4 shares, want
to place shares on at least 4 servers such that any 2 of them have enough share
s to recover the file, sent 4 queries to 4 peers, 4 queries placed some shares,
0 placed none (of which 0 placed none due to the server being full and 0 placed
none due to an error))
===============================================================================
FAIL: allmydata.test.test_runner.BinTahoe.test_path

Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line
90, in _cb
self.failUnlessEqual(rc_or_sig, 0, str(res))
twisted.trial.unittest.FailTest: ('', 'Traceback (most recent call last):\r\n F
ile "g:\allmydata-tahoe-1.8.0-r4803\support\Scripts\tahoe.pyscript", line 6,
in \r\n from pkg_resources import load_entry_point\r\nImportError: N
o module named pkg_resources\r\n', 1)
not equal:
a = 1
b = 0

===============================================================================
FAIL: allmydata.test.test_runner.BinTahoe.test_run_with_python_options

Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line
149, in _cb
self.failUnlessEqual(rc_or_sig, 0, str(res))
twisted.trial.unittest.FailTest: ('', 'Traceback (most recent call last):\r\n F
ile "g:\allmydata-tahoe-1.8.0-r4803\support\Scripts\tahoe.pyscript", line 6,
in \r\n from pkg_resources import load_entry_point\r\nImportError: N
o module named pkg_resources\r\n', 1)
not equal:
a = 1
b = 0

===============================================================================
FAIL: allmydata.test.test_runner.BinTahoe.test_unicode_arguments_and_output

Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line
137, in _cb
self.failUnlessIn("Unknown command: "+tricky_out, out)
twisted.trial.unittest.FailTest: 'Unknown command: \xe2\x98\xa1' not in ''
===============================================================================
FAIL: allmydata.test.test_runner.BinTahoe.test_version_no_noise

Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line
165, in _cb
self.failUnlessEqual(rc_or_sig, 0, str(res))
twisted.trial.unittest.FailTest: ('', 'Traceback (most recent call last):\r\n F
ile "g:\allmydata-tahoe-1.8.0-r4803\support\Scripts\tahoe.pyscript", line 6,
in \r\n from pkg_resources import load_entry_point\r\nImportError: N
o module named pkg_resources\r\n', 1)
not equal:
a = 1
b = 0


Ran 828 tests in 809.711s

FAILED (skips=15, expectedFailures=3, failures=4, successes=806)

Hi - Thanks - it builds now. Below are the results of "python setup.py test": =============================================================================== SKIPPED: allmydata.test.test_cli.Backup.test_ignore_symlinks Symlinks are not supported by Python on this platform. =============================================================================== SKIPPED: allmydata.test.test_cli.Cp.test_dangling_symlink_vs_recursion Symlinks are not supported by Python on this platform. =============================================================================== SKIPPED: allmydata.test.test_encodingutil.StdlibUnicode.test_open_unrepresenta ble This test is not applicable to platforms that represent filenames as Unicode. =============================================================================== SKIPPED: allmydata.test.test_hung_server.HungServerDownloadTest.test_2_good_8_ hung_then_1_recovers_mutable still broken =============================================================================== SKIPPED: allmydata.test.test_hung_server.HungServerDownloadTest.test_2_good_8_ hung_then_1_recovers_with_2_shares_mutable still broken =============================================================================== SKIPPED: allmydata.test.test_hung_server.HungServerDownloadTest.test_3_good_7_ hung_mutable still broken =============================================================================== SKIPPED: allmydata.test.test_node.TestCase.test_secrets_dir_protected We don't know how to set permissions on Windows. =============================================================================== SKIPPED: allmydata.test.test_provisioning.Reliability.test_basic reliability model requires [NumPy](wiki/NumPy) =============================================================================== SKIPPED: allmydata.test.test_runner.RunNode.test_baddir twistd does not fork under windows =============================================================================== SKIPPED: allmydata.test.test_runner.RunNode.test_client twistd does not fork under windows =============================================================================== SKIPPED: allmydata.test.test_runner.RunNode.test_client_no_noise twistd does not fork under windows =============================================================================== SKIPPED: allmydata.test.test_runner.RunNode.test_introducer twistd does not fork under windows =============================================================================== SKIPPED: allmydata.test.test_runner.RunNode.test_keygen twistd does not fork under windows =============================================================================== SKIPPED: allmydata.test.test_storage.Server.test_large_share This test can spuriously fail if you have less than 4 GiB free on your filesyste m, and if your filesystem doesn't support efficient sparse files then it is very expensive (Mac OS X and Windows don't support efficient sparse files). =============================================================================== SKIPPED: allmydata.test.test_web.Web.test_reliability_tool reliability tool requires [NumPy](wiki/NumPy) =============================================================================== TODO: allmydata.test.test_upload.EncodingParameters.test_problem_layout_commen t_187 Reason: "this isn't fixed yet" Traceback (most recent call last): > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 546, in _got_response return self._loop() > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 396, in _loop return self._failed("%s (%s)" % (failmsg, self._get_progress_message())) > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 561, in _failed raise [UploadUnhappinessError](wiki/UploadUnhappinessError)(msg) allmydata.interfaces.UploadUnhappinessError: shares could be placed on only 2 se rver(s) such that any 2 of them have enough shares to recover the file, but we w ere asked to place shares on at least 3 such servers. (placed all 3 shares, want to place shares on at least 3 servers such that any 2 of them have enough share s to recover the file, sent 3 queries to 3 peers, 1 queries placed some shares, 2 placed none (of which 2 placed none due to the server being full and 0 placed none due to an error)) =============================================================================== TODO: allmydata.test.test_upload.EncodingParameters.test_problem_layout_ticket _1124 Reason: 'Fix this after 1.7.1 release.' Traceback (most recent call last): > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 546, in _got_response return self._loop() > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 396, in _loop return self._failed("%s (%s)" % (failmsg, self._get_progress_message())) > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 561, in _failed raise [UploadUnhappinessError](wiki/UploadUnhappinessError)(msg) allmydata.interfaces.UploadUnhappinessError: shares could be placed on only 3 se rver(s) such that any 2 of them have enough shares to recover the file, but we w ere asked to place shares on at least 4 such servers. (placed all 4 shares, want to place shares on at least 4 servers such that any 2 of them have enough share s to recover the file, sent 4 queries to 4 peers, 4 queries placed some shares, 0 placed none (of which 0 placed none due to the server being full and 0 placed none due to an error)) =============================================================================== TODO: allmydata.test.test_upload.EncodingParameters.test_problem_layout_ticket _1128 Reason: 'Invent a smarter uploader that uploads successfully in this case.' Traceback (most recent call last): > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 546, in _got_response return self._loop() > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 396, in _loop return self._failed("%s (%s)" % (failmsg, self._get_progress_message())) > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line 561, in _failed raise [UploadUnhappinessError](wiki/UploadUnhappinessError)(msg) allmydata.interfaces.UploadUnhappinessError: shares could be placed on only 3 se rver(s) such that any 2 of them have enough shares to recover the file, but we w ere asked to place shares on at least 4 such servers. (placed all 4 shares, want to place shares on at least 4 servers such that any 2 of them have enough share s to recover the file, sent 4 queries to 4 peers, 4 queries placed some shares, 0 placed none (of which 0 placed none due to the server being full and 0 placed none due to an error)) =============================================================================== FAIL: allmydata.test.test_runner.BinTahoe.test_path Traceback (most recent call last): > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line 90, in _cb self.failUnlessEqual(rc_or_sig, 0, str(res)) twisted.trial.unittest.FailTest: ('', 'Traceback (most recent call last):\r\n F ile "g:\\allmydata-tahoe-1.8.0-r4803\\support\\Scripts\\tahoe.pyscript", line 6, in <module>\r\n from pkg_resources import load_entry_point\r\nImportError: N o module named pkg_resources\r\n', 1) not equal: a = 1 b = 0 =============================================================================== FAIL: allmydata.test.test_runner.BinTahoe.test_run_with_python_options Traceback (most recent call last): > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line 149, in _cb self.failUnlessEqual(rc_or_sig, 0, str(res)) twisted.trial.unittest.FailTest: ('', 'Traceback (most recent call last):\r\n F ile "g:\\allmydata-tahoe-1.8.0-r4803\\support\\Scripts\\tahoe.pyscript", line 6, in <module>\r\n from pkg_resources import load_entry_point\r\nImportError: N o module named pkg_resources\r\n', 1) not equal: a = 1 b = 0 =============================================================================== FAIL: allmydata.test.test_runner.BinTahoe.test_unicode_arguments_and_output Traceback (most recent call last): > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line 137, in _cb self.failUnlessIn("Unknown command: "+tricky_out, out) twisted.trial.unittest.FailTest: 'Unknown command: \xe2\x98\xa1' not in '' =============================================================================== FAIL: allmydata.test.test_runner.BinTahoe.test_version_no_noise Traceback (most recent call last): > File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line 165, in _cb self.failUnlessEqual(rc_or_sig, 0, str(res)) twisted.trial.unittest.FailTest: ('', 'Traceback (most recent call last):\r\n F ile "g:\\allmydata-tahoe-1.8.0-r4803\\support\\Scripts\\tahoe.pyscript", line 6, in <module>\r\n from pkg_resources import load_entry_point\r\nImportError: N o module named pkg_resources\r\n', 1) not equal: a = 1 b = 0 ------------------------------------------------------------------------------- Ran 828 tests in 809.711s FAILED (skips=15, expectedFailures=3, failures=4, successes=806)
zooko commented 2010-11-27 23:21:18 +00:00
Author
Owner

Please close this ticket and open a new one about those test failures. Hint: put before literal text such as output from a program and after it to escape from trac formatting

Please close this ticket and open a new one about those test failures. Hint: put ````` before literal text such as output from a program and ````` after it to escape from trac formatting
tahoe-lafs added the
fixed
label 2010-11-27 23:24:51 +00:00
pgrunwald closed this issue 2010-11-27 23:24:51 +00:00
davidsarah commented 2011-01-01 03:11:51 +00:00
Author
Owner

Replying to zooko:

Please close this ticket and open a new one about those test failures.

That ticket was #1272, which was later closed as unreproducible with version 1.8.1.

Replying to [zooko](/tahoe-lafs/trac-2024-07-25/issues/1266#issuecomment-122944): > Please close this ticket and open a new one about those test failures. That ticket was #1272, which was later closed as unreproducible with version 1.8.1.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#1266
No description provided.