Menu

#77 switch between games from different database

None
accepted
None
5
2018-08-28
2014-02-06
Cecchino
No

I opened two database (one pgn and one sci) and 2 games from the pgn, one game from the sci and a new game. When i switch to a game which is not in the currently selected database i receive this error

(func) view
(file) ../app/app_cursor.ipp:93
(what) precondition violation: isViewOpen(id)
(type) mstl::precondition_violation_exception

=== Backtrace ============================================
app::Cursor::view(unsigned int) const [app_cursor.ipp:93]
cmdCount [tcl_view.cpp:414]
safeCall [tcl_base.cpp:764]
==========================================================

(func) view
(file) ../app/app_cursor.ipp:93
(what) precondition violation: isViewOpen(id)
(type) mstl::precondition_violation_exception

=== Backtrace ============================================
app::Cursor::view(unsigned int) const [app_cursor.ipp:93]
cmdCount [tcl_view.cpp:414]
safeCall [tcl_base.cpp:764]
==========================================================

while executing

"scidb::view::count games $base $variant $view"
(procedure "UpdateGameButtonState(list)" line 10)
invoked from within
"UpdateGameButtonState(list) $position"
(procedure "::application::board::GameSwitched" line 19) [gameSwitched] invocation failed:
::application::board::GameSwitched 3

I am not sure is this is a bug or a feature. Anyway if i select "OK" or simply close the Error Log window, then it continue to work fine.

Discussion

  • Gregor Cramer

    Gregor Cramer - 2014-02-06
    • status: open --> accepted
    • assigned_to: Gregor Cramer
     
  • Gregor Cramer

    Gregor Cramer - 2014-02-06

    Thanks for the report, will be fixed in version r1001.

    Anyway if i select "OK" or simply close the Error Log window, then it continue to work fine.

    Yes, this bug has no severe side effects. Only the change of a button state fails.

     

Log in to post a comment.

MongoDB Logo MongoDB