Bitcoin Forum
December 06, 2016, 12:28:54 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 »
  Print  
Author Topic: Pywallet 2.2: manage your wallet [Update required]  (Read 137306 times)
noises
Newbie
*
Offline Offline

Activity: 13


View Profile
December 22, 2013, 12:10:54 PM
 #381

Ok, so I need to install Python 2.7 with twisted package, then use python.py. The problem is that any time I try to open it this appears:

http://imgur.com/HujMmKJ

Any help? (oh obviously I'm an idiot and I deleted the wallet along with all the OS, then recovered with Recuva but the bitcoin client doesn't like it)
1481027334
Hero Member
*
Offline Offline

Posts: 1481027334

View Profile Personal Message (Offline)

Ignore
1481027334
Reply with quote  #2

1481027334
Report to moderator
1481027334
Hero Member
*
Offline Offline

Posts: 1481027334

View Profile Personal Message (Offline)

Ignore
1481027334
Reply with quote  #2

1481027334
Report to moderator
1481027334
Hero Member
*
Offline Offline

Posts: 1481027334

View Profile Personal Message (Offline)

Ignore
1481027334
Reply with quote  #2

1481027334
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481027334
Hero Member
*
Offline Offline

Posts: 1481027334

View Profile Personal Message (Offline)

Ignore
1481027334
Reply with quote  #2

1481027334
Report to moderator
1481027334
Hero Member
*
Offline Offline

Posts: 1481027334

View Profile Personal Message (Offline)

Ignore
1481027334
Reply with quote  #2

1481027334
Report to moderator
ninjaboon
Legendary
*
Offline Offline

Activity: 1512



View Profile WWW
December 26, 2013, 10:54:52 AM
 #382

what is the --otherversion for PPC (peercoin) and TGC (tigercoin) ?
any wiki?

Krellan
Member
**
Offline Offline

Activity: 105


View Profile
January 21, 2014, 10:47:09 AM
 #383

Nice!

I got pywallet running, and it helped me to scrub out an old 0/unconfirmed transaction that I hadn't paid enough transaction fee to clear.

Had to make a small change, to get it to run on Gentoo Linux.

Unfortunately, Gentoo packaged the bsddb library under the name "bsddb3" which is incorrect, and breaks pywallet.  This works around that breakage, by trying to import from bsddb3 if bsddb fails.  Exactly the same library, but different name.

Here's the pull request for this: https://github.com/jackjack-jj/pywallet/pull/6

Josh

1JUZr4TZ5zuB4WdEv4mrhZMaM7yttpJvLG Smiley
madmartyk
Legendary
*
Offline Offline

Activity: 1036


Yes I am a pirate, 300 years too late!


View Profile
January 28, 2014, 04:05:03 PM
 #384

what is the --otherversion for PPC (peercoin) and TGC (tigercoin) ?
any wiki?

I'm trying to figure out Batcoin & Piratecoin myself.
Gramps
Newbie
*
Offline Offline

Activity: 7


View Profile
January 29, 2014, 12:53:04 PM
 #385

I am having trouble dumping my wallet. I am running the command
Code:
./pywallet.py --dumpwallet --passphrase=[PASS]
and the output is
Code:
Traceback (most recent call last):
  File "pywallet.py", line 5010, in <module>
    db_env = create_env(db_dir)
  File "pywallet.py", line 1269, in create_env
    r = db_env.open(db_dir, (DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_THREAD|DB_RECOVER))
bsddb.db.DBRunRecoveryError: (-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -- unable to join the environment')

Does anyone know what to do?

UPDATE: I deleted everything except the wallet.dat in my bitcoin directory, and now when I run the command the output is
Code:
Segmentation fault: 11

I am running Mac OS 10.7. Has anyone seen this problem before?
madmartyk
Legendary
*
Offline Offline

Activity: 1036


Yes I am a pirate, 300 years too late!


View Profile
January 30, 2014, 02:50:33 PM
 #386

OK, I had a corrupt wallet.  Dumped it and it says 80 keys (seems a bit low), import the keys to a blank wallet and my solo mined coins are there but not my pool mined ones.  I had a second address setup for the pool mined coins.  When I try to add it back I get a "Not Yours".  Rescanning the bad HD, maybe the recover on the wallet was bad.  Any thoughts on why it wouldn't recover a 2nd address from the Private Keys?
Aleksey73
Newbie
*
Offline Offline

Activity: 9


View Profile
February 11, 2014, 01:18:33 AM
 #387

Hello. Please tell me whether it is possible to edit your program DOGE wallet? Need to delete 0/unconfirmed transactions.
Booth21209
Newbie
*
Offline Offline

Activity: 3


View Profile
February 20, 2014, 04:41:06 AM
 #388

Hello JackJack,

Sorry if there is a better way to go about asking you for help, but.......

For some reason, whenever I attempt to run pywallet --recover (with all the other parameters, and the correct passphrase for the encrypted wallet) in my %appdata% folder, it tells me that it pops out an "Error (13, Permission Denied)" and tells me it can't access any of the directories on my HDD.


Although, if I point it directly towards one of the recovered wallet.dat files that I retrieved using Recuva (they had been deleted on Feb.7th due to a system refresh that did not create a windows.old folder for me to restore my Appdata for reasons unbeknownst), no matter what --passphrase I use, it tells me that it was correct and that 0 keys were found.


I was forced to use the recovery option in the first place because I was not able to dump the private keys from the recovered wallets (it told me that Bitcoin-qt was running and that I needed to shut it down, even though I have Litecoins), although I could recover the keys fine from a brand new wallet. So I assumed that that meant the wallets are damaged beyond repair and I just need to let the recovery brute force the keys. The problem is, though, that pywallet somehow is not being given access, even though I am the admin, and have even given the ownership of the entire c: drive to my user account. I input the recovery parameters for pywallet according to what you posted earlier (adjusting the recover size from 30gb, putting in my User directory, and adding --otherversion=48 because these are litecoins) to no avail.


the strangest thing about all of this is when I used --dumpwallet, pywallet had to have been able to gain access to my C:\ drives otherwise  it wouldn't have been able to extract any keys from the fresh wallet.dat that I created to make sure that pywallet was working.


Sorry for the wall of text, I hope this is sufficient enough, the only debug info I have gotten is that it thought that bitcoin-qt was still on, and that it cannot access my C:\ drive.
madmartyk
Legendary
*
Offline Offline

Activity: 1036


Yes I am a pirate, 300 years too late!


View Profile
February 20, 2014, 12:32:50 PM
 #389

I used pywallet to recover my wallets for piratecoin, batcoin, klondikecoin and a bunch others.  I had a bunch of corrupt wallets, what worked best for me is to format a small thumb drive.  Drop the wallet file on it, and scan the drive for keys.  Long process, but it worked like a champ.  Wrote a batch file to put the private kays back into a new wallet and everything was back. 
Got to thank JackJack for providing this tool, and the millions of threads around the internet for different ways of using it!!
Booth21209
Newbie
*
Offline Offline

Activity: 3


View Profile
February 21, 2014, 02:43:44 AM
 #390

So I did that and it gave me access to the f: drive (my thumb drive), but if I directed it to a specific folder in f:, it said permission denied again.

Scanning the whole drive worked, though, and returned 0 keys. Even when I gave it the correct passphrase for the encrypted.

Although, I still have not given up hope.

When I was looking at the hex for the file, I found alot of lines that begin and end with the same series of bytes.

If these are my encrypted wallet keys (all keys begin and end with the same bytes, right?), would I be able to decrypt them with my passphrase?

madmartyk
Legendary
*
Offline Offline

Activity: 1036


Yes I am a pirate, 300 years too late!


View Profile
February 21, 2014, 12:09:06 PM
 #391

pywallet.py --dumpwallet --datadir g:\  --wallet=wallet.dat --recover --recov_device=g:\wallet.dat --recov_size=40Gio --recov_outputdir=c:\recover

This is what I used, if you want a file with the keys (what I did) add a >> dump.text at the end.  You will see nothing on the screen but you have to enter newpassphrase, oldpassphrase, enter
It will scan the drive (make sure the ##Gio is bigger than the drive) and dump any keys it finds to the text file.  You can then take the private keys and import them into a new wallet.
jubalix
Legendary
*
Offline Offline

Activity: 1330


View Profile
February 22, 2014, 07:51:34 AM
 #392

Hi I am seeking some help

What is the version for LTC addresses?

I found out the 55 is the volume number for PPC.

Also how do you point the pywallet at different block chains.

when you want to check and address e.g. LTC and PPC.

How can you make a transaction with pywallet can this be done?

Thank you in advance.
I think

DogeCoin is volume 30
LTC is volume 48
PPC is volume 55

::CoinWatch:: watch your PPC/BTC/LTC addresses and get a running balance, no QT, no private keys, no passwords, no logins no, sign ups.
drakoin
Hero Member
*****
Offline Offline

Activity: 742

see my profile


View Profile
February 26, 2014, 06:04:35 AM
 #393

Code:
Transaction too large
Code:
Error: Transaction creation failed

Is there an elegant way in your pywallet to solve that?

I have not yet used pywallet - perhaps that this happens to me means that I should start to look into it now?  :-)


More details there:
https://bitcointalk.org/index.php?topic=397916.msg5378737#msg5378737

It must be a well known problem.

I guess I understand where it comes from - but not how to solve it.

Perhaps by "renormalization"?  Make 100 tx of 20 inputs, then 5 tx of 20 inputs? then 1 tx of 5 inputs? Ready?  
Do you have such a scrypt? What are good numbers to try with?


no sign of a signature
Booth21209
Newbie
*
Offline Offline

Activity: 3


View Profile
February 26, 2014, 05:26:32 PM
 #394

pywallet.py --dumpwallet --datadir g:\  --wallet=wallet.dat --recover --recov_device=g:\wallet.dat --recov_size=40Gio --recov_outputdir=c:\recover

This is what I used, if you want a file with the keys (what I did) add a >> dump.text at the end.  You will see nothing on the screen but you have to enter newpassphrase, oldpassphrase, enter
It will scan the drive (make sure the ##Gio is bigger than the drive) and dump any keys it finds to the text file.  You can then take the private keys and import them into a new wallet.


I have tried this, but whenever I use the --dumpwallet function, it says that Bitcoin-QT is running and needs to be closed.


The Bitcoin-QT is not running, so I think it might just be that the wallet is too corrupted to salvage using pywallet  Undecided


As far as I can tell, my only hope is to take the hex that is in the file and find some way to extract the keys from my encrypted wallet. So if anyone can tell how to decrypt the wallet (I have the passphrase) without the Litecoin-QT, then what string of bytes to look for, that would be great.


Thanks to everyone for all the help, though.
drakoin
Hero Member
*****
Offline Offline

Activity: 742

see my profile


View Profile
February 27, 2014, 01:55:28 AM
 #395

Code:
Transaction too large
Code:
Error: Transaction creation failed
Is there an elegant way in your pywallet to solve that?
I have not yet used pywallet - perhaps that this happens to me means that I should start to look into it now?  :-)

FYI:

I solved my problem with the 2000 tiny transactions - without pywallet, by scripted sending of ~50 small transactions.

Here's today's logbook ... what an interesting day - problems are great :-)
https://bitcointalk.org/index.php?topic=488167.msg5396066#msg5396066

and below it my script that solved it.

no sign of a signature
arnuschky
Hero Member
*****
Offline Offline

Activity: 501


View Profile
March 12, 2014, 03:57:27 PM
 #396


Is it really required to run -rescan every time I want to remove unconfirmed transactions? I did it today on my desktop, and a few hours later the thing is still scanning! Any way to get around this? How handle businesses this downtime?
Speaker
Full Member
***
Offline Offline

Activity: 154

Veronica <333


View Profile
March 25, 2014, 04:34:35 PM
 #397

If someone wants to fix my wallet, I'll give you 0.5btc (quick almost 300$ for most of you). It only has 2.8btc on it (possibly more)

Looking for trusted members only, you have to have good rep and I gotta see what you're doing via teamviewer.

PM me.

I would do this myself but it keeps fucking up.
tugvarish
Jr. Member
*
Offline Offline

Activity: 30


View Profile
April 03, 2014, 03:40:26 AM
 #398

what is the --otherversion for PPC (peercoin) and TGC (tigercoin) ?
any wiki?

I'm trying to figure out Batcoin & Piratecoin myself.

Ask or check your addresses and use any of these charts:

http://cryptolife.net/upwg/
https://en.bitcoin.it/wiki/List_of_address_prefixes
tugvarish
Jr. Member
*
Offline Offline

Activity: 30


View Profile
April 03, 2014, 05:26:05 AM
 #399

News: September 2013
....
The "--version" CLI option does not return the correct info... I don't know if you want me to file a bug report: then where? Or clone your GIT repo apply changes and push? Or just tell you here the correction:

Code:
--- pywalletorig.py Wed Apr 02 21:10:02 2014
+++ pywallet.py     Wed Apr 02 22:11:46 2014
@@ -4744,3 +4744,3 @@

-       parser = OptionParser(usage="%prog [options]", version="%prog 1.1")
+       parser = OptionParser(usage="%prog [options]", version="%prog "+pywversion)
tugvarish
Jr. Member
*
Offline Offline

Activity: 30


View Profile
April 03, 2014, 05:36:21 AM
 #400

Almost everything work fine when I use the CLI, but I have a problem with the web interface which I would like to use for simplicity and curiosity.
When I try to use it, this is what it shows in the browser:
Quote
Request did not return bytes

Request:
<Request at 0x4cb51e8 method=GET uri=/ clientproto=HTTP/1.1>

Resource:
<__main__.WIRoot instance at 0x04CB1DF0>

Value:


and this is on the console:

Quote
In [19]: %run pywallet.py --web
2014-04-02 22:33:24-0700 [-] Log opened.
2014-04-02 22:33:24-0700 [-] Starting server: 2014-04-02 22:33:24.084000
2014-04-02 22:33:24-0700 [-] Site starting on 8989
2014-04-02 22:33:24-0700 [-] Starting factory <twisted.web.server.Site instance at 0x04C9FB98>
2014-04-02 22:33:32-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [03/Apr/2014:05:33:32 +0000] "GET / HTTP/1.1" 500 238122 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"
2014-04-02 22:33:32-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [03/Apr/2014:05:33:32 +0000] "GET /favicon.ico HTTP/1.1" 200 14 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"


EDIT (after more testing...)
This is mainly happening in IPython with the %run magic; also causing the IPython instance to not function correctly after pywallet.py is interrupted by CTRL+C or forcing a quit by directing the browser to 'http://localhost:8989/quit.'
Control and escaped characters can be noticed at its prompt:



But instead, if we call the pywallet.py from the actual python executable called as a escaped IPython console command instance. by '!python(.exe) pywallet.py --web', then in this nested-Russian-Dolls-mode everything works.
... not optimal, since almost all of the IPython feature are defeated, but it works.

So could anybody help troubleshoot and fix this?  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!