You are not logged in.

#1 2016-04-01 17:33:15

Xmike
Member
Registered: 2016-03-25
Posts: 83

nanoDLP crashed

I tried to upload a svg. file and afterwards nanoDLP crashed.
Now I do not get working nanoDLP anymore,
even if I reboot Raspberry, the website is unreachable.
What can I do to get nanoDLP working ?

Here is a part of /var/log/printer.log:

goroutine 24 [running]:
panic(0x4d21b0, 0x10b4e7a0)
    /usr/local/go/src/runtime/panic.go:464 +0x330
_/home/pi/printer/app/svg.(*SVG).loadMask(0x10a4e180)
    /home/pi/printer/app/svg/svg.go:205 +0x2b0
_/home/pi/printer/app/svg.(*SVG).SliceRender(0x10a4e180, 0x4ea800)
    /home/pi/printer/app/svg/svg.go:107 +0x55c
main.(*monitorStruct).watch(0x7731a8)
    /home/pi/printer/app/slice-monitor.go:62 +0x338
created by main.main
    /home/pi/printer/app/server.go:52 +0xc8
2016/04/01 18:49:33.773330 {"Layer":"1","module":"JSON","level":"Warning","msg":"Skipping db/buttons.json file. stat db/buttons.json: no such file or directory "}
2016/04/01 18:49:33.775369 {"Layer":"1","module":"JSON","level":"Warning","msg":"Skipping db/custom-inputs.json file. stat db/custom-inputs.json: no such file or directory "}
2016/04/01 18:49:33.794167 {"Layer":"1","module":"Shutter","level":"Error","msg":"Pipe Access Problem open /dev/pigpio: no such file or directory "}
2016/04/01 18:49:33.828160 {"Layer":"1","module":"JSON","level":"Warning","msg":"Skipping public/plates/4/info.json file. stat public/plates/4/info.json: no such file or directory "}
panic: interface conversion: image.Image is *image.Paletted, not *image.RGBA

goroutine 24 [running]:
panic(0x4d21b0, 0x10b5a8a0)
    /usr/local/go/src/runtime/panic.go:464 +0x330
_/home/pi/printer/app/svg.(*SVG).loadMask(0x1090c400)
    /home/pi/printer/app/svg/svg.go:205 +0x2b0
_/home/pi/printer/app/svg.(*SVG).SliceRender(0x1090c400, 0x4ea800)
    /home/pi/printer/app/svg/svg.go:107 +0x55c
main.(*monitorStruct).watch(0x7731a8)
    /home/pi/printer/app/slice-monitor.go:62 +0x338
created by main.main
    /home/pi/printer/app/server.go:52 +0xc8

Offline

#2 2016-04-01 18:46:54

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: nanoDLP crashed

It currently does not support palleted color space. I will add it with next beta release.

Remove your mask file manually. Connect through putty type following command.

sudo rm /home/pi/printer/public/plates/mask.png

Meanwhile you can convert your mask file to RGBA color space and use it.

Offline

#3 2016-04-01 19:30:22

Xmike
Member
Registered: 2016-03-25
Posts: 83

Re: nanoDLP crashed

Now nanoDLP is working again.
I  converted the Projektor Mask from grayscale into 24 bit color and it works smile
thank you

Offline

Board footer

Powered by FluxBB