AllskyTeam / allsky

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

Status with error #101

Closed WirthmU closed 5 years ago

WirthmU commented 5 years ago

I am trying to install allksy on a RPI B+.

If I check the status I get:

`pi@SkyCam:~/allsky/scripts $ sudo service allsky status ● allsky.service - All Sky Camera Loaded: loaded (/lib/systemd/system/allsky.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2019-07-18 21:18:28 BST; 12s ago Main PID: 1136 (allsky.sh) Memory: 88.9M CGroup: /system.slice/allsky.service ├─1136 /bin/bash /home/pi/allsky/allsky.sh └─1150 ./capture -daytime 1

Jul 18 21:18:28 SkyCam systemd[1]: Started All Sky Camera. Jul 18 21:18:28 SkyCam allsky.sh[1136]: can't get debug descriptor: Resource temporarily unavailable Jul 18 21:18:28 SkyCam allsky.sh[1136]: parse error: Invalid numeric literal at line 2, column 5 Jul 18 21:18:28 SkyCam allsky.sh[1136]: parse error: Invalid numeric literal at line 2, column 5`

What might be the problem here?

There is some confusion also about the longitute/latitude settings in settings.json. Is it just numbers or with the suffix N and E?

brianboru82 commented 5 years ago

For the longitude/latitude, I believe you do need the N and E (or S and W as appropriate).

Not sure what the parse errors are about...

thomasjacquin commented 5 years ago

Did you get this sorted?

WirthmU commented 5 years ago

Hello Thomas and thank you for getting back to me!

Unfortunately no - I am still struggling with the errors stated above. Here are my settings and config files:

settings.json: {    "width":"0",    "height":"0",    "exposure":"10000",    "maxexposure":"20000",    "autoexposure":"1",    "gain":"50",    "maxgain":"200",    "autogain":"0",    "gamma":"50",    "brightness":"50",    "wbr":"53",    "wbb":"90",    "bin":"1",    "delay":"10",    "daytimeDelay": "5000",    "type":"1",    "quality":"95",    "usb":"40",    "filename":"image.jpg",    "flip":"0",    "text":"text",    "textx":"15",    "texty":"30",    "fontname":"0",    "fontcolor":"255 255 255",    "smallfontcolor":"0 0 255",    "fonttype":"0",    "fontsize":"0.7",    "fontline":"1",    "latitude":"46.94N",    "longitude":"7.475E",    "angle":"-6",    "time":"1",    "darkframe":"0",    "showDetails":"1" }

config.sh:

!/bin/bash

source /home/pi/allsky/scripts/ftp-settings.sh UPLOAD_IMG=true UPLOAD_VIDEO=true POST_END_OF_NIGHT_DATA=true TIMELAPSE=true KEOGRAM=true UPLOAD_KEOGRAM=true STARTRAILS=true BRIGHTNESS_THRESHOLD=0.1 UPLOAD_STARTRAILS=true AUTO_DELETE=true NIGHTS_TO_KEEP=14 DARK_FRAME="dark.png" DAYTIME="1" CAMERA_SETTINGS="/home/pi/allsky/settings.json"

WirthmU commented 5 years ago

After a complete removal, updating and upgrading my RPI and re-installation its working!