You are not logged in.

#1 2016-12-26 12:04:24

bc323
Member
Registered: 2016-12-05
Posts: 6

Build 1318, Dynamic Calibration cause error

Hi, I am using the build 1318 when I click the "Display" button of Dynamic Calibration, the server is crashed and below is the log info and I have download the dynamic.png to my laptop and the pic can be opened by Preview(Mac). It seems the library, libpng, cause an error when load that file. Can help to advise which version of libpng should be used? Thanks a million.


016/12/26 11:29:44.038448 {"Layer":"0","module":"Image","level":"Warning","msg":"Display layer public/plates/dynamic.png"}
libpng error: Not a PNG file
unable to load public/plates/dynamic.png
2016/12/26 11:29:46.720316 {"Layer":"0","module":"Image","level":"Warning","msg":"Display layer public/plates/dynamic.png"}
printer: /home/pi/go/src/projects/printer/app/viewer/imageLayer.c:66: createResourceImageLayer: Assertion `il->resource != 0' failed.
SIGABRT: abort
PC=0x76d1bf70 m=9
signal arrived during cgo execution

goroutine 93 [syscall, locked to thread]:
runtime.cgocall(0x475b70, 0x10b45f58, 0x0)
    /usr/local/go/src/runtime/cgocall.go:131 +0x130 fp=0x10b45f38 sp=0x10b45f1c
projects/printer/app/viewer._Cfunc_image_display(0x70c00468, 0x0)
    projects/printer/app/viewer/_obj/_cgo_gotypes.go:96 +0x3c fp=0x10b45f54 sp=0x10b45f38
projects/printer/app/viewer.DisplayImage(0x523e42, 0x19, 0x0)
    /home/pi/go/src/projects/printer/app/viewer/viewer_arm.go:27 +0xbc fp=0x10b45f74 sp=0x10b45f54
main.showFrame(0x523e42, 0x19, 0xb)
    /home/pi/printer/app/hardware.go:62 +0x160 fp=0x10b45fbc sp=0x10b45f74
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:998 +0x4 fp=0x10b45fbc sp=0x10b45fbc
created by main.projectorGenerate
    /home/pi/printer/app/web.go:257 +0xfc






pi@raspberrypi:~ $ sudo apt-cache search libpng
fp-units-gfx - Free Pascal - graphics-library units dependency package
fp-units-gfx-2.6.4 - Free Pascal - graphics-library units
libpng++-dev - C++ interface to the PNG (Portable Network Graphics) library
libpng-sixlegs-java - Sixlegs Java PNG Decoder
libpng-sixlegs-java-doc - Documentation for Sixlegs Java PNG Decoder
libpng12-0 - PNG library - runtime
libpng12-dev - PNG library - development
libpng3 - PNG library - runtime
libpnglite-dev - lightweight C library for loading and writing PNG images
pngquant - PNG (Portable Network Graphics) image optimising utility
ruby-oily-png - native mixin to speed up ChunkyPNG
tkpng - PNG photo image support to Tcl/Tk

Last edited by bc323 (2016-12-26 12:07:18)

Offline

#2 2016-12-26 18:09:22

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Build 1318, Dynamic Calibration cause error

Please, upgrade and retry. Let me know if the issue has been fixed for not.

Offline

#3 2017-01-06 16:55:59

bc323
Member
Registered: 2016-12-05
Posts: 6

Re: Build 1318, Dynamic Calibration cause error

Hi, Shahin,

Thanks so much, that problem is fixed after upgrade to the latest version.

Last edited by bc323 (2017-01-06 16:56:43)

Offline

Board footer

Powered by FluxBB