span8
span4
span8
span4
FME 2012 may produce Application Errors running Python scripts that use external modules such as arcgisscripting.
Changes made in FME 2012 to improve Python usability in FME Server may cause FME to shut down its Python before large external modules have completely unloaded. This will raise an application error, even though the workspace completes.
Setting the external object(s) to None at the end of your script will avoid the Application Error
Example:
# import ArcGIS scripting
import arcgisscripting
# Create the Geoprocessor object
gp = arcgisscripting.create()
# Do geoprocessing
.
.
.
# Unload ArcGIS object
gp = None
Extracting a schema subset for dynamic schemas
Tutorial: Python and FME Basics
How Can I Modularize My Python Code
Use PyCharm as FMEObjects Python IDE
Perform a Shapiro-Wilk Statistical Test using R or Python
When should I use FME Objects?
Run an FME Workspace from Python using FMEWorkspaceRunner
Creating a new format reader/writer
Developing a new format reader/writer with the FME Plug-in SDK
© 2019 Safe Software Inc | Legal