| bio | website | barrington-leigh.net |
|---|---|---|
| location | Montreal, Canada | |
| age | ||
| visits | member for | 10 months |
| seen | Apr 26 at 0:10 | |
| stats | profile views | 2 |
|
Apr 26 |
comment |
Using arcpy from the command line on ArcGIS Linux Server 10.1 When you say you don't need sudo, is that because you're running under the arc user? We are running on a server, and multiple users want to use arcpy. So if we want to operate under our individual accounts, we need to su arcpy, which requires sudo. |
|
Aug 17 |
awarded | Teacher |
|
Aug 16 |
answered | Using arcpy from the command line on ArcGIS Linux Server 10.1 |
|
Aug 15 |
comment |
Using arcpy from the command line on ArcGIS Linux Server 10.1 In the interest of documenting... sudo su arcgis,
cd /opt/arcgis/server/tools/ (where my arcgis server 10.1 install is), then
./python works to run python in such a way that import arcpy doesn't fail. |
|
Aug 14 |
comment |
Using arcpy from the command line on ArcGIS Linux Server 10.1 Oh, and as for the user, no I had to "sudo su arcgis" (which is a pain -- users need sudo access to use arcpy...) and I found that I needed the files to be owned by arcgis, too! So I created a new folder in /home which is owned by arcgis but is universally readable/writeable. |
|
Aug 14 |
comment |
Using arcpy from the command line on ArcGIS Linux Server 10.1 Thanks! Wow; it's finicky. Python/arcpy doesn't work if I've connected with ssh -X (rather than ssh). It doesn't work if I use a symbolic link to the python executable. Anyway, yes, the backslash was it; thank you. Now I get: Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\management.py", line 2343, in FeatureToLine
raise e
arcgisscripting.ExecuteError: ERROR 999999: Error executing function.
Invalid Topology [Feature not found on delete.]
Failed to execute (FeatureToLine). though this worked with Desktop arcpy |
|
Aug 13 |
asked | How to find all intersections and count lines arriving at each intersection? |
|
Aug 13 |
awarded | Student |
|
Aug 13 |
asked | Using arcpy from the command line on ArcGIS Linux Server 10.1 |
|
Jul 10 |
comment |
Problem loading vector layer (pyQGIS) I have the same problem. If I load my .shp file in QGIS, it loads up nicely with all attributes; yes, the shx file is there. I have tried specifying the full path for the .shp file, even though it's local. No effect. Where is the message log? There is no error output, it seems, from this command. ((Oops, this isn't an answer. Should I have made this a comment/reply?)) |