AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
1.15k stars 180 forks source link

Illegal Instruction on ./allsky.sh #22

Closed FredDeakin closed 5 years ago

FredDeakin commented 6 years ago

Hi Thomas, Great project. I am trying it with my ASI120MC-S on a Pi3. Installation went perfect.

However, when I run "./allsky.sh" I get this: Starting allsky camera... /home/pi/allsky/allsky.sh: line 22: 684 Illegal instruction ./capture $ARGUMENTS

I decided to start from scratch and re-installed a new Raspbain and go through installation again. The same. I decided to try on another RPi 3, that I had never used, and again I got exactly the same issue.Any ideas?

The only changes I have made are: In settings.json I have set "width" to "1280", "height" to "960", "latitude" to "50.0N", "longitude" to "5.31W"

In config.sh I have set all uploading to false.

It creates a .jpg as soon as it is run, but then just hangs. Log file shows one saved image for each run, but no more. The image is black, but I can see a warm pixel, so it is obviously using the camera.

I would greatly appreciate any thoughts, as I feel I must have done something wrong, but can't work out what.

Kind regards,

Fred matche5@hotmail.com

thomasjacquin commented 6 years ago

Hi Fred, have you tried setting width and height to 0? In the code, 0 means “use full size of the sensor”. Other than that, I don’t see anything wrong with your settings.