Bitcoin Forum
May 06, 2024, 11:25:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5]  All
  Print  
Author Topic: Electrum 2.0 release  (Read 11349 times)
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
May 05, 2015, 06:40:15 AM
 #81

@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.

1714994729
Hero Member
*
Offline Offline

Posts: 1714994729

View Profile Personal Message (Offline)

Ignore
1714994729
Reply with quote  #2

1714994729
Report to moderator
1714994729
Hero Member
*
Offline Offline

Posts: 1714994729

View Profile Personal Message (Offline)

Ignore
1714994729
Reply with quote  #2

1714994729
Report to moderator
1714994729
Hero Member
*
Offline Offline

Posts: 1714994729

View Profile Personal Message (Offline)

Ignore
1714994729
Reply with quote  #2

1714994729
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714994729
Hero Member
*
Offline Offline

Posts: 1714994729

View Profile Personal Message (Offline)

Ignore
1714994729
Reply with quote  #2

1714994729
Report to moderator
Wotan777
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
May 05, 2015, 05:28:44 PM
 #82

@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!!!

Wotan777
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
May 15, 2015, 03:54:22 PM
 #83

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?








Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
May 15, 2015, 04:02:54 PM
 #84

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.

Wotan777
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
May 15, 2015, 05:26:08 PM
 #85

@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
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
May 16, 2015, 06:16:11 AM
 #86

@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'.

inaltoasinistra
Full Member
***
Offline Offline

Activity: 142
Merit: 104


View Profile
June 22, 2015, 08:20:07 AM
 #87

Sorry it this was already asked, I didn't find it.

Why did you decide to not use BIP39?

dNote
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
August 13, 2015, 10:08:57 AM
 #88

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.

DigitalNote XDN website http://digitalnote.org
XDN 1st blockchain deposits with interest & instant untraceable crypto messages GUI https://github.com/xdn-project/digitalnotewallet/releases
Bitcointalk topic https://bitcointalk.org/index.php?topic=1082745.new#new
RustyNomad
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile WWW
August 14, 2015, 11:35:43 AM
 #89

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.
barleysinger
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 20, 2016, 06:00:35 AM
 #90

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>
japerry
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250



View Profile WWW
July 20, 2016, 07:01:18 AM
 #91

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.



Pages: « 1 2 3 4 [5]  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!