Difference between revisions of "Studio:Special considerations for Python users"

From STRIDE Wiki
Jump to: navigation, search
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'
+
[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:

Revision as of 11:26, 2 October 2008

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.