SyntaxError: invalid syntax (camera_dialog.py, line 55)
See original GitHub issueCrash Report
This crash report was reported through the automatic crash reporting system 🤖
Traceback
File "/Users/calin/src/ec/electron-cash/gui/qt/paytoedit.py", line 305, in qr_input
super(PayToEdit,self).qr_input(_on_qr_success)
File "/Users/calin/src/ec/electron-cash/gui/qt/qrtextedit.py", line 102, in qr_input
if ElectrumGui.instance.warn_if_cant_import_qrreader(self):
File "/Users/calin/src/ec/electron-cash/gui/qt/__init__.py", line 474, in warn_if_cant_import_qrreader
from .qrreader import QrReaderCameraDialog
File "/Users/calin/src/ec/electron-cash/gui/qt/qrreader/__init__.py", line 26, in <module>
from .camera_dialog import QrReaderCameraDialog
SyntaxError: invalid syntax (camera_dialog.py, line 55)
Reporter
This issue was reported by 2 user(s):
Electron Cash Version | Python Version | Operating System | Wallet Type | Locale |
---|---|---|---|---|
4.0.6 | 3.5.7 (default, Mar 19 2019, 00:47:37) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] | Darwin-17.7.0-x86_64-i386-64bit | imported_privkey | en_US |
4.0.6 | 3.5.3 (default, May 10 2017, 15:05:55) [GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] | Linux-4.19.5-300.fc29.x86_64-x86_64-with-redhat-3.2.2 | imported_privkey,standard | zh_CN |
Additional Information
Calin here:
I just tried EC with Python 3.5. It pretty much fails everywhere. We can safely say EC does not support Python 3.5.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Invalid Syntax in Python: Common Reasons for SyntaxError
In this step-by-step tutorial, you'll see common examples of invalid syntax in Python and learn how to resolve the issue. If you've ever...
Read more >python - Why do I get the syntax error "SyntaxError: invalid ...
When an error is reported on a line that appears correct, try removing (or commenting out) the line where the error appears to...
Read more >SyntaxError: invalid syntax issue - looks like Python ... - GitHub
Hi, When I am trying to run this code, it is showing the below error. How can I solve this issue? r.init(True,True)
Read more >Python errors and exceptions
Here, Python tells us that there is a SyntaxError on line 1, and even puts a little arrow in the place where there...
Read more >SyntaxError: invalid syntax - Python Morsels
Python's "invalid syntax" error message comes up often, especially when you're first learning Python. What usually causes this error and how can you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh, right, line 55. I think its best to drop Python 3.5. We might want to add some automated checking with pylint to check for language features that are too new. I’ll look into what it would take to get that.
Commit d9ab02e7087deb12c15a2a8eb1720475abb6a06e disallows Python3.5 now. We want to look forward, and not back!