unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* electrum error: No module named 'qrcode'
@ 2018-05-04 19:35 Pierre Neidhardt
  2018-05-04 21:43 ` Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre Neidhardt @ 2018-05-04 19:35 UTC (permalink / raw)
  To: help-guix

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


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?

-- 
Pierre Neidhardt

Statistics means never having to say you're certain.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: electrum error: No module named 'qrcode'
  2018-05-04 19:35 electrum error: No module named 'qrcode' Pierre Neidhardt
@ 2018-05-04 21:43 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2018-05-04 21:43 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-04 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-04 19:35 electrum error: No module named 'qrcode' Pierre Neidhardt
2018-05-04 21:43 ` Christopher Baines

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