Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core Wallet - Error running run-all-pytests.py / btcrecover.py #161

Closed
marcovandenberg opened this issue Nov 29, 2017 · 7 comments
Closed

Comments

@marcovandenberg
Copy link

Hi all,

I get this when I run the scripts in the title:

Traceback (most recent call last):
File "D:\Downloads\btcrecover-master\run-all-tests.py", line 79, in
print("Testing", full_version() + "\n")
File "D:\Downloads\btcrecover-master\btcrecover\btcrpass.py", line 52, in full_version
calcsize("P") * 8,
TypeError: Struct() argument 1 must be string, not unicode

I followed the installation instructions meticulously as far as I am aware. Googling this error doesn't produce much, and unfortunately I don't know python myself.

I'd appreciate any guidance.

@marcovandenberg
Copy link
Author

If it helps, I'm on Win10 64 bit.

@NoobAlert
Copy link

Same problem here - HELP!

@devlo
Copy link

devlo commented Dec 3, 2017

Same here, 64 bit version of Python 2.7, on 32 bit version it works fine.

@JCreazy
Copy link

JCreazy commented Dec 6, 2017

I have the same exact issue. Both with 32 bit and 64 bit versions of Python. Perhaps there is an error in the code. I don't know much about coding and I certainly don't know enough about Python to fix it. Maybe an expert can weight in.

@marcovandenberg
Copy link
Author

I got this working eventually. Hopefully it can help some of you recover your wallets. The problem is that I misread one of the download pages. The page where we download the Python 2.7 release. Don't scroll down the page looking for the latest 2.7 release, the latest release is at the very top on the first page, it reads "Latest Python 2 Release - Python 2.7.14"

Once I did that and installed the right one, I could get the 32 bit and 64 bit versions running.

@gurnec
Copy link
Owner

gurnec commented Dec 12, 2017

Glad you figured it out, I'll update the install docs to be more clear.

@gurnec gurnec closed this as completed in c1f4c70 Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@marcovandenberg @gurnec @devlo @NoobAlert @JCreazy and others