Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-16 Thread Greg 'groggy' Lehey
On Friday, 16 September 2016 at 19:39:48 -0700, Michael Havens wrote:
> On Friday, September 16, 2016 at 9:00:17 PM UTC-4, Groogle wrote:
>>
>> You still haven't answered my question about the running out of disk
>> space.  We haven't been able to reproduce that.
>
> Sorry I missed that question. Don't worry so much about that. It is
> unlikely you will be able to reproduce that error as my root directory
> isn't that big...
>
>  $ df / -h
>  Filesystem  Size  Used Avail Use% Mounted on
>  /dev/sdb123G   15G  7.2G  67% /
>
> 7.2 G seems like a lot of free space to me right now but I guess it isn't
> when doing a photosphere!

I don't know many root directories that big.

We (mainly Sean Greenslade and I) discussed this, but the only firm
conclusion was that normally nothing gets written to the temporary
directory.  That's why I asked you:

On Thursday, 15 September 2016 at 13:41:36 +1000, Greg 'groggy' Lehey wrote:
>
> 2.  How much space was used in /tmp or /var/tmp?  None at all!  I
> don't know where I got the idea that the intermediate files go to
> /tmp.  So the question remains: what is getting written to the
> root file system in Michael's scenario?  Michael, can you check
> next time you stitch a pano.  The log window will tell you what is
> being written, and where.  Maybe it's not /tmp at all.

On Friday, 16 September 2016 at 17:42:03 +1000, Greg 'groggy' Lehey wrote:
>
> Could you please try removing the entry for the temporary directory
> and see if you still have trouble?  As I said (thread "hugin shouldn't
> stitch in root"):
>
> On Thursday, 15 September 2016 at 13:41:36 +1000, Greg 'groggy' Lehey wrote:
>> 2.  How much space was used in /tmp or /var/tmp?  None at all!  I
>> don't know where I got the idea that the intermediate files go to
>> /tmp.  So the question remains: what is getting written to the
>> root file system in Michael's scenario?  Michael, can you check
>> next time you stitch a pano.  The log window will tell you what is
>> being written, and where.  Maybe it's not /tmp at all.

The fact is that you *have* managed to fill up your root directory,
and so far we have no explanation for it.  It's not beyond the bounds
of possibility that you have another bug here.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20160917030020.GA1067%40eureka.lemis.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Greg 'groggy' Lehey
On Wednesday, 14 September 2016 at 21:53:43 -0400, Sean Greenslade wrote:
> On Thu, Sep 15, 2016 at 09:56:08AM +1000, Greg 'groggy' Lehey wrote:
>> On Wednesday, 14 September 2016 at 11:47:18 -0700, Michael Havens wrote:
>>> FYI- I killed hugin with the notice that I was running out of space and:
>>> $ df /
>>> Filesystem 1K-blocks Used Available Use% Mounted on
>>> /dev/sdb1   23638908 14634544   7780532  66% /
>>
>> This would suggest that you have used up nearly 8 GB of storage for
>> your panorama.  That seems excessive.  Is it really that big?
>
> That's not an unreasonable number. Hugin uses uncompressed TIFFs as
> intermediary files, so a full sphere at normal SLR focal lengths could
> have 30-60 intermediary files. Even more if you do exposure stacks. I
> routinely exceeded my 16 GiB of RAM doing 3x15000 px 3-stack blends.

Yes, but this isn't the sort of thing you do when you start off.  I've
just checked and discovered two things:

1.  On a 15136x7568 pano with 20 components (the largest I do), the
intermediate files  took up 550 MB.  It's not clear that your
intermediate files are larger, since there are more of them, but
that could easily mean 2 GB in your scenario.

During stitching, the enblend image grew to about 8 GB, and I
could easily see you heading over the 16 GB in your scenario.  But
that's (virtual) memory, not disk space.

At the end of stitching, total disk space (intermediate and final
image) grew to about 800 GB.

2.  How much space was used in /tmp or /var/tmp?  None at all!  I
don't know where I got the idea that the intermediate files go to
/tmp.  So the question remains: what is getting written to the
root file system in Michael's scenario?  Michael, can you check
next time you stitch a pano.  The log window will tell you what is
being written, and where.  Maybe it's not /tmp at all.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20160915034136.GC49504%40eureka.lemis.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Sean Greenslade
On Thu, Sep 15, 2016 at 09:56:08AM +1000, Greg 'groggy' Lehey wrote:
> On Wednesday, 14 September 2016 at 11:47:18 -0700, Michael Havens wrote:
> > FYI- I killed hugin with the notice that I was running out of space and:
> > $ df /
> > Filesystem 1K-blocks Used Available Use% Mounted on
> > /dev/sdb1   23638908 14634544   7780532  66% /
> 
> This would suggest that you have used up nearly 8 GB of storage for
> your panorama.  That seems excessive.  Is it really that big?

That's not an unreasonable number. Hugin uses uncompressed TIFFs as
intermediary files, so a full sphere at normal SLR focal lengths could
have 30-60 intermediary files. Even more if you do exposure stacks. I
routinely exceeded my 16 GiB of RAM doing 3x15000 px 3-stack blends. 

--Sean

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20160915015343.GB13924%40coach.home.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Gnome Nomad
I don't have /tmp mounted specially - just however Debian set things up.
Perhaps OP tweaked their setup. I can't imagine any Linux distro would ever
point a tmp folder at the root.

On Wed, Sep 14, 2016, 12:25 Sean Greenslade  wrote:

> On Wed, Sep 14, 2016 at 10:22:56PM +, Gnome Nomad wrote:
> > Hmm, I've used Hugin on Linux for years now and it has NEVER attempted to
> > do anything in root. It has always written temp files to /tmp, and
> remapped
> > images to the folder containing the pto file.
>
> I'm assuming the OP doesn't have /tmp mounted specially, so anything
> that goes into /tmp is going onto the root filesystem. I know some
> distros behave this way. IIRC, Fedora made /var/tmp a ramdisk but left
> /tmp a normal dir.
>
> --Sean
>
> --
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> ---
> You received this message because you are subscribed to the Google Groups
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hugin-ptx+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hugin-ptx/20160914222506.GB4487%40coach.home
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAHuCaacoC0aEXRcY2BGS3PfwZy6a2f5NXSd%3DRDXdpPR-ix%2B6DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Sean Greenslade
On Wed, Sep 14, 2016 at 10:22:56PM +, Gnome Nomad wrote:
> Hmm, I've used Hugin on Linux for years now and it has NEVER attempted to
> do anything in root. It has always written temp files to /tmp, and remapped
> images to the folder containing the pto file.

I'm assuming the OP doesn't have /tmp mounted specially, so anything
that goes into /tmp is going onto the root filesystem. I know some
distros behave this way. IIRC, Fedora made /var/tmp a ramdisk but left
/tmp a normal dir.

--Sean

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20160914222506.GB4487%40coach.home.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Sean Greenslade
On Wed, Sep 14, 2016 at 01:37:31PM -0700, Michael Havens wrote:
> $  TMPDIR=$PWD hugin_executor --stitching rend.pto could not open script : 
> /home/bmike1/hugintmp/rend.pto

This was just an example, clearly you'll need to modify the line to run
your specific job. See the hugin_executor man page for details on its
arguments.

The way I've shown here, the environment variable is only set for that
command invocation. If you would like to set it more permanently, add it
to your shell init (e.g. ~/.bashrc for bash).

--Sean

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20160914222326.GA4487%40coach.home.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Gnome Nomad
Hmm, I've used Hugin on Linux for years now and it has NEVER attempted to
do anything in root. It has always written temp files to /tmp, and remapped
images to the folder containing the pto file.

On Wed, Sep 14, 2016, 10:53 Michael Havens 
wrote:

> Then I tried it from the directory  the pano is in but the results were
> the same (with the current directory).
>
> --
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> ---
> You received this message because you are subscribed to the Google Groups
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hugin-ptx+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hugin-ptx/1836f6b3-3b6a-41a9-a9ed-4042ac3b8247%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAHuCaafptC0GLGuoWmsdwKpxtQsBS%3DW_amyMegKF50dd9WsfpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
Then I tried it from the directory  the pano is in but the results were the 
same (with the current directory).

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/1836f6b3-3b6a-41a9-a9ed-4042ac3b8247%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
$  TMPDIR=$PWD hugin_executor --stitching rend.pto could not open script : 
/home/bmike1/hugintmp/rend.pto


On Wednesday, September 14, 2016 at 3:29:17 PM UTC-4, Sean Greenslade wrote:
>
> On Wed, Sep 14, 2016 at 11:43:17AM -0700, Michael Havens wrote: 
> > I am trying to create a 360X180 panorama. As it stitches the images 
> > together though it runs out of room. Root in this system is finite. 
> /home 
> > in this system is enormous. Why does hugin stitch things together in / 
> > rather than /home. How do I get around this problem? 
>
> If I recall correctly, the only reason Hugin would write files outside 
> of your destination directory is when temporary files are written. By 
> default it uses /tmp, however you can change that with the TMPDIR 
> environment varible like so: 
>
> $ cd /home/user/pano 
> $ TMPDIR=$PWD hugin_executor --stitching rend.pto 
>
>
> --Sean 
>
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/7cdb7748-5ff1-4e40-b0bc-7972548a96fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens


On Wednesday, September 14, 2016 at 4:19:15 PM UTC-4, Michael Havens wrote:
>
> Sean, would I need to enter that whenever I do a big pano?
> Or is that the, enter once and your good until the os crashes, thing?
>
>>
>>
I run linux the os never needs to be reinstalled! More like, you're good 
until you need to replace the computer! 

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/bbaf6061-9182-4f2d-bf8d-683b01f246b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
Sean, would I need to enter that whenever I do a big pano?
Or is that the, enter once and your good until the os crashes, thing?

On Wednesday, September 14, 2016 at 3:29:17 PM UTC-4, Sean Greenslade wrote:
>
> On Wed, Sep 14, 2016 at 11:43:17AM -0700, Michael Havens wrote: 
> > I am trying to create a 360X180 panorama. As it stitches the images 
> > together though it runs out of room. Root in this system is finite. 
> /home 
> > in this system is enormous. Why does hugin stitch things together in / 
> > rather than /home. How do I get around this problem? 
>
> If I recall correctly, the only reason Hugin would write files outside 
> of your destination directory is when temporary files are written. By 
> default it uses /tmp, however you can change that with the TMPDIR 
> environment varible like so: 
>
> $ cd /home/user/pano 
> $ TMPDIR=$PWD hugin_executor --stitching rend.pto 
>
>
> --Sean 
>
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/6366f74e-7bdc-443b-9784-31a438c09887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
thanks shawn I really appreciate that!

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/2cf4a061-8c4f-4e69-b788-d670e7bd9787%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Sean Greenslade
On Wed, Sep 14, 2016 at 11:43:17AM -0700, Michael Havens wrote:
> I am trying to create a 360X180 panorama. As it stitches the images 
> together though it runs out of room. Root in this system is finite. /home 
> in this system is enormous. Why does hugin stitch things together in / 
> rather than /home. How do I get around this problem?

If I recall correctly, the only reason Hugin would write files outside
of your destination directory is when temporary files are written. By
default it uses /tmp, however you can change that with the TMPDIR
environment varible like so:

$ cd /home/user/pano
$ TMPDIR=$PWD hugin_executor --stitching rend.pto


--Sean

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20160914192912.GA24730%40coach.home.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] hugin shouldn't stitch in root.

2016-09-14 Thread Michael Havens
I am trying to create a 360X180 panorama. As it stitches the images 
together though it runs out of room. Root in this system is finite. /home 
in this system is enormous. Why does hugin stitch things together in / 
rather than /home. How do I get around this problem?

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/5bed0f66-65f7-4d81-a900-3068bdbb1b7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.