unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: electrum error: No module named 'qrcode'
Date: Fri, 04 May 2018 22:43:36 +0100	[thread overview]
Message-ID: <878t8z3xmf.fsf@cbaines.net> (raw)
In-Reply-To: <871ser6woa.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2426 bytes --]


Pierre Neidhardt <ambrevar@gmail.com> writes:

> electrum yields the following error on startup:
>
> 	> electrum
> 	Error: No module named 'qrcode'. Try 'sudo pip install <module-name>'
>
> python-qrcode is correctly specified as input in the package's
> declaration:
>
> --8<---------------cut here---------------start------------->8---
>> guix package --show=electrum
> name: electrum
> version: 3.0.5
> outputs: out
> systems: x86_64-linux i686-linux armhf-linux aarch64-linux
> dependencies: python-dnspython-1.15.0 python-ecdsa-0.13 python-jsonrpclib-pelix-0.3.1 python-pbkdf2-1.3 python-protobuf-3.5.2 python-pyaes-1.6.1 python-pyqt-5.9 python-pysocks-1.6.7
> + python-qrcode-6.0 python-requests-2.13.0 python-sip-4.19.3
> location: gnu/packages/finance.scm:275:2
> homepage: https://electrum.org/
> license: Expat
> synopsis: Bitcoin wallet
> description: Electrum is a lightweight Bitcoin client, based on a client-server protocol.  It supports Simple Payment Verification (SPV) and deterministic key generation from a seed.  Your
> + secret keys are encrypted and are never sent to other machines/servers.  Electrum does not download the Bitcoin blockchain.
> --8<---------------cut here---------------end--------------->8---
>
> Any clue?

There was an issue with the upgrade of the python-qrcode package from
version 5.3 to 6.0 [1], which meant that the output didn't actually
contain any code [2], hence the error you are seeing.

I've just pushed a fix to the package [3], so if you update Guix (by
running guix pull, or otherwise) and then upgrade electrum, that should
resolve the issue.

1: d1f1a7a0b15bddb05ac4b0e817e9ad855982df11: gnu: python-qrcode: Update
to 6.0.

2:
/gnu/store/i1s4hay6sxl4rfagk12d1i89za432vyb-python-qrcode-6.0
├── lib
│   └── python3.6
│       └── site-packages
│           └── UNKNOWN-0.0.0-py3.6.egg-info
│               ├── dependency_links.txt
│               ├── PKG-INFO
│               ├── SOURCES.txt
│               └── top_level.txt
└── share
    ├── doc
    │   └── python-qrcode-6.0
    │       └── LICENSE
    └── man
        └── man1
            └── qr.1.gz

9 directories, 6 files

3: d6ed49ba3fbcb6ae522acb3757f93ca8da01648f: gnu: python-qrcode: Use a
newer version of setuptools.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

      reply	other threads:[~2018-05-04 21:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-04 19:35 electrum error: No module named 'qrcode' Pierre Neidhardt
2018-05-04 21:43 ` Christopher Baines [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878t8z3xmf.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=ambrevar@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).