Hello.
I am in the process of developing an extension to the Pyramid SQLAlchemy + URL Dispatch Wiki Tutorial that uses Pyjamas, and probably PureMVC. Jim Washington has kindly agreed to help me with this. But we have run into a problem. I am new to Pyramid & Pyjamas, and my python skills are modest, so please bear with me.

We have created a Pyjamas project in the static folder of the original tutorial. This project produces a home page that is a look-alike to the one used in the original tutorial. Our next step is to add json-rpc integration with the Pyjamas data base. We do this using lovely-jsonrpc. Unit testing raises some problems. The errors are pasted at: http://pylonshq.com/pasties/43806d6045ae0e427e6685371ecd2e43.

Our test.py is pasted at: http://pylonshq.com/pasties/7242752bba18f05626ab09397f870ed0. Our tests.py is pasted at: http://pylonshq.com/pasties/da3d1aa1c59e06a6c6ff6b5b5ec739c0

The main error seems to be a transaction problem, giving the message:
"ResourceClosedError: The transaction is closed". That error appear to stem from the line: DBSession.configure(bind=engine) in models.py.

Does anyone have any ideas on how I might fix this, or what is causing the problem? If there are other pages I should post, please let me know.

Thanks,  John.

FYI, I submitted this message last week to the list via the google page, but it seems as if that message just disappeared and was never posted.

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to