Thread: dev 1.15 wxwidgets 2.9.3 - adding constraints

dev 1.15 wxwidgets 2.9.3 - adding constraints

From
Colin Beckingham
Date:
Given 3 existing tables, I tried to add a foreign key constraint to a 
table on the many side. Repeatable for first constraint addition but 
subsequent constraint additions work fine. Stop crashes pgadmin. 
Continue produces the comment: XRC error: 196: invalid row index 9: must 
be less than 2. Then pgadmin continues and I can successfully add the 
relationship constraint. Error/backtrace is:

ASSERT INFO:
./include/wx/strvararg.h(453): assert "(argtype & 
(wxFormatStringSpecifier<T>::value)) == argtype" failed in 
wxArgNormalizer(): format specifier doesn't match argument type

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, char const*)
[2] wxSizerXmlHandler::SetGrowables(wxFlexGridSizer*, wchar_t const*, bool)
[3] wxSizerXmlHandler::Handle_sizer()
[4] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[5] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, wxObject*, 
wxXmlResourceHandler*)
[6] wxSizerXmlHandler::Handle_sizeritem()
[7] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[8] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, wxObject*, 
wxXmlResourceHandler*)
[9] wxXmlResourceHandler::CreateChildren(wxObject*, bool)
[10] wxSizerXmlHandler::Handle_sizer()
[11] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[12] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, 
wxObject*, wxXmlResourceHandler*)
[13] wxXmlResourceHandler::CreateChildren(wxObject*, bool)
[14] wxPanelXmlHandler::DoCreateResource()
[15] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[16] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, 
wxObject*, wxXmlResourceHandler*)
[17] wxNotebookXmlHandler::DoCreateResource()
[18] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[19] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, 
wxObject*, wxXmlResourceHandler*)
[20] wxXmlResourceHandler::CreateChildren(wxObject*, bool)
[21] wxNotebookXmlHandler::DoCreateResource()
[22] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[23] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, 
wxObject*, wxXmlResourceHandler*)
[24] wxSizerXmlHandler::Handle_sizeritem()
[25] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[26] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, 
wxObject*, wxXmlResourceHandler*)
[27] wxXmlResourceHandler::CreateChildren(wxObject*, bool)
[28] wxSizerXmlHandler::Handle_sizer()
[29] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[30] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, 
wxObject*, wxXmlResourceHandler*)
[31] wxXmlResourceHandler::CreateChildren(wxObject*, bool)
[32] wxDialogXmlHandler::DoCreateResource()
[33] wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*)
[34] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, 
wxObject*, wxXmlResourceHandler*)
[35] wxXmlResource::LoadDialog(wxDialog*, wxWindow*, wxString const&)
[36] pgDialog::LoadResource(wxWindow*, wchar_t const*)
[37] dlgProperty::dlgProperty(pgaFactory*, frmMain*, wxString const&)
[38] dlgCollistProperty::dlgCollistProperty(pgaFactory*, frmMain*, 
wxString const&, ctlListView*)
[39] dlgForeignKey::dlgForeignKey(pgaFactory*, frmMain*, ctlListView*)
[40] dlgTable::OnAddConstr(wxCommandEvent&)
[41] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, 
wxEvent&) cons)
[42] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[43] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[44] wxEvtHandler::ProcessEventLocally(wxEvent&)
[45] wxEvtHandler::ProcessEvent(wxEvent&)
[46] wxWindowBase::TryAfter(wxEvent&)
[47] wxWindowBase::TryAfter(wxEvent&)
[48] wxWindowBase::TryAfter(wxEvent&)
[49] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[50] g_closure_invoke()
[51] g_signal_emit_valist()
[52] g_signal_emit()
[53] g_closure_invoke()
[54] g_signal_emit_valist()
[55] g_signal_emit()
[56] g_closure_invoke()
[57] g_signal_emit_valist()
[58] g_signal_emit()
[59] gtk_propagate_event()
[60] gtk_main_do_event()
[61] g_main_context_dispatch()
[62] g_main_loop_run()
[63] gtk_main()



-- 
---
Colin Beckingham
613-454-5369
http://www.it4gh.com


Re: dev 1.15 wxwidgets 2.9.3 - adding constraints

From
Guillaume Lelarge
Date:
On Fri, 2012-04-06 at 07:41 -0400, Colin Beckingham wrote:
> Given 3 existing tables, I tried to add a foreign key constraint to a 
> table on the many side. Repeatable for first constraint addition but 
> subsequent constraint additions work fine. Stop crashes pgadmin. 
> Continue produces the comment: XRC error: 196: invalid row index 9: must 
> be less than 2. Then pgadmin continues and I can successfully add the 
> relationship constraint. Error/backtrace is:
> 

Thank you, it's fixed.


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com