Thread: 1.15 Dev + wxWidgets 2.9.3: Macros menu item in QB

1.15 Dev + wxWidgets 2.9.3: Macros menu item in QB

From
Colin Beckingham
Date:
Confirmed that previous reported errors mopped up.

New item: Macros menu item

1. open pgadmin3
2. click icon to open query builder
3. click on QB menu item "Macros" - immediate error box

$ /usr/local/pgadmin3/bin/pgadmin3
04:11:48 AM: Debug: Adding duplicate image handler for 'PNG file'
/usr/local/include/wx-2.9/wx/strvararg.h(453): assert "(argtype & 
(wxFormatStringSpecifier<T>::value)) == argtype" failed in 
wxArgNormalizer(): format specifier doesn't match argument type
/usr/local/include/wx-2.9/wx/strvararg.h(453): assert "(argtype & 
(wxFormatStringSpecifier<T>::value)) == argtype" failed in 
wxArgNormalizer(): format specifier doesn't match argument type

(pgadmin3:12254): Gtk-WARNING **: Unable to retrieve the file info for 
`file:///home/colin/pgerr2.txt': Error stating file 
'/home/colin/pgerr2.txt': No such file or directory
/usr/local/include/wx-2.9/wx/strvararg.h(453): assert "(argtype & 
(wxFormatStringSpecifier<T>::value)) == argtype" failed in 
wxArgNormalizer(): format specifier doesn't match argument type

(pgadmin3:12254): Gtk-WARNING **: Unable to retrieve the file info for 
`file:///home/colin/pgerr3.txt': Error stating file 
'/home/colin/pgerr3.txt': No such file or directory
/usr/local/include/wx-2.9/wx/strvararg.h(453): assert "(argtype & 
(wxFormatStringSpecifier<T>::value)) == argtype" failed in 
wxArgNormalizer(): format specifier doesn't match argument type
Trace/breakpoint trap

In this log it shows three attempts to save backtrace. All seemed to 
work but seemed to save the same file each time. Looks like a loop. 
pgerr.txt was overwrite of preexisting file, pgerr2 and 3 created files 
from new.

File contents:

ASSERT INFO:
/usr/local/include/wx-2.9/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] dlgManageMacros::dlgManageMacros(wxWindow*, frmMain*, queryMacroList*)
[3] frmQuery::OnMacroManage(wxCommandEvent&)
[4] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, 
wxEvent&) cons)
[5] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[6] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[7] wxEvtHandler::DoTryChain(wxEvent&)
[8] wxEvtHandler::ProcessEvent(wxEvent&)
[9] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[10] wxMenuBase::SendEvent(int, int)
[11] g_closure_invoke()
[12] g_signal_emit_valist()
[13] g_signal_emit()
[14] gtk_widget_activate()
[15] gtk_menu_shell_activate_item()
[16] g_closure_invoke()
[17] g_signal_emit_valist()
[18] g_signal_emit()
[19] gtk_propagate_event()
[20] gtk_main_do_event()
[21] g_main_context_dispatch()
[22] g_main_loop_run()
[23] gtk_main()

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


Re: 1.15 Dev + wxWidgets 2.9.3: Macros menu item in QB

From
Guillaume Lelarge
Date:
On Mon, 2012-03-05 at 09:30 -0500, Colin Beckingham wrote:
> Confirmed that previous reported errors mopped up.
> 

Thanks.

> New item: Macros menu item
> 
> 1. open pgadmin3
> 2. click icon to open query builder
> 3. click on QB menu item "Macros" - immediate error box
> 
> $ /usr/local/pgadmin3/bin/pgadmin3
> 04:11:48 AM: Debug: Adding duplicate image handler for 'PNG file'
> /usr/local/include/wx-2.9/wx/strvararg.h(453): assert "(argtype & 
> (wxFormatStringSpecifier<T>::value)) == argtype" failed in 
> wxArgNormalizer(): format specifier doesn't match argument type
> /usr/local/include/wx-2.9/wx/strvararg.h(453): assert "(argtype & 
> (wxFormatStringSpecifier<T>::value)) == argtype" failed in 
> wxArgNormalizer(): format specifier doesn't match argument type
> 

Fixed. Thanks for your report.


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



Re: 1.15 Dev + wxWidgets 2.9.3: Macros menu item in QB

From
Colin Beckingham
Date:
On 03/05/2012 09:37 AM, Guillaume Lelarge wrote:
> On Mon, 2012-03-05 at 09:30 -0500, Colin Beckingham wrote:
>> Confirmed that previous reported errors mopped up.
>>
>
> Thanks.
>
>> New item: Macros menu item
>>
>> 1. open pgadmin3
>> 2. click icon to open query builder
>> 3. click on QB menu item "Macros" - immediate error box
>>
>> $ /usr/local/pgadmin3/bin/pgadmin3
>> 04:11:48 AM: Debug: Adding duplicate image handler for 'PNG file'
>> /usr/local/include/wx-2.9/wx/strvararg.h(453): assert "(argtype&
>> (wxFormatStringSpecifier<T>::value)) == argtype" failed in
>> wxArgNormalizer(): format specifier doesn't match argument type
>> /usr/local/include/wx-2.9/wx/strvararg.h(453): assert "(argtype&
>> (wxFormatStringSpecifier<T>::value)) == argtype" failed in
>> wxArgNormalizer(): format specifier doesn't match argument type
>>
>
> Fixed. Thanks for your report.
>
>

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