ionelmc / python-cogen

Automatically exported from https://code.google.com/p/cogen
MIT License
6 stars 0 forks source link

cogen.core.queue.Queue outside of coroutines do not behave correctly #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps:
1. download attached file
2. run 'paster setup-app development.ini'
3. add some users to the SQL back-end
4. run 'paster serve development.ini'
5. access localhost:5000/login/index and login
6. try to use the chat application
7. monitor the standard output on the commandline of the app

Expected vs Outcome
The expected output is that the cogen.core.queue.Queue object will be 
uniform throughout the Client object.
Instead, the Queue is always newly instantiated when accessed from 
outside the coroutine.

What version of the product are you using? On what operating system?
Mac OS X 10.5
Python 2.6.x
cogen trunk from 2/2010
turbomail latest from 2/2010

Please provide any additional information below.
This is an integration of the chat application into my login application. I'm 
more or less asking for personal help. However, it would help me save a lot 
of time -- I wouldn't ask for this unless I had spent tremendous amount of 
time already.
I've already visited the necessary website to configure the application 
correctly, and the configuration is identical to the shipped cogen Chat 
application, or have been modified to fit my needs.

Original issue reported on code.google.com by tkim...@gmail.com on 18 Feb 2010 at 9:08

Attachments: