Hi @adam,
Sorry about that, here is the output.
Thanks
S
'echo $?"
by requesting $? to be echoed to the console, you are asking for the exit status.
You might need to redo the install sequence again as I thing the exit status will have been written over.
Cheers,
Craig
Apologies again , I am quite new to this, still learning.
Thatās probably a legit error code though.
What it is saying is that the script terminated with a fatal error code of 4 (128+4).
Hi @kreggly
I did the whole installation right from the scratch and again got 132 as output. What now from here ?
Thanks
S
I hope we hear frrom @rsiegel and the Pi devs on what is happening in the script. Hopefully that exit code pinpoints the place in th script that is failing and a work around can be offered.
Hey @soubir, my apologies for the delay. I spoke with the developer, he is looking for one other bit of output based on that error code. Could you run
sudo python3 -X faulthandler setup.py install
and share the output from that command?
Thanks, Iāll share it with him.
Hi again, thanks for your patience.
The developer Iāve been working with has asked if you could try
python3
then
import _bz2
then
_bz2.__file__
and to see if that outputs a file location, or an import error.
You can use exit()
to exit the prompt after trying that.
His current theory is that perhaps the bzip2 package that weāre expecting to be in place isnāt present on the system, you should be able to install it with sudo apt-get install libbz2-dev
then try the installation again.
Hi @rsiegel,
Apologies for getting back so late, was travelling for work. I did run the commands and there were errors all over. However, I have found a way to make it work. This is what I have done:
I have tried this on RPiZero and RPiA+ and both worked. I guess for now I am going to use this process as it worked.
I will report back in case I see any issues with this.
Hope this helps you in understanding whats going on. The only challenge with this process is that you canāt use it on a small capacity sd card as youāre installing Pixel and of course the startup and connecting to the network takes slightly longer than Lite.
Thanks
S
It does help quite a bit, and I think if Iām understanding properly this basically boils down to (in your personal experience) that the Cayenne installation isnāt completing on a Pi Zero with Jessie Lite, despite our claimed support for both of these. At least, it might have worked once for you, but the vast majority of times it failed?
As soon as I can get my hands on one of these (they sell out all over the place!) Iāll be sure to try the same so we can knock out any bugs that might be hiding there.
Hi There,
Another update to this, recently, I used a RPi A+ to install Cayenne, again it wouldnāt install on Jessie Lite, however, installed Cayenne at the first attempt on a Jessie with Pixel version, without even update and upgrade.
Not sure if this helps, thought of reporting the finding to you guys.
Cheers
S
It does help, and prompted me to do another round of testing this morning.
I was able to reproduce the Python 3.4.2 error with Jessie Lite on a Model B Gen1 (but not on any Gen 2 or 3). I donāt have a Model A or a Zero at the moment. So perhaps there is something to Jessie Lite + these stripped down models having an install failure.
That said, I was able to resolve the issue by running through this list of commands Iād posted above:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install python3.4
sudo apt-get -f install
I had to run through them twice as on the initial run sudo apt-get upgrade
and sudo apt-get dist-upgrade
were throwing errors which were then resolved by sudo apt-get -f install
. But it was necessary to run through the commands again to exhaust the list of available packages, and ultimately grab the needed ones for Cayenne.
So if youāre still seeing that ābuild for 3.4.2 failedā error message, try running through those commands a couple times, until youāre getting output like 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
to indicate that there are no further updates available. Then attempt the Cayenne installation. It appears you donāt need to do anything to clean up the previous failed installation, the installer will work past it OK.
Woot. Woot.
Thx rsiegel.
After trying to install Cayenne on a new Rasberry Pi Zero W, I followed your instructions and it install. It take some time, not sure how long since I walked away and just let it run the install. Not sure if it was the Phone App or Desktop, since I had used them both.