Running Applescript Gives Adobe Error
Hello.
Not sure where to post this but here goes.
When I try to run an .sh file that calls an applescript script i get the following error:
Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(....)
I tried the fix here on the adobe site: http://kb2.adobe.com/cps/516/cpsid_51615.html
but I still get the error.
My script does not have anything to do with Adobe products so why is applescript calling some Adobe stuff?
I also tried running "osacript arch -i386 myscript.sh" but I still see the error.
+Not sure where to post this but here goes.+
Scripting goes to either the Unix or AppleScript forums under OS X Technologies. Adobe Unit Types queries go to Adobe's website.
Similar Messages
-
The action "Run AppleScript" encountered an error.
Hey,
I'm using EOS utility to tether my camera to my computer and take photos. I'm then using the "linked software" option in eos utility preferences to send it my Automator action. Eos utility is pretending that my automator script is an application.
The goal is that automator sends it to photoshop to run a specific action on it and then save it to a folder where I display the photos on a monitor.
However everytime I take a photo I get this error message:
"The action “Run AppleScript” encountered an error. Check the actionʼs properties and try running the workflow again."
Once I click "ok" then the script will continue running and everything works fine.
This is my run applescript that I'm using in Automator:
"on run {input, parameters}
set input to input as text
tell application "Adobe Photoshop CS5"
open file input
do action "GDaction" from "GDset"
end tell
end run"
I assume there is an issue in the run applescript. Can anyone help me revise it to avoid getting this error message everytime?Sorry, I guess I wasn't clear. I don't think you need to cast the file reference to a text string.
Try this:
on run {input, parameters}
tell application "Adobe Photoshop CS5"
open file input
do action "GDaction" from "GDset"
end tell
end run
or
on run {input, parameters}
tell application "Adobe Photoshop CS5"
open alias input
do action "GDaction" from "GDset"
end tell
end run
I'm not sure what is being passed and what photoshop is expecting. -
Running AppleScript with Adobe Acrobat to rotate and crop file.
I constantly receive PDF files from a third party service provider that I always have to ROTATE and CROP in order to fit perfectly into labels that are perforated.
The Label sheets are 8-up (2 x 4). If I print it as is, they DON'T fall where they supposed to. I can't get the trird party service provider to alter the way they supply the PDF files (they just not helpful). I thought it is still easier for me to do the neccesary adjustments.
What I want to do is:
(1) rotate the document (multi-page PDF) 180 deg
(2) crop leading edge 3mm.
(3) if possible, I want it to be able to watch a folder and do this automatically as PDFs are dropped into a defined folder (can be set permananetly) and save OVER the old file.
I know AppleScript can do this (I think), but I don't have the expertise on AppleScript to write the commands.
Can anyone help?
I am using Mountain Lion & Acrobat 8.Thanks for the reply. I can still open the file in excel and I understand that I can redirect the file to open in another program. But it doesn't solve my problem that when I email the file to someone else it tries to open the file as a pdf (which it basically isn't) and gives the error message that its an unsupported file type. What I am really looking for is a way to stop it from saving an excel file as an adobe file even when I choose the file format as an excel workbook when I save it.
-
When running form give me error
hi every one
In my PC
I Install oracle10 DB and Developer10 g
when I make form first I connect for example HR/HR CONNECT success but when I run form give me this error
ora-12560
I move tnsname from folder DB to developer but no good
i make new listner also no ggod
what the solution
thanks in advancePerhaps you should try running the Net Configuration Assistant from the Oracle Developer Suite program group instead of copying the tnsnames.ora from the database. ;)
If you are going to copy the tnsnames.ora file from the database NETWORK\ADMIN folder to Forms Developer, you need to copy the sqlnet.ora file also.
Another alternative would be to add a TNS_ADMIN entry in the Oracle -> KEY_DevSuiteHome10g Windows Registry and add the full path to your database copy of these files. For Example: Open Windows Registry editor, navigate to: HKEY_LOCAL_MACHINE -> SOFTWARE -> Oracle -> KEY_DevSuiteHome10g. On the right you will see numerous String entries. Right click in this area and select NEW -> String Value. Name the string value key: TNS_ADMIN. Double-Click the new string and enter the full path to your SQLNET.ora and TNSNAMES.ora files.
ALWAYS exercise caution when modifying the Windows Registry!
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
My sun java application server not run and give me error
hi master
sir i use
sun java system with studio creator but when i start deployment server
that give me this error
==================
The sun java system application server 8.2 could not start.
more information about the cause is in the server log file .
possible reasons include:
-Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
-Incorrect server configuration (domain.xml to be corrected muanually)
-Corrupted Deployed Application preventing the server to start.(this can be seen in the server.log file. in the case, domain.xml needs to be modified).
==========
this is my server.log file
=======
[#|2007-10-23T09:43:55.144+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER003:The Launcher encountered a problem with the configuration data from either domain.xml or processLauncher.xml. The launcher could not continue processing the request.
com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:D:\Creator2_1\SunAppServer8\domains\creator/config/domain.xml
cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:368)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:450)
at com.sun.enterprise.config.impl.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:241)
at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getDomainBean(ServerBeansFactory.java:74)
at com.sun.enterprise.config.serverbeans.ConfigAPIHelper.getDomainConfigBean(ConfigAPIHelper.java:57)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:429)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:404)
at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:204)
at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:128)
Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:718)
at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2262)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:345)
... 8 more
Caused by: org.xml.sax.SAXParseException: Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1027)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:851)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:714)
... 10 more
|#]
[#|2007-10-23T09:58:09.886+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER003:The Launcher encountered a problem with the configuration data from either domain.xml or processLauncher.xml. The launcher could not continue processing the request.
com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:D:\Creator2_1\SunAppServer8\domains\creator/config/domain.xml
cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:368)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:450)
at com.sun.enterprise.config.impl.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:241)
at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getDomainBean(ServerBeansFactory.java:74)
at com.sun.enterprise.config.serverbeans.ConfigAPIHelper.getDomainConfigBean(ConfigAPIHelper.java:57)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:429)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:404)
at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:204)
at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:128)
Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:718)
at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2262)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:345)
... 8 more
Caused by: org.xml.sax.SAXParseException: Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1027)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:851)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:714)
... 10 more
|#]
[#|2007-10-23T10:12:34.768+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER003:The Launcher encountered a problem with the configuration data from either domain.xml or processLauncher.xml. The launcher could not continue processing the request.
com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:D:\Creator2_1\SunAppServer8\domains\creator/config/domain.xml
cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:368)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:450)
at com.sun.enterprise.config.impl.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:241)
at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getDomainBean(ServerBeansFactory.java:74)
at com.sun.enterprise.config.serverbeans.ConfigAPIHelper.getDomainConfigBean(ConfigAPIHelper.java:57)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:429)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:404)
at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:204)
at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:128)
Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:718)
at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2262)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:345)
... 8 more
Caused by: org.xml.sax.SAXParseException: Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1027)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:851)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:714)
... 10 more
|#]
[#|2007-10-23T11:10:28.081+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER003:The Launcher encountered a problem with the configuration data from either domain.xml or processLauncher.xml. The launcher could not continue processing the request.
com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:D:\Creator2_1\SunAppServer8\domains\creator/config/domain.xml
cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:368)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:450)
at com.sun.enterprise.config.impl.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:241)
at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getDomainBean(ServerBeansFactory.java:74)
at com.sun.enterprise.config.serverbeans.ConfigAPIHelper.getDomainConfigBean(ConfigAPIHelper.java:57)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:429)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:404)
at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:204)
at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:128)
Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:718)
at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2262)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:345)
... 8 more
Caused by: org.xml.sax.SAXParseException: Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1027)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:851)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:714)
... 10 more
|#]
[#|2007-10-23T12:58:46.034+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER003:The Launcher encountered a problem with the configuration data from either domain.xml or processLauncher.xml. The launcher could not continue processing the request.
com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:D:\Creator2_1\SunAppServer8\domains\creator/config/domain.xml
cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:368)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:450)
at com.sun.enterprise.config.impl.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:241)
at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getDomainBean(ServerBeansFactory.java:74)
at com.sun.enterprise.config.serverbeans.ConfigAPIHelper.getDomainConfigBean(ConfigAPIHelper.java:57)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:429)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:404)
at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:204)
at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:128)
Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
Attribute "name" was already specified for element "jdbc-connection-pool".
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:718)
at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2262)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:345)
... 8 more
Caused by: org.xml.sax.SAXParseException: Attribute "name" was already specified for element "jdbc-connection-pool".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1027)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:851)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:714)
... 10 more
|#]
please how i start my application server
thank's
aamirPlease see the following FAQ:
Why doesn't application server Start.
http://developers.sun.com/jscreator/reference/faqs/technical/depsrvs/index.jsp -
My applescript has an error, and I can't fix it.
Hello, I am new to applescript and need to know how to fix somethings. I cannot seem to fix this:
display dialog "What feature of Bemin's Epic Script would you like to use?" buttons {"Quitter, "Bemin Quiz"}
if the button returned of the result is "Quitter" then
end if
display dialog "Is Chrome on?" buttons {"Yeah!", "No"}
if the button returned of the result is "Yeah!" then
tell application "Google Chrome" to quit
say "Trololololololol!" using "Alex"
return
end if
if the button returned of the result is "Bemin Quiz" then
end if
display dialog "Beta"
return
Whenever I compile or run, applescript gives me this error: Expected “,” or “}” but found identifier. then highlights this: (in bold letters)
display dialog "What feature of Bemin's Epic Script would you like to use?" buttons {"Quitter, "Bemin Quiz"}
if the button returned of the result is "Quitter" then
end if
display dialog "Is Chrome on?" buttons {"Yeah!", "No"}
if the button returned of the result is "Yeah!" then
tell application "Google Chrome" to quit
say "Trololololololol!" using "Alex"
return
end if
if the button returned of the result is "Bemin Quiz" then
end if
display dialog "Beta"
return
If your wondering about "Bemin", he is just a name I invented.You forgot a quotation mark after the word Quitter on line one. Should be:
display dialog "What feature of Bemin's Epic Script would you like to use?" buttons {"Quitter", "Bemin Quiz"} -
Bridge CC on opening gives "Adobe Bridge CC has stopped working" Uninstalled, re-installed same error, will not run. "check online for a solution" does nothing.
Bridge worked great for a while then started to fail when starting. Old Bridge CS6 still works fine. HELP ... please.You problem is in the Fault Module MSVCR80.dll
Do a web search for this. Here is one LINK -
My OS is Windows XP version service pack 3. I even tried to install FF4 but it never get installed. As I mentioned my FF keeps trying to update itself but it gives the error message I provided in title. Now I don't have access to my FF browser and my life is stopped because I have all my passwords saved on FF. I restarted my notebook but it stills try to update itself giving the same error message. I can not also upgrade my Adobe reader 7.0.7 to 10 I have tried more than 10 times but it never gets upgraded. I had this Adobe problem since long time ago.
Run the Firefox program once as Administrator (right-click: Run as Administrator).<br />
If that doesn't help then do a clean reinstall.
Do a clean (re-)install:
* Download a fresh Firefox copy and save the file to the desktop.
* http://www.mozilla.com/firefox/all.html
* Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
* Don't remove personal data if you uninstall the current version.
* It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox. -
Hi,
I have a new laptop and I am trying to download CS3. The site on adobe gives an error message and the one I tried from this forum downloaded CS3 extended, so my serial number does not work. Does anyone have any suggestions. Regards VickiThe trial is always extended. The serial number you enter determines whether it runs as standard or extended.
I'm getting through fine with that link, so it must be a browser issue or some such thing. Try another browser. -
Error 10810 when running applescript remotely
So "final" product here. I'm no applescripter so my code is probably inefficient. As such I keep running into a -10810 error and from my googling and research I think it's a runaway process (or a few of them) created by this script. I run it through Casper remote. It's a compiled script for compatibility with Casper Remote. Running as a standalone app (or as a compiled script on the local desktop) it works just fine. It's only through Casper Remote that I get this error and only sometimes. The script works even when no one is logged in. Casper Remote runs as an admin and forces sudo when it needs to.
Any ideas as to what might be causing the failure? The script fails very quickly when it does. It certainly does not get to the point where it gathers all apps on the computer.
TIA!
Andrew
(*This script should be run first on a computer to be upgraded.
It collects the size of the users's homefolder and any folders
common to all users (Workfolder, PAGEFOLDER, etc). Common units get
all users transfered. It also collects apps installed in /Applications. It is to
be run again on the new computer to verify that all data and apps were
copied over correctly. It outputs the data to a log at
/netappv2/MacPackaging/FY12MacDAC-UserMigration titled with the
User's username, old mac name *)
on run argv
-- Define static variables --
---- "\n"
-- Capture the user's name (passed from Casper Remote)
set userName to item 4 of argv
-- if a username was not passed to the script, quit immediately
if userName = "" then
do shell script "echo No username specified! Try again with a valid username"
error number -128
else if userName is in {"Common", "common", "COMMON"} then
do shell script "echo **********THIS IS A COMMON UNIT. ALL USERS WILL BE TRANSFERED! **********"
end if
-- Capture computer name and current date
set computerName to computer name of (system info)
set currentDate to current date
-- Define file access --
-- We first have to create a file so we can reference it via Applescript for writing. We do this via the shell
set shellLogFile to computerName & "-" & userName & ".txt"
do shell script ("mkfile 10k /private/var/root/Desktop/" & shellLogFile)
-- Make a directory on the server particular to this user and computer since two reports will be made: one for the old computer and one for the new
set logFolder to computerName & "-" & userName
do shell script "mkdir -p -m 777 /Volumes/MacPackaging/FY12MacDAC-UserMigration/" & logFolder
-- Open a text file for writing the DAC data collection information. Alias it to the file we just created
-- the file is located on roots desktop, but it is aliased to the current user's desktop (if one is logged in)
set logFile to (((path to desktop) as string) & computerName & "-" & userName & ".txt") as alias
open for access logFile with write permission
set eof of logFile to 0
-- Write log headers --
-- Write relevant user and computer information to the log file
if userName is equal to "common" then
write "**********THIS IS A COMMON UNIT. ALL USERS WILL BE TRANSFERED! **********
" to logFile
write "
" to logFile
end if
write "Report run date: " & currentDate & "
" to logFile
write "User to be migrated: " & userName & "
" to logFile
write "Computer to be migrated: " & computerName & "
" to logFile
write "=========================" & "
" to logFile
write "
" to logFile
-- Begin data collection output --
-- First check for the existence of partition "work"
write "Folders on Work partition to be transfered" & "
" to logFile
write "========================================" & "
" to logFile
set workPath to "Work" --we are only looking for partition "Work"
tell application "System Events"
if workPath is in (get the name of every disk) then -- list all partitions and check for "Work." If found, set folderList to the contents of Work
set folderList to list folder workPath without invisibles
else
set workPath to (get the name of every disk) -- if "Work" is not found, list the mounted partitions and exit
write "No Work partition! Available partitions are: " & workPath & ". Exiting." & "
" to logFile
do shell script "echo No Work partition!"
do shell script "echo Available partitions are: " & workPath
close access logFile
error -128
end if
end tell
-- Next write the root level contents of the Work partition and their sizes. These main folders and their entire contents (except Users) will be transferred. For user folders, only the /Users/username and Users/Shared folder will be transferred
set totalSize to 0 --set a count for the size of each folder found. This will be the total size of all data to be migrated
repeat with aFolder in folderList
if aFolder contains "Users" then
set userFolder to "/" & aFolder & "/" & userName -- rename the folder to the explicit path to the users home folder (name provided when the script was run), since we aren't interested in any other user folder
set sharedFolder to "/" & aFolder & "/Shared" -- create another variable to hold the Shared folder since we need to copy this as well
set UNIXFolder to quoted form of POSIX path of userFolder
set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of the users home folder
set totalSize to totalSize + folderSize
write userName & " home folder - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
" to logFile
set UNIXFolder to quoted form of POSIX path of sharedFolder
set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of the Users/Shared folder using the same method as above
set totalSize to totalSize + folderSize
write "Users/Shared - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
" to logFile
else if aFolder does not contain "Users" then
set UNIXFolder to quoted form of POSIX path of aFolder
set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of aFolder if other than "Users"
set totalSize to totalSize + folderSize
write aFolder & " - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
" to logFile
end if
end repeat
write "____________________" & "
" to logFile
write "Total copy size: " & CalcFolderSize(totalSize) & " " & KBMBGB(totalSize) & "
" to logFile
write "
" to logFile
-- Record all departmental apps that need to be installed on the new mac
write "Departmental apps to install on the new mac" & "
" to logFile
write "===========================================" & "
" to logFile
-- A pre-defined list of departmental apps. These apps are not included in the AG Core image and need to be installed on the new mac. All relevant transferrable apps are in the Applications and Utilities folders. Apps installed elsewhere are not AG standard and do not get transferred
set theApps to {"Adobe Acrobat 7.0 Professional.app", "Adobe After Effects CS4.app", "Adobe After Effects CS3.app", "Adobe Fireworks CS3.app", "Adobe Flash CS4.app", "Adobe Flash CS3.app", "ColorEyes Display Pro.app", "ColorThink 2.2.1b2", "Corel Painter X.app", "DiskTracker 2.3.2", "DiskTracker.app", "Dreamweaver.app", "EPSON Scan.app", "Fetch.app", "formZ RenderZone Plus.app", "Google Earth Pro.app", "Google Earth.app", "iMovie.app", "Keyspan Serial Assistant.app", "Flash 8.app", "Microsoft Excel.app", "Microsoft Excel", "Microsoft Word.app", "Microsoft Word", "Microsoft PowerPoint.app", "Microsoft PowerPoint", "PhotoZoom Pro 2.app", "Product Ingest.app", "Product Tag.app", "Art Ingest.app", "ProfileMaker", "TextWrangler.app", "Toast Titanium.app", "ToolCrib.app", "Winclone.app", "Suitcase Fusion 2.app", "Suitcase Fusion 3.app", "BRASS.app", "Final Cut Pro.app", "Pro Tools LE.app", "LightWave", "VMware Fusion.app"}
set appsPath to (path to applications folder)
tell application "Finder"
set appList to name of every application file of entire contents of folder appsPath
end tell
repeat with anApp in theApps
if appList contains anApp then
set anAppID to id of (application anApp)
if anAppID is not equal to "????" then
tell application "Finder" to tell (application file id anAppID)
set vers to version of application file id anAppID
set parentFolder to name of its container
end tell
if parentFolder is in {"Applications", "Utilities"} then
set parentFolder to ""
end if
write anApp & "
" & "Version: " & vers & "
" & parentFolder & "
" to logFile
write "--------------------------------------" & "
" to logFile
write "
" to logFile
else if anAppID is equal to "????" then
write anApp & "
" to logFile
write "--------------------------------------" & "
" to logFile
write "
" to logFile
end if
end if
end repeat
write "
" to logFile
-- Collect all the printers that need to be installed on the new Mac
write "Printers to install on the new mac" & "
" to logFile
write "===================================" & "
" to logFile
(*tell application "Printer Setup Utility"
set printerList to the name of every printer as list
end tell
repeat with aPrinter in printerList
write aPrinter & "
" to logFile
end repeat*)
set printerList to do shell script "lpstat -a | awk '{print $1}'" as text
write printerList & "
" to logFile
close access logFile
-- edit file permissions so everyone can read it
do shell script "chmod 755 /private/var/root/Desktop/" & shellLogFile
-- copy the file to macpackaging for later use
do shell script "ditto /private/var/root/Desktop/" & shellLogFile & " /Volumes/Macpackaging/FY12MacDAC-UserMigration/" & logFolder
end run
-- subroutine for converting folderSize
on CalcFolderSize(KBParam)
if KBParam ≥ 1048576 then -- convert to GB
return (KBParam / 1024 / 1024)
else if KBParam ≥ 1024 then -- convert to MB
return (KBParam / 1024)
else
return (KBParam)
end if
end CalcFolderSize
-- subroutine for determing KB, MB, or GB
on KBMBGB(paramSize)
if paramSize ≥ 1048576 then -- 1GB
return ("GB")
else if paramSize ≥ 1024 then -- 1MB
return ("MB")
else
return ("KB")
end if
end KBMBGBSo AS can't get the physical size of the folder it finds. I think I know the reason though. The script lists the contents of the Work volume in this snippet:
set workPath to "Work" --we are only looking for partition "Work"
tell application "System Events"
if workPath is in (get the name of every disk) then -- list all partitions and check for "Work." If found, set folderList to the contents of Work
set folderList to list folder workPath without invisibles
else if
... stuff ...
end if
end tell
Then later I have it doing this:
else if aFolder does not contain "Users" then
tell application "System Events"
set folderSize to (physical size of aFolder) div 1024
end tell
set totalSize to totalSize + folderSize
write aFolder & " - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
and I get the following from the AS editor events pane:
tell current application
system info
--> {AppleScript version:"2.1.2", AppleScript Studio version:"1.5.1", system version:"10.6.7", short user name:"acaldwell", long user name:"AC Andrew Caldwell (8318)", user ID:1.092545022E+9, user locale:"en_US", home directory:alias "Work:Users:acaldwell:", boot volume:"AG2025", computer name:"AG2025", host name:"ag2025.amgreetings.com", IPv4 address:"10.104.20.113", primary Ethernet address:"00:17:f2:07:ec:dc", CPU type:"Intel 80486", CPU speed:2660, physical memory:4096}
current date
--> date "Wednesday, June 8, 2011 4:24:49 PM"
path to desktop as string
--> "Work:Users:acaldwell:Desktop:"
open for access "Work:Users:acaldwell:Desktop:AG2025-acaldwell.txt" with write permission
--> 47
set eof 47 to 0
write "Report run date: Wednesday, June 8, 2011 4:24:49 PM
User to be migrated: acaldwell
Computer to be migrated: AG2025
=========================
" to 47
write "Folders on Work partition to be transfered
========================================
" to 47
end tell
tell application "System Events"
get name of every disk
--> {"AG2025", "Work", "home", "net", "Public", "MacPackaging"}
list folder "Work" without invisibles
--> error number -10004
end tell
tell current application
list folder "Work" without invisibles
--> {"Page4 Folder", "PAGE4BUILDER", "Users", "zz_LastFolder"}
Result:
error "Can’t get physical size of \"Page4 Folder\"." number -1728 from «class phys» of "Page4 Folder"
Now I tested the tell system event portion in another editor with this code
set aFolder to path to home folder
tell application "System Events"
set folderSize to (physical size of aFolder) div 1024
end tell
and got the right result. So I think that I can't get the size because it is not showing the path to each of these items, just the name of them. Is there a way to set a variable to the path to each of the items it finds? I think then it'll get the sizes right....
Thanks!
Andrew -
HelloThank's for your helpsI hope this document is helpfulBest Regards,
Date: Sun, 22 Jun 2014 17:10:17 -0700
From: [email protected]
To: [email protected]
Subject: when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
created by Anoop9178 in Adobe Reader - View the full discussion
Hi,
Would it be possible for you to share the document?
Regards,
Anoop
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Reader by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.thank's for reply and your help
i did the step's that you told me but i still have the same problem
i have the latest v.11.0.7
i
i disable the protected mode -
Have uploaded and installed CC 2014. Several apps give this error when I try to start them: "Unable to launch Adobe InDesign as you do not have sufficient permissions to access the preferences folders"
-or-
The icon in the dock bounces once, and nothing happens.Windows or Mac, and exactly which operating system version?
-
I am getting error 205 while trying to install Creative Cloud. I already had chated with support, Uninstalled CC and tried to install it again. From the Adobe site, the page keeps loading eternally, from the previous installer, it gives me error 205. What to do? Give up on CC?
This is not the first time I get it, and it seems a recurring problem.Milliet are you on a managed network? If not then please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html for information on how to resolve error 205.
-
Adobe Acrobat gives an error message "The key file is missing, canceled"
Hi,
Adobe Acrobat gives an error message "The key file is missing, canceled" this is a direct translation of the Finnish error message. Acrobat is already re-installed. The operating system is Windows Server 2008 R2, and there is also installed Adobe Reader X.
BR
HeikkiPlease let us know do you see this error on every launch of Acrobat?
Recommended is to have latest version of Acrobat and Reader. i.e. 10.1.8
Try updating application and then see if you still encounter the error. -
Hi, I am unable to install new itunes version to windows 7 PC. It requires application support and gives windows error 2. I have tried to save on desktop and run as administrator but errors remains, what other options do I have?
Hello, hanliefromzaf.
Thank you for visiting Apple Support Communities.
Here is an article that I would recommend going through when experiencing this issue.
iTunes for Windows: Unable to install or open
http://support.apple.com/kb/ts5376
Cheers,
Jason H.
Maybe you are looking for
-
Making changes to a published site using a different Mac.
I published a site last year using the previous version of iWeb. I now have iWeb '09 and want to make changes to the site published. I have no access to the original files, only what is on my iDisk. I don't see a way to download those files, open the
-
Mouse position over text frame
Hello, Is it possible to work out the insertion point in a text frame by having just the mouse postition? Thanks.
-
JSP Custom tag not working correctly for multiple users
I am doing some support work for an existing web system. When doing single user access (a custom tag is called within the JSP); the output of the Custom tag is fine. However, during multiple user access to the JSP, as I could see on the log files, 2
-
Don't buy Fascinate if you need email
It's got no reliability for email, takes hours if not days to download e-mail from charter.net (altough based on other forums, etc.) it's not just charter. POP3/SMTP Please save yourself the headache and don't buy it. Charter says call Verizon. Stil
-
Random successive crashes in AE CS6
Hello Adobe Community! After effects CS6 crashes randomly about every 3 minutes or so. It just quits without any warning cough, or lag time. I only get this pop-up window when it's already too late. The crash doesn't seem to be triggered by any speci