The current project is locked by ...

3 posts / 0 new
Last post
Sunder Gee
Offline
Joined: 07/22/2012 - 16:47
The current project is locked by ...

Using new versions of IDEA (I believe Version 9.2 and up), when you select a project of files that you obtained from another computer, you may get a message stating that "The current project is locked by...". While the data files can be used, Project Overview and Library would not be available.

This may occur if you had downloaded and unzipped the "Fraud and Fraud Detection.zip" file from Wiley's website as directed on page 329 of the book and are using the files in newer versions of IDEA.

 

To resolve this issue, go the IDEA's Home tab and in the Projects area, select Properties. You can then unlock the project by clicking on the "Unlock" button so that you would not get the error message. To be able to use Project Overview and Library, after unlocking the project, click on "Lock" which will then lock the project under your current user id.

 

 

 

Images: 
TMC
Offline
Joined: 10/20/2016 - 09:43

is there a way to do this programmatically by the beginning of a script/macro?somethinkg like "if locked then unlock, else exit "
cheers

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

I haven't tried a cript on a locked project.  Have you tried and did it give an error?  What you can probably do is test for an error and if the error exists then you exit.