[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Designing backgammon boards via GnuBG

From: Tom Martin
Subject: Re: [Bug-gnubg] Designing backgammon boards via GnuBG
Date: Tue, 5 Jul 2011 12:51:05 -0700 (PDT)

Tom Martin wrote:

Testing with a single copy of GnuBG failed to recreate the purge of the
file, so I think it likely happened when I was using two copies of the
program and was updating from both windows without always refreshing the
view of boards.xml by exiting and returning to Settings.  Using two windows
is a valuable technique, but avoid doing updates from both of them.

Also, DO NOT attempt to update either boards.xml file directly - always use
export/import or delete/add.  When doing the latter (typically when changing
the name or resequencing), always delete before adding, because problems can
otherwise occur.  So do Update, then Remove, then Add.

I verified that erratic behavior occurs consistently after around 25 private
boards have been loaded, but it seems to more depend on the size of the
file, where 44K is about the limit.  After that, updates fail to work and
other strange things are seen.  Before deleting boards to make room for new
entries, you can use Export to save them for future Import.     

After starting from only exported 2D designs and regenerating the file with
its 3D equivalents, I was unable to recreate the purge of boards.xml, even
when using multiple windows.  The "erratic behavior" I reported above was
NOT due to the size of the file, but idiosyncracies of the code combined
with a minor bug or two (the most serious of which I reported as bug #33719,
together with a workaround).  These had not been noticed earlier since I'd
concentrated on 2D designs.

So design as many boards as you want, but occasionally save a copy in case
the "mystery purge" strikes again.

P.S.  Note that exporting a board design just executes the "add" logic,
generating an approximate equivalent for the other dimension.  I can find no
way to export an entire design - exporting the 3D design overlays the 2D
version and vice versa. 

View this message in context: 
Sent from the Gnu - Backgammon mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]