Questions tagged [oserror]
An error raised when an os pecific system function returns a system-related error.
7
questions
0
votes
0
answers
100
views
Running Python scripts via cronjob using the ArcGIS Python env on Ubuntu 20.04
I am having an issue running any Python scripts via the ArcGIS Server Python Env through cron jobs.
I can access and run any script including importing the ArcPy library via the command line as such:
/...
0
votes
1
answer
1k
views
"arcpy.mp.ArcGISProject('CURRENT')" returning "OSError"
I'm new to Python. I try to access my 'current' project but I keep getting an error:
Traceback (most recent call last):
File "C:\Users\...\test.py", line 6, in <module>
aprx = ...
1
vote
1
answer
186
views
Trying to write a script that re-projects vector datasets in a folder
I am new to Python and am struggling with my code specifically with my loops.The project is supposed to abide by these rules:
Must re-project shapefile vector datasets in the folder to match the ...
5
votes
3
answers
14k
views
OSError: Could not find lib geos_c.dll
After a system re-imaging, I am seeing this error message when trying to run a script involving shapely:
OSError: Could not find lib geos_c.dll or load any of its variants ['C:\\Users\\myusername\\...
4
votes
2
answers
1k
views
arcpy.GetParameterAsText not passing arguments to script?
I have been working on an ArcGIS Python script tool which takes the co-ordinate system from an input raster and reprojects a vector to the same co-ordinate system.
The script works fine when i hard ...
7
votes
2
answers
2k
views
QFileDialog.getSaveFileName() error in Plugin code for QGIS
I'm working with Plugins Builder to create a simple plugin with QGIS3 "SaveAttributes", I'm following the official tutorial on QGIS Tutorials.
I'm installed Python 3 and Python 2 is already ...
14
votes
3
answers
15k
views
installing rtree on windows 64 bits
I am using windows10 64 bits, my os.name is 'nt', I used pip to install but its complaining about the spatialindex_c.dll
File "C:\Users\Bachir\AppData\Local\Temp\pip-build-td64lrth\rtree\rtree\core....