Request for Test on Mac: Wrapper function for LrTask.execute

Hi,
I've written some basic wrapper functions for LrTasks.execute to handle spaces. I've tested that stuff with windows xp and exiftool and would like to ask you to test it for mac os and perhaps win 7 with whatever command. Is that possible?
http://www.daten-transport.de/?id=sZM3EuEEpwx7
In the zip file you will find the basic classes and some description but no info.lua or a special test script (sry for that). You can call it like:
     local args = {"-@", inputFileName, imageFileName}
     local redirect = {}
     redirect.stdout = LrPathUtils.getStandardFilePath('temp') .. "exiftool.stdout"
     redirect.stderr = LrPathUtils.getStandardFilePath('temp') .. "exiftool.stderr"
     local result = LZA_System.execute(pathToExiftool, args, redirect)
     logger:info("result.formatedCmd: " .. tostring(result.formatedCmd))
     logger:info("result.returnCode: " .. tostring(result.returnCode))
     logger:info("result.success: " .. tostring(result.success))
     logger:info("result.stdout: " .. tostring(result.stdout))
     logger:info("result.stderr: " .. tostring(result.stderr))
Example is not runable!
Kind regards
LZA

Link did not work for me: http://www.daten-transport.de/?id=sZM3EuEEpwx7 - not sure the problem since i dont speak the language.
But, I can tell you that you need an extra pair of quotes around the thing for windows that must be omitted on Mac.
reference link - known to work on all versions of windows, plus mac - Although it has survived a few different executables so far, I had some issues executing dos batch files with it.
PS - I plan to update the executeCommand method to separate stdout & stderr when appropriate - thanks for the idea.
Rob

Similar Messages

  • Something keeps trying to download on my mac and I don't know what it is. It is not in the apple store and just comes out nowhere and request for my password to download something and I don't know what it is. How to make this stop?

    Something keeps trying to download on my mac and I don't know what it is. It is not in the apple store and just comes out nowhere and request for my password to download something and I don't know what it is. How to make this stop? It pops up every single day.

    Erica,
         I can, with 99.99% certainty, tell you that you are absolutely right in not wanting to download or install this "Helper," whatever it is (but we can be equally certain it would not "help" anything).
         I cannot comment as to Oglethorpe's recommendation of 'adwaremedic'; I am unfamiliar with it.  His links to the Apple discussion and support pages warrant your time and attention.
         It might be really simple -- Trying looking in your Downloads folder, trash anything that you don't know with certainty is something you want to keep, and then Secure Empty your Trash. Then remove the AdBlock extension, LastPass, and Web of Trust extensions to Safari and re-boot. If the issue goes away, still be extraordinarily careful in the future.
         Unfortunately, it's probably not going to be that simple to get rid of, in which case I'd then try the line by line editing in HT203987. 
         I have no further suggestions (other than a complete wipe and re-install...but that's a pain because trying to restore from Time Machine would simply ... restore the Mal).
       For the rest of us, please post when you find a solution.
         Best.
         BPW
      (Also, try to edit your second post -- black out your last name on the screenshot and re-post it for others)

  • How do I watch my iTunes movies, tv shows on my mac without having to download them all to my HD?  I really want my Mac to function like my Apple TV since I have just moved and don't have my TV for another few weeks. Help please?

    How do I watch my iTunes movies, tv shows on my mac without having to download them all to my HD?  I really want my Mac to function like my Apple TV since I have just moved and don't have my TV for another few weeks. Since I purchased my three Apple TV. I have had no need to download any of my movies to my Mac.  Which has been great.  However, I remember that I used to now have to do this... or did I?  I am just frustrated because I want to stream all this stuff vice haveing to waiting for it all to download fill up my Mac's HD and then just delete. Someone help please?

    Play the movie in iTunes to stream it.
    Click the cloud icon to download it.

  • I have request for free up gradation of mountain lion os. My mac meets all the eligibility standards. I applied it on 25th and haven't got any code till now. Pls help

    I have requested for free up gradation of mountain lion os. My mac meets all the eligibility standards. I applied it on 25th and haven't got any code till now. Pls help

    After you press download, check your Launchpad.  The icon will show up with what looks like a white dot where you'd expect to see a progress bar.  That white dot actually is the progress bar, as ML is a 4GB download and can take anywhere from 1 to 15 hours, depending on your connection speed.  On the average 1.5Mbps economy connection, it will take about 7 hours to download.

  • I am trying to install the OS Mavericks upgrade on my MAC and it requests for me to enter an administrator password. I do not use an an administrator password on the machine. Any ideas how to resolve this?

    I am trying to install the OS Mavericks upgrade on my MAC and it requests for me to enter an administrator password. I do not use an an administrator password on the machine. Any ideas how to resolve this?

    If you bought the machine new yourself, and did not enter a password when configuring it, leave the field blank.
    If you bought it used, then you need to reset the password, as described here:
    Apple Article to reset the password

  • How to create a new request for function group?

    Hi Friends,
    My client has changed their development server. Now all the objects in old DEV server are transfered to new one. Except for function group objects, we have created new change request number for all others. Now I need to create a new request for function group objects. Can anyone suggest which transaction code I have to use for this purpose?
    Thanks,
    Kaarthick.V

    Hi Karthick,
    If you want to Change the request for your FG means,
    1. Go to SE80 ->  work bench ->  Edit object.
    Here you have the option two change the request.
    or If you want to create the Function Group means,
    Go to SE80 -> Select Function Group -> Enter name -> press Enter
    Thanks,
    Reward If Helpful.

  • Itunes popup on mac requesting for my password, how to turn it off?

    When I click the play button on my mac to listen to music it doesn't turn on because itunes keeps requesting for my password for automatic downloads. How do I stop this? It just started after I got my iphone.

    @ Ivmedic...    Disabling automatic downloads does not resolve this issue.  I am having the same issue. I open iTunes and get prompted for my log in info for automatic downloads, if you log in the issue returns the next time you open iTunes same as if you hit cancel. Also you actually have to go through this 2 times when opening iTunes before it stops...  Certainly a bug in the 10.5.1 (42) build.  
    Does anyone know a way of disabling it in the terminal ?

  • HT5570 I tried to reset setting due to my phone speaker are not functioning except if i plug in earphone.after i key in my phone code,it promp a request for restriction code which i totally cant recall.

    I tried to reset setting due to my phone speaker are not functioning except if i plug in earphone.after i key in my phone code,it promp a request for restriction code which i totally cant recall.how can i resolve this issue.

    Hello Ridhuan,
    Thanks for using Apple Support Communities.
    If you forgot your restrictions passcode you will need to restore your iPhone to its factory settings.
    i forgot my passcode
    https://discussions.apple.com/thread/5196099
    Take care,
    Alex H.

  • Tranceport request for function module

    Hi,
    first i have created function group and function module under local class, now i created request for function group, but how to create request for function module, i have to trancport my functionmodule. please do the need full help.
    thanks in advance.
    Radhakrishna

    go to se37
    1.give desired function module
    2.select change or display option
    3. Click -GOTO optin on menu bar and select 'Object Directory entry '
    4.click on object directory entry  and press f6
    5.change package and reponsible person and save it will ask you request finaly you can relese.

  • Transport request for function group

    Hi All,
            I have developed a function module in a function group say 'zdeep'.  I have moved the transport request for newly developed function module to production. But there Iam unable to run the function module. 
    Should we transport the function group also to production?
    If so, how can we get the transport request number for the function group?
    I have tried in se80. but there iam not able to track the request no for the function group.
    please help me
    regards
    Murali Krishna .T

    yes i think if u r doing any chnages in func group then it also has to be moved to Reflect chnages..also some proper order is to be maintained while moving TR
    http://wiki.sdn.sap.com/wiki/display/Snippets/Atoolrelatedtotrackingoftransport+request
    check this link
    Edited by: npathak on Aug 14, 2010 8:47 AM

  • When I run ical on my mac I get the error:   The server responded with an error. The request for account "Yahoo!" failed. The server responded with "504" to operation CalDAVAccountRefreshQueueableOperation.

    When I run ical on my mac I get the error:  
    The server responded with an error.
    The request for account “Yahoo!” failed.
    The server responded with
    “504”
    to operation CalDAVAccountRefreshQueueableOperation.
    I hit "go online" and almost immediately I get the same message again.  Any ideas?

    I am tired of how Yahoo has gotten worse and worse. It is the ONLY account I get problems with DAILY (even after removing and re-adding). AOL will act up once in a while not taking a saved password but accepting it when OK is clicked.... But Yahoo is always responding with such errors.... Today's calendar error is:
    The request (CalDAVAccountRefreshQueueableOperation) for account “Yahoo” failed.

  • When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says: The request for account "iCloud" failed.  The server responded with "502" to operation CalDAVSetPropertyQueueableOperation. Help!!??

    When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says:
    The server responded with “502”
    The request for account “iCloud” failed. 
    The server responded with “502” to operation CalDAVSetPropertyQueueableOperation.
    The request for account “iCloud” failed.
    I am then given the option of staying Online or going Offline.
    Can anyone help me?
    thanks

    Hello b.krushel,
    Thank you for using Apple Support Communities
    Any number of things could cause this issue, so I would recommend this article named iCloud: Troubleshooting iCloud Calendar found here http://support.apple.com/kb/TS3999.
    These sections in particular:
    General Troubleshooting
    Make sure there are no current issues listed on the System Status that affect iCloud Calendar. The System Status is located on the iCloud Support webpage.
    Make sure you have fully enabled iCloud Calendar for the client you are using (for more setup and troubleshooting information on iOS, OS X, Windows and iCloud.com, see the additional details below).
    Check to see if the issue you are seeing is covered in iCloud Help. To search iCloud Help, visit help.apple.com/icloud.
    Check your settings and preferences as something may not be set up correctly. For example, having incorrect date and time settings can cause issues which are easily resolved by entering the appropriate settings.
    Troubleshooting Calendar on OS X Mountain Lion (iCal on OS X Lion)Note: For instructions on setting up iCloud Calendar with Calendar or iCal on your Mac, see iCloud Setup.If you are having trouble with Calendar or iCal on a Mac and you are using iCloud Calendar, try each of these steps, testing after each to see if the issue is resolved:
    Make sure you are using OS X Lion v10.7.2 or later. Click here for help verifying the version of OS X you are using.
    Make sure your computer is online. Attempt to view www.apple.com and iCloud.com. If you can't connect to the Internet, your iCloud calendars and events will not update in iCal. Click here for more information about troubleshooting your Internet connection.
    Verify that your iCloud member name is entered into the iCloud Preference pane in System Preferences. See iCloud Setup for more information about setting up iCloud on a Mac.
    Make sure you enter and update calendar information in the iCloud section of Calendar or iCal. Only calendars and events in the iCloud section of the Calendar or iCal Calendar list will be pushed to iCloud. Both Calendar and iCal for the Mac support the display of and interaction with multiple accounts and datastores, for example, iCloud, On My Mac, Exchange, Google, and so on. This makes it easy to create or modify events or calendars in a section of  Calendar or iCal that may not be updating iCloud. Learn more about moving local calendars to iCloud.
    In some cases, you may find that you have data duplicated in both the local On My Mac and the iCloud sections of Calendar or iCal. Learn more about resolving this issue.
    You can make the iCloud calendar your default calendar for all new events. In Calendar on OS X Mountain Lion, choose Calendar > Preferences > General, or in OS X Lion, choose iCal > Preferences > Generaland under the Default Calendar heading, select one of the Calendars under the iCloud heading. Close the Preferences window to save this change.
    If recent changes simply don't appear, try forcing Calendar or iCal to refresh by selecting Refresh All from theCalendar menu.
    Make sure your account was successfully created in Calendar on your Mac (or iCal). After upgrading to iCloud Calendar, you may need to quit and reopen Calendar (or iCal). To confirm your account is configured correctly in iCal:
    Open Calendar (or iCal).
    Open Calendar (or iCal) Preferences.
    Click Accounts. You should see an account with your iCloud member name entered.
    Turn iCloud Calendars off and back on
    Quit Calendar (or iCal).
    Choose Apple () menu > System Preferences > iCloud.
    Remove the checkmark in the checkbox next to Calendars.
    Close System Preferences and wait about a minute.
    Open System Preferences and choose iCloud.
    Replace the checkmark next to Calendars.
    Close System Preferences.
    Open Calendar (or iCal) and test to see if the issue has been resolved.
    Restart your computer. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    Take care,
    Sterling

  • Multiple HTTP GET requests for individual classes

    Hello,
    I have a Java plug-in deployed under tomcat 6. JRE version is 1.6.0_16. All the required jars are deployed packed (pack.gz) and the applet tag has 'java_arguments' parameter defined as:
    <param name='java_arguments' value='-Xms256m -Xmx512m -Djnlp.packEnabled=true -Djnlp.versionEnabled=true' />
    All the jars get loaded nicely as I see in the Tomcat access log:
    127.0.0.1 - - [03/Mar/2010:17:24:04 +0000] "GET /testapplet/lib/log4j-1.2.13.jar.pack.gz?version-id=1.2.13 HTTP/1.1" 200 0
    but immediately I see a bunch of GET requests for the individual classes in the same log4j jar:
    127.0.0.1 - - [03/Mar/2010:17:24:06 +0000] "GET /testapplet/lib/org/apache/log4j/Logger.class HTTP/1.1" 404 0
    127.0.0.1 - - [03/Mar/2010:17:24:06 +0000] "GET /testapplet/lib/org/apache/log4j/Category.class HTTP/1.1" 404 0
    127.0.0.1 - - [03/Mar/2010:17:24:06 +0000] "GET /testapplet/lib/org/apache/log4j/spi/AppenderAttachable.class HTTP/1.1" 404 0
    As you can see each of these GET requests are returned a Http error code 404. While testing locally, this isn't adding any delays, but over a real deployment it's bound to be slow down the applet loading while the server is responding to each of these class requests.
    Subsequently, the application itself runs without any issues and these bogus class requests failures have no effect (thankfully) on the functionality.
    Any one seen this behavior? Appreciate any thoughts or help.
    Regards,
    Parag

    http://forums.java.net/jive/thread.jspa?threadID=75990&tstart=0

  • Request for iOS

    Hi there,
    I am new in this forum, and posting here as I haven't seen any other way to send requests for future releases.
    I am quite sad to see there is no forum dedicated to iOS, as my post is related to it.
    Firstable, want to say I have been quite happy with Apple products so far, in my opinion very high quality hardware.
    It hasn't always been the same for iOS, but it definitely has changed and improved a lot with latest updates.
    There are still some things that need improvement in order to become a bit more user friendly, and here goes one, very important for me:
    I would appreciate some folder, same style as the 'fotos' folder, where you can download or transfer, and possibly view, all kind of documents (pdf, doc, xls, etc...).
    And that those documents could be later sent attached to a mail, using 'mail', or other third party mail application (example mBox mail).
    I know there are applications like goodreader with which you can do that, but it would be nice to have a default iOS function for that (to download & send documents). Same thing that you can do with mac OS.
    I am honestly missing as well, like many users, flashplayer, to see some websites that need it to be installed.
    Thank you and happy year 2011 to everybody!

    There is no forum specifically for iOS since there's no single version. It's a bit different on each device. Posting in the device forum is the best way to get assistance.
    For providing suggestions to Apple, use their feedback page:
    http://www.apple.com/feedback/ipad.html
    I would appreciate some folder, same style as the 'fotos' folder, where you can download or transfer, and possibly view, all kind of documents (pdf, doc, xls, etc...).
    There are many third-party utilities that provide this sort of functionality, including the ability to email a file. Dropbox is one I use and it works quite well. You might want to look into some of those.
    Regards.

  • Requesting for your kind help...(want to preserve Leading & trailing spaces)

    Hello Team,<br /><br />Can you please help in the following issue:<br />I am trying to preserve white space(leading and trailing  L&T) as is on the User Interface.  We have built our UI using Flex 3.0 SDK. <br /><br />From Java side, I am able to carry the value with L&T spaces till the call goes to Flex .mxml and here response object assigning as  <br /><br /> var metaConfig:XML = event.result as XML;<br />But here L&T spaces are not visible along with value of ID.<br />I used to see it by using Alert.show(event.result.toString());<br /> <br />Flex Output is as:<br /><br />       <allScalarMetadataFields><br />      <id>TEST</id><br />      <name>test name</name> <br />.<br /><br />But from java[in Servlet/in service] side I can see the output as:<br /><br />   <allScalarMetadataFields><br />       <id>   TEST  </id><br />       <name>   test name    </name><br />.<br /><br />Java(Servlet) code is as follows:<br />      OutputStream writer = response.getOutputStream();<br />      OutputStreamWriter outputStreamWriter = new OutputStreamWriter(writer,"UTF-8");<br />JAXBContext context = JAXBContext.newInstance(object.getClass(), object.getClass());<br />         Marshaller m = context.createMarshaller();<br />         m.marshal(object, writer);<br />.Here marshal follow a standard structure for XML to map  it into writer same as what Flex XML follows.....<br /><br />Note, there is no any other issue/fault  with Flex and java except this white spaces.<br /> <br />Flex .mxml code is as:<br /><br />protected var _fieldXml:XML;<br />      public function MetadataFieldWrapper(xml:XML = null)<br />            {<br />                  if (xml == null)<br />                  {<br />       xml = <allScalarMetadataFields xml:space="preserve"><br />               <id /><br />                <name /><br /><br />...<br /><br /> Servlet is getting called as :<br /><br />            _webService = new HTTPService();<br />                  _webService.url = serviceUrl;<br />                  _webService.method = "POST";<br />                  _webService.resultFormat = "e4x";<br />                  _webService.contentType = "application/xml";<br /><br />.<br />_webService.headers = { "serviceName":serviceName, "serviceMethod":serviceMethod };<br />                  _webService.send(param);<br /><br />I want to preserve the L&T spaces along with ID/name .<br />Please help me how to allow these L& T spaces in Flex XML object?<br /><br /> <br />Thanks in Advance.<br />Regards,<br />Venu.

    In the future this type of question should be asked on flexcoders as<br />it doesn't relate to the development of the Flex SDK.<br /><br />To preserve whitespace look at the documentation for XML.ignoreWhitespace.<br /><br />-- Daniel R. <[email protected]> [http://danielr.neophi.com/]<br /><br />On Wed, Nov 12, 2008 at 8:19 AM, venubwal <[email protected]> wrote:<br />> A new discussion was started by venubwal in<br />><br />> Developers --<br />>   Requesting for your kind help...(want to preserve Leading & trailing<br />> spaces)<br />><br />> Hello Team,<br />><br />> Can you please help in the following issue:<br />> I am trying to preserve white space(leading and trailing  L&T) as is on the<br />> User Interface. We have built our UI using Flex 3.0 SDK.<br />><br />> From Java side, I am able to carry the value with L&T spaces till the call<br />> goes to Flex .mxml and here response object assigning as

Maybe you are looking for

  • Pl/sql cursor and loop

    Hello. I need help creating a cursor and loop that will update a column based on data from another column. I keep getting the following errors. Any suggestions? These identifiers are valid tables in columns in my data base. SQL> DECLARE 2 3      CURS

  • [solved]Garbled screen with QT apps in Xfce/Gnome

    After a big upgrade a few days ago I get a garbled screen whenever I focus a window with a Qt app in Xfce, like VLC or VirtualBox. If I focus (by clicking on titlebar/ or select from taskbar) a non-Qt app the screen returns to normal.  I could not ca

  • ArrayList concept

    Hi, I know how to add elements in ArrayList, My requirement is ArrayList al=new Arraylist(); al.add(12);//this is my requirement i need code for these method can u able to send successful code. I know we can add like this al.add(new Float(12.090909))

  • Impact on CO module.

    Hi CO Experts, I'm PP consultant. Right now we are using Repetitive manufacturing for some plants and for some other plants Discrete Manufacturing. The problem I'm facing here is when I'm doing REM backflush for first production version system is pro

  • C7250 Software UInstall problem with blocksysuserinstall.exe

    Hello, I changed by ISP so I have a new router now and had to reconfigure my C7250 to a different WiFi address.  After doing this, the HP software said it wasn't properly installed.  So I downloaded the complete package and tried many time to install