A mechanism that restricts access to a computer file by allowing only one user or process access at any specific time.

learn more… | top users | synonyms

0
votes
1answer
50 views

How do you delete a feature class if ArcCatalog locks the geodatabase?

I'm trying to delete a feature class from a personal geodatabase using ArcCatalog but the file is locked because it's opened exclusively by me. The process fails to get a schema lock. Well of course ...
1
vote
1answer
26 views

Why is there a lock when using arcpy.DeleteField_management in arcgis 10.0?

This code only works when ArcCatalog is closed or the featureclass has never been opened by ArcCatalog. For other arcpy management functions this is not the case, but when ArcCatalog is open, I get ...
-4
votes
1answer
79 views

Handling ArcPy locks in Python script?

i am writing script which uses different Tools of arcgis and implementing different functionalities .. My script consists in different Functions running in an order. Each function is connected to ...
0
votes
0answers
38 views

Script for Arcpy console Lock file gets removed

I am running a script via python console to batch add and calculate new fields of all shapefiles in the current dataframe. Sometimes, especially if I have more than 5 shapefiles to be processed, the ...
1
vote
1answer
64 views

ArcGIS File Geodatabase import failure on TS-453Pro

This is a very device-specific question but maybe someone has ideas. Our problem is that we cannot import files into our File Geodatabases that are stored on a NAS device. When the import function is ...
0
votes
2answers
101 views

ArcSDE Locks With No Owner

Running enterprise SDE on Sql Server 2008, ArcGIS 10.1, SP1. The issue is old locks on all feature classes within a specific feature dataset that aren't being released. When viewed with an admin ...
3
votes
1answer
549 views

arcpy release lock files

I have created a script that splits a shape file into multiple new shapefiles and adds them to an ArcMap document. When running the program a second time to overwrite those shape files lock-files are ...
0
votes
0answers
60 views

working with image service and mosaic rule lock raster method, how can the lock IDs be set by the user

I have an image service with many overlapping rasters that I have loaded into a map. I would like for the user to be able to choose which rasters they would like to view. I know I can use the mosaic ...
2
votes
0answers
27 views

QGIS is locking the clipboard from other application? (SitesPlus)

We are starting to use QGIS along with Sales Forecasting software Sites Plus by Gravitec. An ugly problem just popped up: Whenever QGIS is open, any attempts to calculate a data table in SitesPlus ...
5
votes
1answer
277 views

Pause ArcPy script until feature class lock goes away

My script needs to copy data into a feature class to an SDE geodatabase that might have a lock on it from another application. I shouldn't break the lock (that app has priority over a data update), ...
1
vote
1answer
69 views

edit lock layer

I have a question. I want to make a protected processing imported layers from the sqlite database. Is there in QGIS 2.0 a function or a plugin or do I have to insert directly into the data? Thank ...
3
votes
0answers
93 views

New SQL Monitor Showing Database Deadlocks, Should I be alarmed?

We recently installed a SQL Monitoring tool that is raising High Alerts for SQL Server Deadlocks on my SDE database at random times during the day. Using the information provided in the Alert I have ...
4
votes
2answers
531 views

Problems with a FileGeodatabase locking

We have file geodatabase on a network drive, version 9.2, which locks every time a specific machine starts up ArcMap 10.0 or ArcCatalog 10.0. This machine isn't actually reading anything from this ...
0
votes
0answers
159 views

Lock file on shapefile persisting with arcpy.ImportMetadata_conversion

I've got a script that does a number of things to two shapefiles, and it appears that the metadata import step is creating a lock file on only one of the shapefiles that persists even after del arcpy. ...
2
votes
3answers
1k views

Locate and delete ArcGIS Desktop Lock files

I wan´t to simply delete the lock files that ArcGIS writes and doesn´t delete after removing data from the contents window. As my ArcGIS Desktop takes around 4 minutes to start, I am getting really ...
10
votes
1answer
542 views

PyQGIS file lock release

I was wondering what triggers the release of file locks in pyQGIS? I am trying to delete a few data sources (used temporarily) by calling QgsVectorFileWriter.deleteShapeFile, but I have to quit QGIS ...
2
votes
1answer
4k views

Error: cannot acquire a lock when editing in ArcMap 10.1

We have a problem with a shapefile feature class. Periodically it will not save edits with an error message as the following: Cannot save edits; cannot acquire a lock Working in 10.1 with a ...
3
votes
3answers
828 views

How to release locks to temp files after ArcPy script crashes in ArcMap?

Sometimes when I'm testing an ArcPy script and it ends with exception, ArcMap is still holding locks to some temp files (I run my scripts through ArcMap). I cannot run the script any more, because it ...
1
vote
0answers
231 views

Adding multiple layers to Tilemill from a single sqlite DB

This is a repost of a question I had over at the MapBox support board. Since I wasn't having much luck over there, I'm hoping I would have better success here. I'm having trouble adding more than a ...
2
votes
1answer
246 views

Why are layers imported into a DB with Spatialite-Gui locked from editing?

I have a Spatialite DB which I have imported some shp files too using Spatialite-Gui. I have full read-write access to these layers via the Spatialite-Gui, however when I open these layers from QGIS I ...
0
votes
1answer
963 views

Unable to delete .lock files within geodatabase using Python

I am having problems with lock files while deleting and copying geodatabases for backup purposes. print "Now backing up your Geodatabase" distutils.dir_util.remove_tree ...
1
vote
0answers
436 views

QGIS: opening a shapefile without an exclusive file lock [closed]

UPDATE: I did some analysis of what happens with the locking and it looks like QGIS doesn't use an exclusive lock. It just requires (non-exclusive?) write lock to the file. So this C# code fails: ...
8
votes
4answers
3k views

Python script - how to avoid exclusive schema lock error?

I have a script for updating some features on my database every night (just for copying and replacing some features). This features are "read-only". My problem is that I can't avoid that these ...
1
vote
2answers
280 views

Add record in related table ArcPad

i have a layer form (named form_layer) containing a combobox and allows to add records into the related table, by showing a form of the related table (named form_table) When i try to add record ...
6
votes
1answer
473 views

Releasing GeoServer WFS-T Feature Lock

For some reason I'm having trouble finding any documentation about releasing feature locks in a GeoServer WFS (or any WFS for that matter). I can easily request a FeatureLock with a request like this ...
11
votes
1answer
2k views

How to disconnect all open GDB locks in ArcMap?

I am having trouble releasing GDB locks in ArcMap 9.3. Does anyone know a way to disconnect from all open GDB connections in ArcMap 9.3. I could close and re-open arcMap, but that seems to be a ...