PTBatcherGUI not functioning

56 views
Skip to first unread message

mac_user

unread,
May 17, 2020, 7:59:55 AM5/17/20
to hugin and other free panoramic software
I am using Hugin 2019.2.0 on an iMac 2019 OS 10.14.4, 16 GB RAM, Radeon Pro 580X 8GB graphics card, 2T SST.

I have no problem loading images, I can see the images in the overview pane 
Align works fine, I see "Images are connected by 107 control points, mean error after optimization: 2.7 pixel, max 6.5"
I then select "Exposure corrected, low dynamic range" and select OK and I see a window that tells me that the needs to be saved, etc.
I then click OK and a save screen opens, I then click "Save" which opens the "Specify output prefix" screen.
When I then click Save this time, Hugin gives me an error message "Failed to get working directly (error 2: No such file or directory).  At that time Hugin becomes non-responsive and will not respond to a "Quit" command.  When I force quit, I see the following  message "PTBatcher (not responding)."

I  have tried to create a pano with two different sets of images and I get the same result

I used both image sets with Affinity Photo and was able to create panos, although the resulting pano had artifacts at the image boundaries. 

I am unable to create the pano with Hugin.
Screen Shot 2020-05-17 at 7.56.06 AM.png
Screen Shot 2020-05-17 at 7.56.40 AM.png

Donald Johnston

unread,
May 17, 2020, 8:53:05 AM5/17/20
to hugin and other free panoramic software
I think this is a known bug. Open PTBatcher and clear the entries. Then try hugin.

Stanley Green

unread,
May 17, 2020, 9:29:18 AM5/17/20
to hugi...@googlegroups.com
Thank you. Your suggestion worked!!

I moved the pano over to affinity  and applied a haze filter and here is the resulting image.  It was a strange weather day, snow squalls kept coming across the canyon and the next morning there was 4” of snow on the South Rim.  It melted quickly.



-- 
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/d746babb-1273-4064-961d-f9a2d747fc39%40accesscomm.ca.

mac_user

unread,
May 17, 2020, 4:42:11 PM5/17/20
to hugin and other free panoramic software
Well, I spoke too soon.  Tried to create a new pano with a different image set and the PTBatcherGUI locked up again.





Screen Shot 2020-05-17 at 4.33.26 PM.png

AKS-Gmail-IMAP

unread,
May 17, 2020, 6:38:53 PM5/17/20
to hugi...@googlegroups.com
The problem appears to come from security changes Apple made to OS X. Hugin is denied certain access privaleges critical to its process for handing the stitching task over to PTBatcherGUI. The cause seems to be elusive enough, and also possibly different for each OS X version, to evade error trapping attempts on the part of Hugin’s OS X developers. I suspect the issue is related to Apple gradually integrating its A2 security chip into OS X versions. 

The fix for me, revealed by others in pervious posts, requires manually allowing Hugin the required security access privileges in Apple’s “Security & Privacy” section to OS X’s “System Preferences”. My OS X is 10.15.4. The names, GUI and procedure I describe might be slightly different than in your OS X version but I would assume the general concept is the same.

Open the “Security & Privacy” section in “System Preferences”. Note this is OS X System Preferences, not Hugin Preferences. Select the “Privacy” selector in the “Security & Privacy” pane. The GUI might be different for OS X 10.14.4. The “Security & Privacy” preferences concern what applications are allowed to access. This includes disk access as well as microphone access etc.

“Unlock” your access to “Security & Privacy” if it locked. (i.e. “Click the lock to make changes.”)

Find and select “Full Disk Access” in the category selection pane that is on the “Security & Privacy” pane’s left side. Using the “+-“ control, add Hugin to the applications listed in the right hand side list window if it not listed. Then check its checkbox. 

I did not need to add PTBatcherGUI for “Full Disk Access”. For me, PTBatcherGUI was already listed in the “Files and Folders” category access. It apparently had partial access. What is confusing is that the “+-“ control for the “Files and Folders” category access list window cannot be activated. Applications with Full Disk Access are listed in this list. Hugin will be listed there after you grant it Full Disk Access in the Full Disk Access control.

Lock the setting when you are done. This fixed the Hugin transfer to PTBatcherGUI problem.

        

On May 17, 2020, at 3:42 PM, 'mac_user' via hugin and other free panoramic software <hugi...@googlegroups.com> wrote:

Well, I spoke too soon.  Tried to create a new pano with a different image set and the PTBatcherGUI locked up again.






--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/0adbbdef-6d97-4055-907c-a594561bc1b1%40googlegroups.com.
<Screen Shot 2020-05-17 at 4.33.26 PM.png>

Stanley Green

unread,
May 17, 2020, 6:43:10 PM5/17/20
to hugi...@googlegroups.com
Thank you very much!!!  I have been slowly losing my mind trying to get this thing to work 🤣

Stanley Green

unread,
May 17, 2020, 7:50:22 PM5/17/20
to hugi...@googlegroups.com
Your suggested fix worked perfectly. Thank you!
I was not sure if you meant to for me to do the “Security & Privacy” action for Hugin or PTBatcherGUI so I did them both.

On May 17, 2020, at 6:38 PM, AKS-Gmail-IMAP <akse...@gmail.com> wrote:

AKS-Gmail-IMAP

unread,
May 17, 2020, 9:34:20 PM5/17/20
to hugi...@googlegroups.com
We should be thanking Mike Maas. His March 10, 2020 post mentions the required setting.

To be clear, since the day this started I’ve always seen the problem where there is a hang when Hugin tries to transfer the stitch task to PTBatcherGUI when PTBatcherGUI was not already running. I needed to add Full Disk Access privilege for only Hugin to get things working properly. PTBatcherGUI already had limited access (Removable Volumes and Desktop Folder) on my system. I have my doubts that limited access is necessary for the Hugin to PTBatcherGUI handoff.

This access issue has always been mysterious because one can monitor the hidden temporary file location where Hugin and PTBatcherGUI exchange the handoff information. I think you can see both Hugin and PTBatcherGUI creating, writing and deleting files at the location, yet we get the unresolved path name to presumably that location when Hugin does not have the Security & Privacy Full Disk Access privilege. It is as if some function call to evaluate that path is influenced by the Security & Privacy Full Disk Access privilege and kicking back an unresolvable result.  

Klaus Föhl

unread,
May 18, 2020, 2:22:17 AM5/18/20
to hugi...@googlegroups.com
There may be a workaround. Control-click the Stitch button. This way the batch process handler is not invoked.

Reply all
Reply to author
Forward
0 new messages