![]() PerimetrosAFrentes.py works correctly and gp is properly created, but I don´t figure out why PerimetrosAFrentes.exe colapses in gp.Describe. RuntimeError: ERROR 999999: Error executing function. The following Error is written down in a log file: After conversion process completes, It will list all files with the EXE file extension in the ZIP archive. Drag and drop the zip file directly onto ezyZip. Nevertheless, the program breaks down in desc = gp.Describe(r'ACTUAL\LINEAS'). Here are the steps to convert the archive into EXE file (s) using ezyZip: To select the zip file, you have two options: Click 'Select zip file to convert' to open file chooser. All you need to do is use one of the software programs designed to convert EXE to DLL. If you have questions or are new to Python use r/learnpython Members Online flyingpig365. We will help you convert the file EXE to DLL as soon as possible. If you have something to teach others post here. Gp.AddWarning(str(gp.Exists(r'ACTUAL\LINEAS')))Īrcgisscripting is properly imported as gp is created, shp_lines deleted and gp.Exists(r'ACTUAL\LINEAS') returns true (LINEAS is a feature layer in ArcMap). The official Python community for Reddit Stay up to date with the latest news, packages, and meta information relating to the Python programming language. Li_tmp = os.path.join(tempdir,"shp_lines.shp") Gp.AddToolbox(doc_if_comunes.pathArcGIS() + r"ArcToolbox\Toolboxes\Data Management Tools.tbx") ![]() Path to arcgisscripting is set in PerimetroAFrentes.py: I have excluded arcgisscripting module from the setup.py: Then, a GUI should appear on your screen. Once installed, open it by entering the following command: Auto-py-to-exe. The python script is associated with an ArcToolBox, and it works fine as a python file but not as an exe. In order to use Auto PY to EXE, we have to first install it through the command line: First, open the cmd (Command Prompt) and enter the following command: pip install auto-py-to-exe. First, you need to change your file conversion which is set to One directory which means it will make all Python applications and packages that are used by your Python program and place them in one directory. I am also trying to convert a python script to an exe using py2exe. Before you can start converting you need to do some setups.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |