Re: hugin?

2013-08-23 Thread Warren Block

On Thu, 22 Aug 2013, Gary Aitken wrote:


Is anyone using the current port of hugin successfully on 9.1?
I've never used it before but an attempt to start it crashes:

$ hugin
/usr/local/share/hugin/data/plugins/top_five.py
  CAT:Control Points
  NAM:keep 5 CPs per image pair
/usr/local/share/hugin/data/plugins/woa.py
  CAT:Control Points
  NAM:Warped Overlap Analysis
/usr/local/share/hugin/data/plugins/shooting_pattern.py
  CAT:initial distribution
  NAM:6-1-1 Shooting Pattern
/usr/local/share/hugin/data/plugins/crop_cp.py
  CAT:Control Points
  NAM:Crop Control Points
Segmentation fault: 11 (core dumped)


That could be from having the OpenGL preview window enabled.  In 
~/.hugin, go to the [GLPreviewFrame] section and set isShown to zero. 
After the program starts, that can be set in the Preferences: 
File/Preferences/Assistant After align open.  Set it to Preview 
Window rather than Fast preview window.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hugin?

2013-08-23 Thread Gary Aitken
On 08/23/13 07:10, Warren Block wrote:
 On Thu, 22 Aug 2013, Gary Aitken wrote:
 
 Is anyone using the current port of hugin successfully on 9.1? I've
 never used it before but an attempt to start it crashes:
 
 $ hugin /usr/local/share/hugin/data/plugins/top_five.py CAT:Control
 Points NAM:keep 5 CPs per image pair 
 /usr/local/share/hugin/data/plugins/woa.py CAT:Control Points 
 NAM:Warped Overlap Analysis 
 /usr/local/share/hugin/data/plugins/shooting_pattern.py CAT:initial
 distribution NAM:6-1-1 Shooting Pattern 
 /usr/local/share/hugin/data/plugins/crop_cp.py CAT:Control Points 
 NAM:Crop Control Points Segmentation fault: 11 (core dumped)
 
 That could be from having the OpenGL preview window enabled.  In
 ~/.hugin, go to the [GLPreviewFrame] section and set isShown to zero.
 After the program starts, that can be set in the Preferences:
 File/Preferences/Assistant After align open.  Set it to Preview
 Window rather than Fast preview window.

I don't see any GLPreviewFrame, or any Preview at all; or any Shown:

cat .hugin
version=2012.0
[AutoPano]
AutoPanoCount=10
Default=0
[AutoPano/AutoPano_0]
Type=1
Description=Hugin's CPFind
Program=cpfind
Arguments=--multirow -o %o %s
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_1]
Type=1
Description=Hugin's CPFind + Celeste (slower but more accurate, no cps on 
clouds)
Program=cpfind
Arguments=--celeste --multirow -o %o %s
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_2]
Type=2
Description=Cpfind (multirow/stacked)
Program=cpfind
Arguments=-o %o --multirow %s
ProgramMatcher=
ArgumentsMatcher=
ProgramStack=align_image_stack
ArgumentsStack=-f %v -v -p %o %i
Option=1
[AutoPano/AutoPano_3]
Type=1
Description=Autopano-SIFT-C
Program=autopano-noop.sh
Arguments=--maxmatches %p --projection %f,%v %o %i
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_4]
Type=1
Description=Panomatic
Program=panomatic
Arguments=-o %o %i
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_5]
Type=4
Description=Autopano-SIFT-C (multirow/stacked)
Program=generatekeys
Arguments=%i %k 800
ProgramMatcher=autopano
ArgumentsMatcher=--maxmatches %p %o %k
ArgumentsCleanup=
ProgramStack=align_image_stack
ArgumentsStack=-f %v -v -p %o %i
Option=1
[AutoPano/AutoPano_6]
Type=1
Description=Align image stack
Program=align_image_stack
Arguments=-f %v -v -p %o %i
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_7]
Type=1
Description=Align image stack FullFrameFisheye
Program=align_image_stack
Arguments=-f %v -e -p %o %i
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_8]
Type=1
Description=Vertical lines
Program=linefind
Arguments=-o %o %s
ProgramMatcher=
ArgumentsMatcher=
Option=1
[AutoPano/AutoPano_9]
Type=1
Description=Hugin's CPFind (prealigned)
Program=cpfind
Arguments=--prealigned -o %o %s
ProgramMatcher=
ArgumentsMatcher=
Option=1

gdb shows the following:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 812807400 (LWP 100339/hugin)]
0x00080525cab0 in wxWindow::DoSetSize () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
(gdb) where
#0  0x00080525cab0 in wxWindow::DoSetSize () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#1  0x000805342c7e in wxBoxSizer::RecalcSizes () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#2  0x0008053546f0 in wxWindowBase::Layout () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#3  0x00080537f5d6 in wxPanel::OnSize () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#4  0x000804dfe48d in wxEvtHandler::ProcessEventIfMatches () from 
/usr/local/lib/libwx_baseu-2.8.so.0
#5  0x000804dfe64c in wxEventHashTable::HandleEvent () from 
/usr/local/lib/libwx_baseu-2.8.so.0
#6  0x000804dfe78d in wxEvtHandler::ProcessEvent () from 
/usr/local/lib/libwx_baseu-2.8.so.0
#7  0x00080525ca85 in wxWindow::DoSetSize () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#8  0x000805342c7e in wxBoxSizer::RecalcSizes () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#9  0x000805342c03 in wxBoxSizer::RecalcSizes () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#10 0x000805342c7e in wxBoxSizer::RecalcSizes () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#11 0x000805342c03 in wxBoxSizer::RecalcSizes () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#12 0x000805342c7e in wxBoxSizer::RecalcSizes () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#13 0x000805342c7e in wxBoxSizer::RecalcSizes () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#14 0x0008053546f0 in wxWindowBase::Layout () from 
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
#15 0x0008056b7f08 in wxAuiManager::DoFrameLayout () from 
/usr/local/lib/libwx_gtk2u_aui-2.8.so.0
#16 0x0008056bf720 in wxAuiManager::Update () from 
/usr/local/lib/libwx_gtk2u_aui-2.8.so.0
#17 0x0054e0b8 in 
HuginBase::Nona::ReduceStitchervigra::BasicImagevigra::RGBValuefloat, 0u, 
1u, 2u, std::allocatorvigra::RGBValuefloat, 0u, 1u, 2u  , 
vigra::BasicImageunsigned char,