Ich programmiere gerade in Python eine längere Sache. Wenn ich die maintest.py durchlaufen lasse, kommt jedes mal bei der Berechnung eines CentralFeature die folgende Fehlermeldung. Das interessante dabei ist, das dieser Fehler nur auf meinem Desktop-Rechner auftritt, nicht aber auf meinem Laptop. Dort wird die Berechnung einwandfrei durchgeführt. Liegt das Problem in der arcpy-Installation? Denn ein Programmierfehler schliesse ich aus, da das Skript einwandfrei ja auf einem anderen Rechner läuft. Wer kann mir da helfen?
Code:Traceback (most recent call last): File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 322, in RunScript debugger.run(codeObject, __main__.__dict__, start_stepping=0) File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\debugger\__init__.py", line 60, in run _GetCurrentDebugger().run(cmd, globals,locals, start_stepping) File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 655, in run exec cmd in globals, locals File "D:\diplom\script\neue struktur fertig\maintest.py", line 149, in <module> arcpy.CentralFeature_stats(out_pom, cfc, "EUCLIDEAN_DISTANCE", "", "", "") File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\stats.py", line 542, in CentralFeature raise e ExecuteError: <type 'exceptions.AttributeError'>: DescribeData: Get attribute extent does not exist Fehler beim Ausfuehren von (CentralFeature).

Reply With Quote
Bookmarks