** Changed in: hugin
       Status: Fix Committed => Fix Released

** Changed in: hugin
    Milestone: None => 2015.0beta1

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1434932

Title:
  assert "IsOpened()" failed in GetFirst() when running in debug mode

Status in Hugin - Panorama Tools GUI:
  Fix Released

Bug description:
  When compiling in debug mode and running from the build directory, an
  assertion is triggered due to the missing plugins directory.

  ASSERT INFO:
  ./src/unix/dir.cpp(275): assert "IsOpened()" failed in GetFirst(): must 
wxDir::Open() first

  BACKTRACE:
  [1] wxDir::GetFirst(wxString*, wxString const&, int) const
  [2] MainFrame::MainFrame(wxWindow*, HuginBase::Panorama&) 
/home/sean/pkg/hugin-hg/src/hugin/src/hugin1/hugin/MainFrame.cpp:371
  [3] huginApp::OnInit() 
/home/sean/pkg/hugin-hg/src/hugin/src/hugin1/hugin/huginApp.cpp:315
  [4] wxAppConsoleBase::CallOnInit() /usr/include/wx-3.0/wx/app.h:93
  [5] wxEntry(int&, wchar_t**)
  [6] main /home/sean/pkg/hugin-hg/src/hugin/src/hugin1/hugin/huginApp.cpp:118
  [7] __libc_start_main
  [8] _start

  The attached patch fixes the issue by checking whether the dir open
  succeeded before attempting to access it. (I used hg diff this time,
  let me know if it's formatted right.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1434932/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~hugin-devs
Post to     : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to