[Tilesathome] pngnq
Ævar Arnfjörð Bjarmason
avarab at gmail.com
Tue Jul 22 19:29:45 BST 2008
Reproduce this debugging session on your computer:
$ perl -d tilesGen.pl xy 1798 1088 12
Loading DB routines from perl5db.pl version 1.3
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(tilesGen.pl:43): our $Config = AppConfig->new({
main::(tilesGen.pl:44): CREATE => 1,
# Autocreate unknown config variables
main::(tilesGen.pl:45): GLOBAL => {
main::(tilesGen.pl:46): DEFAULT => undef, #
Create undefined Variables by default
main::(tilesGen.pl:47): ARGCOUNT => ARGCOUNT_ONE, #
Simple Values (no arrays, no hashmaps)
DB<1> b main::CheckConfig
DB<2> c
main::CheckConfig(tahconfig.pm:175):
175: my $Config = shift();
DB<2> b 292
DB<3> c
- Using working directory /tmp/
- Uploading with username "avar"
- Configured Layer: captionless
- Configured Layer: tile
- Configured Layer: maplint
- Inkscape version 0.46
- rendering using Osmarender/XSLT
- xmlstarlet version 1.0.1
- zip is present
- going to use pngcrush
- Pngcrush version 1.6.6
main::CheckConfig(tahconfig.pm:292):
292: my $PngnqV=`\"$cmd\" -V 2>&1`;
DB<3> n
main::CheckConfig(tahconfig.pm:293):
293: if ($PngnqV !~ /pngnq.+(\d+\.\d+)/)
294: {
DB<3> x $PngnqV
0 'pngnq 0.5
Compiled with libpng 1.2.27; using libpng 1.2.27.
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3.
'
DB<4> x $?
0 0
DB<5>
As you can see my pngnq works, but the value of your $PngnqV and $?
will indicate what's wrong with your setup
More information about the Tilesathome
mailing list