buggnubg - Bugs: bug #48268, Python interpreter crashes on...

 
 

bug #48268: Python interpreter crashes on gnubg.posinfo() when gnubg offers a gammon

Submitted by:  None
Submitted on:  Sun 19 Jun 2016 12:18:50 AM UTC  
 
Originator Name: MikeOriginator Email: -unavailable-
Item Group: Crash errorCategory: Command line interface
Release: 1.05-ReleasePrivacy: Public
Operating System: Mac OS X MavericksOS Type: 64Bit
Processor Type: IntelSeverity: 3 - Normal
Open/Closed: ClosedAssigned to: None
Priority: 5 - NormalStatus: Fixed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 19 Jun 2016 11:27:34 AM UTC, comment #1:

SetPosInfo(...) returns -1 if fResigned > 1 but for gammon/backgammon it appears to be 2/3. Changing the value there appears to fix the issue.

Anonymous
Sun 19 Jun 2016 12:18:50 AM UTC, original submission:

When gnubg offers a gammon (haven't witnessed a backgammon) and I call gnubg.posinfo() I receive the following

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "playbg.py", line 195, in <module>
point = playMatch()
File "playbg.py", line 170, in playMatch
state = getGameState(rev)
File "playbg.py", line 15, in getGameState
print str(gnubg.posinfo())
StandardError: error in SetPosInfo

resigning single games are fine.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by plm (Updated the item)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 22 Jun 2016 09:24:15 PM UTCplmOpen/ClosedOpen=>Closed
      StatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1