-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Dear Sir,
First of all thank you very much for making thespian available to the public, it is a very nice and easy to use framework.
At the moment I am trying to implement a simple online game using both thespian (as the 'back-end') and Django (as the 'front-end'). In the game only 4 players can interact at a time. A django view has been set up to handle the interaction between the remote player and the back-end. Since django views are stateless, I have implemented a Lookup actor and initialised it as a named actor when launching thespian's ActorSystem. The lookup actor works as one might expect, it receives a special code attributed to each game, look for the corresponding ActorAddress and sends the address back to the view, so that the view can communicate with the game.
Game actors are created on demand and simply treat players' requests.
So far I have been able to create complete games and have different remote players connect to the game. However, once the game begins to play, the view encounters a Runtime Error, closely followed by a Value Error in the TCPTransport.py file.
I have attached the details of the error to this message, in hope that you could help me understand what is going on. Does the exception happen because of an implementation error or is it internal to Thespian?
Thank you very much in advance for your help.
Sincerely.