Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554872 - =dev-db/pgadmin3-1.20.0-r1 built with x11-libs/wxGTK:3.0 fails to run 'Execute the last used plugin' menu item
Summary: =dev-db/pgadmin3-1.20.0-r1 built with x11-libs/wxGTK:3.0 fails to run 'Execut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-14 10:22 UTC by Sergey S. Starikoff
Modified: 2015-07-15 11:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pgadmin_errwin.png (pgadmin_errwin.png,15.01 KB, image/png)
2015-07-14 10:22 UTC, Sergey S. Starikoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2015-07-14 10:22:47 UTC
Created attachment 406774 [details]
pgadmin_errwin.png

Since =x11-libs/wxGTK-3.0.2.0-r1 is stable =dev-db/pgadmin3-1.20.0-r1 tries to build with it, if it present.
Build succeed, but after start I see the following issue:
Pointing to 'Execute the last used plugin' menu item produces attached error window. The same result is for pointing to "PSQL Console" selector.

The backtrace text is:
ASSERT INFO:
/var/tmp/portage/x11-libs/wxGTK-3.0.2.0-r1/work/wxPython-src-3.0.2.0/src/common/menucmn.cpp(715): assert "!IsAttached()" failed in SetInvokingWindow(): menus attached to menu bar can't have invoking window

BACKTRACE:
[1] wxMenuBase::SetInvokingWindow(wxWindow*)
[2] wxWindowBase::PopupMenu(wxMenu*, int, int)
[3] wxListCtrlBase::~wxListCtrlBase()
[4] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[5] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[6] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[7] wxEvtHandler::TryHereOnly(wxEvent&)
[8] wxEvtHandler::ProcessEventLocally(wxEvent&)
[9] wxEvtHandler::ProcessEvent(wxEvent&)
[10] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[11] g_closure_invoke
[12] g_signal_emit_valist
[13] g_signal_emit
[14] gtk_propagate_event
[15] gtk_main_do_event
[16] g_main_context_dispatch
[17] g_main_loop_run
[18] gtk_main
[19] wxGUIEventLoop::DoRun()
[20] wxEventLoopBase::Run()
[21] wxAppConsoleBase::MainLoop()
[22] wxEntry(int&, wchar_t**)
[23] __libc_start_main

So, probably, =dev-db/pgadmin3-1.20.0-r* should depend not on best_version, but on x11-libs/wxGTK:2.8
Comment 1 Aaron W. Swenson gentoo-dev 2015-07-15 11:12:16 UTC
Thanks for the report. We don't have to revert back to 2.8-only, though, as it has been fixed upstream.

Until they do a new release I've picked the change that fixes this issue, and will commit it to portage soon.
Comment 2 Aaron W. Swenson gentoo-dev 2015-07-15 11:25:54 UTC
*pgadmin3-1.20.0-r2 (15 Jul 2015)

  15 Jul 2015; Aaron W. Swenson <titanofold@gentoo.org>
  +pgadmin3-1.20.0-r2.ebuild, +files/pgadmin3-menu-assert.patch:
  Fix bug 554872 with patch from upstream. Also, added epatch_user line.