WillNilges / octo-dash-curses

A simple dashboard for displaying the status of octoprint servers on the CLI
MIT License
3 stars 0 forks source link

Segfault on cold boot #26

Open WillNilges opened 3 years ago

WillNilges commented 3 years ago

After coldbooting the printer, the pi, and ODC, a segmentation fault appears on

132         user = cJSON_GetArrayItem(cJSON_GetArrayItem(job_json, 0), 5)->valuestring;

Probably due to all of the print job fields being blank. A check should be made to catch that.

WillNilges commented 2 years ago

lol bump