Menu

#197 Error opening zipped png file

None
closed-fixed
pgn (7) zip (1)
5
2018-08-28
2018-08-14
Bogdan B
No

I am using scidb-beta compiled from svn r1507. I have a pgn archive from TWIC (http://www.theweekinchess.com/zips/twic1230g.zip). The file correctly opens and is imported into an existing sci database via right click -> import pgn files... on the database icon in the database tab.
However if I try to open this file using the Open Database button I get the following error:

precondition violation: fileOffsets

(func) setup
(file) db_multi_base.cpp:340
(what) precondition violation: fileOffsets
(type) mstl::precondition_violation_exception

=== Backtrace ============================================
 TclNRRunCallbacks 
 Tcl_ServiceEvent
 Tcl_DoOneEvent
 Tk_MainLoop
 Tk_MainEx

 __libc_start_main
==========================================================
::util::catchException {::import::open .application /mnt/c/scid/tmp/twic1230g.zip {Opening database 'twic1230g.pgn'} auto 35}
database::openBase .application /mnt/c/scid/tmp/twic1230g.zip yes -encoding auto
Startup2
::namespace inscope ::applicat

Manually unziping the png file and opening it works perfectly fine.

Best,
Bogdan

Discussion

  • Gregor Cramer

    Gregor Cramer - 2018-08-15
    • labels: --> pgn, zip
    • status: open --> closed-fixed
     
  • Gregor Cramer

    Gregor Cramer - 2018-08-15

    This problem is now fixed with revision 1508.

     

Log in to post a comment.