helppokersource - Support: sr #2166, poker-network service...

 
 
Show feedback again

sr #2166: poker-network service tourneyManager should send PokerError if tourney not found

Submitted by:  Johan Euphrosine <proppy>
Submitted on:  Tue 18 Nov 2008 11:19:55 AM UTC  
 
Category: poker-networkPriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: GNU/Linux
Effort: 0.00

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 18 Nov 2008 11:19:55 AM UTC, original submission:

Sending this packet:
{"type":"PacketPokerGetTourneyManager","tourney_serial":0}

Raise the following exception:
Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 185, in addCallbacks

self._runCallbacks()

File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 323, in _runCallbacks

self.result = callback(self.result, args, *kw)

File "/usr/lib/python2.4/site-packages/pokernetwork/pokersite.py", line 215, in <lambda>

self.deferred.addCallback(lambda result: self.deferRender(request, jsonp, packet))

File "/usr/lib/python2.4/site-packages/pokernetwork/pokersite.py", line 226, in deferRender

d = defer.maybeDeferred(session.avatar.handlePacketDefer, packet)

--- <exception caught here> ---

File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 105, in maybeDeferred

result = f(*args, **kw)

File "/usr/lib/python2.4/site-packages/pokernetwork/pokeravatar.py", line 323, in handlePacketDefer

self.handlePacketLogic(packet)

File "/usr/lib/python2.4/site-packages/pokernetwork/pokeravatar.py", line 510, in handlePacketLogic

self.sendPacketVerbose(self.service.tourneyManager(packet.tourney_serial))

File "/usr/lib/python2.4/site-packages/pokernetwork/pokerservice.py", line 951, in tourneyManager

packet.tourney["registered"] = len(user2tourney)

exceptions.TypeError: object does not support item assignment

Johan Euphrosine <proppy>
Project Member

 

(Note: upload size limit is set to 1024 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 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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup