Hi,

 

I have a big PGN file (around 4.35M games) which I am trying to convert to
.sci format. Originally this is a chessbase cbh database.

It failes with the following message after importing 325,032 games:

precondition violation: i1 <= i2

 

(func) append

(file) ../mstl/m_string.ipp:228

(what) precondition violation: i1 <= i2

(type) mstl::precondition_violation_exception

 

=== Backtrace ============================================

 TclNRRunCallbacks

 TclNRRunCallbacks

 Tcl_EvalEx

Tk_BindEvent

TkBindEventProc

Tk_HandleEvent

 Tcl_ServiceEvent

Tcl_DoOneEvent

Tk_MainLoop

Tk_MainEx

 __libc_start_main

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

::remote::busyOperation { Import $parent $base $files $msg $encoding }

::import::import .application /mnt/c/scid/bases/mega/mega.sci
/mnt/c/scid/bases/mega/mega.pgn {Import PGN files} auto

::menu::dbImport .application /mnt/c/scid/bases/mega/mega.sci pgn

::tk::menu::WidgetProc
.application.nb.database.main.switcher.content.__menu__ invoke active

::tk::menu::WidgetProc
.application.nb.database.main.switcher.content.__menu__ invoke active

.application.nb.database.main.switcher.content.__menu__ invoke active

1

tk::MenuInvoke .application.nb.database.main.switcher.content.__menu__ 1

 

I would mention that Scid vs PC is able to import this file without errors
(and everything seems fine). 

In the next step I imported the PGN file in Scid vs PC and saved it as a si4
database, which I then opened in scidb-beta.

When I attempted to copy the games from the si4 database into an empty sci
database, I ran into the following error: 

 

precondition violation: isConsistent()

 

(func) used

(file) ../db/db_namebase.ipp:80

(what) precondition violation: isConsistent()

(type) mstl::precondition_violation_exception

 

=== Backtrace ============================================

TclNRRunCallbacks

 Tcl_EvalEx

Tk_BindEvent

Tk_HandleEvent

Tcl_ServiceEvent

Tcl_DoOneEvent

Tk_MainLoop

Tk_MainEx

 __libc_start_main

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

::scidb::db::switch /mnt/c/scid/bases/mega/mega.sci Normal

::application::database::Switch /mnt/c/scid/bases/mega/mega.sci

DoSwitch .application.nb.database.main.switcher 2 434 38

::namespace inscope ::database::switcher {DoSwitch
.application.nb.database.main.switcher 2 434 38}

 

 

Best regards,

Bogdan

 

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Scidb-users mailing list
Scidb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scidb-users

Reply via email to