Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Dash Electrum 3.0.6 released

Discussion in 'Electrum Wallet Support' started by akhavr, May 11, 2018.

  1. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    • Like Like x 1
    • Winner Winner x 1
  2. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,961
    Likes Received:
    6,735
    Trophy Points:
    1,283
    #2 tungfa, May 11, 2018
    Last edited: May 12, 2018
    • Like Like x 1
  3. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    PPA for Ubuntu (and Mint) is ready.
     
    • Like Like x 1
    • Winner Winner x 1
  4. strophy

    strophy Administrator
    Dash Core Team Dash Support Group Moderator

    Joined:
    Feb 13, 2016
    Messages:
    684
    Likes Received:
    385
    Trophy Points:
    133
    • Like Like x 4
  5. Kalon

    Kalon New Member

    Joined:
    Nov 26, 2016
    Messages:
    5
    Likes Received:
    10
    Trophy Points:
    3
    Dash Address:
    Xq52HDbX7GA1Nw81erU6zt1XCyhGqu6kqi
    Where can I find this ppa? Might be nice to have a link/info right on the electurm.dash.org page. Perhaps this might make my issue go away. Otherwise, wondering if you might have chance to help me.

    Did the upgrade from previous version to 3.0.6, and now I cannot get it to work with Trezor. This is on a Ubuntu 18.04 system, if that matters.
    Output is:
    Code:
    Traceback (most recent call last):
      File "/home/***/Downloads/Electrum-DASH-3.0.6/lib/plugins.py", line 151, in get_hardware_support
        p = self.get_plugin(name)
      File "/home/***/Downloads/Electrum-DASH-3.0.6/lib/plugins.py", line 179, in get_plugin
        self.load_plugin(name)
      File "/home/***/Downloads/Electrum-DASH-3.0.6/lib/plugins.py", line 104, in load_plugin
        plugin = p.Plugin(self, self.config, name)
      File "/home/***/Downloads/Electrum-DASH-3.0.6/plugins/trezor/trezor.py", line 22, in __init__
        self.types = trezorlib.client.types
    AttributeError: module 'trezorlib.client' has no attribute 'types'
    Any assistance is most appreciated.
     
    • Informative Informative x 1
  6. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    PPA is here https://launchpad.net/~akhavr/+archive/ubuntu/dash-electrum/ I believe now it's also mentioned in the official dash docs too.

    Trezor integration is pretty sensitive to the libraries versions, that's might be the cause of your traceback. Please, let me know if there still are issues with package from PPA.
     
  7. Radar5k

    Radar5k New Member

    Joined:
    May 19, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Hey Akhavr,

    Nice piece of software you've put together there :)
    I've been trying to install ED in Tails, but the build falls over at x11-hash :( (It's the only part that doesn't like my gcc).
    I ended up building it all in a chrooted install of Debian on a QNAP NAS, and now I'm trying to find all the files so I can just pack them up and slip them into Tails so I can use it as a cold wallet. Could you give me some pointers on where to hunt them all down, thanks?
    That will get me going 'til I learn how to make a .deb of it.

    Have fun!
    Radar =8^)
     
  8. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    From `x11-hash` you need just `.so` file. Will talk to my team about Tails though..

    It would help if you'd post more detailed compilation logs.
     
  9. Radar5k

    Radar5k New Member

    Joined:
    May 19, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Sorry, I didn't think to save the logs :( It was only x11-hash that fell over whilst looking for gcc x86_64, which isn't available on Tails atm :(
    I'll do a fresh install of Tails and try 3.0.6.1 in a couple of days, 'cos Win10 decided to boot the boot info in a fit of jealousy. Had to do a fresh install, and am now waiting on the sod to finish updating before I can do anything else.

    I'll keep the logs next time around.

    Have fun
    Radar =8^)
     
    • Like Like x 1
  10. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    I've asked my dev to look, he's now connecting pip3 to the pypi. How did you perform this? Or did you download packages first and then build offline?
     
  11. Radar5k

    Radar5k New Member

    Joined:
    May 19, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Downloaded ED through Win10, transfered to Tails via USB stick.

    Tried running the build offline, got told of a bunch of dependencies.

    Got online with Tails, grabbed some, but I guess I must've missed a couple, 'cos I got told to go get more.

    Cleaned up my work dir, got the rest of the packages (though the gui package manager was telling me it was getting one thing when I'd told it to get another).

    After a couple of more cycles of getting online for packages, then offline to run the install script, clean up, (no reboots in between), I decided to stay online and kept kicking it 'til I tripped over on x11-hash.

    After that, I put a copy on my NAS, ran the script, and ran ED via ssh as quick as a flash... Too easy! ;)
     
  12. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    Try this to get x11-hash on Tails:

    Code:
    wget https://launchpad.net/~akhavr/+archive/ubuntu/dash-electrum/+files/python3-x11-hash_1.4-0ppa3~ubuntu16.04.1_amd64.deb
    sudo dpkg -i python3-x11-hash_1.4-0ppa3~ubuntu16.04.1_amd64.deb
    
     
    #12 akhavr, May 20, 2018
    Last edited: May 20, 2018
    • Like Like x 1
  13. Radar5k

    Radar5k New Member

    Joined:
    May 19, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    That hit the spot! :)

    Thanks :) Now, to grab 3.0.6.1 and have some fun! ;)
     
  14. Radar5k

    Radar5k New Member

    Joined:
    May 19, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Hey Akhavr,

    Got tripped up by PySocks this time. Here's the final output...

    Searching for PySocks>=1.6.6
    Reading https://pypi.python.org/simple/PySocks/
    Download error on https://pypi.python.org/simple/PySocks/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
    Couldn't retrieve index page for 'PySocks'
    Scanning index of all packages (this may take a while)
    Reading https://pypi.python.org/simple/
    Download error on https://pypi.python.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
    No local packages or working download links found for PySocks>=1.6.6
    error: Could not find suitable distribution for Requirement.parse('PySocks>=1.6.6')

    Which reminds me... That was the first error I had with x11-hash when I was online...

    Another thing that comes to mind with Tails is that if we're pulling any runtime dependencies, we're going to have to update /live/persistence/TailsData\_unlocked/live-additional-software.conf so that they're re-installed each login, (I'm not too sure how it's done, as I've only been playing with Tails since Thursday night, and Win10 went belly-up on Saturday afternoon).

    Have fun!
    Radar =8^)

    (edit...) Did a few tests, adding/omitting dependency packages from live-additional-software.conf, and the results were not good...
    Not only did DE fail to reload on reboot... All files listed in there failed :(
    So, basically, to build a Tails-specific package, you would have to track the deepest dependencies, and list them in the correct order so as to not break users' ability to effectively use their persistent partition/directory structure :(
     
    #14 Radar5k, May 20, 2018
    Last edited: May 20, 2018
  15. Radar5k

    Radar5k New Member

    Joined:
    May 19, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Now this is crazy...

    Just searched for "PySocks pypi" and the first hit is for version 1.6.8...

    The next hit is older, and is marked as Moved Permanently... Same thing happened with x11-hash... Maybe PyPi's indexing is falling over when it comes across a file with the same name, regardless of version numbers.

    Time for a feed, methinks.

    Have fun! =8^)
     
  16. Radar5k

    Radar5k New Member

    Joined:
    May 19, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Downloaded PySocks1.6.8, installed it, then retried installing ED...

    We're good! :)

    Just ran a quick start-up test... I don't want to make another mess for myself to clean up ;) I've got to collect 4 years' worth of prices for 28 currency pairs for forex trading within the next 10 hours, and my scripts are that old that they're defunct...

    Have Fun! =8^)
     
  17. Balych

    Balych Active Member

    Joined:
    Sep 12, 2015
    Messages:
    365
    Likes Received:
    211
    Trophy Points:
    113
    Dash Address:
    Xba1ychX7CjgbRrCKE1LjHjT3jLUhcexs5
    Electrum-DASH 3.0.6.1 win64
    Ledger Nano S 1.4.2
    DASH App 1.2.5

    Error on opening existing wallet or creating new:

    upload_2018-5-20_16-37-41.png
     
  18. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    Thanks, we're on it.
     
    • Like Like x 1
  19. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    New minor release is on the way..
     
  20. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    • Like Like x 1
  21. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    • Winner Winner x 1
  22. camosoul

    camosoul Grizzled Member

    Joined:
    Sep 19, 2014
    Messages:
    2,256
    Likes Received:
    1,128
    Trophy Points:
    1,183