Hi Erik, 'compression: lzw' sounds like this might be a tiff file with a jpg 
filename extension. I hope you still have the file so we can investigate.

This doesn't explain why it crashed the machine though. The only way this can 
happen is if the process uses too many resources, and some management system 
rebooted the machine to recover. Resources being memory, CPU, disk space etc..

Is the nona process being run by the web-server user as part of a web POST? 
This could easily bring down Apache (or whichever httpd server you are using). 
You might be able to reduce the resources available to each process/thread, 
this would at least keep the server running for other users.

An alternative design would have a separate daemon process that picked up the 
image files one at a time and executed nona outside of the httpd software 
altogether.

But your comment about .bashrc suggests that you are running this conversion 
process manually, are you connecting via SSH and running a script?

Without root access you are limited to copying files and libraries, pretty much 
as you have been doing :(
You could use PTmender instead of Nona, the scripting would be the same, but 
PTmender has fewer dependencies.

-- 
Bruno


On 19 October 2020 22:42:40 BST, Erik Krause wrote:
>Hello,
>
>I use nona to extract cubefaces, thumbnails and preview images from
>equirectangular source images on the WWP server (Ubuntu 14.04.5 LTS).
>This used to work very well until recently, when I encountered a
>special
>jpeg file. This file opened normally in Irfanview and photoshop, but
>the
>windows 10 properties dialog showed "Compression: LZW", something I
>didn't see before. nona crashed on that and caused a system reboot any
>time I tried. After I re-compressed the image using photoshop CS6 this
>didn't happen any more.
>
>However, local nona in WSL (Ubuntu 18.04.3 LTS) didn't crash on that
>strange file. This might be due to the fact that I didn't install nona
>on the server using a package manager, since I don't have sudo or root
>privileges there. Instead I unpacked the package and copied the files
>manually one by one until nona didn't complain about missing libraries
>any more. Of course I had to change LD_LIBRARY_PATH in .bashrc for this
>to work.
>
>Could it be that I missed a module but nona doesn't complain?
>
>Does anyone know about that strange jpeg format apparently created on a
>mac with photoshop?
>
>What would be the correct and easiest way to install nona on a server
>without sudo privilegs (if that is the reason for the crash)? Can I use
>homebrew?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/078F3168-D866-4CE1-96C8-1053E89F36DC%40postle.net.

Reply via email to