MAX7219 fails with "error return without exception set"
See original GitHub issueType of Raspberry Pi
Raspberry Pi 3B
Linux Kernel version
Linux endeavour 5.4.42-v8+ #1319 SMP PREEMPT Wed May 20 14:18:56 BST 2020 aarch64 GNU/Linux
Yes I’m running a 64-bit kernel and the very latest updated with sudo rpi-update
. I’m quite happy to switch to running 5.4.42-v7 if you need that.
Expected behaviour
Your matrix demo program runs and does the usual stuff
Actual behaviour
I can get the same effect with python2 or python3 (I got the python3 version installed today with sudo pip3 ...
to see if it made a different (it didn’t)).
pi@endeavour:~/python$ ./matrix_demo.py
Traceback (most recent call last):
File "./matrix_demo.py", line 120, in <module>
demo(args.cascaded, args.block_orientation, args.rotate)
File "./matrix_demo.py", line 20, in demo
serial = spi(port=0, device=0, gpio=noop())
File "/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py", line 281, in __init__
self._spi.cshigh = cs_high
SystemError: error return without exception set
pi@endeavour:~/python$
I’ve hacked a very ugly C program to drive the matrix on the v8 5.4.42 kernel and that worked OK. You can have a copy of that if you need it (you won’t).
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
self._device.cshigh = False SystemError: error return without ...
SystemError: error return without exception is coming unknowing reason . i am trying to connect with nokia5110 LCD but during debugging i am ......
Read more >"SystemError: error return without exception set" when using tf ...
It seems like a Pycharm problem. The solution is setting this environment variable in pycharm settings: PYDEVD_USE_FRAME_EVAL=NO.
Read more >1058297 – SystemError: error return without exception set
Under certain rare circumstances, the anaconda installer does not interact correctly with yum and returns an error with no exception set. Since this...
Read more >Long chain of MAX7219 Matrix displays Fail | All About Circuits
I am building a rather large clock from 8x8 matrix displays using the MAX7219 connected in series. If I have 4 or less...
Read more >Untitled
Jeromeasf skyblock fail, George crushington, Base 7 a base 10? ... Ml to tsp, All that wander are not lost poster, Injazat data...
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
I think this one is fixed with the 5.4.51 kernel that the RPF/RPTL folks released today.
It’s still happening with the 5.4.47 kernel.