Bitcoin Forum
April 25, 2024, 10:37:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: 15BTC to fix problem with python/openssl on Win7 for stock market client[PAID]  (Read 11707 times)
Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
May 04, 2011, 05:18:44 AM
Last edit: May 06, 2011, 09:52:32 AM by Nefario
 #1

We want the client for our exchange to work on Windows, Linux and OSX, right now it works fine on Linux and Windows (OSX has yet to be tackled) except for (some) Windows 7 64bit edition.

We will pay 15btc to whoever is able to find a solution to this problem, and the perfect test case is S3052, as he's got this exact system and cannot run the glbse.com client.

See this thread for more details.
http://bitcointalk.org/index.php?topic=6500.0

The normal install process available here
https://gitorious.org/black-market/pages/Windows

And some more conversation details about S3052's problem, I think BitterTea was having the same problem.

Quote

After some more investigation.. it seems I cant install any OpenSSL program.

There is always an error message before trying to install
"The Win32 OpenSSL Installation Project setup has detected that the following critical component is missing:
Microsoft Visual C++ 2008 Redistributables
Win32 OpenSSl will nor function properly without this component. It is recommended that you install the missing component before clicking "OK" to continue."

If this is one of the error messages you mentioned I should ignore, then this is maybe not the problem.

BUT: Whatever I try the installation of OpenSSl stops somewhere before finalization and then the setup crashes and I can then only kill the operation with the task manager.

There is one more option about where to copy the OpenSSl DLLs to:
1) The windows system directory
2) The OpenSSl binaries (/bin) directory

I always went with the default. Should I try the other one?

In a nutshell, no OpenSSL could be installed on my laptop. I also tried others from the internet and neither worked. I even tried a OpenSSl64bit version and installation failed in the same way.


here are all the versions of Microsoft Visual C++ that I have installed



I installed it.

Unfortunately, I could not successfully install OpenSSL afterwards...

I am about to throw my laptop out of the window.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
1714041427
Hero Member
*
Offline Offline

Posts: 1714041427

View Profile Personal Message (Offline)

Ignore
1714041427
Reply with quote  #2

1714041427
Report to moderator
1714041427
Hero Member
*
Offline Offline

Posts: 1714041427

View Profile Personal Message (Offline)

Ignore
1714041427
Reply with quote  #2

1714041427
Report to moderator
1714041427
Hero Member
*
Offline Offline

Posts: 1714041427

View Profile Personal Message (Offline)

Ignore
1714041427
Reply with quote  #2

1714041427
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714041427
Hero Member
*
Offline Offline

Posts: 1714041427

View Profile Personal Message (Offline)

Ignore
1714041427
Reply with quote  #2

1714041427
Report to moderator
1714041427
Hero Member
*
Offline Offline

Posts: 1714041427

View Profile Personal Message (Offline)

Ignore
1714041427
Reply with quote  #2

1714041427
Report to moderator
1714041427
Hero Member
*
Offline Offline

Posts: 1714041427

View Profile Personal Message (Offline)

Ignore
1714041427
Reply with quote  #2

1714041427
Report to moderator
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 04, 2011, 06:06:28 AM
 #2

The OpenSSL Windows build wants a specific version of the VC++ 2008 redistributable. I would recommend removing the existing redistributable, installing this one, then installing OpenSSL, then reinstalling (or updating) any other necessary MS components.

64-bit
32-bit

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
metonymous
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
May 04, 2011, 06:44:12 AM
 #3

error's likely correct.

but have you considered using a pure python SSL/TLS implementation?

http://trevp.net/tlslite/

It'd solve (AFAIK) all possible "platform" issues, and can use native code if it's installed.

I'd have a go myself for a bounty, but this one I can't work at, having no Win7 x64 workstation.

--

handy post? tips welcome 1GuUFxdQMCpdKeLte33q7vgt7Qr5f58VCk
Reto
Newbie
*
Offline Offline

Activity: 101
Merit: 0


View Profile
May 04, 2011, 07:14:37 AM
 #4

I had this problem, and I managed to find a solution.

The installation of OpenSSL freezes because it doesn't have rights to modify the Windows PATH.

So that means, you need to add it manually.

On Windows 7, you would open the Start Menu, right click Computer, and select Properties.
Open "Advanced System Settings."
Click "Environment Variables."
Look for PATH, and click Edit.
At the beginning, add: C:\OpenSSL-Win32 and end it with a semicolon. No spaces.

Example:

C:\OpenSSL-Win32;C:\(otherstuff)...

It may be different with a 64 bit OS, but I'm running Windows 7 64 bit and using the 32 bit version of OpenSSL fine.

OpenSSL should be working after this, I was able to compile Namecoin on Windows.
S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 04, 2011, 08:40:44 PM
 #5

Hi Reto,

i did exactly what you described. I have windows 7 64 bit. I changed the windows settings, added the additional info on the path.

Then, unfortunately the OpenSSL 32 light installation stopped at the same point as before. (should I reboot before trying that?)

Perhaps I soon need to uninstall other OpenSSL versions, in line with what "error" described.

S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 04, 2011, 09:06:30 PM
 #6

The OpenSSL Windows build wants a specific version of the VC++ 2008 redistributable. I would recommend removing the existing redistributable, installing this one, then installing OpenSSL, then reinstalling (or updating) any other necessary MS components.

64-bit
32-bit

thanks.

Before I start this, should I remove ALL of the redistributables (just to ensure I dont crash my entire system..)

Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
May 05, 2011, 12:01:35 AM
 #7

since we've not heard from S3052 since this message it's safe to assume he's been killed by his machine in the process.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 05, 2011, 05:08:19 PM
 #8

Nope, I just slept...

I will try to do the uninstall / install tonight and then report back to you

S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 05, 2011, 06:42:32 PM
 #9

The OpenSSL Windows build wants a specific version of the VC++ 2008 redistributable. I would recommend removing the existing redistributable, installing this one, then installing OpenSSL, then reinstalling (or updating) any other necessary MS components.

64-bit
32-bit

So..
1) I have deinstalled all VC++ redistributables
2) Installed the 64bit version of VC++ per your attached link
3) now I am looking for the 64bit version of OpenSSL.

How do I get this one?

EDIT
I got one here:
http://win32-openssl.soft-ware.net/downloads.asp#dl2
Then downloaded the 64bit version and it all looked good until the last millimeters on the progress indicator.. then STOPPED and crash as all the times before in the installation processs.
SH.......

HELPplease...

I committ suicide...

error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 05, 2011, 07:57:32 PM
 #10

The "official" OpenSSL binaries are here.

64 bit
32 bit

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 05, 2011, 08:11:38 PM
 #11

I have tried to install at least 5 different versions of OpenSSl and ALL crashed in the latter half of the installation.

It would be great to know how to fix it.

error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 05, 2011, 08:12:38 PM
 #12

I have tried to install at least 5 different versions of OpenSSl and ALL crashed in the latter half of the installation.

It would be great to know how to fix it.

Are you going to be around a while? If so, I can chat with you on IRC. I'm probably gonna have to break out my virtual machine again. Smiley

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 05, 2011, 08:28:15 PM
Last edit: May 05, 2011, 09:19:54 PM by S3052
 #13


EDIT: Still does not work..

If you can propose some fixes that work, I add another 10 BTC to the bounty of Nefario, making it a  total of 25 BTC.

error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 05, 2011, 09:36:15 PM
 #14

I am on IRC now with nick S3052

Yep. Sorry we didn't have enough time while there to figure this out.

For what it's worth the OpenSSL included from nefario's download page is installing properly for me. What's more, is for some reason I can't seem to get the installer to generate a log file which might help figure out what's going wrong on your system.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 05, 2011, 10:50:52 PM
Last edit: May 05, 2011, 11:13:08 PM by error
 #15

OK, I gave up and decided to rebuild OpenSSL for Windows from source myself.

Download this package, unzip it, and copy the two .dll files into C:\Windows\SysWOW64 folder.

(In case there's any concern, my entire build tree is here.)

At that point, install the rest of the stuff, go to C:\bm in the command prompt from his prompt.bat, and then type 'bmc.py register'. If it works, then you're all set. (If you're following the tutorial, on Windows you have to type bmc.py instead of bmc.)

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 06, 2011, 05:26:36 AM
 #16

OK, I gave up and decided to rebuild OpenSSL for Windows from source myself.

Download this package, unzip it, and copy the two .dll files into C:\Windows\SysWOW64 folder.

(In case there's any concern, my entire build tree is here.)

At that point, install the rest of the stuff, go to C:\bm in the command prompt from his prompt.bat, and then type 'bmc.py register'. If it works, then you're all set. (If you're following the tutorial, on Windows you have to type bmc.py instead of bmc.)

Thanks a lot. I did exactly what you described. Do I still need to try installing an OpenSSSL program after that or do your 2 files cover that?
By the way , I tried bitcoinmarket.py afterwards and I still get the same error message.

"Traceback <most recent call last>:
 File "C....\blackmarket.py, line 10, in <module>
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.uitl"

error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 06, 2011, 05:41:51 AM
 #17

OK, I gave up and decided to rebuild OpenSSL for Windows from source myself.

Download this package, unzip it, and copy the two .dll files into C:\Windows\SysWOW64 folder.

(In case there's any concern, my entire build tree is here.)

At that point, install the rest of the stuff, go to C:\bm in the command prompt from his prompt.bat, and then type 'bmc.py register'. If it works, then you're all set. (If you're following the tutorial, on Windows you have to type bmc.py instead of bmc.)

Thanks a lot. I did exactly what you described. Do I still need to try installing an OpenSSSL program after that or do your 2 files cover that?
By the way , I tried bitcoinmarket.py afterwards and I still get the same error message.

"Traceback <most recent call last>:
 File "C....\blackmarket.py, line 10, in <module>
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.uitl"

Hm, did you install the M2Crypto package?

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 06, 2011, 06:12:22 AM
 #18

I did as part of the setup package on github from nefario.

but maybe something went wrong.

do you have the M2Crypto package separately?
Or can I confirm somewhere that the  M2Crypto package is properly installed and works?

error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 06, 2011, 06:16:24 AM
 #19

I did as part of the setup package on github from nefario.

but maybe something went wrong.

do you have the M2Crypto package separately?
Or can I confirm somewhere that the  M2Crypto package is properly installed and works?

Maybe something did go wrong. That error sounds like it isn't installed. Maybe try reinstalling M2Crypto?

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
May 06, 2011, 06:50:15 AM
 #20

I did as part of the setup package on github from nefario.

but maybe something went wrong.

do you have the M2Crypto package separately?
Or can I confirm somewhere that the  M2Crypto package is properly installed and works?

Maybe something did go wrong. That error sounds like it isn't installed. Maybe try reinstalling M2Crypto?

I have just done that.

Success!!!!!!!!!!!!!!!

you made it!!!!!

send me your bitcoin address and I send you the 10 btc.

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!