Replace symbolic links with actual file

Hello everybody,
I have recently decided to move my seven iPhoto collections from an old external drive with insufficient capacity to a new bigger one. We talk some 50.000+ photos. Up to a couple of years ago, I had decided NOT to let iPhoto import the photos into its internal library, but I left the originals in a distinct directory external to the iPhoto package.
Moving the iPhoto packages from the old to the new disk, I ran into a problem with the links to this external directory once I had retired the old external drive … because all links to the external originals broke.
Here an example:
- The old drive is called MOBIL
- The new drive is called Photos
In the directory /Volumes/Photos/iPhoto Library 1999 - 2002/Masters/2000/ESRIN, I find a symbolic link named:
/Volumes/Photos/iPhoto Library 1999 - 2002/Masters/2000/ESRIN/DCP_0211.JPG
In a terminal session this file is: -rw-rw-rw-@ 1 js  0 29 Okt  2006 DCP_0211.JPG
The original is correctly reported as /Volumes/MOBIL/Eigene Bilder - Jurgen/Fotos/2000/09 September/ESRIN/DCP_0211.JPG
Of course, iPhoto does not find the original once I remove the volume MOBIL.
I see two possible solutions to this issue:
1. Replace the broken symbolic link /Volumes/MOBIL/... with the new one /Volumes/Photos
2. Replace the symbolic link with the actual file, i.e., copy each file from MOBIL to Photos (I don't care about the additional disk space used by this)
I'd prefer solution 2 but my UNIX knowledge is not sufficient to automate this task - we are talking hundreds of directories and thousands of files …
Any idea ho to achieve the above ? Any utility around ? Any other idea ?
Many thanks in advance - Jurgen

I believe that /Volumes normally contains a single symbolic link to the boot volume, and that all the other items there are not true symbolic links but are rather "mount points" which are managed dynamically by the system. Try running
ls -l /Volumes
in Terminal and you will see that all the items except for the boot volume show up as directories, and that only the boot volume item is a symbolic link. When you look at /Volumes in Finder (via Go To Folder) , the mount point icons have curved "alias" arrows and are labeled "alias", similar to symbolic links,  but they are different entities.
With respect to the iPhoto paths, if you still have the old drive I think I would try cloning it to the new one so that the contents of the new drive are identical, disconnecting the old drive, and then renaming the new drive to match the name of the old drive. Then launch iPhoto and see if it finds everything.

Similar Messages

  • Replace Unknown Source in EcmaError (JSR223) with actual file name

    Hopefully someone here knows how to do this:
    In my code, all of the scripts are contained in .js files. Whenever one of the scripts contains an error, I get this:
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "nonexistant" is not defined. (<Unknown source>#5) in <Unknown source> at line number 5
    What bugs me is the <Unknown Source>. Multiple files are in one ScriptContext, and it can be hard to track down an error. It also looks horrible.
    Is there a way to replace <Unknown Source> with the actual file name? None of the methods I see support passing a File object, so I'm really confused here.
    Cross posted (and unanswered) at:
    http://stackoverflow.com/questions/2885120/replace-unknown-source-in-java-rhino-jsr223-with-actual-file-name
    http://www.javaprogrammingforums.com/exceptions/4465-replace-unknown-source-ecmaerror-jsr223-actual-file-name.html
    http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino
    http://mozilla-xp.com/mozilla.dev.tech.js-engine.rhino/Replace-Unknown-Source-with-Script-file-name

    You may need to set compile debug option set to true.
    I am not sure if my tip is useful for you, anyway good luck.

  • Clustering, unix symbolic links, and war files

              Hello,
              we use symbolic links in our web application to a large shared storage device.
              This works when running a single server, when the application is not a war file.
              When we cluster the application, the admin server creates a war file, blindly
              follows the symbolic links and tries to include all files in the shared storage
              device. Bad!
              Is there a work-around to this problem in a clustered configuration?
              -Thanks-
              

              hi,
              can you tell me know you deploy your app to the cluster member
              manually? do you run each member as an admin server? how do
              you group them into a cluster then?
              thanks,
              yan
              "Philippe Lantin" plantin_AT_cobaltgroup.com wrote:
              >
              >
              >Yes, this method works. I did want to keep a central admin server to
              >avoid have
              >multiple configuration files, and deploy new code to only one location.
              >I suppose
              >I could do this via a shared drive.
              >
              >I have an open case with BEA on this issue. The root of the problem appears
              >to
              >be that the jar format isn't equipped to deal with symbolic links. Webapps
              >which
              >are exploded in directories lose their symbolic links when packaged in
              >a war.
              >
              >Thanks,
              >
              >Philippe Lantin
              >
              >"Cameron Purdy" <[email protected]> wrote:
              >>I've never used that centralized deployment feature; rather I've always
              >>configured each of the cluster members manually, partly because of the
              >>bug
              >>in the admin server in 6.0 (?) that would not allow it to deploy to
              >the
              >>cluster.
              >>
              >>Can you try to deploy the application manually?
              >>
              >>Peace,
              >>
              >>--
              >>Cameron Purdy
              >>Tangosol Inc.
              >><< Tangosol Server: How Weblogic applications are customized >>
              >><< Download now from http://www.tangosol.com/download.jsp >>
              >>
              >>
              >><Philippe Lantin plantin_AT_cobaltgroup.com> wrote in message
              >>news:[email protected]...
              >>>
              >>>
              >>> Hi,
              >>>
              >>> our web application is not a war when we use a single server. We simply
              >>use a
              >>> directory under "applications". This method works correctly with symbolic
              >>links
              >>> under weblogic v.6.1.
              >>>
              >>> To test our application in the cluster, we use the previous single
              >>server
              >>as the
              >>> administration server, leaving the application directory intact. We
              >>create
              >>a cluster
              >>> definition with it's target members using this web application.
              >>>
              >>> When we start up the cluster members, the administration server creates
              >>a
              >>war
              >>> file that is distributed to to cluster members. This is not somthing
              >>we
              >>control,
              >>> this is automatically done by weblogic.
              >>>
              >>> This is where we run into trouble. When the admin server creates the
              >>war
              >>file
              >>> to distribute to the cluster target, it follows the symbolic links
              >>and
              >>recursively
              >>> includes all files and directories. This creates a huge war file,
              >and
              >>is
              >>obviously
              >>> not the behavior we are looking for.
              >>>
              >>> Creating a war file manually doesn't help, since jar doesn't support
              >>symbolic
              >>> links.
              >>>
              >>> Thanks,
              >>>
              >>> Philippe Lantin
              >>>
              >>>
              >>> "Cameron Purdy" <[email protected]> wrote:
              >>> >I don't understand at which point you are running into a problem.
              >>> >
              >>> >> we use symbolic links in our web application to a large shared
              >storage
              >>> >device.
              >>> >
              >>> >That is not uncommon, for example to use a Sun storage box or EMC
              >>with
              >>> >some
              >>> >fault tolerant characteristics to host the application images etc.
              >>> >
              >>> >> This works when running a single server, when the application is
              >>not
              >>> >a war
              >>> >file.
              >>> >
              >>> >Do you mean when it is "exploded"? Does it work with a single server
              >>> >when
              >>> >the app is a war file?
              >>> >
              >>> >> When we cluster the application, the admin server creates a war
              >>file,
              >>> >blindly
              >>> >> follows the symbolic links and tries to include all files in the
              >>shared
              >>> >storage
              >>> >> device.
              >>> >
              >>> >This is the part that I don't follow. Are you using 6.1sp1? What
              >are
              >>> >the
              >>> >steps that you are taking with the admin server?
              >>> >
              >>> >Peace,
              >>> >
              >>> >--
              >>> >Cameron Purdy
              >>> >Tangosol Inc.
              >>> ><< Tangosol Server: How Weblogic applications are customized >>
              >>> ><< Download now from http://www.tangosol.com/download.jsp >>
              >>> >
              >>> >
              >>> ><Philippe Lantin plantin_AT_cobaltgroup.com> wrote in message
              >>> >news:[email protected]...
              >>> >>
              >>> >>
              >>> >> Hello,
              >>> >>
              >>> >> we use symbolic links in our web application to a large shared
              >storage
              >>> >device.
              >>> >> This works when running a single server, when the application is
              >>not
              >>> >a war
              >>> >file.
              >>> >> When we cluster the application, the admin server creates a war
              >>file,
              >>> >blindly
              >>> >> follows the symbolic links and tries to include all files in the
              >>shared
              >>> >storage
              >>> >> device. Bad!
              >>> >>
              >>> >> Is there a work-around to this problem in a clustered configuration?
              >>> >>
              >>> >> -Thanks-
              >>> >>
              >>> >>
              >>> >>
              >>> >
              >>> >
              >>>
              >>
              >>
              >
              

  • WebLogic 9.2 - Replacing  apache_xbean.jar with the file xmlbeans-2.4.0.jar

    Hello All,
    I am a newbie in the forum.
    I have been using WebLogic9.2 for a while, but in my new company there was a unique request to replace the following files in WebLogic 9.2 installation.
    The development team wants to replace the:
    Original Jar:  bea\weblogic92\common\lib\apache_xbean.jar [This file comes along with the WebLogic 9.2 installation]
    with this file.
    Replaced Jar: bea\weblogic92\common\lib\xmlbeans-2.4.0.jar [This file has to be downloaded from apache.org website]
    The reason the developers want these file to be replaced is they are trying to generate xlsx reports from database and the new file works ok for them after replacing it with the old file.
    CAN WE REPLACE THE ORIGINAL FILE WITH THE NEW ONE.
    I am not sure of the consequences this would have on WebLogic performance and security.
    Can some one throw light on this.
    Regards,
    Kumar

    Hello Jaysen,
    As per your suggestions, I asked the developers to try the procedure....
    THEY SENT ME THIS HUGE ERROR LOG....DONT KNOW IF THIS IS ANY OF YOUR PAIN TO UNDERSTAND...CAN YOU HELP!
    ==================================================
    The following is the error trace:
    ERROR ContextLoader - Context initialization failed
    java.lang.LinkageError: Class org/xml/sax/InputSource violates loader constraints
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:40)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:338)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
    at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    [Loaded weblogic.logging.ThrowableInfo from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    <Aug 4, 2010 10:51:46 AM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: java.lang.LinkageError: Class org/xml/sax/InputSource violates loader constraints.
    java.lang.LinkageError: Class org/xml/sax/InputSource violates loader constraints
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291)
    Truncated. see log file for complete stacktrace
    >
    [Loaded javax.management.RuntimeErrorException from C:\bea\JDK150~1\jre\lib\rt.jar]
    [Loaded javax.management.RuntimeMBeanException from C:\bea\JDK150~1\jre\lib\rt.jar]
    [Loaded java.lang.reflect.InvocationTargetException from C:\bea\JDK150~1\jre\lib\rt.jar]
    [Loaded java.lang.reflect.UndeclaredThrowableException from C:\bea\JDK150~1\jre\lib\rt.jar]
    [Loaded weblogic.application.ModuleException from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.application.utils.StateChangeException from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.utils.NestedThrowable$Util from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.application.utils.ExceptionUtils from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.servlet.internal.session.MemorySessionContext$SessionCleanupAction from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor136 from __JVM_DefineClass__]
    [Loaded javax.naming.ContextNotEmptyException from C:\bea\JDK150~1\jre\lib\rt.jar]
    [Loaded weblogic.application.internal.flow.ModuleStateDriver$DestroyStateChange from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    <Aug 4, 2010 10:51:46 AM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1280899305658' for task '1'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.LinkageError: Class org/xml/sax/InputSource violates loader constraints
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291)
    Truncated. see log file for complete stacktrace
    >
    [Loaded weblogic.deploy.container.NonFatalDeploymentException from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    <Aug 4, 2010 10:51:46 AM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application '_auto_generated_ear_'.>
    [Loaded weblogic.deploy.service.internal.DeploymentService$6 from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.deploy.service.internal.DeploymentServiceLogger from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.deploy.service.RequiresRestartFailureDescription from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.management.ApplicationException from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    <Aug 4, 2010 10:51:46 AM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application '_auto_generated_ear_'.>
    <Aug 4, 2010 10:51:46 AM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.LinkageError: Class org/xml/sax/InputSource violates loader constraints
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291)
    Truncated. see log file for complete stacktrace
    >
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor137 from __JVM_DefineClass__]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor138 from __JVM_DefineClass__]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor139 from __JVM_DefineClass__]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor140 from __JVM_DefineClass__]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor141 from __JVM_DefineClass__]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor142 from __JVM_DefineClass__]
    [Loaded javax.management.openmbean.CompositeDataSupport from C:\bea\JDK150~1\jre\lib\rt.jar]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor143 from __JVM_DefineClass__]
    [Loaded weblogic.store.internal.UpdateRequest from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.transaction.internal.ServerTransactionManagerImpl$MigratedTLog from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    [Loaded weblogic.health.HealthLogger from file:/C:/bea/weblogic92/server/lib/weblogic.jar]
    ===============================
    Thanks for your time in advance!
    Kumar

  • PDFs from podcasts have lost their link to actual file-

    Is there a quick way to restore all links to the files instead of one at a time? I'm getting the " ! " next to the name in iTunes.
    Thank you.

    No, I'm afraid.
    What you can try is Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no faces, places, slideshows, books or calendars, for instance - but it should get all your albums and keywords back.*
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    *Current Beta of iPhoto Library Manager may get the Faces and Places information. Check at the iPhoto Library Manager site.
    Regards
    TD

  • Creating a Link with XML Files

    Hi,
    I am trying to import a XML file in a table structure following instructions from the Adobe help file (could only find a CS3 one, I am using CS4, the link to it: http://www.adobe.com/designcenter/indesign/articles/indcs3ip_xmlrules.pdf). Now the import works fine and my table is displayed correctly. My plan for this is to have XML files created from a database so when they get overwritten it will automatically update the tables in the file. While importing it I chose the "Create Link" option and I can see it in the links panel. All that seems fine. My problem is from this point if I do any changes to this file it gets added into my template along with the original with no formatting. So normally imported it looks like:
    code
    description
    unit
    price
    10000
    Product A
    Each
    5.00
    and if I edit it it then looks like this:
    5.00
    Each
    Product A
    10001
    PRICE
    UNIT
    DESCRIPTION
    CODE
    code
    description
    unit
    price
    10000
    Product A
    Each
    5.00
    And all I edited was the code value to be 10001 on the link yet it makes all these changes. Now if I edit the original XML file again it will crash Adobe CS4 and it freezes and says encountered error and closes. Does anyone have any advice on this situation? Is there a simple way to get XML tables inserted into a document that will change in the document if I edit the original file. If I have to change the XML that is fine as I can output it from the database pretty much whichever way I want.
    Here is the code for the XML file:
    <Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="2" aid:tcols="4">
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">CODE</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="59">DESCRIPTION</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">UNIT</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">PRICE</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">10000</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">Product A</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">Each</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">5.00</Cell>
    </Table>
    Any help would be appreciated.

    I wasn't using "Edit Original" before, but now that I do, I'm still unable to duplicate your result. When I edit and save, the results are just as one would expect. What application are you using to edit the XML? I am using Text Wrangler. What platform are you one? I've been testing this on a Mac, but could try it on Windows of that's what you are using. Also, out of curiosity, what does your XML structure look like? Here's mine:
    <Root>
      <Article>
        <Story>
          <Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="2" aid:tcols="4">
            <Cell ..... (your cell nodes here)
          </Table>
        </Story>
      </Article>
    </Root>    

  • Replacing places.sqlite with older file is not working, please help I need my bookmarks

    My hard drive was recently crashed so I had to reinstall windows 7 operating system. I recovered the deleted places.sqlite file from before the crash. I replaced the old file with new places.sqlite file but is not restoring any of the bookmarks
    Please help, I have a lot of important bookmarks stored in old file
    Please suggest a way to open the places.sqlite file manually & extract bookmarks from it or any other way to get the bookmarks back

    It is possible that this copy of places.sqlite is corrupted if your bookmarks aren't restored and in that case you can't use this file and will have to delete all the places files (-shm and -wal as well)
    If you also have a copy of the JSON backups in the bookmarkbackups folder then try to restore the bookmarks that way.
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    *https://support.mozilla.org/kb/restore-bookmarks-from-backup-or-move-them
    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    See also:
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • I moved by iTunes files to an external drive because I was changing computers. I then moved the files to the new computer. My iPod is not linking with the files on the computer.  What can I do?

    I moved my iTunes files from my old computer to an external hard drive.  I then moved those files to the new computer. My computer and iPad are not linking up (recognizing each other?).  I installed the latest version of iTunes onto the new computer to see if that would help.  It did not--I got the message that an iPad can only be linked up with one computer and the new download would not work with this iPod.  So the iTunes' library and my iPod are not connecting, and I have no way of installing or removing new songs onto my iPad.  What should I do to correct this?

    Sorry, I had a typo.  The last sentence should have read "iPod" (iPad):  So the iTunes' library and my iPod are not connecting, and I have no way of installing or removing new songs onto my iPod.  What should I do to correct this?

  • Mailto link with attached file

    Hi
    I'm trying to find out how to make a mailto link where a
    predefined file is attached. I have not yet succeded. Can any one
    help me?
    I'm making at intranet where I have a lot of templates. When
    you click on the link for the specific template I would like to
    open as a mail where the template is attached. I have heard it
    should be possible to incoorporate in the mailto attribute. Is that
    correct and in case; how?
    Best regards/Jean

    You cannot do this with a mailto: link. You would have to use
    the better
    method of server scripting to attach a file.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Jean Bang" <[email protected]> wrote in
    message
    news:ftf1vv$q0s$[email protected]..
    > Hi
    >
    > I'm trying to find out how to make a mailto link where a
    predefined file
    > is
    > attached. I have not yet succeded. Can any one help me?
    > I'm making at intranet where I have a lot of templates.
    When you click on
    > the
    > link for the specific template I would like to open as a
    mail where the
    > template is attached. I have heard it should be possible
    to incoorporate
    > in the
    > mailto attribute. Is that correct and in case; how?
    >
    > Best regards/Jean
    >

  • Can I Create A Symbolic Link to folders stored on an SMB Share folder?

    Hello,
    I am very new to Unix and was hoping that someone could point me in the right direction with regards to Symbolic links and an SMB share folder ....
    Have purchased an ext. LAN Drive enclosure (http://www.macpower.com.tw/products/hdd3/pleiades/pd_usblan) which connects to my wireless router via ethernet like my G5 (main Mac) - our iBook connects via Airport. I have copied all my general documents/files to the SMB share folder on the ext. drive so that I can access them from the G5 and also the iBook.
    However I'd also like to be able to store my actual Mail folder (/Users/Mark/Library/Mail/), , Safari folder (/Users/Mark/Library/Safari) + my Address Book and other folders sitting in the Application Support folder on my SMB share so all important docs/folders are in the one place. I've tried storing these folders on the SMB share and putting an Alias to these back in Users/Mark/Library/Mail etc but of course an Alias doesn't work.
    Question 1: Can I create a symbolic link to these files if these are stored on an SMB share folder? If so, could you please tell me exactly what I'd need to type into Terminal? My SMB Share path is smb://STORAGE-XXXX/MARK
    I have copied my iPhoto library and iTunes library to the SMB share and are working fine.
    Question 2: Is it possible/worth attempting to move my whole home folder to the SMB share folder? Ideally, I'd like to be able to access my Mail from the iBook as well. If I could log into either the G5 or the iBook and access my latest Mail, Address Book and other Application Settings, that would be perfect. Would this be possible?
    Thanks
    Mark.
    Dual 1.8GHz G5 (Rev.B), 2Gig RAM, 9600XT   Mac OS X (10.4)  

    Dear Mark,
    Yes you can. The command to create a link will look something like this:
    $ ln -s thisFolder /Users/mark/thatFolder
    I did this while I was hosting a microsoft based game. This put all of the players into a common directory.
    SMB just resolved the link and everything worked fine.
    However, as I understand it, some other applications do NOT work very well with links. As I have NOT tried it with other applications, I fear I can be of NO help to you in this matter.
    The only way to find out which applications work with links is to try them and see what happens.
    Best of luck,
    Kurt

  • Can I use Unix symbolic links between Mountain Lion and Snow Leopard Mail folders?

    After upgrading to Mountain Lion, I partitioned my iMac HD to have two partitions: Macintosh HD has Mountain Lion; I reinstalled Snow Leopard on Macintosh HD 2. Best part: you can access your user-created files from EITHER disk partition. But not so OS X Mail. I wanted to revert to Snow Leopard, since I don't like the iOS-like Mountain Lion (swipe THIS!), but Mail is a problem since all my Snow Leopard Mail was successfully migrated over to Mountain Lion during upgrade.
    Is there a way to use Unix symbolic links between actual OS X Mail folders in Mountain Lion and OS X Mail in Snow Leopard?
    It seems the (trial) symbolic link created pointed to a blank file.

    It's not a matter of "letting" each maintain its own database, William. By default, I believe, I have no control over what gets written. In fact, if there were a way to set a preference that says, use this index named "spotlightindexSL' only [while in SL], that might solve my problem. Then when booting up in ML, it would just go after the index it last made.
    My guess is that while I am in ML or SL and not the other, there are all sorts of changes to files and the system freaks and says "Oh, now look at what a mess I've made — there are all sorts of files unaccounted for. Now I have to rebuild the whole thing."
    I have 2 had drives in my Mac, both 500GB. One (Working Disk) has no operating system and all my files, and the other drive is partitioned 470/30gb with SL on the 470 and ML in the 30. When I restart in either OS, the auto-start Indexing as if for the very first time, and do both hard drives (in total: 3 partitions of files, not counting the ML Restore partition).
    I know it all uncoventionally — just wanted to see what my $20 new OS will cost me in software upgrades, in particular my $1800 Adobe Design Suite CS4 and a few others.

  • Using Assembler to extract links from a file contained in a package

    Hi everyone,
    I need help creating a DDX file that would extract links from the second file in a package. Can you point me to some examples somewhere? The file has links to other files in the package. It doesn`t work when I remove it from the package, the links seem to be broken, so I can`t extract them. I've tried a lot of ways with PackageFiles nameKeys but I always get the Cover page links for some reason. We need to extract the links to view what they need to look like.  Ultimately, I need to replace URL links with links to files in a package.  In the solution, I will extract URL links, replace them with GOTOE actions in the .xfdf file and reinsert the links in that PDF that's being packaged.  It will point directly to files in the package as oppose to web locations.  I plan to apply an XSLT transformation as a step in the process.
    Thanks,
    Alain Roy

    You mentioned that The file has links to other files in the package. How did those links get there? Were those links originally between PDF files in a relative folder structure? Then you put those PDF files into the PDF package?
    Unfortunately, Acrobat 9 does not support hypertext linking between files in a PDF package.
    You mentioned your lack of success getting the links from the second file in the PDF package. In your PackageFiles result element, you can specify the name of the file you want, but you cannot specify the ordinal number of the file.  Here is a DDX that extracts a file from a package. The <NoPackage> changes the result from a PDF package to a single PDF.
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/">
    <PDF result="myresult">
    <NoPackage/>
        <PackageFiles  nameKeys="Recap.pdf">
            <PDF source="doc1"/>
        </PackageFiles>
    </PDF>
    </DDX>

  • [SOLVED] Symbolic link error in boot sequence

    Either this got introduced with the latest kernel upgrade, or I just happened to catch it now during the boot cycle. At the very end, I get the following error, also present in the /var/log/boot file:
    Wed Mar 28 13:23:55 2012: ln: failed to create symbolic link `/dev/cdrom': File exists
    Does anyone know which service/process tries to create a symbolic link for /dev/cdrom...?
    To make matters more interesting - there is a /dev/cdrom lin, dated at the time of reboot, so something must have created it already. But it's slightly different than the links for /dev/dvd and /dev/cdrw:
    [root@abc dev]# ls -l
    total 0
    lrwxrwxrwx 1 root root 3 Mar 28 13:23 cdrom -> sr0
    lrwxrwxrwx 1 root root 8 Mar 28 13:23 cdrw -> /dev/sr0
    lrwxrwxrwx 1 root root 8 Mar 28 13:23 dvd -> /dev/sr0
    lrwxrwxrwx 1 root root 8 Mar 28 13:23 dvdrw -> /dev/sr0
    Any ideas?
    Last edited by twelveeighty (2012-03-30 17:09:13)

    Yes! You are right. Now, this sounds so familiar. I vaguely remember doing this when I originally installed Arch on this laptop, but I must have done it as part of the "beginners guide" procedure. I guess this explains it:
    https://wiki.archlinux.org/index.php?ti … did=168068
    Now, I take it from this that I safely remove ALL the symlinks from my rc.local?
    rc.local:
    ln -s /dev/sr0 /dev/cdrom
    ln -s /dev/sr0 /dev/cdrw
    ln -s /dev/sr0 /dev/dvd
    ln -s /dev/sr0 /dev/dvdrw

  • Losing linked After Effects files in Premiere Pro

    I have seen this same problem posted several times with no solution that I can find.  I have a PP5.5 file with my video sliced up.  I have been using the "replace with AE composition" which opens the clip in AE where I adjust and tweak and then save. It has been working fine with the first 8 clips in my first AE file named 01.AEP. Then I "replace with AE compositon" on the next set and save it as 02.AEP and adjust them. When I close and reopen my PP file, all my links to my 01.AEP files are missing. I try to relink to the 01.AE and it opens the 02.AEP comp and replaces all the 01 links with 02 files. I shut down, rebooted, and even did a little jig hoping it would help. It didn't. They only way I got them back, was to open the 01.AEP in After Effects and save as 01-2.AEP and then relinked to that file in PP.  I am not sure if this is a bug in PP or AE. I can open the AE file in AE without any problem, so I am guessing it is a bug in PP. I am a little afraid to continue with this project.
    Any ideas?

    This is a process which can get upset pretty easily, making you lose a lot of work.  Here is the best practice:
    Always use only one AE project per PPro project (As Jim mentioned above)
    When you quit PPro/AE/Shut Down/Return to your work, etc, the first thing you should do in PPro when you restart it is right click on any Dynamic Link clip and hit "Edit Original."  That will open up the proper AE project, so when you do further "replace with AE Comps" down the road, PPro will know exactly which AE project to talk to.
    I also struggle with a large number of comps, files etc. in AE.  You have to be good about binning and organizing on both sides, otherwise you end up with a lot of random clips and comps lying about.
    See this thead with a good way to deal with this in AE (Still looking for some good tips on organizing in PPro)
    http://forums.adobe.com/thread/967349?tstart=30
    Good luck.

  • Problem of crashing in Ill. CS5 when working with big files.....

    Hello, I'm working as a cartographer at Port of Rotterdam and frequently work with big maps in Illustrator CS5. As soon as the filesize exceeds 150 MB, and especially when small rasterfiles (mostly jpg's) are placed inside the document, either embedded or not-embedded, me and my collegue get notifications indicating "Can't show preview"or worse: The operation can't be concluded due to lack of RAM (dutch translation). This being a last warningsign just before CS5 collapses and it thus becomes impossible to make any Save on the document.... The hardware we work with: Quad Core 3GHz;NVidia Quadro 1GB;Windows XP with SP3, DirectX9; 8GB int. memory. We hope to find out the reasons of the frequent collapses and if you know of any possible solutions. On behalf of many of my collegues, thank you in advance for replying, greetings, Fred van Eck

    There can be other causes for instance if your scratch disk is fragmented and if your scratch disk has gotten overloaded with actual files storage.
    Or if the permissions for the scrtch has been changed for some reason.
    The scratch need a lot of free contigious free space to work well with large files.
    Even with CS 6 you can have a problem if your scratch is not healthy.
    Do you have a dedicated drive or partition of one as a primary scratch, does the scratch have a fast enough buffer (cache)? Current drives run 32 MB and 64 MB cache.
    Is the file stored on a fast disk?
    If you work on large files consider storing them on a RAID 0 for while working on them and storing the final some where else.
    CS 6 should be helpful but you need lots for RAM I would not run a system and work on large files with 8GB of memeory 16GB should be your minimum.
    If you are working in a professional envoronment then you really need a professional set up and make your life easier and save money in the time you save.
    It is expensive to set up but wotth it in the end.

Maybe you are looking for