Tag Info

Hot answers tagged


It appears that this is a fairly common error encountered when ArcHydro is run with data between the network and the local C: drive. See this site for further details: https://geonet.esri.com/thread/89781 The solution seems to be in where the data are stored.


A simple test script: errorLog = r'd:\log.txt' filePath = errorLog try: with open(errorLog,'a') as errorMsg: errorMsg.write("%s,%s\n" % (errorLog,filePath)) except RuntimeError: print("Unable to log") print RuntimeError.message Note: no imports, it's all internal.. This works from a pythonic sense which makes me wonder what's up with ...


You only need to run pyrcc4 -o resources_rc.py resources.qrc The .ui file is loaded dynamically in the recent versions of the default plugin code. For example, if the plugin is called test, the corresponding GUI loading code in test_dialog.py is FORM_CLASS, _ = uic.loadUiType(os.path.join( os.path.dirname(__file__), 'test_dialog_base.ui')) All ...


I've written a python log handler that I'm more than happy to share. The idea being that you can use the standard Python logging framework and also have the messages reflected back to ArcGIS through the arcpy messages. import logging import logging.handlers import arcpy class ArcPyLogHandler(logging.handlers.RotatingFileHandler): """ Custom ...


I had the same problem and received these step by step instructions from Pitney Bowes Support: Download the MS Office drivers from http://www.microsoft.com/en-ca/download/details.aspx?id=13255 The 32-bit version is AccessDatabaseEngine.exe. The 64-bit version is AccessDatabaseEngine_x64.exe. Uninstall the 64-bit Office driver, if installed, and reboot the ...


If ArcGIS Server is using Windows domain User / Role stores, you will need to prefix your login with your domain name. For example, if my windows domain is XNET.gov, my log in username would be "XNET\btelliot".


The issue strangely enough is caused by a dependency on Internet Explorer DLL dependencies of all strange things. It is triggered by opening the Item Description window - Try opening any tool, then opening the Item Description window for a tool, and then try re-opening that tool - the script error will occur. A quick fix for this is to go into the Internet ...

Only top voted, non community-wiki answers of a minimum length are eligible