Orcad Library READONLY MODE problem
GEORGE_CH , 10-30-2024, 05:13 PM
Hi all. After using the "Find" in the schematics in an improper way, the Orcad crashed and closed. The "improper" way was using asteric * before and after the word inside the find box.When opening again the project appears every time the message of the picture attached, for read only mode. If yes is selected the library must be renamed if needed to be saved while working with it. If no is selected, the library folder name is shown on the left branch but without loaded components. It must be deleted with the delete button and added again.I suppose that this will create several problems if cache needed to be updated with different olb names every time and if it will be shared with other people.Any ideas how to fix this bug?
QDrives , 10-30-2024, 08:26 PM
File in use...- Restart PC- Restart server if stored on the network (or let IT force close the file)- Remove a 'helper' file
GEORGE_CH , 10-30-2024, 08:28 PM
Where is the default location of the helper file?
QDrives , 10-30-2024, 08:38 PM
Those files are (almost?) always in the same folder as the library itself. Usually with the same name, but a different extension.Do note that this is general "already open" support. I have no OrCad knowledge.If these did not help, you could use the Process Monitor to see which files and registry entries Orcad uses (https://learn.microsoft.com/en-us/sysinternals/downloads/procmon)
QDrives , 10-30-2024, 08:40 PM
Oh, and clean you temporary files. Perhaps it tries to create a file there that already exists (another helper file).
GEORGE_CH , 10-30-2024, 10:07 PM
Thanks a lot for your inputs. I tried the steps you proposed but the issue insists. It should be something related with Orcad designer specifically.
QDrives , 10-30-2024, 10:53 PM
I might be saved in the file itself. If you open a read-only copy, can you do a "save as" or "save copy"?If so, what happens with the new library?These save functions might remove the "used by" data.Afterwards, rename both the old and new library.
Robert Feranec , 11-01-2024, 05:38 PM
i think cadence is using some kind of lock files .. try to search something about it, you may need to delete it ... or this maybe could help?
Robert Feranec , 11-01-2024, 05:40 PM
https://community.cadence.com/cadence_technology_forums/pcb-design/f/allegro-x-capture-cis/52620/readonly-issue-with-private-library1-old-with-capture-17-2-2016-so83-only-on-first-open-of-project
GEORGE_CH , 11-04-2024, 02:20 PM
@QDrives : not possible to do anything when read only mode is selected. I also tried to reaneme the libarary and the project and the problem was transfered to the new project. @Robert Feranec : after following the renaming inside the xml format it worked. I did the process as described there. I don't now why in this way it works and in the previous process by just simply renaming the library doesn't work, but it is so. Thank you all for your inputs!!!
GEORGE_CH , 11-04-2024, 02:27 PM
Do you think that in any case the new library which is created from xml export and then xml import will potentially create any kind of problems in the future (not similar, but of even of a different type)?
Robert Feranec , 11-04-2024, 03:15 PM
i don't know
Use our interactive
Discord forum to reply or ask new questions.