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.

MAX7219 fails with "error return without exception set"

See original GitHub issue

Type 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:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
DougieLawsoncommented, Jul 20, 2020

I think this one is fixed with the 5.4.51 kernel that the RPF/RPTL folks released today.

0reactions
DougieLawsoncommented, Jun 18, 2020

It’s still happening with the 5.4.47 kernel.

Read more comments on GitHub >

github_iconTop 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 >

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