Repository navigation
libpng error: Invalid palette #10
Description
Activity
Hello!
Same errors here with Ubuntu 17.10...
I managed to get it to work by compiling from source, so for those interested, here is what I've done:
Get the required source code from GitHub:
git clone https://github.com/schani/metapixel.git cd metapixel/rwimg git clone https://github.com/schani/rwimg.git . cd ../lispreader git clone https://github.com/schani/lispreader.git . cd ..Install the development libraries and tools:
sudo apt install libpng-dev libjpeg-dev libgif-dev xsltproc docbook-xsl-nsEdit the
Makefilefile and replaceMANPAGE_XSL = /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xslwith
MANPAGE_XSL = /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/manpages/doclbook.xslAnd finally, compile and enjoy!
make sudo make installReacted by Ivo Fokkema, Carlos Melendez and Daniel TroneHello,Many thanks,here it works good with : sudo apt install git at first...
and the development libraries and tools here it's ok with any sudo apt install libperl-dev libgtk-3-dev
and here the valid substitution in the Makefile is
MANPAGE_XSL = /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/manpages/docbook.xsl
Thank you so muchReacted by twopiradians and Daniel TroneHello,
I startet with the same error like ottok above wrote. recompiled the program like peqq said. i received some warnings, but not really dangerous thing like (not used... and so on)
i installed the libperl-dev and the libgtk2.0-dev libs too.
But when i want to run metapixel i receive for every file "Error runnig metapixel - skipping file ..."I'm using ubuntu 17.10
Any idea what i'm doing wrong?
Thanks for every hint.
first install
git
for 18.04 LTS to 19.04 then folow what «pieqq» said up + install those development libraries and toolslibpng-dev
libjpeg-dev
libgif-dev
xsltproc
docbook-xsl-ns
libperl-dev
libgtk-3-devand valid substitution in the Makefile is
MANPAGE_XSL = /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/manpages/docbook.xslit's work !
Reacted by Carlos Melendez and Hrushikesh N. KulkarniHi
Tried, but not working
Get
"open_png_file_writing: Assertion `0' failed.
Aborted (core dumped)
Error running metapixel - skipping file /"...What's the problem ?
Thx if someone can helpReacted by Ntropia, Patryk Orzechowski and Ivan Perez, PhD
I am running Ubuntu 17.04 with latest Metapixel version with latest libraries available in this distro.
Then running the prepare command I get the following error message:
This happens on every file. The PNG images are created with wkhtmltoimage. I've tried to fiddle with the palette using optipng and GraphicsMagic, but the error message does not change.
This has also been reported at:
This is a wonderful piece of software and I hope somebody would have time to update it a bit.