Bitcoin Forum

Bitcoin => Electrum => Topic started by: ThomasV on March 02, 2015, 01:54:29 PM



Title: Electrum 2.0 release
Post by: ThomasV on March 02, 2015, 01:54:29 PM
The electrum.org website was updated with 2.0 source packages. Executables for windows and OSX will be released soon.

The release notes are a bit dense, due to the large amount of changes and new features in this release. In the coming weeks we will be adding more detailed documentation to the wiki and to the website.

There has been a very long hiatus in Electrum releases, because it took me a lot of time to decide about the new seed derivation method and wallet structure. Now that this part is done, I hope that we will resume to a faster release pace.

I would like to thank all the people who contributed to this release: developers, beta testers, and ordinary users who provided useful feedback.

Cheers,

Thomas

_____________________________

RELEASE-NOTES

# Release 2.0

* Before you upgrade, make sure you have saved your wallet seed on
paper.

* Documentation is now hosted on a wiki: http://electrum.orain.org

* New seed derivation method (not compatible with BIP39). The seed
phrase includes a version number, that refers to the wallet
structure. The version number also serves as a checksum, and it
will prevent the import of seeds from incompatible wallets. Old
Electrum seeds are still supported.

* New address derivation (BIP32). Standard wallets are single account
and use a gap limit of 20.

* Support for Multisig wallets using parallel BIP32 derivations and
P2SH addresses ("2 of 2", "2 of 3").

* Compact serialization format for unsigned or partially signed
transactions, that includes the BIP32 master public key and
derivation needed to sign inputs. Serialized transactions can be
sent to cosigners or to cold storage using QR codes (using Andreas
Schildbach's base 43 idea).

* Support for BIP70 payment requests:
- Verification of the chain of signatures uses tlslite.
- In the GUI, payment requests are shown in the 'Invoices' tab.

* Support for hardware wallets: Trezor (Satoshilabs) and Btchip (Ledger).

* Two-factor authentication service by TrustedCoin. This service uses
"2 of 3" multisig wallets and Google Authenticator. Note that
wallets protected by this service can be deterministically restored
from seed, without Trustedcoin's server.

* Cosigner Pool plugin: encrypted communication channel for multisig
wallets, to send and receive partially signed transactions.

* Audio Modem plugin: send and receive transactions by sound.

* OpenAlias plugin: send bitcoins to aliases verified using DNSSEC.

* New 'Receive' tab in the GUI:
- create and manage payment requests, with QR Codes
- the former 'Receive' tab was renamed to 'Addresses'
- the former Point of Sale plugin is replaced by a resizeable
window that pops up if you click on the QR code

* The 'Send' tab in the Qt GUI supports transactions with multiple
outputs, and raw hexadecimal scripts.

* The GUI can connect to the Electrum daemon: "electrum -d" will
start the daemon if it is not already running, and the GUI will
connect to it. The daemon can serve several clients. It times out
if no client uses if for more than 5 minutes.

* The install wizard can be used to import addresses or private
keys. A watching-only wallet is created by entering a list of
addresses in the wizard dialog.

* New file format: Wallets files are saved as JSON. Note that new
wallet files cannot be read by older versions of Electrum. Old
wallet files will be converted to the new format; this operation
may take some time, because public keys will be derived for each
address of your wallet.

* The client accepts servers with a CA-signed SSL certificate.

* ECIES encrypt/decrypt methods, availabe in the GUI and using
the command line:
encrypt <pubkey> <message>
decrypt <pubkey> <message>

* The Android GUI has received various updates and it is much more
stable. Another script was added to Android, called Authenticator,
that works completely offline: it reads an unsigned transaction
shown as QR code, signs it and shows the result as a QR code.



Title: Re: Electrum 2.0 release
Post by: jackbox on March 02, 2015, 03:39:38 PM
The download page says no Trezor support in this initial release. When will it be available and why was it necessary to leave it out?


Title: Re: Electrum 2.0 release
Post by: ikydesu on March 02, 2015, 06:04:50 PM
Good news! Two-factor authentication service is what i need :D
btw how about if i already have wallet and want to upgrade to 2.0 ??? you can explain step by step?


~iki


Title: Re: Electrum 2.0 release
Post by: saverio on March 02, 2015, 08:38:27 PM
Standalone Executable for Windows gives me the following error:

Microsoft Visual C++ Runtime Library
Runtime Error!
R6034
An application has made an attempt to load the C runtime library incorrectly.


Title: Re: Electrum 2.0 release
Post by: ThomasV on March 02, 2015, 09:09:57 PM
Standalone Executable for Windows gives me the following error:

Microsoft Visual C++ Runtime Library
Runtime Error!
R6034
An application has made an attempt to load the C runtime library incorrectly.
see https://github.com/spesmilo/electrum/issues/1000


Title: Re: Electrum 2.0 release
Post by: saverio on March 02, 2015, 09:33:18 PM
Standalone Executable for Windows gives me the following error:

Microsoft Visual C++ Runtime Library
Runtime Error!
R6034
An application has made an attempt to load the C runtime library incorrectly.
see https://github.com/spesmilo/electrum/issues/1000

Thanks for the link, following it I fix the problem starting Electrum by a python script. I am sure you will fix the problem in the next releases


Title: Re: Electrum 2.0 release
Post by: Abdussamad on March 03, 2015, 04:15:25 AM
Openalias is pretty cool. It will allow you to use email addresses as bitcoin addresses.


Title: Re: Electrum 2.0 release
Post by: ThomasV on March 03, 2015, 11:16:35 AM
binaries for windows and osx have been uploaded, with trezor support.


Title: Re: Electrum 2.0 release
Post by: ThomasV on March 03, 2015, 12:53:48 PM
How do I turn on HW1 support?
you need to install from sources; HW1 is not supported in the current executables.


Title: Re: Electrum 2.0 release
Post by: pooya87 on March 03, 2015, 03:56:49 PM
is updating to the newest version of Electrum mandatory? or can i still use the old version that i have on my pc.


Title: Re: Electrum 2.0 release
Post by: Mitchell on March 03, 2015, 05:33:35 PM
I'm going to repeat the question I had last time, which sadly went unanswered:

you need to create a special wallet, that will contain only imported keys.
see https://electrum.orain.org/wiki/Frequently_Asked_Questions#Can_I_import_addresses_from_other_Bitcoin_clients.3F
Could you guys explain the reasoning behind this and is their anyway around it? I have some imported addresses that are important to me, so I'm going to stick with 1.9.8 for now, I guess.


Title: Re: Electrum 2.0 release
Post by: unamis76 on March 03, 2015, 07:26:56 PM
Any tutorial to use amodem? It's says it isn't recognized on terminal after I install it...


Title: Re: Electrum 2.0 release
Post by: roman.z on March 04, 2015, 07:50:47 AM
Hi unamis76,

I am the developer of amodem, and would be happy to help you with the installation.
Could you please run the following commands on your console (to make sure the package is installed correctly on your OS):


$ python -c "import platform; print(platform.platform())"
$ python -c "import amodem; print(amodem)"


Any tutorial to use amodem? It's says it isn't recognized on terminal after I install it...


Title: Re: Electrum 2.0 release
Post by: LMoras on March 04, 2015, 08:22:20 AM
Just upgraded. Looks nice, worked smoothly - good job! ...except for one thing:

There seem to be a hard limit of 5 decimals to be shown for all sums. This regardless of your choice of unit of measure (BTC, mBTC or bits). I happen to prefer BTC, but with merely 5 decimals, this will truncate a lot of my sums.

Why is there a hard limit of 5 decimals?
Is there a way, by means of console or whatever, to override this?

I want to see my satoshis! ;)


Title: Re: Electrum 2.0 release
Post by: medUSA on March 04, 2015, 09:16:27 AM
Downloaded it and installed it just now. The new wallet seed now has 13 words instead of 12 previously.

There seem to be a hard limit of 5 decimals to be shown for all sums. This regardless of your choice of unit of measure (BTC, mBTC or bits).

I have the full 8 decimal points when I select BTC as unit. Try to select "BTC", close preference window, then open again to adjust decimal points.


Title: Re: Electrum 2.0 release
Post by: cryptity on March 04, 2015, 11:50:03 AM
Im having issues with Electrum Sync'ing up, and when i click the network button the client freezes, i am restarting my pc now and will report back if anything changes / fixes its self.


*edit - No change, stuck in sync mode, it looks like it is connecting to a server, and i base that off the fact that ive seen a few different messages in the console tab.

ive also tried using the "wallet.synchronize()" option as well, and that did not fix it.

I'm having similar issue. Ubuntu 14.10 if it matters.


Title: Re: Electrum 2.0 release
Post by: Seldar on March 04, 2015, 05:37:56 PM
Hello

I've downloaded the portable and non-portable versions and I've got this message (Avast) :


Thank you
http://img15.hostingpics.net/pics/695955Capture.png (http://www.hostingpics.net/viewer.php?id=695955Capture.png)


Title: Re: Electrum 2.0 release
Post by: unamis76 on March 04, 2015, 08:20:33 PM
Hi unamis76,

I am the developer of amodem, and would be happy to help you with the installation.
Could you please run the following commands on your console (to make sure the package is installed correctly on your OS):


$ python -c "import platform; print(platform.platform())"
$ python -c "import amodem; print(amodem)"


Any tutorial to use amodem? It's says it isn't recognized on terminal after I install it...


Hello, thank you for your time in developing this tool. I saw the thread in which you presented this a while ago. Your reward was well deserved ;)

On to business: Altough it errors out on the console, amodem seems to be working directly inside electrum. I haven't had much time to fiddle with it, but it does broadcast the transaction audio. It still gives me an error on the console though.

Here's the output of what you requested

Code:
d*****@s*****:~$ python -c "import platform; print(platform.platform())"
Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
d****@s*****:~$ python -c "import amodem; print(amodem)"
<module 'amodem' from '/home/d****/.local/lib/python2.7/site-packages/amodem/__init__.pyc'>

Besides this, have you tried your tool with a Raspberry Pi? If so, can you recomend anything for audio input? Maybe a specific external/USB soundcard?

Thanks in advance :)


Title: Re: Electrum 2.0 release
Post by: nachoig on March 05, 2015, 01:54:42 AM
2 strange things in this release:

1. The default transaction fee was changed from 20000 satoshi (0.0002) to 50000 satoshi (0.0005 BTC) per kb, an increase of 150%. Why this change? Isn't this a little expensive?
2. The default unit was changed from BTC to mBTC.


Title: Re: Electrum 2.0 release
Post by: medUSA on March 05, 2015, 09:16:17 AM
2 strange things in this release:
1. The default transaction fee was changed from 20000 satoshi (0.0002) to 50000 satoshi (0.0005 BTC) per kb
2. The default unit was changed from BTC to mBTC.

Yes, I noticed the change in default fee. It's a bit high to default at 0.0005btc. You can change the default fee in "Tools/Preference" anyway.


Title: Re: Electrum 2.0 release
Post by: ThomasV on March 05, 2015, 01:04:36 PM
2 strange things in this release:
1. The default transaction fee was changed from 20000 satoshi (0.0002) to 50000 satoshi (0.0005 BTC) per kb
2. The default unit was changed from BTC to mBTC.

Yes, I noticed the change in default fee. It's a bit high to default at 0.0005btc. You can change the default fee in "Tools/Preference" anyway.

This is because the previous version was rounding the number of kilobytes in the transaction.
The new version uses the number of bytes to compute the fee, which is often smaller.


Title: Re: Electrum 2.0 release
Post by: jackbox on March 05, 2015, 01:25:47 PM
2 strange things in this release:
1. The default transaction fee was changed from 20000 satoshi (0.0002) to 50000 satoshi (0.0005 BTC) per kb
2. The default unit was changed from BTC to mBTC.

Yes, I noticed the change in default fee. It's a bit high to default at 0.0005btc. You can change the default fee in "Tools/Preference" anyway.

This is because the previous version was rounding the number of kilobytes in the transaction.
The new version uses the number of bytes to compute the fee, which is often smaller.

I have found that using a fee less than .0001 per kb results in the tx taking up to ten blocks or more to be mined. Better off paying .0001 per kb and getting the tx mined in one or two blocks.


Title: Re: Electrum 2.0 release
Post by: oda.krell on March 05, 2015, 07:41:35 PM
I have to say, 2.0 is amazing - works out of the box, and has exactly the features I was hoping for.

Great job, devs.


Title: Re: Electrum 2.0 release
Post by: wosch76 on March 06, 2015, 11:51:30 AM
How do I turn on HW1 support?
you need to install from sources; HW1 is not supported in the current executables.
Any reasons to why these aren't standard or are they not 100% ready?
I'm also interested in the answer to this.


Title: Re: Electrum 2.0 release
Post by: jackbox on March 06, 2015, 11:52:49 AM
How do I turn on HW1 support?
you need to install from sources; HW1 is not supported in the current executables.
Any reasons to why these aren't standard or are they not 100% ready?
I'm also interested in the answer to this.

And can someone give step by step instructions on compiling it with both HW1 and Trezor modules?


Title: Re: Electrum 2.0 release
Post by: stingleword on March 06, 2015, 07:28:57 PM
I'm going to repeat the question I had last time, which sadly went unanswered:

you need to create a special wallet, that will contain only imported keys.
see https://electrum.orain.org/wiki/Frequently_Asked_Questions#Can_I_import_addresses_from_other_Bitcoin_clients.3F
Could you guys explain the reasoning behind this and is their anyway around it? I have some imported addresses that are important to me, so I'm going to stick with 1.9.8 for now, I guess.
It appears this isn't technically correct. In 1.9.8, I used the importprivkey('5Key...') console command to add my own private keys, which still works; in 2.0 there is also Wallet > Private Keys > Import. It might not matter to you: I opened my 1.9.8 wallets with 2.0, had to enter my password once and wait for resync for each wallet to update, and now have no problems. 2.0 is much less flaky than 1.9.8 was for me (YMMV)


Title: Re: Electrum 2.0 release
Post by: ThomasV on March 06, 2015, 07:34:23 PM
How do I turn on HW1 support?
you need to install from sources; HW1 is not supported in the current executables.
Any reasons to why these aren't standard or are they not 100% ready?
I'm also interested in the answer to this.

it is because the developer who is doing the builds did not receive his HW1 yet


Title: Re: Electrum 2.0 release
Post by: jackbox on March 06, 2015, 07:42:01 PM
How do I turn on HW1 support?
you need to install from sources; HW1 is not supported in the current executables.
Any reasons to why these aren't standard or are they not 100% ready?
I'm also interested in the answer to this.

it is because the developer who is doing the builds did not receive his HW1 yet

That does not explain the lack of Trezor support also in this current build.


Title: Re: Electrum 2.0 release
Post by: Mitchell on March 06, 2015, 08:13:32 PM
It appears this isn't technically correct. In 1.9.8, I used the importprivkey('5Key...') console command to add my own private keys, which still works; in 2.0 there is also Wallet > Private Keys > Import. It might not matter to you: I opened my 1.9.8 wallets with 2.0, had to enter my password once and wait for resync for each wallet to update, and now have no problems. 2.0 is much less flaky than 1.9.8 was for me (YMMV)
Oh, I see. Thanks stingleword! I wonder why they would add something like that to their FAQ if it isn't technically correct. Well, let's try 2.0!

EDIT: A new icon once again? Hmmm, it looks pretty good.
EDIT2: I got that C runtime error, but after that it worked like it should. Strange. Oh man, I can sweep address, sweet!
EDIT3: An invoice tab? That is freaking awesome! These are some amazing changes!


Title: Re: Electrum 2.0 release
Post by: Ozymandias on March 06, 2015, 08:15:46 PM
Thanks, have been using electrum for long time now  :D


Title: Re: Electrum 2.0 release
Post by: unamis76 on March 06, 2015, 11:35:31 PM
Still no luck setting up amodem. Anyone tried it? What's the best frequency?


Title: Re: Electrum 2.0 release
Post by: Q7 on March 07, 2015, 08:25:36 AM
Im having issues with Electrum Sync'ing up, and when i click the network button the client freezes, i am restarting my pc now and will report back if anything changes / fixes its self.


*edit - No change, stuck in sync mode, it looks like it is connecting to a server, and i base that off the fact that ive seen a few different messages in the console tab.

ive also tried using the "wallet.synchronize()" option as well, and that did not fix it.

I was having the same issue as well because basically i tried to do a clean installation by removing everything including the old version data file. I took me almost an hour to sync before its finally done and having to close and restart the program multiple times so that it will change to faster server. I believe it has to do with the number of transactions as basically mine is an active wallet having done more than 100 transactions. Just have to be patient then.


Title: Re: Electrum 2.0 release
Post by: niktitan132 on March 07, 2015, 09:20:31 AM
Seems like Electrum new version is a big update! I like it!  ;D

The new features are awesome.  :)


Title: Re: Electrum 2.0 release
Post by: knybe on March 08, 2015, 01:18:06 AM
Anyone have any luck running this on Mac 10.10.2?

Seems to hang and can't access anything when the app opens.


Title: Re: Electrum 2.0 release
Post by: TTom on March 08, 2015, 03:46:13 AM
Running it fine on 10.10.2 BUT and it's a BIG but, I did not set up a password for my wallet but I cannot send any BTC from my wallet without getting prompted for a password.  Which I never set up so my BTC are in prison right now.


Title: Re: Electrum 2.0 release
Post by: kkurtmann on March 08, 2015, 05:49:50 AM
Running it fine on 10.10.2 BUT and it's a BIG but, I did not set up a password for my wallet but I cannot send any BTC from my wallet without getting prompted for a password.  Which I never set up so my BTC are in prison right now.


you just enter no password, I mean leave blank and enter. had to edit this because I could totally see someone typing in "no password"


Title: Re: Electrum 2.0 release
Post by: roman.z on March 08, 2015, 08:37:27 AM
Still no luck setting up amodem. Anyone tried it? What's the best frequency?

Hi unamis,

I recommend using the following commands to test and calibrate the modem:

At the sender side, run:
$ BITRATE=1 amodem-cli send -vv -c auto

At the receiver's side, run (after the sender is running):
$ BITRATE=1 amodem-cli recv -vv -c auto

The sender will play a 2kHz tone, at maximum amplitude.
The receiver will try to find the best gain, such that the received audio will have the maximal amplitude that won't saturate the microphone.
It uses binary search method to adjust the gain via PulseAudio command-line utility, and it will take ~15 seconds to find the correct value for your setup.
If everything is OK, you would get "good signal" message with the coherency measure very close to 1.

Please attach the log, if there is a problem.


Title: Re: Electrum 2.0 release
Post by: roman.z on March 08, 2015, 08:47:32 AM
Hello, thank you for your time in developing this tool. I saw the thread in which you presented this a while ago. Your reward was well deserved ;)

On to business: Altough it errors out on the console, amodem seems to be working directly inside electrum. I haven't had much time to fiddle with it, but it does broadcast the transaction audio. It still gives me an error on the console though.

Besides this, have you tried your tool with a Raspberry Pi? If so, can you recomend anything for audio input? Maybe a specific external/USB soundcard?

Thanks in advance :)

Thanks for the good words :)

Regarding the console errors - could you please attach the error log?

I haven't tried running the modem on a RPi, but I guess that it would work with any ALSA-compatible audio USB card.
Acutally, it was exactly how I was testing it before switching to PortAudio (for better cross-platform support).
You can still use ALSA utils instead of PortAudio shared library, by using the following commands:

$ amodem send -i data.tx | aplay -f S16_LE -c 1 -r 32000
$ arecord -f S16_LE -c 1 -r 32000 | amodem recv -o data.rx

Since the RPi has much slower CPU than the average PC, it may not succeed handling the audio in real-time, so you may use a temporary file to buffer it.
You should also start with the lower bitrates, as they require less processing power.


Title: Re: Electrum 2.0 release
Post by: roman.z on March 08, 2015, 09:35:53 AM
P.S.
I would be happy to help with any amodem issues.
Please use GitHub's issue tracker: https://github.com/romanz/amodem/issues


Title: Re: Electrum 2.0 release
Post by: RustyNomad on March 09, 2015, 04:56:16 PM
Just downloaded Electrum 2.0.2 from the official website and download was stopped by Avast reporting a trojan (Win32:GenMalicious-BQF[Trj]), see image below.

Anybody else had this?

http://screencast.com/t/YATAshhXJrO (http://screencast.com/t/YATAshhXJrO)


Title: Re: Electrum 2.0 release
Post by: jackbox on March 09, 2015, 05:22:09 PM
Just downloaded Electrum 2.0.2 from the official website and download was stopped by Avast reporting a trojan (Win32:GenMalicious-BQF[Trj]), see image below.

Anybody else had this?

http://screencast.com/t/YATAshhXJrO (http://screencast.com/t/YATAshhXJrO)

I think a false positive. I am using with a Trezor so not much risk also since the private keys cannot be exported unless I am stupid and reveal my seed somehow. I scanned the Windows installer with Defender and it reported no viruses.


Title: Re: Electrum 2.0 release
Post by: emrebey on March 09, 2015, 09:46:31 PM
is there a changelog?

what's new w/ 2.0.2? just updated.


Title: Re: Electrum 2.0 release
Post by: btchris on March 09, 2015, 10:02:07 PM
is there a changelog?

what's new w/ 2.0.2? just updated.

The release notes are included in the downloads (and are in your install directory), or available online here: https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES (https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES)

The two issues mentioned in the release notes for 2.0.2:
  • https://github.com/spesmilo/electrum/issues/1066 (https://github.com/spesmilo/electrum/issues/1066)
  • https://github.com/spesmilo/electrum/issues/1054 (https://github.com/spesmilo/electrum/issues/1054)


Title: Re: Electrum 2.0 release
Post by: onealfa on March 10, 2015, 09:38:48 PM
Anywhere is explained in detail, how to use electrum 2.0 now with LEDGER WALLET (based on  BTCHIP)?

Also could not start  GREENBITs with LEDGER WALLET   either ( as was announced)
Any1 had a better luck?


Title: Re: Electrum 2.0 release
Post by: Mitchell on March 10, 2015, 09:50:36 PM
onealfa, HW-1 (and thus Ledger and BTCHIP) didn't make it into this release. You will have to build from source to get support for them.


Title: Re: Electrum 2.0 release
Post by: Mitchell on March 11, 2015, 03:52:17 PM
Will it have to wait until a 3.0 release or a 2.1 release?
I don't know, sorry.


Title: Re: Electrum 2.0 release
Post by: arorts on March 12, 2015, 07:49:26 AM
Hi,

I keep getting this message "Timed out while waiting for the magic character" after trying to send out BTC with Electrum 2.0. Yes, I did enter the right passhprase/PIN and fee amount.

Any ideas?

Thanks,


Title: Re: Electrum 2.0 release
Post by: stingleword on March 12, 2015, 12:27:37 PM
Hi,

I keep getting this message "Timed out while waiting for the magic character" after trying to send out BTC with Electrum 2.0. Yes, I did enter the right passhprase/PIN and fee amount.

Any ideas?

Thanks,

Sounds like your connection to the Electrum server had a problem. Try closing and relaunching Electrum (or going to the Network options page and manually selecting a different server).

(I am not an Electrum developer)


Title: Re: Electrum 2.0 release
Post by: arorts on March 12, 2015, 06:42:07 PM
Hi,

I keep getting this message "Timed out while waiting for the magic character" after trying to send out BTC with Electrum 2.0. Yes, I did enter the right passhprase/PIN and fee amount.

Any ideas?

Thanks,

Sounds like your connection to the Electrum server had a problem. Try closing and relaunching Electrum (or going to the Network options page and manually selecting a different server).

(I am not an Electrum developer)

Thanks.
This version seems to remain viciously buggy though:

 I didn't notice any server connectivity. It was showing as in sync and there didn't seem to be any apparent time out. It actually immediately popped after entering my PIN and all the inputs needed in the Send tab...

In fact, changing the server and restarting didn't make any difference at all. If I tried to send again, it'd show either this:

"<class 'trezorlib.messages_pb2.PublicKey'>, expected (<class 'trezorlib.messages_pb2.Success'>,)"

Or this other error:

"Tag had invalid wire type"

Or this:

 "Unexpected end-group tag"

None minimally user friendly or at least a bit more explanatory.  

Now my Bitcoin is stuck...  :-/


Title: Re: Electrum 2.0 release
Post by: ThomasV on March 12, 2015, 07:00:19 PM
Hi,

I keep getting this message "Timed out while waiting for the magic character" after trying to send out BTC with Electrum 2.0. Yes, I did enter the right passhprase/PIN and fee amount.

Any ideas?

Thanks,

Sounds like your connection to the Electrum server had a problem. Try closing and relaunching Electrum (or going to the Network options page and manually selecting a different server).

(I am not an Electrum developer)

Googling the error message shows that it is related to Trezor.


Title: Re: Electrum 2.0 release
Post by: arorts on March 12, 2015, 09:44:33 PM
Hi,

I keep getting this message "Timed out while waiting for the magic character" after trying to send out BTC with Electrum 2.0. Yes, I did enter the right passhprase/PIN and fee amount.

Any ideas?

Thanks,

Sounds like your connection to the Electrum server had a problem. Try closing and relaunching Electrum (or going to the Network options page and manually selecting a different server).

(I am not an Electrum developer)

Googling the error message shows that it is related to Trezor.

Ok. Mytrezor.com seems to be flawless and Trezor works great there. Perhaps it's the Trezor plug-in component for Electrum? The version I got was from the Electrum github and it seems to include Trezor support so not sure who actually developed that component. Where would it be the best place to report this?

(Edit: BTW, I found something else that might be an actual Electrum issue with 2.0 version --> I was able to hit Broadcast button twice (because I thought I hadn't clicked my mouse strong enough). There was no UI feedback at all the first time so then I just clicked on "Close" button afterwards only to find out that there were two tiny "Please wait..broadcasting" windows hidden in the background. So it seems that the wallet is not graying out/blocking duplicate broadcasting attempts correctly and secondly, the windows were very very tiny so I barely realized they were stacking up on top of each other...

I think this happened in the midst of an Internet connectivity issue I had....Hope this helps troubleshoot this additional issue I found).


Title: Re: Electrum 2.0 release
Post by: jjacob on March 13, 2015, 12:50:27 AM
I run Ubuntu and the version I have from "Ubuntu Software Center" is Electrum 1.9.7
When will the latest version be available in the official ubuntu packages?


Title: Re: Electrum 2.0 release
Post by: nachoig on March 13, 2015, 04:11:54 AM
I run Ubuntu and the version I have from "Ubuntu Software Center" is Electrum 1.9.7
When will the latest version be available in the official ubuntu packages?

It seems the package is just imported from Debian's repositores, so the answer is: never.

But it seems very easy to install it yourself,, you would just need to run these commands:

Code:
sudo apt-get install python-qt4 python-pip

Code:
sudo pip install https://download.electrum.org/Electrum-2.0.2.tar.gz

https://electrum.org/#download


Title: Re: Electrum 2.0 release
Post by: jjacob on March 15, 2015, 12:54:12 AM
It seems the package is just imported from Debian's repositores, so the answer is: never.

But it seems very easy to install it yourself,, you would just need to run these commands:

Code:
sudo apt-get install python-qt4 python-pip

Code:
sudo pip install https://download.electrum.org/Electrum-2.0.2.tar.gz

https://electrum.org/#download

People might not regularly check for latest versions.  :)
I was under the impression that this was one of the advantages of using linux. Centralized updation of all software so that you don't have to worry about security risks / using outdated software.


Title: Re: Electrum 2.0 release
Post by: nachoig on March 15, 2015, 05:18:50 AM
It seems the package is just imported from Debian's repositores, so the answer is: never.

But it seems very easy to install it yourself,, you would just need to run these commands:

Code:
sudo apt-get install python-qt4 python-pip

Code:
sudo pip install https://download.electrum.org/Electrum-2.0.2.tar.gz

https://electrum.org/#download

People might not regularly check for latest versions.  :)
I was under the impression that this was one of the advantages of using linux. Centralized updation of all software so that you don't have to worry about security risks / using outdated software.

No, Debian sucks a lot about packaging system and packaging policies about applications. They'll never update because this is their policy.

The big problem on Linux distros in general is because there isn't a separation between the system level and applications level. This is worsened because of the stupid policy of dynamic-compilingg, so if you your application needs a newer library, bye bye. Don't wait for official repos, do it yourself.


Title: Re: Electrum 2.0 release
Post by: nomnomnom on March 21, 2015, 02:23:03 PM
Hi,

I keep getting this message "Timed out while waiting for the magic character" after trying to send out BTC with Electrum 2.0. Yes, I did enter the right passhprase/PIN and fee amount.

Any ideas?

Thanks,
[...]

Thanks.
This version seems to remain viciously buggy though:

 I didn't notice any server connectivity. It was showing as in sync and there didn't seem to be any apparent time out. It actually immediately popped after entering my PIN and all the inputs needed in the Send tab...

In fact, changing the server and restarting didn't make any difference at all. If I tried to send again, it'd show either this:

"<class 'trezorlib.messages_pb2.PublicKey'>, expected (<class 'trezorlib.messages_pb2.Success'>,)"

Or this other error:

"Tag had invalid wire type"

Or this:

 "Unexpected end-group tag"

None minimally user friendly or at least a bit more explanatory.  

Now my Bitcoin is stuck...  :-/

I get the same , the last release which works fine for me is 2.0b3

I tried to do a git bisect, and the last commit which works solid here is: 5ee4a87f29bfa1d5e9a24affd6fcacdb2dc95ce5
and the problem seems to start with 18d16ba82c8c0a543b71d88c654a3a53d8956281

But the problem is sporadic with 18d16ba82... (can work multiple times in a row until it fails).
If there is this error message at startup:
Code:
BaseException: Duplicate master public key
it seems to work, if not I get those random weird errors.

But current git seems much worse and kinda always fails here...

Maybe something makes Trezor run into a timeout here and then weird stuff happens?:
https://github.com/trezor/python-trezor/blob/master/trezorlib/transport.py#L116

No idea how to further debug this problem :/




Title: Re: Electrum 2.0 release
Post by: nomnomnom on March 24, 2015, 03:50:02 PM
Hi,

I keep getting this message "Timed out while waiting for the magic character" after trying to send out BTC with Electrum 2.0. Yes, I did enter the right passhprase/PIN and fee amount.

Any ideas?

Thanks,
[...]

Thanks.
This version seems to remain viciously buggy though:

 I didn't notice any server connectivity. It was showing as in sync and there didn't seem to be any apparent time out. It actually immediately popped after entering my PIN and all the inputs needed in the Send tab...

In fact, changing the server and restarting didn't make any difference at all. If I tried to send again, it'd show either this:

"<class 'trezorlib.messages_pb2.PublicKey'>, expected (<class 'trezorlib.messages_pb2.Success'>,)"

Or this other error:

"Tag had invalid wire type"

Or this:

 "Unexpected end-group tag"

None minimally user friendly or at least a bit more explanatory.  

Now my Bitcoin is stuck...  :-/

I get the same , the last release which works fine for me is 2.0b3

I tried to do a git bisect, and the last commit which works solid here is: 5ee4a87f29bfa1d5e9a24affd6fcacdb2dc95ce5
and the problem seems to start with 18d16ba82c8c0a543b71d88c654a3a53d8956281

But the problem is sporadic with 18d16ba82... (can work multiple times in a row until it fails).
If there is this error message at startup:
Code:
BaseException: Duplicate master public key
it seems to work, if not I get those random weird errors.

But current git seems much worse and kinda always fails here...

Maybe something makes Trezor run into a timeout here and then weird stuff happens?:
https://github.com/trezor/python-trezor/blob/master/trezorlib/transport.py#L116

No idea how to further debug this problem :/




I just noticed, if I create a new wallet from my Trezor the issue goes away and it works fine.  ???
The only real difference between the wallet file seems to be that nextaccount is called nextaccount2 now.
So if someone has this problem  try to create a new wallet...


Title: Re: Electrum 2.0 release
Post by: BTCKaeufer on March 28, 2015, 02:26:06 PM
Hi ThomasV,

I have Electrum 2.0.3 running on Windows as well as Trezor.

When I wanted to set up a new wallet in Electrum based on Trezor it did not work. Then I have seen that I need to install a Trezor wallet plugin. I did not manage to do this.

My question/request for you would be: Couldn't Electrum already come with the Trezor plugin as a default? For an average user everything else is too complicated. This would significantly enhance the value of Electrum.

Thank you!

PS: When I want to download Electrum 2.0.4 as a Windows installer (https://electrum.org/#download), it always downloads the 2.0.3 setup exe.


Title: Re: Electrum 2.0 release
Post by: jackbox on March 28, 2015, 02:28:51 PM
Hi ThomasV,

I have Electrum 2.0.3 running on Windows as well as Trezor.

When I wanted to set up a new wallet in Electrum based on Trezor it did not work. Then I have seen that I need to install a Trezor wallet plugin. I did not manage to do this.

My question/request for you would be: Couldn't Electrum already come with the Trezor plugin as a default? For an average user everything else is too complicated. This would significantly enhance the value of Electrum.

Thank you!

PS: When I want to download Electrum 2.0.4 as a Windows installer (https://electrum.org/#download), it always downloads the 2.0.3 setup exe.

2.0.3 installer for Windows includes the Trezor plugin and by default it is on. Just set up a new hardware wallet and select Trezor with your Trezor plugged in. It should work.


Title: Re: Electrum 2.0 release
Post by: BTCKaeufer on March 29, 2015, 10:38:36 AM
Hi,

Thank you for your help. It works when Trezor is plugged in.

Suggestion to improve Electrum: When choosing the Trezor hardware wallet option, open up a message that says to plug in the Trezor instead of letting Electrum crash, if Trezor is not plugged in.

Thank you!


Title: Re: Electrum 2.0 release
Post by: jackbox on March 29, 2015, 10:48:27 AM
Hi,

Thank you for your help. It works when Trezor is plugged in.

Suggestion to improve Electrum: When choosing the Trezor hardware wallet option, open up a message that says to plug in the Trezor instead of letting Electrum crash, if Trezor is not plugged in.

Thank you!

Mine does not crash when Trezor not plugged in. Just goes into watch only mode. Shutting down is no problem. Plug in I had trouble with was Green Address Instant Confirmation so I disabled it.


Title: Re: Electrum 2.0 release
Post by: unamis76 on March 30, 2015, 04:57:40 PM
Still no luck setting up amodem. Anyone tried it? What's the best frequency?

Hi unamis,

I recommend using the following commands to test and calibrate the modem:

At the sender side, run:
$ BITRATE=1 amodem-cli send -vv -c auto

At the receiver's side, run (after the sender is running):
$ BITRATE=1 amodem-cli recv -vv -c auto

The sender will play a 2kHz tone, at maximum amplitude.
The receiver will try to find the best gain, such that the received audio will have the maximal amplitude that won't saturate the microphone.
It uses binary search method to adjust the gain via PulseAudio command-line utility, and it will take ~15 seconds to find the correct value for your setup.
If everything is OK, you would get "good signal" message with the coherency measure very close to 1.

Please attach the log, if there is a problem.

Finally got a (working) soundcard for my Raspberry Pi, and I am trying to setup amodem as it should be. Tried to run these commands, but it just says it can't find amodem-cli... What's up?

And roman.z, you can count me in if you wish to beta test on Raspberry hardware. This is a really nifty tool for cold storage... So let's make it work in the best cold storage device there is!


Title: Re: Electrum 2.0 release
Post by: saverio on April 02, 2015, 08:28:51 PM
Standalone Executable for Windows gives me the following error:

Microsoft Visual C++ Runtime Library
Runtime Error!
R6034
An application has made an attempt to load the C runtime library incorrectly.

some problem with version 2.0.4


Title: Re: Electrum 2.0 release
Post by: arorts on April 05, 2015, 10:45:42 AM
OMG. Electrum 2.0 seems to be infested with bugs everywhere !  Mac, Windows, Linux. It doesn't matter.
I just tried to restore  a wallet using the Mac version and got this error:
Quote
"Python int too large to convert to C long."
Really?



Title: Re: Electrum 2.0 release
Post by: BTCKaeufer on April 07, 2015, 04:18:42 PM
Hi ThomasV,

Trezor has come out with a new firmware version, which mandates the PIN to be entered before the public addresses are loaded:

"After updating your firmware to 1.3.3 you’ll notice a slight change when working with myTrezor.com, Mycelium for Android, MultiBit HD or any other TREZOR compatible applications. From now on each time you plug in your device, you’ll be requested to enter your PIN before your account balances and transaction history load. This way, we aim to improve your privacy protection and make sure that no unauthorized person can get access to any sensitive data or view your bitcoin wealth if you leave your TREZOR unattended."

This is a very useful privacy feature. I tried it with Electrum and when Trezor is plugged in it works. However, if I don't plug-in Trezor and open the wallet file, the watch-only wallet is loaded and shows all my BTC without the entry of my PIN. I would prefer that the wallet addresses are only loaded once I have plugged-in the wallet and entered the PIN. Not plugging-in the Trezor thus circumvents this privacy feature.

My question is: Is there a possibility to switch off the watch-only mode and to saved this preference in the wallet file? If not, I would like to submit a development request to make this available as this is a very useful privacy feature.

Thank you!


Title: Re: Electrum 2.0 release
Post by: BTCKaeufer on April 07, 2015, 04:25:58 PM
Sorry, I have to correct myself: Even with the Trezor plugged in it shows the transaction history before entering the PIN. Would be great if this could be changed as well.


Title: Re: Electrum 2.0 release
Post by: Bridgewater on April 08, 2015, 06:23:48 AM
onealfa, HW-1 (and thus Ledger and BTCHIP) didn't make it into this release. You will have to build from source to get support for them.

Is there anything more to building from source than the steps listed on electrum.org/download?  I installed by following the steps below, and I've got btchip-python fully installed and verified communication with the HW-1... but the btchip plugin checkbox is still greyed out.  

Code:
Development version

Install the dependencies.
  sudo apt-get install python-pip python-qt4 pyqt4-dev-tools

Check out the code from Github
  git clone git://github.com/spesmilo/electrum.git

  cd electrum
Compile the icons
  pyrcc4 icons.qrc -o gui/icons_rc.py

Compile protobuf description file
  protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto

Create translations
  ./contrib/make_locale

Install Electrum
  sudo python setup.py install


Title: Re: Electrum 2.0 release
Post by: Bridgewater on April 09, 2015, 03:28:50 AM
Create new wallet (Hardware wallet type) --> BTChip HW wallet. 

This is where my problem is - Electrum 2.1 does not give me the option to select a "hardware wallet" type.  That's why I was wondering if maybe there was an alternative way to install electrum to make sure all possible options are available.

As far as btchip-python goes,
I'm pretty sure I got the cython-hidapi and pyusb installed alright, because the test commands within the btchip-python all seem to communicate with the HW.1 properly.

Thanks a lot for your help!


Title: Re: Electrum 2.0 release
Post by: GoldenStone on April 09, 2015, 10:08:42 PM
Can someone please help me? I have Electrum 2.0.4 on windows 8.1 and i can't seem to send any bitcoins, I keep on getting the '0' error message. I would really appreciate some help as of right now my bitcoins are stuck.


Title: Re: Electrum 2.0 release
Post by: Bridgewater on April 10, 2015, 03:46:29 AM
Create new wallet (Hardware wallet type) --> BTChip HW wallet. 

This is where my problem is - Electrum 2.1 does not give me the option to select a "hardware wallet" type.  That's why I was wondering if maybe there was an alternative way to install electrum to make sure all possible options are available.

As far as btchip-python goes,
I'm pretty sure I got the cython-hidapi and pyusb installed alright, because the test commands within the btchip-python all seem to communicate with the HW.1 properly.

Thanks a lot for your help!

People on this forum should always state which platform they are working from (Linux, Windows, OSX) when posting a question. 

If you are on Linux, install the dependencies first, and work yourself toward Electrum last.  Always "sudo python setup.py install" towards Electrum last.

If you don't have the option to select hardware wallet type, then one of your dependencies is not installed correctly.

Once ThomasV releases a self-inclosed version for 2.1 - you will be able to use the HW-1 with Electrum.  It is working correctly with the source code.

Sorry, I must have forgotten to mention I was installing on Linux.  I thought I installed all of the dependencies right for btchip-python, because the commands like testConnectivity.py all work, and GreenAddress is also able to communicate with it fine on the same installation, so I know my USB is set up correctly.

I will go ahead and start from scratch in the order you suggest.  Maybe that will fix it. If not, i'll just wait for the all-inclusive version.  Thanks again for your help and advice.


Title: Re: Electrum 2.0 release
Post by: Wotan777 on May 02, 2015, 09:22:28 PM
Platform: Win 7
I am trying Electrum 2.1.1 with HW.1
After some minutes I get: "Exception: Timeout"
What should I check or do to make it work??!!!
Please help.

----
Side note:
In the same Win 7 environment,
Electrum  2.1.1 an HW.1 works perfectly under Ubuntu 14.04 LTS in a VirtualBox environment.
I have btchip-c-api, btchip-python and electrum.
I can post the make script to anybody, who is interested.


Title: Re: Electrum 2.0 release
Post by: Muhammed Zakir on May 03, 2015, 06:40:42 AM
Platform: Win 7
I am trying Electrum 2.1.1 with HW.1
After some minutes I get: "Exception: Timeout"
What should I check or do to make it work??!!!
Please help.

----
Side note:
In the same Win 7 environment,
Electrum  2.1.1 an HW.1 works perfectly under Ubuntu 14.04 LTS in a VirtualBox environment.
I have btchip-c-api, btchip-python and electrum.
I can post the make script to anybody, who is interested.

In 2.0, HW.1 works fine for me. BTChip C API isn't needed for Electrum.


Title: Re: Electrum 2.0 release
Post by: Wotan777 on May 03, 2015, 06:52:52 AM
@Muhammed: Fine. Did you install anything beside Electrum? Is it a Win7 system?



Title: Re: Electrum 2.0 release
Post by: Muhammed Zakir on May 03, 2015, 07:15:19 AM
@Muhammed: Fine. Did you install anything beside Electrum? Is it a Win7 system?

Didn't get your first question. I compiled myself and yes, it is Win7(Ultimate).


Title: Re: Electrum 2.0 release
Post by: Wotan777 on May 03, 2015, 07:27:19 AM
@Muhammed: How did you compile it under Windows? Can you help me?
I have installed electrum-2.0-setup.exe under win7 professional.
When I start the program, and  the "Select your hardware wallet" screen is displayed, only Trezor wallet can be selected.


Title: Re: Electrum 2.0 release
Post by: Muhammed Zakir on May 03, 2015, 08:01:24 AM
@Muhammed: How did you compile it under Windows? Can you help me?

I am away from my PC, so I can't tell which all dependencies are needed. If a dependency is not installed, it will show when compiling. Download it and install it manually.

Some of the dependencies for Electrum 2.0 are

 • Python 2.7
 • Python setup tools(incl. pip)
 • PyQt
 • ecdsa
 • slowaes
 • BTChip-python API.

I can't recall all dependencies. Like I said, it will show "Import error: No module named abc" if you haven't installed "abc". When it does, search that module in internet, download and install it.

i have installed electrum-2.0-setup.exe under win7 professional.
When I start the program, and  the "Select your hardware wallet" screen is displayed, only Trezor wallet can be selected.

Haven't you installed BTChip-python?

P.S. If you have successfully compiled Electrum and want to auto-start it when windows open, follow this:

#1. Create a ".bat" file and put this code.
Code:
cd location-to-your-electrum-folder
python electrum
#2. Click the Start button, click All Programs, right-click the Startup folder and then click Open.
#3. Drag the .bat folder file to Startup folder you opened.


Title: Re: Electrum 2.0 release
Post by: Wotan777 on May 03, 2015, 09:04:17 AM
@Muhammed: When you will be near your PC, please post me the necessary steps. THANKS!
I do not know how to install e.g. btchip-c-api or btchip-pythopn under windows. Under linux I can use
sudo apt-get install libusb, etc... what should I do under windows? Where are the necessary libraries?
What should I use to compile the sources? What is the compilation environment? mingw?



Title: Re: Electrum 2.0 release
Post by: btchris on May 03, 2015, 11:38:34 AM
Some of the dependencies for Electrum 2.0 are

 • Python 2.7
 • Python setup tools(incl. pip)

A short FYI— as of Python 2.7.9, setup tools/pip are (finally!) bundled w/Python (see PEP 477 (https://www.python.org/dev/peps/pep-0477/)).


Title: Re: Electrum 2.0 release
Post by: Muhammed Zakir on May 03, 2015, 12:03:01 PM
@Muhammed: When you will be near your PC, please post me the necessary steps. THANKS!
I do not know how to install e.g. btchip-c-api or btchip-pythopn under windows. Under linux I can use
sudo apt-get install libusb, etc... what should I do under windows? Where are the necessary libraries?
What should I use to compile the sources? What is the compilation environment? mingw?

IIRC everything is in Python environment. You just need to change directory to the folder you need to install and run python setup.py install in most cases.

Read "README" in BTChip-python Github repo to see dependencies.

https://github.com/LedgerHQ/btchip-python/blob/master/README.md

Some of the dependencies for Electrum 2.0 are

 • Python 2.7
 • Python setup tools(incl. pip)

A short FYI— as of Python 2.7.9, setup tools/pip are (finally!) bundled w/Python (see PEP 477 (https://www.python.org/dev/peps/pep-0477/)).

Thank you!


Title: Re: Electrum 2.0 release
Post by: Wotan777 on May 04, 2015, 10:13:18 PM
@Muhammed: "IIRC" - I asked you to post a build, not to "If I Remember Correctly"...
How do you set up btchip-python, cython, etc under Windows?
It is still a question. Please help!




Title: Re: Electrum 2.0 release
Post by: Muhammed Zakir on May 05, 2015, 06:40:15 AM
@Muhammed: "IIRC" - I asked you to post a build, not to "If I Remember Correctly"...
How do you set up btchip-python, cython, etc under Windows?
It is still a question. Please help!

I can't access my PC for a while, so I don't remember each and every dependencies. Anyway, like I said, if you want to install BTChip-python, download it, point to that directory and run python setup.py install. If you unmet dependencies, it will give an error "Import error: No module named <unmet_dependency>". Search <unmet dependecy> in internet, download zip/.py file and install it by running python setup.py install.

One of the dependencies I missed is Cython-hidapi.


Title: Re: Electrum 2.0 release
Post by: Wotan777 on May 05, 2015, 05:28:44 PM
@Muhammed Zakir:

1. I downloaded https://github.com/signal11/hidapi/archive/hidapi-master.zip
2. cd hidapi-master/windows
3. opened hidapi.sln with Visual Studio 2010 and clicked "Build Solution"
4. cd hidapi-master/windows/Debug, run hidtest.exe
   I got this:

Device Found
  type: 1050 0010
  path: \\?\hid#vid_1050&pid_0010#7&36c90f4b&0&0000#{4d1e55b2-f16f-11cf-88cb-001
111000030}
  serial_number: 0001855185
  Manufacturer: Yubico
  Product:      Yubico Yubikey II
  Release:      233
  Interface:    -1

Device Found
  type: 2581 2b7c
  path: \\?\hid#vid_2581&pid_2b7c#7&3eb2a02&0&0000#{4d1e55b2-f16f-11cf-88cb-0011
11000030}
  serial_number: Plug-up
  Manufacturer: Plug-up
  Product:      Plug-up
  Release:      1
  Interface:    -1

unable to open device

5. copied hidapi.dll and hidapi.lib to c:\Windows\System32

6. Intalled python-2.7.9.amd64.msi
7. Added to PATH C:\Python27\;C:\Python27\Scripts\

8. Installed Microsoft Visual C++ VCForPython27.msi
9. pip install cython
10. downloaded https://github.com/trezor/cython-hidapi/archive/cython-hidapi-master.zip
11. cd cython-hidapi-master
12. python setup.py install

>python setup.py install
running install
running build
running build_ext
cythoning hid.pyx to hid.c
building 'hid' extension
error: Unable to find vcvarsall.bat

13. pip install hidapi
\build\cython-hidapi-master>pip install hidapi --upgrade
Requirement already up-to-date: hidapi in c:\python27\lib\site-packages\hidapi-0
.7.99_5-py2.7-win-amd64.egg
Cleaning up...

14. download https://github.com/walac/pyusb/archive/pyusb-master.zip
15. cd pyusb-master
16. python setup.py install

17. https://github.com/LedgerHQ/btchip-python/archive/btchip-python-master.zip
18. cd btchip-python-master
19. python setup.py install

20. cd samples
21. python getFirmwareVersion.py

\build\btchip-python-master\samples>python getFirmwareVersion.py
Traceback (most recent call last):
  File "getFirmwareVersion.py", line 23, in <module>
    dongle = getDongle(True)
  File "C:\Python27\lib\site-packages\btchip_python-0.1.14-py2.7.egg\btchip\btch
ipComm.py", line 279, in getDongle
    dev = usb.core.find(idVendor=0x2581, idProduct=0x1b7c) # core application, W
inUSB
  File "C:\Python27\lib\site-packages\usb\core.py", line 1221, in find
    raise ValueError('No backend available')
ValueError: No backend available

22. c:\Windows\System32
    delete hidapi.dll, lidapi.lib

23. python getFirmwareVersion.py
    same result

-----

OK, doing it again:

pip uninstall cython
pip install cython

pip uninstall hidapi
pip install hidpai

cd pyusb-master
python setup.py install
cd tests
python testall.py

.E.....
======================================================================
ERROR: runTest (test_util.FindDescriptorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "e:\Users\Lipi\build\pyusb-master\tests\test_util.py", line 68, in runTes
t
    d = usb.core.find(idVendor=ID_VENDOR)
  File "e:\Users\Lipi\build\pyusb-master\usb\core.py", line 1221, in find
    raise ValueError('No backend available')
ValueError: No backend available

----------------------------------------------------------------------
Ran 7 tests in 0.017s

FAILED (errors=1)

cd btchip-python-master
python setup.py install
cd samples
python getFirmwareVersion.py


e:\build\btchip-python-master\samples>python getFirmwareVersion.py
Traceback (most recent call last):
  File "getFirmwareVersion.py", line 23, in <module>
    dongle = getDongle(True)
  File "C:\Python27\lib\site-packages\btchip_python-0.1.14-py2.7.egg\btchip\btch
ipComm.py", line 279, in getDongle
    dev = usb.core.find(idVendor=0x2581, idProduct=0x1b7c) # core application, W
inUSB
  File "C:\Python27\lib\site-packages\usb\core.py", line 1221, in find
    raise ValueError('No backend available')
ValueError: No backend available

If the dongle is inserted:

e:\Users\Lipi\build\btchip-python-master\samples>python getFirmwareVersion.py
=> e0c4000000

(Hang up)

----------------------------------

Please help!!!



Title: Re: Electrum 2.0 release
Post by: Wotan777 on May 15, 2015, 03:54:22 PM
I tried to run pyusb again:
Code:
cd pyusb-master\tests
python testall.py
PyUSB ValueError: No backend available

I Googled to this error, and found: http://stackoverflow.com/questions/5152133/pyusb-backend-not-accessible
It said that "You need to install libusb-1.0, libusb-0.1, or openusb as a backend to pyusb."

I downloaded libusb-win32-bin-1.2.6.0 earlier. I tried now:
Code:
cd libusb-win32-bin-1.2.6.0\bin
inf-wizard.exe

create a driver kit for
Vendor ID        Product ID      Description
0x2581            0x2B7C          Plug-up

Then installed the created driver.

Now pyusb tests run witjout errors.
Also, btchip-python is operational, gets back the firmware version.


When I start Electrum, and enter the PIN of HW.1, then the following window is displayed:
Computing master public key

and I also get the following error in another window:
[Errno None]  libusb0-dll: err [_usb_reap_async] timeout error

Please help! How to go on?










Title: Re: Electrum 2.0 release
Post by: Muhammed Zakir on May 15, 2015, 04:02:54 PM
Please post doubts and questions about HW.1 in official HW.1 thread. https://bitcointalk.org/index.php?topic=134999.0

Sorry! I am unable to help you in this. You may want to try wiping the dongle by entering 3 wrong pins and create a new seed with Electrum but I think the problem is something else.


Title: Re: Electrum 2.0 release
Post by: Wotan777 on May 15, 2015, 05:26:08 PM
@Muhammed: thanks, I will try to get help in the official HW.1 thread
Anyway,  on the same PC under Linux everything is just fine.
Also, under win7 btchip-python is not very stable: I tried it five times: 4 times it worked OK, then it gave:
USBError: [Errno None] libusb0-dll:err [_usb_reap_async] reaping request failed


Title: Re: Electrum 2.0 release
Post by: Muhammed Zakir on May 16, 2015, 06:16:11 AM
@Muhammed: thanks, I will try to get help in the official HW.1 thread
Anyway,  on the same PC under Linux everything is just fine.
Also, under win7 btchip-python is not very stable: I tried it five times: 4 times it worked OK, then it gave:
USBError: [Errno None] libusb0-dll:err [_usb_reap_async] reaping request failed

The problem is I am not getting this error. I think it has to do something with your installation. Hope you will get an answer/solution from 'btchip'.


Title: Re: Electrum 2.0 release
Post by: inaltoasinistra on June 22, 2015, 08:20:07 AM
Sorry it this was already asked, I didn't find it.

Why did you decide to not use BIP39?


Title: Re: Electrum 2.0 release
Post by: dNote on August 13, 2015, 10:08:57 AM
Hi,
XDN-dev team made a DigitalName  JSON alias API for any cryptocurrency http://digitalname.org

With DigitalName you can link your Bitcoin address with any URL.

Here is a first sevrices that use DigitalName API http://xdn.io

New DigitalNote XDN GUI wallet has a digitalname support https://github.com/xdn-project/digitalnotewallet

Will be very glad if your will integrate DigitalName JSON alias API with Electrum.

Thank you.


Title: Re: Electrum 2.0 release
Post by: RustyNomad on August 14, 2015, 11:35:43 AM
Is there a limit to the number of accounts a person can create in a single wallet on Electrum 2.3.2 ?

I created two accounts and funded both of them then tried to create a third account but its not being created.

I selected 'New Account' from the menu, entered a name for the account and then nothing happens, no new pending account is being created.


Title: Re: Electrum 2.0 release
Post by: barleysinger on July 20, 2016, 06:00:35 AM
Standalone Executable for Windows gives me the following error:

Microsoft Visual C++ Runtime Library
Runtime Error!
R6034
An application has made an attempt to load the C runtime library incorrectly.

some problem with version 2.0.4

I am running electrum 2.6.4. It is now July 20, 2016 and the error is still there. Obviously there has been no effot to fix the problem....so on to a different wallet.

<ARCHER>
Do you WAN'T to alienate your users? Because this is how you alienate your users.
</ARCHER>


Title: Re: Electrum 2.0 release
Post by: japerry on July 20, 2016, 07:01:18 AM
I posted a fix to this problem a while back. Just rename the executable to "electrum.exe" and the error you see will go away.

Footnote: Next time you may want to try the excellent search feature that Bitcointalk provides to look for a solution to your problem. Many time the solution is out there if you just take the time to look for it.