Author

Topic: 15BTC to fix problem with python/openssl on Win7 for stock market client[PAID] (Read 11710 times)

hero member
Activity: 994
Merit: 1000
Just a note on what Reto said earlier; I had the same problem with openssl not installing/working properly (as in, installer froze, couldn't type openssl in prompt).

It looks like it is putting the files on hdd, but not setting paths indeed. Reto suggested adding C:\openssl-win32\ directory to path, but the actual executable is in c:\openssl-win32\bin, so adding that instead allowed me to use it.

Now that I can use it...what exactly do I use it for? I mean...bmc.py was already working for me before I added the paths stuff before...so was it just working while not using SSL? and now it is?
hero member
Activity: 602
Merit: 512
GLBSE Support [email protected]
Can you give us more information about your system setup?

Which version of python have you installed?
legendary
Activity: 1386
Merit: 1000
Maybe try reinstalling M2Crypto?

I have just done that.

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

I have Windows 7 x64,
I reinstalled m2crypto 32-bit version, but still have

Quote
import __m2crypto
ImportError: DLL load failed: The specified module could not be found.

Where do you get 64-bit distributive of M2Crypto ?
hero member
Activity: 588
Merit: 500
I've received BTC from both of you. Thanks again, and trade well!
legendary
Activity: 2100
Merit: 1000
Bitcoins sent.

thanks again, error!!!!!
hero member
Activity: 602
Merit: 512
GLBSE Support [email protected]
And the winner is error!

Well done, your btc has already deen sent to you.
hero member
Activity: 588
Merit: 500
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.


Woohoo! Congrats!

PM sent. Smiley Thanks!
legendary
Activity: 2100
Merit: 1000
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.
hero member
Activity: 588
Merit: 500
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?
legendary
Activity: 2100
Merit: 1000
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?
hero member
Activity: 588
Merit: 500
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 :
 File "C....\blackmarket.py, line 10, in
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.uitl"

Hm, did you install the M2Crypto package?
legendary
Activity: 2100
Merit: 1000
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 :
 File "C....\blackmarket.py, line 10, in
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.uitl"
hero member
Activity: 588
Merit: 500
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.)
hero member
Activity: 588
Merit: 500
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.
legendary
Activity: 2100
Merit: 1000

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.
hero member
Activity: 588
Merit: 500
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
legendary
Activity: 2100
Merit: 1000
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.
hero member
Activity: 588
Merit: 500
legendary
Activity: 2100
Merit: 1000
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...
legendary
Activity: 2100
Merit: 1000
Nope, I just slept...

I will try to do the uninstall / install tonight and then report back to you
hero member
Activity: 602
Merit: 512
GLBSE Support [email protected]
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.
legendary
Activity: 2100
Merit: 1000
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..)
legendary
Activity: 2100
Merit: 1000
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.
newbie
Activity: 101
Merit: 0
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.
newbie
Activity: 29
Merit: 0
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
hero member
Activity: 588
Merit: 500
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
hero member
Activity: 602
Merit: 512
GLBSE Support [email protected]
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.
https://bitcointalksearch.org/topic/stock-exchange-testing-round-3-6500

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.
Jump to: