After several hours of debugging and testing and error, I came to know that by importing two independent dragon modules, one function causes one of them to stop working.
import arcpy # works sde_conn = arcpy.ArcSDESQLExecute (r "C: \ temp \ test.sde") anyway:
import arcpy import rtree # fails sde_conn = arcpy.ArcSDESQLExecute (r "C: \ temp \ test.sde") There are two dragon modules and both ESRI Which is running on Windows (Windows 7 and Windows Server 2008 R2, and 32 bit and 64 bit Python installation on this problem).
I want to know, but what are the possible reasons for breaking a function in another module?
I was quick check for globals, and modifying system paths. Both also rely on DLL.
Can other factors be responsible?
This happens when using: from Import * If both modules have functions with similar names, shamelessly @ karthikr
No comments:
Post a Comment