Studio:Special considerations for Python users: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Text replace - 'Category:Scripting' to 'Category:Studio:Scripting') |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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: | 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: | ||
<source lang="reg"> | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{DF630910-1C1D-11d0-AE36-8C0F5E000000}\InprocServer32] | |||
"ThreadingModel"="Apartment" | |||
</source> | |||
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: | |||
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: | |||
[ftp://ftp.activestate.com/ActivePython/windows/] | [ftp://ftp.activestate.com/ActivePython/windows/] | ||
Line 9: | 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:
Update: This may have been fixed in ActiveState Python 2.5.0.0, but this has not yet been confirmed by S2.