forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 9 matches
forum.vmspython.org Forum Index
Author Message
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Tue Jun 01, 2010 12:16 pm   Subject: Still problems with Rdb and PyRTE
The crash may not occurs immediately because the exception which was decref and finally deallocated may not be used before many scripts invocation.

I'm not sure that the RTE should implement some k ...
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Sat May 22, 2010 10:19 pm   Subject: Still problems with Rdb and PyRTE
Any script with an uncaught exception will crash the interpreter, not necessary immediately, the crash can be in another script, many requests later.

This seems entirely undesirable for all sorts ...
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Tue May 18, 2010 2:17 am   Subject: Still problems with Rdb and PyRTE
The problem seem to be in the pyRTE, example:
import wasd
print 'Content-type: text/plain'
print ''
wasd.write(None)

raise BaseException


The second execution of this script gen ...
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Sat May 15, 2010 11:34 pm   Subject: Still problems with Rdb and PyRTE
>> And *that* is the $10.000 question... Smile
>
> Excellent. I was wondering what the value of the pay for help was to be.

Yes, as I wrote earlier in this thread, I'm prepared to p ...
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Sat May 15, 2010 11:25 pm   Subject: Still problems with Rdb and PyRTE
OK, i have now tried with the "$ defince /sys PYRTE_NOREUSE_INTERPRETER *" test.

Now, everything works *1* time and then I get :
ERROR 502 - External agent did not respond (or not ...
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Sat May 15, 2010 4:58 pm   Subject: Still problems with Rdb and PyRTE
PyRTE attempts to optimise performance by keeping Python interpreters around between scripts. Let's see if there's anything hanging around in that that might be causing Rdb headaches.

There are a ...
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Sat May 15, 2010 3:51 pm   Subject: Still problems with Rdb and PyRTE
> I am still to understand the problem exactly.

When running two different PY scripts, buth using some Rdb code, one
of them crashes as described earlier (*if* they sheare PyRTE process).

&g ...
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Sat May 15, 2010 1:43 am   Subject: Still problems with Rdb and PyRTE
Just adding /hv2-bin/.. didn't change anything. It's still one single server process.

This works with a standalone CGIplus application. The path to script is used as a differentiator. Different p ...
  Topic: Still problems with Rdb and PyRTE
mark daniel

Replies: 58
Views: 25570

PostForum: Python for OpenVMS   Posted: Sat May 15, 2010 1:05 am   Subject: Still problems with Rdb and PyRTE
Well, if I knew the difference I might have been able to answer... Smile

Anyway, that is more of a WASD question then a Python one,
I think I'll make a pointer on the WASD mail list also. I think
t ...
 
Page 1 of 1
All times are GMT + 2 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group