Bug 269668 - graphics/hugin: assistant locks up during cleaning points
Summary: graphics/hugin: assistant locks up during cleaning points
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-18 20:27 UTC by merritt.draney
Modified: 2023-11-18 20:33 UTC (History)
2 users (show)

See Also:
fuz: maintainer-feedback+


Attachments
Where it gets stuck (302.41 KB, image/png)
2023-02-18 20:27 UTC, merritt.draney
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description merritt.draney 2023-02-18 20:27:46 UTC
Created attachment 240243 [details]
Where it gets stuck

I can make hugin work, but it takes some doing. If I run the assistant, it will find the control points but gets stuck statistically cleaning them. If I x out I can go into advanced mode and select the images and manually clean the points. If I try in advanced mode it starts cpfind but immediately locks up. So I find the points with assistant and switch over to advanced for the rest and it works. I was using the 2021 version from the pkg and have since upgraded to 2022 with no change. I am running FreeBSD 13.1. I also tried building from ports to no luck. It works on my Debian partition though.  I even tried it on GhostBSD with the same locking up result.

Running cpfind once the assistant runs fine along with cpclean with a previously generated pto file.  

On the hugin sourceforge page, they recommended looking at wxExecute and associated pages because that is how hugin communicates with the underlining commands.

Thanks in advance!
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-02-26 23:40:30 UTC
Greetings!

I apologise for the delay in handling this issue.  It somehow slipped by.

I have no idea what the source of this issue is.  Could you provide a reliable way to reproduce this issue with steps I can follow exactly, including all files needed to do so?  This way, I may be able to make inroads into finding out what the cause is.
Comment 2 merritt.draney 2023-02-28 03:14:23 UTC
To reproduce on my computer.
 1.Obtain two picture files and in beginner/easy/assistant view hit Hutton 1 to choose those pictures. 
2.  Hit button 2 to align the two pictures. It will automatically find the control points fine and gets stuck when it starts cleaning them as my attachment shows. 

A second way to even get less far is to go into advanced modes. Add the two pictures and then hit the find control point button.  It locks up immediately finding the control points using this method.

Strangely if you do step 1 above and then go into the file menu and save the existing work as a .PTO file say filename.pto and do the following steps from the commandline it works perfectly. 
1. cpfind filename.pto
2. cpclean filename.pto

Or do step 1 and 2 from easy mode, cancel out once it locks up. Since it has found the control points you can do the rest of the steps manually to crop and align the pictures in advanced mode and produce a result. Let me know if you want those steps written out. 

My theory is that something is not communicating between the GUI and the underlying commands or they are being blocked somehow. I've played with the temporary folder settings and permissions to no avail. I doubt ipfw could block it but haven't experimented. 

I'll send you two pictures directly sometime tomorrow. Thanks for your response and help.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-03-23 10:28:40 UTC
I got side-tracked a little.  Here are the pictures you sent me:

    http://fuz.su/~fuz/freebsd/pr/269668/

I hope I find some time to work on this issue soon.
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2023-11-18 20:33:26 UTC
I'm sorry for the long delay.

A new Hugin release has come out in the meanwhile.  Does the issue still occur with it?