Skip to content

in pid.err.log: sef._device.cshigh = False. SystemError: error return without exception set. #35

Open
@gabrielDiaz-performlab

Description

@gabrielDiaz-performlab

Hi folks,
I've just built this thing, and am running into some errors.

My PID.err.log is showing the error:

pi@raspberrypi:/root/silvia-pi $ tail pid.err.log
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "silvia-pi.py", line 116, in pid_loop
sensor = MAX31855.MAX31855(spi=SPI.SpiDev(conf.spi_port, conf.spi_dev))
File "build/bdist.linux-armv6l/egg/Adafruit_GPIO/SPI.py", line 46, in init
self._device.cshigh = False
SystemError: error return without exception set

Some digging suggests that the MAX31855 library has been deprecated:
https://github.com/adafruit/Adafruit_Python_MAX31855

...and I believe it is no longer compatible with SPI.py.

I've already spent a few hours on this, so I'm going to punt for now.
Has anyone resolved this issue?

Is the easiest fix to install some older versions of the ...adafruit gpio libraries, maybe?

FWIW, this is on a pi-zero.

My thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions