[Hugin-devs] [Bug 1384674] Re: enblend running out of temp space: poor diagnostics and configuration possibilities
An afterthought, much my trouble was caused because hugin did override a valid TMPDIR enviroment variable even though I did not enter any value for the tempdir in hugin GUI preferences.. Did not test if this still happens with newest hugin. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1384674 Title: enblend running out of temp space: poor diagnostics and configuration possibilities Status in Enblend: Fix Committed Status in “hugin” package in Ubuntu: Invalid Bug description: Hi, this is mostly a duplicate of https://bugs.launchpad.net/enblend/+bug/1220523. I would like to add that the diagnostic messages and documentation could be a lot better in this situation. Instead of enblend: No space left on device it would be much more helpfull to say *which device/dricetory* as this does not appear documented anywhere. Furthermore, is this device hardcoded in the source code or is it configurable somewhere? Again, did not find anything in the documentation. Finally, this just happened to me with $ df /tmp/ Filesystem 1K-blocks Used Available Use% Mounted on tmpfs1028148 924 1027224 1% /tmp and trying to stitch together 31 images. It would seem that similar situations may become increasingly common in the near future. Regards To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1384674/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 1384674] Re: enblend running out of temp space: poor diagnostics and configuration possibilities
** Changed in: enblend Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1384674 Title: enblend running out of temp space: poor diagnostics and configuration possibilities Status in Enblend: Fix Committed Status in “hugin” package in Ubuntu: Invalid Bug description: Hi, this is mostly a duplicate of https://bugs.launchpad.net/enblend/+bug/1220523. I would like to add that the diagnostic messages and documentation could be a lot better in this situation. Instead of enblend: No space left on device it would be much more helpfull to say *which device/dricetory* as this does not appear documented anywhere. Furthermore, is this device hardcoded in the source code or is it configurable somewhere? Again, did not find anything in the documentation. Finally, this just happened to me with $ df /tmp/ Filesystem 1K-blocks Used Available Use% Mounted on tmpfs1028148 924 1027224 1% /tmp and trying to stitch together 31 images. It would seem that similar situations may become increasingly common in the near future. Regards To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1384674/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 1384674] Re: enblend running out of temp space: poor diagnostics and configuration possibilities
OK -- even at the danger of loosing focus let me try to explain each your points. enblend-4.1.1-3.fc19.i686 The latest release in the Stable Branch is 4.1.3. We are already preparing 4.1.4. OTOH, the Development Branch of course holds much more goodies. The TMPDIR ought also be mentioned in the manpage, attaching a patch. THX for your patch! We have a pretty similar one in rev188e286e471d, which I just back-ported to the Stable Branch. It will show up in 4.1.4. However, looking at the source code I am wondering if TMPDIR gets used at all - or is it dead code now? (i) Enblend and Enfuse only refer to the environment variable `TMPDIR' if they were compiled with the ImageCache feature. Otherwise they store everything in core and thus don't need a reference to a scratch directory. (ii) The ImageCache feature was withdrawn in 4.2 because of the spurious problems it causes; see, e.g. https://bugs.launchpad.net/enblend/+bug/807439 Moreover, the ImageCache is incompatible with OpenMP, our main parallelization technology. Therefore, current Development Branch does not use `TMPDIR', either. (iii) The `mmap_view' branch http://hg.code.sf.net/p/enblend/code/rev/7a3964af671a uses a different caching scheme to offload image data from core to disk. It needs to know where to store the backing-files for the images and thus again refers to `TMPDIR'. In my case I had additional screw up as hugin discarded the preset TMPDIR and when setting the hugin tmpdir via gui somehow this setting has been reset on one occasion. This looks more like a Hugin issue to me, although we can think about adding a command-line option to set/override `TMPDIR'. You could easily work around the problem by wrapping the calls to Enblend and Enfuse in shell scripts that override `TMPDIR'. I imagine something like #! /bin/dash export TMPDIR=/work exec /usr/local/bin/enblend $@ ** Changed in: enblend Status: New = Triaged ** Changed in: enblend Importance: Undecided = Medium ** Changed in: enblend Assignee: (unassigned) = Christoph Spiel (cspiel) -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1384674 Title: enblend running out of temp space: poor diagnostics and configuration possibilities Status in Enblend: Triaged Status in “hugin” package in Ubuntu: Invalid Bug description: Hi, this is mostly a duplicate of https://bugs.launchpad.net/enblend/+bug/1220523. I would like to add that the diagnostic messages and documentation could be a lot better in this situation. Instead of enblend: No space left on device it would be much more helpfull to say *which device/dricetory* as this does not appear documented anywhere. Furthermore, is this device hardcoded in the source code or is it configurable somewhere? Again, did not find anything in the documentation. Finally, this just happened to me with $ df /tmp/ Filesystem 1K-blocks Used Available Use% Mounted on tmpfs1028148 924 1027224 1% /tmp and trying to stitch together 31 images. It would seem that similar situations may become increasingly common in the near future. Regards To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1384674/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 1384674] Re: enblend running out of temp space: poor diagnostics and configuration possibilities
The environment variable `TMPDIR' controls the placement of temporary files as documented in section Tuning Memory Usage of the Enblend and Enfuse manuals. The actual, assigned directory for the ImageCache can easily be inquired by calling Enblend or Enfuse with the option pair `--verbose --version' or shorter `-Vv', and the relevant part of answer looks like this: Extra feature: image cache: yes - environment variable TMPDIR not set, cache file in default directory /tmp or Extra feature: image cache: yes - environment variable TMPDIR set, cache file located in /work if TMPDIR=/work Both options, `--verbose' and `--version' are documented, too. The user is responsible for setting up TMPDIR (if required at all) as well as for feeding properly overlapping images with suitable alpha channel into Enblend or Enfuse. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1384674 Title: enblend running out of temp space: poor diagnostics and configuration possibilities Status in Enblend: New Status in “hugin” package in Ubuntu: Invalid Bug description: Hi, this is mostly a duplicate of https://bugs.launchpad.net/enblend/+bug/1220523. I would like to add that the diagnostic messages and documentation could be a lot better in this situation. Instead of enblend: No space left on device it would be much more helpfull to say *which device/dricetory* as this does not appear documented anywhere. Furthermore, is this device hardcoded in the source code or is it configurable somewhere? Again, did not find anything in the documentation. Finally, this just happened to me with $ df /tmp/ Filesystem 1K-blocks Used Available Use% Mounted on tmpfs1028148 924 1027224 1% /tmp and trying to stitch together 31 images. It would seem that similar situations may become increasingly common in the near future. Regards To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1384674/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 1384674] Re: enblend running out of temp space: poor diagnostics and configuration possibilities
Thank you both for your suggestions. I am using enblend with the hugin frontend on Fedora. enblend-4.1.1-3.fc19.i686 $ enblend -V enblend 4.1.1 I noticed the 4.2 version in the mercurial repo appears to have more verbose output and more documentation which would have helped a lot in my case. The TMPDIR ought also be mentioned in the manpage, attaching a patch. However, looking at the source code I am wondering if tmpdir gets used at all - or is it dead code now? In my case I had additional screwup as hugin discarded the preset TMPDIR and when setting the hugin tmpdir via gui somehow this setting has been reset on one occasion Did not try -m 100MB. ** Patch added: enblend man page diff https://bugs.launchpad.net/enblend/+bug/1384674/+attachment/420/+files/enblend-man.diff -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1384674 Title: enblend running out of temp space: poor diagnostics and configuration possibilities Status in Enblend: New Status in “hugin” package in Ubuntu: Invalid Bug description: Hi, this is mostly a duplicate of https://bugs.launchpad.net/enblend/+bug/1220523. I would like to add that the diagnostic messages and documentation could be a lot better in this situation. Instead of enblend: No space left on device it would be much more helpfull to say *which device/dricetory* as this does not appear documented anywhere. Furthermore, is this device hardcoded in the source code or is it configurable somewhere? Again, did not find anything in the documentation. Finally, this just happened to me with $ df /tmp/ Filesystem 1K-blocks Used Available Use% Mounted on tmpfs1028148 924 1027224 1% /tmp and trying to stitch together 31 images. It would seem that similar situations may become increasingly common in the near future. Regards To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1384674/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp