nguyennv / pysage

Automatically exported from code.google.com/p/pysage
0 stars 0 forks source link

Same message class can not be used between groups #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
These steps will reproduce the problem:
1. Get "BombMessage" example. 
2. Create an actor class (eg. Consumer) which also subscribes to "BombMessage". 
3. Add "Consumer" actor to "Consumers" group
4. If you run, code will throw an exception. 
5. Remove "mgr.register_actor(Player(), 'playerX')" line(s)
6. Code is run and can handle local messages but not network messages.  

What is the expected output? What do you see instead?

I expect that there should be no problem with using same message class in main 
group and in a group (subprocess)

What version of the product are you using? On what operating system?
V 1.6.1 on Debian Jessie

Please provide any additional information below.

Uncomment line 50 and see the exception. 

Original issue reported on code.google.com by cerem...@ceremcem.net on 3 Oct 2014 at 4:33

Attachments: