Thread: Error on delete row

Error on delete row

From
Colin Beckingham
Date:
I think this may be a dup of an earlier report, but maybe new info:

1.15 dev, opensuse 12.1 Gnome 3

Attempting to delete record

1. open pgadmin3
2. drill down to table, right click, select 'last 100 rows'
3. table has oids and PK
4. select row to delete, click delete icon
5. error box, backtrace below.
6. crash.

=================================

> ASSERT INFO:
> ./src/common/strvararg.cpp(646): assert "n <= parser.nargs" failed in DoGetArgumentType(): more arguments than format
stringspecifiers?
 
>
> BACKTRACE:
> [1] wxOnAssert(char const*, int, char const*, char const*, char const*)
> [2] int wxString::Printf<int>(wxFormatString const&, int)
> [3] frmEditGrid::OnDelete(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] wxWindowBase::TryAfter(wxEvent&)
> [10] wxEvtHandler::SafelyProcessEvent(wxEvent&)
> [11] wxToolBarBase::OnLeftClick(int, bool)
> [12] g_closure_invoke()
> [13] g_signal_emit_valist()
> [14] g_signal_emit_by_name()
> [15] g_closure_invoke()
> [16] g_signal_emit_valist()
> [17] g_signal_emit()
> [18] g_closure_invoke()
> [19] g_signal_emit_valist()
> [20] g_signal_emit()
> [21] g_closure_invoke()
> [22] g_signal_emit_valist()
> [23] g_signal_emit()
> [24] gtk_propagate_event()
> [25] gtk_main_do_event()
> [26] g_main_context_dispatch()
> [27] g_main_loop_run()
> [28] gtk_main()
>
>

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


Re: Error on delete row

From
Guillaume Lelarge
Date:
On Fri, 2012-03-09 at 08:11 -0500, Colin Beckingham wrote:
> I think this may be a dup of an earlier report, but maybe new info:
> 
> 1.15 dev, opensuse 12.1 Gnome 3
> 
> Attempting to delete record
> 
> 1. open pgadmin3
> 2. drill down to table, right click, select 'last 100 rows'
> 3. table has oids and PK
> 4. select row to delete, click delete icon
> 5. error box, backtrace below.
> 6. crash.
> 

Fixed. Actually, there were a bunch of issues like this in the code.
Thank you.


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