question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NameError: name 'ModuleNotFoundError' is not defined

See original GitHub issue

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

  File "/home/shako/Desktop/Electron Cash-4.0.6/gui/qt/main_window.py", line 3524, in settings_dialog
    except (ModuleNotFoundError, ImportError) as e:

NameError: name 'ModuleNotFoundError' is not defined

Reporter

This issue was reported by 2 user(s):

Electron Cash Version Python Version Operating System Wallet Type Locale
4.0.6 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609] Linux-4.15.0-51-lowlatency-x86_64-with-Ubuntu-16.04-xenial standard en_US
4.0.6 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516] Linux-4.9.0-9-686-pae-i686-with-BunsenLabs-9.8-helium standard es_ES

Additional Information

El error se muestra al pulsar la pestaña “Herramientas-Opciones”

*** Electron Cash support for Python 3.5 is being discontinued and may stop working in the future. *** Please consider upgrading soon! [secp256k1] warning: libsecp256k1 library failed to load [ecc] info: libsecp256k1 library not available, falling back to python-ecdsa. This means signing operations will be slower. Try running:

$ contrib/make_secp

(You need to be running from the git sources for contrib/make_secp to be available) Traceback (most recent call last): File “/home/alondra/Documents/Electron Cash-4.0.6/gui/qt/main_window.py”, line 3521, in settings_dialog from PyQt5.QtMultimedia import QCameraInfo ImportError: No module named ‘PyQt5.QtMultimedia’

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/home/alondra/Documents/Electron Cash-4.0.6/gui/qt/main_window.py”, line 3524, in settings_dialog except (ModuleNotFoundError, ImportError) as e: NameError: name ‘ModuleNotFoundError’ is not defined


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
EchterAgocommented, Jun 6, 2019

Seems that nobody triggered it in 4.0.5, so it seems like there are only very few Python 3.5 users left.

0reactions
cculianucommented, Jun 6, 2019

See #1432 – That’s me trying it out in Python 3.5. Python3.5 really doesn’t work anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

name 'ModuleNotFoundError' is not defined" error? - Stack ...
the ModuleNotFoundError is just an exception clause. What is tricky here is the fact that the exception "NameError", that is raised when a...
Read more >
NameError: name 'ModuleNotFoundError' is not defined #67
Hi Lawouach, Greetings ! This is Vinodh I am trying to build the IoTivity framework and getting the simillar error.
Read more >
ModuleNotFoundError: no module named Python Error [Fixed]
As the name implies, this error occurs when you're trying to access or use a module that cannot be found. In the case...
Read more >
Python Errors: Nameerror name is not defined and more
I am a software engineer with 10 years of experience. I am highly experienced in Java and AWS Cloud. I also work with...
Read more >
How to Fix ModuleNotFoundError and ImportError
I believe most Python programmes are quite familiar with ModuleNotFoundError import aModuleNotFoundError: No module named 'a'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found