Article View: adobe.indesign.sdk
Article #141Pub file locked?
From: Mark_Ulrik
Date: Thu, 05 Mar 2009 08:34
Date: Thu, 05 Mar 2009 08:34
13 lines
1398 bytes
1398 bytes
My plug-in (which basically performs text substitutions before saving and closing the updated doc) recently caused CS3 Server to crash. When I run the same job on the desktop, in the CS3 Debug, an exception about a locked "pub file" occurs. Can anyone explain what a "pub file" is, how it becomes locked, and/or what can be done programmatically to "unlock" it? I've tried the following method call: Utils<Facade::IWorkgroupStoryFacade>()->IsWriteable( docFile) ...which seems to enable me to avoid the embarrassing crash/exception, but doesn't get the "job" done... The doc in question contains links to .jpg, .tif, .psd, and .ai files, but all are (temporarily) broken, which is deliberate and normal. I was wondering if the problem could be Version Cue related, but no one in the orginisation seems to be using VC. Any feedback would be greatly appreciated :-) -Mark
Technical Details
Message-ID:
<59b82191.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f63e9,b2b271d0b7888f8d,start X-Google-Attributes: gidf63e9,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Mark_Ulrik@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.indesign.sdk Subject: Pub file locked? Message-ID: <59b82191.-1@webcrossing.la2eafNXanI> Date: Thu, 5 Mar 2009 00:34:10 -0800 Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit