Skip Menu |

This queue is for tickets about the Panotools-Script CPAN distribution.

Report information
The Basics
Id: 124760
Status: open
Priority: 0/
Queue: Panotools-Script

People
Owner: Nobody in particular
Requestors: ddsf [...] douxchamps.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Generated makefile fails with "make: *** No rule to make target `qqqs.pto', needed by `qqqs.tif'. Stop."
Date: Mon, 12 Mar 2018 20:30:42 +0900
To: bug-Panotools-Script [...] rt.cpan.org
From: Damien Douxchamps <ddsf [...] douxchamps.net>
Hi, I'm really excited about what gigatile can do, but unfortunately the generated makefile fails. Here's a copy of the terminal output: $> gigatile --apikey 123456 -p ./ -o test-tiled.mk ../test.pto $> make -f test-tiled.mk gmaptemplate --title ./ --initialzoom 4 --apikey 123456 --prefix ./ --maxzoom 8 --maxzoomp1 9 --minres 4 > ./index.html gmaptemplate --title ./qqqs --initialzoom 0 --apikey 123456 --prefix qqqs --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qqqs.html gmaptemplate --title ./qqqt --initialzoom 0 --apikey 123456 --prefix qqqt --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qqqt.html gmaptemplate --title ./qqrs --initialzoom 0 --apikey 123456 --prefix qqrs --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qqrs.html gmaptemplate --title ./qqrt --initialzoom 0 --apikey 123456 --prefix qqrt --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qqrt.html gmaptemplate --title ./qqsq --initialzoom 0 --apikey 123456 --prefix qqsq --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qqsq.html gmaptemplate --title ./qqsr --initialzoom 0 --apikey 123456 --prefix qqsr --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qqsr.html gmaptemplate --title ./qqtq --initialzoom 0 --apikey 123456 --prefix qqtq --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qqtq.html gmaptemplate --title ./qqtr --initialzoom 0 --apikey 123456 --prefix qqtr --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qqtr.html gmaptemplate --title ./qrqs --initialzoom 0 --apikey 123456 --prefix qrqs --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qrqs.html gmaptemplate --title ./qrqt --initialzoom 0 --apikey 123456 --prefix qrqt --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qrqt.html gmaptemplate --title ./qrrs --initialzoom 0 --apikey 123456 --prefix qrrs --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qrrs.html gmaptemplate --title ./qrrt --initialzoom 0 --apikey 123456 --prefix qrrt --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qrrt.html gmaptemplate --title ./qrsq --initialzoom 0 --apikey 123456 --prefix qrsq --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qrsq.html gmaptemplate --title ./qrsr --initialzoom 0 --apikey 123456 --prefix qrsr --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qrsr.html gmaptemplate --title ./qrtq --initialzoom 0 --apikey 123456 --prefix qrtq --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qrtq.html gmaptemplate --title ./qrtr --initialzoom 0 --apikey 123456 --prefix qrtr --maxzoom 4 --maxzoomp1 5 --minres 0 > ./qrtr.html gmaptemplate --title ./rqqs --initialzoom 0 --apikey 123456 --prefix rqqs --maxzoom 4 --maxzoomp1 5 --minres 0 > ./rqqs.html gmaptemplate --title ./rqqt --initialzoom 0 --apikey 123456 --prefix rqqt --maxzoom 4 --maxzoomp1 5 --minres 0 > ./rqqt.html gmaptemplate --title ./rqrs --initialzoom 0 --apikey 123456 --prefix rqrs --maxzoom 4 --maxzoomp1 5 --minres 0 > ./rqrs.html gmaptemplate --title ./rqrt --initialzoom 0 --apikey 123456 --prefix rqrt --maxzoom 4 --maxzoomp1 5 --minres 0 > ./rqrt.html gmaptemplate --title ./rqsq --initialzoom 0 --apikey 123456 --prefix rqsq --maxzoom 4 --maxzoomp1 5 --minres 0 > ./rqsq.html gmaptemplate --title ./rqsr --initialzoom 0 --apikey 123456 --prefix rqsr --maxzoom 4 --maxzoomp1 5 --minres 0 > ./rqsr.html gmaptemplate --title ./rqtq --initialzoom 0 --apikey 123456 --prefix rqtq --maxzoom 4 --maxzoomp1 5 --minres 0 > ./rqtq.html gmaptemplate --title ./rqtr --initialzoom 0 --apikey 123456 --prefix rqtr --maxzoom 4 --maxzoomp1 5 --minres 0 > ./rqtr.html make: *** No rule to make target `qqqs.pto', needed by `qqqs.tif'. Stop. Any idea what could be going wrong? I'm happy to supply more info if needed... Cheers, Damien
Subject: [rt.cpan.org #124760] Generated makefile fails with "make: *** No rule to make target `qqqs.pto', needed by `qqqs.tif'. Stop."
Date: Mon, 12 Mar 2018 20:47:04 +0900
To: bug-Panotools-Script [...] rt.cpan.org
From: Damien Douxchamps <ddsf [...] douxchamps.net>
Hi, Replying to myself already :) Fixed some issues on my side, but the makefile still stops: $> make -f test-tiled.mk pto2mk -o ./qqqs.pto.mk -p ./qqqs ./qqqs.pto number of cmdline args: 1 make -f ./qqqs.pto.mk ./qqqs.tif make[1]: Entering directory `/data/pano/work' make[1]: *** No rule to make target `qqqs.tif'. Stop. make[1]: Leaving directory `/data/pano/work' make: *** [qqqs.tif] Error 2 Damien
On Mon Mar 12 07:47:56 2018, ddsf@douxchamps.net wrote: Show quoted text
> > pto2mk -o ./qqqs.pto.mk -p ./qqqs ./qqqs.pto > number of cmdline args: 1 > make -f ./qqqs.pto.mk ./qqqs.tif
Show quoted text
> make[1]: *** No rule to make target `qqqs.tif'. Stop.
I suspect that this is using the pto2mk tool from an older version of Hugin. pto2mk has actually been removed from recent Hugin altogether. I have a drop-in Perl replacement, but you need to use a snapshot of Panotools::Script from the Mercurial repository: https://bitbucket.org/brunopostle/panotools-script Let me know if this works (or doesn't), Panotools::Script is overdue for a release.
Subject: Re: [rt.cpan.org #124760] Generated makefile fails with "make: *** No rule to make target `qqqs.pto', needed by `qqqs.tif'. Stop."
Date: Tue, 13 Mar 2018 15:00:25 +0900
To: bug-Panotools-Script [...] rt.cpan.org
From: Damien Douxchamps <ddsf [...] douxchamps.net>
Thanks for the superfast answer! :) On Mon, 2018-03-12 at 18:33 -0400, BPOSTLE via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124760 > > > On Mon Mar 12 07:47:56 2018, ddsf@douxchamps.net wrote:
> > > > pto2mk -o ./qqqs.pto.mk -p ./qqqs ./qqqs.pto > > number of cmdline args: 1 > > make -f ./qqqs.pto.mk ./qqqs.tif
>
> > make[1]: *** No rule to make target `qqqs.tif'. Stop.
> > I suspect that this is using the pto2mk tool from an older version of Hugin. > > pto2mk has actually been removed from recent Hugin altogether. I have a drop-in Perl replacement, but you need to use a snapshot of Panotools::Script from the Mercurial repository: https://bitbucket.org/brunopostle/panotools-script > > Let me know if this works (or doesn't), Panotools::Script is overdue for a release.
I've downloaded the repo, rebuilt and reinstalled. Still the same error, but the output gives a different warning this time: $> gigatile -p work --apikey 123456 -o test-tiled.mk test.pto $> make -f test-tiled.mk (((skipped html file creation output, this works...))) pto2mk -o work/qqqs.pto.mk -p work/qqqs work/qqqs.pto Use of uninitialized value in pattern match (m//) at /usr/local/bin/pto2mk line 69. make -f work/qqqs.pto.mk work/qqqs.tif make[1]: Entering directory `/data/pano/test' make[1]: *** No rule to make target `work/qqqs.tif'. Stop. make[1]: Leaving directory `/data/pano/test' make: *** [work/qqqs.tif] Error 2 I've looked at pto2mk line 69 but I don't really understand it. There's a few FIXME comments near that line though. FWIW I'm using hugin 2013.0.0.4692917e7a55 (from the standard ubuntu 14.04 repo) Thanks! Damien
On Tue Mar 13 02:00:59 2018, ddsf@douxchamps.net wrote: Show quoted text
> make[1]: *** No rule to make target `work/qqqs.tif'. Stop. > make[1]: Leaving directory `/data/pano/test' > make: *** [work/qqqs.tif] Error 2
Thanks, it was a bug, I've pushed a fix to the Mercurial repository. gigatile assumed that the original PTO project was saved with TIFF output set, so any project saved with a JPEG setting would fail.
On Tue Mar 13 06:45:33 2018, BPOSTLE wrote: Show quoted text
> > gigatile assumed that the original PTO project was saved with TIFF > output set, so any project saved with a JPEG setting would fail.
So the workaround is simply to open the project in Hugin and change the Stitcher tab -> Output Format to TIFF
Subject: Re: [rt.cpan.org #124760] Generated makefile fails with "make: *** No rule to make target `qqqs.pto', needed by `qqqs.tif'. Stop."
Date: Tue, 13 Mar 2018 22:57:27 +0900
To: bug-Panotools-Script [...] rt.cpan.org
From: Damien Douxchamps <ddsf [...] douxchamps.net>
On Tue, 2018-03-13 at 06:45 -0400, BPOSTLE via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124760 > > > On Tue Mar 13 02:00:59 2018, ddsf@douxchamps.net wrote: >
> > make[1]: *** No rule to make target `work/qqqs.tif'. Stop. > > make[1]: Leaving directory `/data/pano/test' > > make: *** [work/qqqs.tif] Error 2
> > Thanks, it was a bug, I've pushed a fix to the Mercurial repository. > > gigatile assumed that the original PTO project was saved with TIFF output set, so any project saved with a JPEG setting would fail.
Thanks, it's progressing! I've updated/recompiled and changed the output to TIFF. It goes further but still ends with an error. The end of the output now looks like this: (...) gmaptemplate --title work/rqtq --initialzoom 0 --apikey PUTAPIKEYHERE --prefix rqtq --maxzoom 4 --maxzoomp1 5 --minres 0 > work/rqtq.html gmaptemplate --title work/rqtr --initialzoom 0 --apikey PUTAPIKEYHERE --prefix rqtr --maxzoom 4 --maxzoomp1 5 --minres 0 > work/rqtr.html pto2mk -o work/qqqs.pto.mk -p work/qqqs work/qqqs.pto Use of uninitialized value in pattern match (m//) at /usr/local/bin/pto2mk line 69. make -f work/qqqs.pto.mk work/qqqs.tif make[1]: Entering directory `/data/pano' nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 0 work/qqqs.pto nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 1 work/qqqs.pto (...) nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 18 work/qqqs.pto nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 19 work/qqqs.pto enblend --compression LZW -f8192x8192+4096+4096 -o work/qqqs.tif work/qqqs0000.tif work/qqqs0001.tif work/qqqs0002.tif work/qqqs0003.tif work/qqqs0004.tif work/qqqs0005.tif work/qqqs0006.tif work/qqqs0007.tif work/qqqs0008.tif work/qqqs0009.tif work/qqqs0010.tif work/qqqs0011.tif work/qqqs0012.tif work/qqqs0013.tif work/qqqs0014.tif work/qqqs0015.tif work/qqqs0016.tif work/qqqs0017.tif work/qqqs0018.tif work/qqqs0019.tif enblend: failed to open "work/qqqs0002.tif": No such file or directory make[1]: *** [work/qqqs.tif] Error 1 make[1]: Leaving directory `/data/pano' make: *** [work/qqqs.tif] Error 2 I've played with other output options but no luck. The scripts only generates four output tiffs: qqqs0000.tif, qqqs0001.tif, qqqs0010.tif and qqqs0011.tif. The others (0002~0019) are missing. Damien
On Tue Mar 13 09:57:44 2018, ddsf@douxchamps.net wrote: Show quoted text
> make -f work/qqqs.pto.mk work/qqqs.tif > make[1]: Entering directory `/data/pano' > nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 0 work/qqqs.pto > nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 1 work/qqqs.pto > (...) > nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 18 work/qqqs.pto > nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 19 work/qqqs.pto
Show quoted text
> I've played with other output options but no luck. The scripts only > generates four output tiffs: qqqs0000.tif, qqqs0001.tif, qqqs0010.tif > and qqqs0011.tif. The others (0002~0019) are missing.
It looks like changes to nona in 2010 and 2014 !!! broke this by skipping empty output images: https://sourceforge.net/p/hugin/hugin/ci/8541d997e02b1632432c4596e24f462a08dd8299/ https://sourceforge.net/p/hugin/hugin/ci/67ba5dec2df17f5c68d9712596655eed0e60e687/ So, the solutions are not ideal: 1. roll-back to Hugin 2010.0.0 2. revert these two commits in current Hugin sources and recompile I think nona should gain an option to always generate output files.
Subject: Re: [rt.cpan.org #124760] Generated makefile fails with "make: *** No rule to make target `qqqs.pto', needed by `qqqs.tif'. Stop."
Date: Sat, 17 Mar 2018 19:57:35 +0900
To: bug-Panotools-Script [...] rt.cpan.org
From: Damien Douxchamps <ddsf [...] douxchamps.net>
On Tue, 2018-03-13 at 11:05 -0400, BPOSTLE via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124760 > > > On Tue Mar 13 09:57:44 2018, ddsf@douxchamps.net wrote: >
> > make -f work/qqqs.pto.mk work/qqqs.tif > > make[1]: Entering directory `/data/pano' > > nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 0 work/qqqs.pto > > nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 1 work/qqqs.pto > > (...) > > nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 18 work/qqqs.pto > > nona -z LZW -r ldr -m TIFF_m -o work/qqqs -i 19 work/qqqs.pto
>
> > I've played with other output options but no luck. The scripts only > > generates four output tiffs: qqqs0000.tif, qqqs0001.tif, qqqs0010.tif > > and qqqs0011.tif. The others (0002~0019) are missing.
> > It looks like changes to nona in 2010 and 2014 !!! broke this by skipping empty output images: > > https://sourceforge.net/p/hugin/hugin/ci/8541d997e02b1632432c4596e24f462a08dd8299/ > https://sourceforge.net/p/hugin/hugin/ci/67ba5dec2df17f5c68d9712596655eed0e60e687/ > > So, the solutions are not ideal: > > 1. roll-back to Hugin 2010.0.0 > 2. revert these two commits in current Hugin sources and recompile > > I think nona should gain an option to always generate output files.
Thanks, I'll try those solutions asap and report back... Damien
On Sat Mar 17 06:58:10 2018, ddsf@douxchamps.net wrote: Show quoted text
> > Thanks, I'll try those solutions asap and report back...
Some more bad news, Google changed the maps API, so the zoomables I created before no longer work, e.g: http://bugbear.postle.net/~bruno/photos/DSCN0879-DSCN1050/ I'm sure the actual tile data is still good, and there are now free alternatives to using Google maps (such as openseadragon), but this code will need porting to the free backend.
Subject: Re: [rt.cpan.org #124760] Generated makefile fails with "make: *** No rule to make target `qqqs.pto', needed by `qqqs.tif'. Stop."
Date: Thu, 29 Mar 2018 11:34:33 +0900
To: bug-Panotools-Script [...] rt.cpan.org
From: Damien Douxchamps <ddsf [...] douxchamps.net>
On Sun, 2018-03-18 at 06:59 -0400, BPOSTLE via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124760 > > > On Sat Mar 17 06:58:10 2018, ddsf@douxchamps.net wrote:
> > > > Thanks, I'll try those solutions asap and report back...
> > Some more bad news, Google changed the maps API, so the zoomables I created before no longer work, e.g: http://bugbear.postle.net/~bruno/photos/DSCN0879-DSCN1050/ > > I'm sure the actual tile data is still good, and there are now free alternatives to using Google maps (such as openseadragon), but this code will need porting to the free backend.
I wasn't able to compile any of the hugin tools so I guess I'll have to put that on hold... ;( Good news about the alternatives to google though, I'll keep that in my radar! Damien