bugpokersource - Bugs: bug #15017, explain traceback "you should...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #15017: explain traceback "you should not be here (state: blindAnte)"

Submitted by:  Johan Euphrosine <proppy>
Submitted on:  Wed 30 Dec 2009 10:40:59 AM UTC  
 
Category: poker-networkSeverity: 3 - Normal
Priority: 1 - LaterStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri 12 Mar 2010 05:35:16 PM UTC, comment #2:

Please attach full server side log for this error.

Johan Euphrosine <proppy>
Project Member
Tue 12 Jan 2010 05:33:17 PM UTC, comment #1:

This bug happens when explaining PacketPokerStart:

There is 3 occurence of sendPacketVerbose(PacketPokerStart) in poker-network:
1/ pokeravatar.py:755
2/ pokeravatar.py:761
3/ pokertable.py:330

Before 1/ and 2/ there are the following messages:
self.message("player %d tried to start a new game while in game " % self.getSerial())
self.message("player %d tried to start a new game but is not the owner of the table" % self.getSerial())

And we don't see these message in the log.

3/ happens when a "game" event come from poker-engine (pokergame.py:958).

And in pokergame.py:951 the state is changed to blind-ante.

Johan Euphrosine <proppy>
Project Member
Wed 30 Dec 2009 10:40:59 AM UTC, original submission:

2009-12-28 00:17:52+0100 [-] PokerAvatar: Traceback (most recent call last):
2009-12-28 00:17:52+0100 [-] File "/usr/lib/python2.5/site-packages/pokernetwork/pokeravatar.py", line 301, in sendPacket
2009-12-28 00:17:52+0100 [-] self.explain.explain(packet)
2009-12-28 00:17:52+0100 [-] File "/usr/lib/python2.5/site-packages/pokernetwork/pokerexplain.py", line 317, in explain
2009-12-28 00:17:52+0100 [-] raise UserWarning, "you should not be here (state: %s)" % game.state
2009-12-28 00:17:52+0100 [-] UserWarning: you should not be here (state: blindAnte)

Johan Euphrosine <proppy>
Project Member

 

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 proppy (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 12 Mar 2010 05:35:16 PM UTCproppyStatusIn Progress=>Need Info
    Tue 23 Feb 2010 06:01:51 PM UTCproppyCategoryNone=>poker-network
    Tue 12 Jan 2010 05:33:17 PM UTCproppyStatusNeed Info=>In Progress
    Tue 12 Jan 2010 09:33:31 AM UTCproppyStatusNone=>Need Info
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup