You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the toolbox but get the error below. I am a complete novice when it comes to python but I think the comtypes are correct. Using ArcGIS 10.6 and comtypes 1.1.7
Any help would be very much appreciated.
Traceback (most recent call last):
File "C:\Users\peckc\OneDrive - University of Manitoba\Documents\ArcGIS 10.6\mapqonverter-master\mapqonverter.py", line 159, in
main()
File "C:\Users\peckc\OneDrive - University of Manitoba\Documents\ArcGIS 10.6\mapqonverter-master\mapqonverter.py", line 48, in main
arc_app = CreateObject(ArcGisModules.module_framework.AppROT, interface=ArcGisModules.module_framework.IAppROT)
File "C:\Python27\ArcGIS10.6\lib\site-packages\comtypes\client_init_.py", line 238, in CreateObject
obj = comtypes.CoCreateInstance(clsid, clsctx=clsctx, interface=interface)
File "C:\Python27\ArcGIS10.6\lib\site-packages\comtypes_init_.py", line 1227, in CoCreateInstance
_ole32.CoCreateInstance(byref(clsid), punkouter, clsctx, byref(iid), byref(p))
File "_ctypes/callproc.c", line 950, in GetResult
WindowsError: [Error -2147221163] Interface not registered
Failed to execute (Mapqonverter).
The text was updated successfully, but these errors were encountered:
if the interface is not registered, somehow comtypes can't load the arcmap libraries.
There can be many reasons for that. The path looks allright: C:\Python27\ArcGIS10.6\lib\site-packages\comtypes
Hi there,
I am trying to use the toolbox but get the error below. I am a complete novice when it comes to python but I think the comtypes are correct. Using ArcGIS 10.6 and comtypes 1.1.7
Any help would be very much appreciated.
Traceback (most recent call last):
File "C:\Users\peckc\OneDrive - University of Manitoba\Documents\ArcGIS 10.6\mapqonverter-master\mapqonverter.py", line 159, in
main()
File "C:\Users\peckc\OneDrive - University of Manitoba\Documents\ArcGIS 10.6\mapqonverter-master\mapqonverter.py", line 48, in main
arc_app = CreateObject(ArcGisModules.module_framework.AppROT, interface=ArcGisModules.module_framework.IAppROT)
File "C:\Python27\ArcGIS10.6\lib\site-packages\comtypes\client_init_.py", line 238, in CreateObject
obj = comtypes.CoCreateInstance(clsid, clsctx=clsctx, interface=interface)
File "C:\Python27\ArcGIS10.6\lib\site-packages\comtypes_init_.py", line 1227, in CoCreateInstance
_ole32.CoCreateInstance(byref(clsid), punkouter, clsctx, byref(iid), byref(p))
File "_ctypes/callproc.c", line 950, in GetResult
WindowsError: [Error -2147221163] Interface not registered
Failed to execute (Mapqonverter).
The text was updated successfully, but these errors were encountered: