Hi all! I am working on a Python script to go between hugin and the CPGs. I'm using hugin for windows 2010.2.0. I can call the script if I give it a .cmd extension and add the rather ugly first line:
@setlocal enableextensions & python -x %~f0 %* & goto :EOF Then it works as intended. But I can't execute it with the regular .py extension. I feel this may be due to some mechanism in hugin, since my Windows is set up to execute Python scripts with that extension. Another Python script I use to wrap smartblend (an alternative blendig tool) works just fine from hugin, with the .py extension. I have to enter the script's name by hand, since the preselection in the choose file dialog does not display it and offers no option to display files of all types, which in itself might be considered an omission. But work it does. If I manually enter the script I intend to use as CPG, I get this error log: 14:57:05: Execution of command '"S:\Hugin\cpg_glue.py" --verbose --log cpg.log -o S:\Temp\ap_21A.tmp -i "S:\Bilder\hell0000.TIF" "S:\Bilder \hell0001.TIF"' failed (error 193: unknown error c1) 14:57:05: Execution of '"S:\Hugin\cpg_glue.py" --verbose --log cpg.log -o S:\Temp\ap_21A.tmp -i "S:\Bilder\hell0000.TIF" "S:\Bilder \hell0001.TIF"' failed. which isn't particularly helpful. Any ideas? This is not a new problem; I tried with an older hugin version and it behaves the same way. with regards KFJ -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
