LR4 ignores .lock file

Hi,
I am using Lightroom on my desktop MacPro at home and on my MacBook while on the go (or on the coach). In order to not lose edits every time I switch from computer, I've setup my lightroom catalog files on DropBox. This works flawlessly and I'm happy with that except for one little problem:
When I stop working with LR4 I need to quit the application in order to get the new version of the catalog uploaded to dropbox. Thats fine, however sometimes I forget this and just close my macbook without quitting LR. Now when I start working the next time on the other computer there is the risk that I start the same catalog that is already open. LR has however created the .lock file which should prevent me from doing that. However, to my unpleasant surprise, it seems that it ignores this .lock file. It just opens the .lrcat file and I can work with it and save it. When I save the open file from the other computer later, dropbox creates a "conflicting copy".
All that is no disaster but I would like to be able to rely on the protection mechanism provided by the .lock file, as it is supposedly intended to work. So my question is:
how is it possible that LR4 ignores the .lock file and how can I make LR4 refuse to open a .lrcat file when a .lock file is present? or at least give a warning ? 
Thanks for any ideas, Jules

I would guess that LR’s .lock file is there to prevent two things:  more than one person opening the catalog at the same time or to warn of catalog corruption in case of a sudden power loss or the computer being put to sleep with the catalog on the local drive, and upon starting LR, it tries to lock the .lock file and if that succeeds then no one else has the catalog file open, and then it checks some other place in the database to see if all write operations were completed successfully, and if so then it opens the catalog and silently deletes the .lock file.  Perhaps in the past there was a warning whenever the .lock file existed but that was generating unnecessary support calls so they made the checking more sophisticated and don’t warn unless there is a real problem.  Of course cloud-syncing the catalog was not anticipated in the current design of the .lock file handing and so it is a problem for you.
If you were on Windows I’d suggest that you redirect your LR startup shortcut to point to a .cmd or .bat file that has an IF NOT EXISTS whatevercatalog.lock START LR-shortcut so LR doesn’t get started if the .lock file exists, and I’d guess there are similar scripting mechanisms available on the Mac  although I don’t know exactly what they are.

Similar Messages

  • Update Problem - Mysterious Locked File

    My iPod photo won't update my pictures. When I click on update, this message will come up "The iPod "IPOD" cannot be updated. The required file is locked." Does anyone know what this "locked file" is?? Or does anyone know how to fix this?
    I desperately need help.

    If the file appears in HD/Library/Updates, then delete it and try updating again.
    Recently, I installed third party software that trashed OS X 10.5.5 and I was forced to re-install the original OS X 10.5.2 (CD) as a fresh new install.
    After the install, the software update OS X 10.5.5 Combo would not Validate. The download version in dmg format also failed verification.
    I re-installed 10.5.2 again and ran into the exact same problems.
    For the third time, I again installed the original 10.5.2, this time I used Disc Utility to check the drive, this found problems with permissions in this new fresh install and was duly repaired.
    TechTool Deluxe (AppleCare Protection Plan) was then used to check that everything was indeed OK.
    Screensaver was then turned off along with Energy Saver prior to the Software Update and a successful validated update to 10.5.5 resulted.
    When updating the rest of the software everything updated properly except for the Java Update which would not validate.
    I set Software Update to ignore the Java Update and again, used Disc Utility which again found permission problems that had to be repaired.
    I then downloaded the dmg version of Java Update which installed without a hitch.
    Software Updates appear to be Apple's achilles heel, but no worse than any other OS.
    Unfortunately, the slightest glitch will compromise a software download or it's installation from any source, one has absolutely no control of this process except for pushing buttons.
    The best download software I have used is Star Downloader, for Windows, this downloads from a number of servers simultaneously then re-assembles the separate downloads as one file. I have never had it fail.
    I no longer use any of Microsoft's hardware or software, I am so happy with my iMac and Apple's efforts.
    I will follow your post with interest.
    Best Regards,
    BearsPaw

  • Weird Locked Files/Permissions/Dock/Etc

    I have some sort of odd locked file/permissions problem (I think).
    About a year ago, I seem to have done something to my permissions or locked files that I can't seem to fix.  I have a variety of disparate symptoms, including applications that won't work or can't be installed/deleted because support or preference files are locked or can't be changed, a need to repeatedly reauthenticate with a password just to move files from one folder to the next, an inability to turn off file sync for mobile me, dock item changes that go away whenever I reboot, locked files that continually reopen in Preview, having to manually delete and reinstall apps like Preview apparently because of locked preference files, printers that won't work because of locked files until I delete all and reinstall, software that won't run properly or fails to launch at all on double click, etc.
    It is almost like a ghost in the machine problem because the problems are relatively varied.
    I've tried disk utility etc to repair permissions and none of the repairs work (I keep getting the same errors, copied below).  I've tried a complete reinstall of the OS, repair permissions from the OS X restore disk, etc. and nothing seems to help.
    This is happening on a Mac Pro 1,1 (3.0 GHz), running 10.7.4 with all updates through today and with a Radeon 4870 card, and 9 GB of properly matched ram.  Everything else works pretty well and I have no similar problems on my wife's 2011 iMac, my MacBookAir i5, etc.
    I'm thinking that there is some sort of locked file or permissions problem that is not getting fixed correctly and that there might be some trick to fixing it.
    Help!!
    Repairing permissions for “Master”
    ACL found but not expected on “Library/Printers”
    Repaired “Library/Printers”
    ACL found but not expected on “private/etc/apache2/users”
    Repaired “private/etc/apache2/users”
    ACL found but not expected on “Library/Printers/PPDs”
    Repaired “Library/Printers/PPDs”
    ACL found but not expected on “Library/Printers/PPDs/Contents”
    Repaired “Library/Printers/PPDs/Contents”
    ACL found but not expected on “Library/Printers/PPDs/Contents/Resources”
    Repaired “Library/Printers/PPDs/Contents/Resources”
    ACL differs on “Users”
    Repaired “Users”
    ACL found but not expected on “private/var/root”
    Repaired “private/var/root”
    ACL found but not expected on “private/var/root/Library”
    Repaired “private/var/root/Library”
    ACL found but not expected on “private/var/root/Library/Preferences”
    Repaired “private/var/root/Library/Preferences”
    Permissions repair complete

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Back up all data now. Before proceeding, you must be sure you can restore your system to its present state
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    chmod -R -N ~
    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the Recovery screen appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the password.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • Novell-named Unable to lock file /etc/nam.conf..?!?

    Getting this error on startup of novell-named
    >>
    # rcnovell-named restart
    Shutting down name server BIND waiting for novell-named to shu(28s) done
    Starting name server BIND Unable to lock file /etc/nam.conf.
    Permission denied
    <<
    Seems superficial, as dns seems to work fine. However, wondering what/why/etc. Can't think of a relationship...
    Anyone any suggestions?
    Cheers
    David

    djbrightman,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Lock files in Finder?

    Can you lock files in your Finder? I know you can lock the entire drive, but can you lock a specific one?
    This isn't in relation to locking ****, believe it or not :P

    Welcome to Discussions - select the file you want, Get Info on it and click the lock at the bottom of the window.

  • HT2674 I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive. Now, the trash can will not empty some of the files deleted.  File folder: "Core Services" contains a locked file: "boot.efi".  It will not

    I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive which operates from Time Machine.
    Now, the trash can will not empty some of the files deleted from the backup harddrive.
    The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi". 
    It will not delete.
    How do I get the trash can empty of these files?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • How do I enable opening firefox from two different computers sharing the same home directory without having to delete a lock file (linux).

    I just don't want to have to delete a lock file - which has a purpose - in order to use firefox simultaneously from two locations on the network - where the home directory, i.e. .mozilla directory - is located

    You need to use two separate profiles if you want to have two Firefox instances open at the same time.
    See also http://www.mozilla.org/unix/remote.html

  • ORA-27086: unable to lock file over NFS -- but it's NOT Netapp!

    My 10.2 database crashed, and when it came back I got the following error:
    ORA-00202: control file: '/local/opt/oracle/product/10.2.0/dbs/lkFOOBAR'
    ORA-27086: unable to lock file - already in use
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    This is a classic symptom of a Netapp problem, which likes to hold file locks open on NFS mounts. There is a standard procedure for clearing those locks; see, for instance, document 429912.1 on Metalink.
    Unfortunately, my files are mounted on an Isilon, one of Netapp's twisted cousins. I can find no references to "isilon" on Metalink, and we are at a loss how to resolve this.
    My sysadmin assures me that "there are no locks on the Isilon". But I know this cannot be the case, because if I do the following:
    1. delete the lockfile /local/opt/oracle/product/10.2.0/dbs/lkFOOBAR, and then
    2. move my controlfiles aside, and then copy them back into place,
    then the database will mount. However, it will not open, because now all the datafiles have locks.
    Is there anyone with experience in clearing NFS locks? I know this is more of a SA task than DBA, but I am sure my SA has overlooked something.
    Thanks

    New information:
    As stated above, I moved the controlfiles aside and then copied them back into place, like this:
    mv control01.ctl control01-bak.ctl
    cp control01-bak.ctl control01.ctlDid that for each controlfile, and then the database mounted.
    But, after rebooting the machine, we discovered that all locks were back in place-- it looks like the system is locking the files on boot-up, and not letting them go. The lock is held by PID 1, which is init.
    sculkget: lock held by PID: 1This is definitely looking like a major system issue, and not a DBA issue, and hence I have little right to expect assistance in this forum. But nonetheless I lay my situation out here before you all in case someone else recognizes my problem before the server bursts into flames!
    The system is CentOS 4.5-- not my choice, but that's the way it is.

  • Issue with the report oracle.apps.xdo.XDOException:Error creating lock file

    I am getting an error while submitting the XML publisher report in Betsy N0 instance.
    Issue
    Log :- Beginning post-processing of request 145458120 on node BETSYN0DB1 at 22-DEC-2011 05:28:26.
    Post-processing of request 145458120 failed at 22-DEC-2011 05:28:28 with the error message: One or more post-processing actions failed. Consult the OPP service log for details
    Output :- Blank Report
    XML file :- XML file generated without any error
    Output process:-
    [12/23/11 4:28:10 AM] [1213640:RT145480622] Completed post-processing actions for request 145480622.
    [12/23/11 5:16:01 AM] [OPPServiceThread1] Post-processing request 145481427.
    [12/23/11 5:49:30 AM] [OPPServiceThread1] Post-processing request 145481923.
    [12/23/11 5:49:30 AM] [1213640:RT145481923] Executing post-processing actions for request 145481923.
    [12/23/11 5:49:30 AM] [1213640:RT145481923] Starting XML Publisher post-processing action.
    [12/23/11 5:49:30 AM] [1213640:RT145481923]
    Template code: XXWIP_WO_VLVS
    Template app: XXWIP
    Language: en
    Territory: US
    Output type: PDF
    oracle.apps.xdo.XDOException: Error creating lock file
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFromDB(FontCacheManager.java:320)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:198)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5824)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/23/11 5:49:31 AM] [UNEXPECTED] [1213640:RT145481923] oracle.apps.xdo.XDOException: Error creating lock file
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFromDB(FontCacheManager.java:320)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:198)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5824)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/23/11 5:49:31 AM] [1213640:RT145481923] Completed post-processing actions for request 145481923.

    The issue is fixed.
    Our XML Publisher TMP is not defined, so it uses the APPLTMP used by concurrent manager. There is a folder xdofonts/<SID> in $APPLTMP. It contains the fonts used by XML publisher and on the of font file (.ttf) was 0 byte. We copied the ttf file from QA. And it started working.
    Best practice is to define diffent TMP for concurrent managers and XML Publisher.
    Cherrish Vaidiyan

  • Locked file on desk top

    Hi,
    I had a locked file in the trash and thought i'd drag it out to the desk top and delete the other stuff in there. Well it duplicated itself and I cant get rid of it (BBEdit html file)
    command i and unlock the little lock doesn't help.
    Used option empty to finally empty the trash. Help says I should try this little operation:
    1. Start in single-user mode; for instructions see Mac OS X: How to Start up in Single-User or Verbose Mode.
    2. Type this, followed by Return: mount -uw /
    3. Type this, followed by Return:
    cd /Library/Preferences/SystemConfiguration
    4. Type this, on a single line, followed by Return:
    defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true
    5. Type this, followed by Return: sh /etc/rc
    6. Wait for the on screen text to stop scrolling and then press Return
    7. Type this, followed by Return:
    find / -flags schg -exec chflags noschg {} \;
    8. Once this is finished, type this followed by Return:
    rm /Library/Preferences/SystemConfiguration/autodiskmount.plist
    9. Type this followed by Return: reboot
    I find this to be a tad on the cute side. Beside needing to type that much with no errors, how do people remember it?
    Is there a place to store things so you can find them in single user mode?
    Thanks,
    Garrett

    drag the file to the desktop. Open the Terminal app. Type the following:
    sudo rm
    Make sure there's a space after the rm Then drag the file in question to the Terminal window. Hit Enter. Insert your admin password at the prompt and the file is gone.

  • Issue with lock file in Oracle 10g app server - MDB not running

    Hi,
    I have Oracle 10g & MQ 6 on my laptop. I generated JNDI bindings for app server-MQ by giving ip address of my machine first. Then i changed it to "localhost" & generated new set of .bindings file.
    With this new set i am able to send messages from my program to a queue. I also have an MDB which should listen to the same queue.
    However now my mdb is not listening to the queue & i suspect it is due to host address change, - because each time i start the server, i see a lock file created "OracleASRouter_store.lock" - under j2ee\home\persistance. And below is the content of the same -
    "O10.1.4.245:/C:/Program Files/Oracle/oc4j_extended_101330/j2ee/home/persistence/"
    As per few suggestions on this site, I deleted this file & restated app server, deleted whole content of persistance folder, restarted app server. But each time i see this file created and also see the ip address in log.xml under j2ee\home\log\oc4j
    Error message in this log.xml file is
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-09-19T11:22:35.265-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_ID>J2EE EJB-02009</MSG_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>IFLEXNY-EXT99</HOST_ID>
    <HOST_NWADDR>10.1.4.245</HOST_NWADDR>
    <MODULE_ID>ejb.runtime</MODULE_ID>
    <THREAD_ID>10</THREAD_ID>
    <USER_ID>chetanmi</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.1.4.245:65858:1190215355296:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>[STGMQ:STGMQEJB:TestMDB] Unexpected exception by JMS provider: javax.jms.MessageEOFException: initializeConnection.</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[javax.jms.MessageEOFException: initializeConnection
         at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1075)
         at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1155)
         at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:154)
         at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:110)
         at com.evermind.server.jms.TCPJMSRemoteServer.<init>(TCPJMSRemoteServer.java:68)
         at com.evermind.server.jms.EvermindConnection.<init>(EvermindConnection.java:122)
         at com.evermind.server.jms.EvermindQueueConnection.<init>(EvermindQueueConnection.java:70)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.unprivileged_createQueueConnection(EvermindQueueConnectionFactory.java:101)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.access$000(EvermindQueueConnectionFactory.java:44)
         at com.evermind.server.jms.EvermindQueueConnectionFactory$1.execute(EvermindQueueConnectionFactory.java:81)
         at com.evermind.server.jms.InContainerProxy.doSecureOp(InContainerProxy.java:157)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:78)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:69)
         at com.evermind.server.ejb.MessageDrivenConsumer.createNonXAResources(MessageDrivenConsumer.java:567)
         at com.evermind.server.ejb.MessageDrivenConsumer.initializeJMSResources(MessageDrivenConsumer.java:491)
         at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:208)
         at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.EOFException
         at java.io.DataInputStream.readInt(DataInputStream.java:358)
         at com.evermind.server.jms.JMSRemoteServer.readCheck(JMSRemoteServer.java:678)
         at com.evermind.server.jms.JMSRemoteServer.readProtocol(JMSRemoteServer.java:696)
         at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:134)
         ... 16 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-09-19T11:22:35.312-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_ID>J2EE EJB-02014</MSG_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>IFLEXNY-EXT99</HOST_ID>
    <HOST_NWADDR>10.1.4.245</HOST_NWADDR>
    <MODULE_ID>ejb.runtime</MODULE_ID>
    <THREAD_ID>10</THREAD_ID>
    <USER_ID>chetanmi</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.1.4.245:65858:1190215355296:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>[STGMQ:STGMQEJB:TestMDB] All message consumer threads have terminated due to provider errors, stopping MDB.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    And my MDB is NOT WORKING. Please let me know how to deal with this.
    Your suggestions would be much appreciated.
    Regard,
    Chetan

    Line # 127 is creating a new application object using ApplicationFactory.
    ApplicationFactory aFactory =
    (ApplicationFactory) FactoryFinder.getFactory(
    FactoryFinder.APPLICATION_FACTORY);
    application = aFactory.getApplication();
    The only way that can throw a null pointer is when aFactory is NULL. I really doubt this case because, the same thing is doen in init() of FacesServlet. If it had failed there, the exception should have occured during server startup.
    This leaves me more and more confused....I am desperate for some help now :((
    Ramesh

  • Error Creating lock file

    Hi Guys,
    I have created a sample Data Template and registered it with apps and then created a concurrent program and have run that it produces the XML output correctly .. (good upto here)
    Then i created a RTF template and attached the Data Definition to the RTF tempalte and to the Data Definition template i also attached a default xml data file
    when i click the preview it dosent show me the preview but it shows an exception
    oracle.apps.xdo.XDOException: Error creating lock file
    What could be the problem ?
    Thanks
    Tom ....

    Hi Chris ,
    Following are the details ..
    Executeable Name : XDODTEXE
    Concurrent program Short Name : DTFEMP
    Data Template Code : DTFEMP
    Rtf Template Code : DTFTMP
    Content of the Data Template
    <dataTemplate name="EmpData" description="Employee Details" Version="1.0">
    <parameters>
    <parameter name="p_DeptNo" dataType="character" />
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[
    SELECT d.DEPTNO,d.DNAME,d.LOC,EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,
    nvl(COMM,0)
    FROM scott.dept d, scott.emp e
    WHERE d.deptno=e.deptno
    AND d.deptno = nvl(:p_DeptNo,d.deptno)
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_DEPT" source="Q1">
    <element name="DEPT_NUMBER" value="DEPTNO" />
    <element name="DEPT_NAME" value="DNAME" />
    <element name="DEPTSAL" value="G_EMP.SALARY" function="SUM()" />
    <element name="LOCATION" value="LOC" />
    <group name="G_EMP" source="Q1">
    <element name="EMPLOYEE_NUMBER" value="EMPNO" />
    <element name="NAME" value="ENAME" />
    <element name="JOB" value="JOB" />
    <element name="MANAGER" value="MGR" />
    <element name="HIREDATE" value="HIREDATE" />
    <element name="SALARY" value="SAL" />
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    Please let me know if you need some more details ......
    Do i have to setup something before i can start using Data Templates to generate XML output for the RTF templates ?
    Thanks
    Tom...

  • [RESOLVED] MPD can't add files to db, says ignoring unrecognized file

    Sorry to bother you guys with this, but I have searched a while on google and the forums and come up empty.
    I'm trying to add some music to my database with mpd and ncmpcpp. I start mpd and it starts fine, and start ncmpcpp and it starts fine, and hit the 'u' key to update. Then I look at my library. It has all the folders that are in my music folder, but none of the .mp3 files are listed. So I started mpd with
    mpd --verbose --stdout --no-daemon
    And hit the 'u' key in ncmpcpp again, and for every file in my music folder, mpd says such things as
    update: ignoring unrecognized file Snow Patrol/Chocolate.mp3
    I am running mpd as a user (not as root or as a daemon) and even then I checked all the permissions on all the relevant files and directories and they all seem to be good.
    I searched a lot and didn't find this error. Has anyone else had this problem and fixed it?
    Last edited by kens (2011-11-16 22:25:47)

    Here's the output of mpd --version:
    mpd (MPD: Music Player Daemon) 0.16.5
    Copyright (C) 2003-2007 Warren Dukes <[email protected]>
    Copyright (C) 2008-2010 Max Kellermann <[email protected]>
    This is free software; see the source for copying conditions. There is NO
    warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Supported decoders:
    [mad] mp3 mp2
    [vorbis] ogg oga
    [oggflac] ogg oga
    [flac] flac
    [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
    [audiofile] wav au aiff aif
    [faad] aac
    [mp4ff] m4a m4b mp4
    [mpcdec] mpc
    [wavpack] wv
    [modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
    [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav wma wmv wsaud wsvga wv wve
    Supported outputs:
    shout null fifo alsa ao oss pulse jack httpd recorder
    Supported encoders:
    null vorbis lame wave flac
    Supported protocols:
    file:// http:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps://
    It seems to support mp3 but it's still giving the "ignoring unrecognized file" thing.

  • I recently thought I was updating my Safari browser. When completed, I put all those little files that were on the desktop into the trash. Now my trash is saying it can't be emptied because there are locked files and I don't know how to unlock them

    I recently thought I was updating my Safari browser. When completed, I put all those little files that were on the desktop into the trash. Now my trash is saying it can't be emptied because there are locked files and I don't know how to unlock them or get them out of my trash and they keep multiplying. And to make matters worse, I tried renaming them as pdf files thinking that might do the trick.

    oh boy ! I'd ask you if you knew what kind of files they were or where they came from, but I don't think you could help me a bunch. Try going to the Utilities folder and running Disk Utilities.  If you want to empty the Trash and it won't empty, go to the finder and choose "secure Empty trash". Worse case scenario-you may have to reinstall Snow Leopard, but I don't know what else to suggest. If you have a DVD of Snow Leopard, boot up from that,  and reinstall the OS. This will not touch the stuff you have on your Hard Drive, then you can update from 10.6 to 10.6.8, otherwise Onyx? Maybe those files are part of the OS which needs them to keep running.  if you hold down the Shift key on reboot, you can reboot in Safe mode and maybe you can take the files out of the trash that way
    good luck
    John B

  • Can't get Firefox to load at all after trying fixes from support web site. Have checked for lock file, processes running, reboot, reinstall. NO JOY.

    I'm running Vista for operating system on an HP laptop that's about 2 years old. I've installed all current updates.
    I've always used Firefox. It started crashing and creating processes but not launching. Went to support and scoped it out -- there was a lock file my profile directory. I deleted it, and Firefox started loading.
    Used it a few times -- closed the app each time on exist as per suggestions on support site info. One time -- back to square one, wouldn't load, just created a process. Reboot, ending process, checking for lock file, reinstalling -- all unsucessful.

    Brian
    Below is from using a SIP build.  It does offer G722, but it's way down on the list so it's never used...
    m=audio 32678 RTP/AVP 0 8 18 102 9 116 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:102 L16/16000
    a=rtpmap:9 G722/8000
    a=rtpmap:116 iLBC/8000
    a=fmtp:116 mode=20
    a=rtpmap:101 telephone-event/8000
    Taking Sreekanth's suggestion to try a Skinny build, I get the following when I make a call.  It offers codecs in the order I SET THEM AND ONLY THE CODECS I SET!  YAY!
    m=audio 19374 RTP/AVP 9 0 101
    a=rtpmap:9 G722/8000
    a=fmtp:9 bitrate=64
    a=rtpmap:0 PCMU/8000
    a=rtpmap:101 telephone-event/8000
    Using a Skinny build on the phones also solved other issues.  The phones use G711 when the whole path supports G711 and G722 when the whole path supports G722.  It doesn't always use G722 and rely on transcoding for the call paths that can't use it.  It's fantastic..  The phones also receive the QoS tagging that I set and that seems to result in better audio quality than on the SIP builds, which never did get those settings.  Finally, it even solved a slow Exchange 2013 answer issue I have been experiencing for quite some time.  I practically fell out of my chair when I saw everything that was fixed just by switching...
    Cisco, PLEASE FIX YOUR SIP BUILDS!  It's insane how the SCCP builds work perfectly and the SIP builds don't, especially with how much these phones cost..  I was thinking of possibly acquiring some 9951s, which are SIP only.  I'm a little leery about that at this point.  If they have the same kinds of issues as the SIP builds for the 7975g, there's no SCCP alternative to use..
    Sreekanth
    Thank you for suggesting a Skinny build..  That was about the only thing I didn't try.  I am happy beyond belief that this is working so well now, even though the SIP builds should be just as well developed as the SCCP ones.

Maybe you are looking for