Studio:Special considerations for Python users: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
m (Text replace - 'Category:Scripting' to 'Category:Studio:Scripting')
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
Update: This may have been fixed in ActiveState Python 2.5.0.0, but this has not yet been confirmed by S2.
Update: This may have been fixed in ActiveState Python 2.5.0.0, but this has not yet been confirmed by S2.


[[Category:Scripting]]
[[Category:Studio:Scripting]]

Latest revision as of 23:45, 20 August 2009

STRIDE supports Python release 2.2.2. We do not currently support later versions due to ActiveState changes to Python, including the fact that Python's inproc server threading model was changed from Both to Apartment:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{DF630910-1C1D-11d0-AE36-8C0F5E000000}\InprocServer32] 
"ThreadingModel"="Apartment"

This prevents it from being used in an MTA, which is what STRIDE Studio uses to run scripts. Changing the value may cause severe side effects; therefore, we only support Python release 2.2.2, available at the following location:

[1]

Update: This may have been fixed in ActiveState Python 2.5.0.0, but this has not yet been confirmed by S2.