Fcsvr_client getmd works in Terminal, not from Response

I've written a script that grabs the contents of a metadata lookup named PAENUM_CUSTCLIENTS and does some stuff with it. I get the contents just fine if I run the script from the command line, but I get absolutely nothing when running with a Subscription in FCS.
The full command I'm executing:
/Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/MacOS/fcsvrclivrclient getmd /enum/PAENUM_CUSTCLIENTS
Run from the command line, my "clients" variable is 746 bytes long.
Run from within FCS, my "clients" variable is 0 bytes long.
I've tried piping the output of the command into a file instead of reading directly, but the file is empty. I'm thinking it's a shell problem, but I'm not sure. I am using Perl.
Later in the script, I use "fcsvrclivrclient setmd", which works fine. Anything that outputs seems to not be readable, i.e., list_groups is also empty.
Any help is much appreciated!
Neil

I have a pretty thorough Perl script to do this work. Here's the basic flow:
• From FCS, I send the Asset ID, Device, and Location (file path).
• Based on the path, I extract some keywords
• One of these keywords is CLIENT, which is actually an ENUM in FCS
• Because it's an ENUM, I verify that the CLIENT keyword based on the path is in the ENUM before setting it
• I set all the keywords for the asset at the end
So what breaks down is getting the ENUM content when executing from FCS even though that works fine running directly from the Terminal.
Here's the lines in the script where I setup the command to get the CLIENTS ENUM:
my $fcsvrClientCommand = "/Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/MacOS/fcsvr_client";
my $clientFetchCommand = "\"$fcsvrClientCommand\" getmd /enum/PAENUM_CUSTCLIENTS | /usr/bin/grep ENUM_ENTRIES";
my $clients = `$clientFetchCommand`;
Any other insights would be awesome! Sorry for not posting for so long, but we actually moved our offices over the last two months and that swallowed all my time. Let me know if there is something else I can post to help.

Similar Messages

  • Remote Desktop Connection ok on work wireless but not from home

    I've succesfully logged into the Win 2003 SBS (Terminal Services) from within the wireless connection at work using Mircrosoft's "Remote Desktop Connection". However when I try to do this from home I get the following error message "Either remote connections are not enabled, the computer is too busy to accept new connections, or network problems are preventing your connection. Try connecting again later or contact your administrator."
    I've got the firewall on the mac on.
    Now what I can't work out is why it works when at work and not from home. I have been searching for ages and can't work this out - annoying as I am sure it is very simple!
    One thing I can think of is that the first time others connect via PCs they have to download the connection manager from the company web site which installs a security certificate. However this is an .exe file so cannae work on the Mac.
    Do all I need to do is ask the IT administrator to email me the certificate and drop it into the keychain?
    Thanks in advance.

    "Now what I can't work out is why it works when at work and not from home."
    Probably because, if your work is smart, they have a firewall in place, blocking external access to the ports needed for use with RDC.

  • Linked server problem, its works locally but not from remote machine

    Hi,
    i am using the application NAV and have written the query in the application. am using automation variable to link to the SQL Server.
    The problem is that , the query which i have written executes only when i am working on local machine .
    I mean when i want to execute the same query from remote machine through my app Dynamics NAV then its not getting executed.
    Thanks in advance

    Depends on what you are trying to do and what security you are using.
    What error did you get?
    If you are using windows authentication then take a look at delegation
    http://www.databasejournal.com/features/mssql/article.php/3696506/Setting-Up-Delegation-for-Linked-Servers.htm
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Email @me and gmail work fine, but not from iPhoto

    e-mail works fine, checked all connections, PWs etc., but not when sending photos from iPhoto; error message is :The email server didn't recognize your username/password combination.  I've checked both in email accounts and reset both.

    What are you settings in the iPhoto Preferences > General?
    If you have set "Email photos using iPhoto", change this to "Email photos using Mail". This works more reliably.

  • X11 works locally but not from remote clients because DISPLAY is /tmp/...

    I've used X11 plenty of times before, but not in a little while. Now, when I start X11 on two different accounts, the DISPLAY variable is /tmp/launch-*/org.x:0 . When I telnet to a remote host and set the DISPLAY variable to my hostname:0 (ie. graphe:0), xterm says it can't connect to the display.
    If I set DISPLAY to localhost:0 and start a local xterm it complains too:
    xterm Xt error: Can't open display: localhost:0
    From scanning this forum, I believe this may have something to do with ssh, but on one of the accounts where I have this problem I don't even have ssh configured.
    What's the deal?

    ssh -X (or -Y) exports your local host DISPLAY environment over a secure ssh tunnel to the remote system, where it creates a local X11 port pointing at the remote end of the secure ssh tunnel, and it creates the DISPLAY environment variable to specify the secure tunnel port.
    It is a much (MUCH) more secure way to use X11 than previous methods, speaking as someone that has been using X11 since the early '90s. I did it the xhosts way for years, but about 6 years ago, I switched over to ssh -X and have never looked back.
    Oh yea, several of my machines are about 2,000 miles away (all inside the company network, but still a long way away).
    Message was edited by: BobHarris

  • Command that Works in Terminal Not Running as Launch Agent

    Trying to run the following command as a Launch Agent (OS X 10.7):
    /usr/bin/find /Users/username/Documents/Dropbox/Public -type f -mtime +2 -print0 | xargs -0 rm -r
    Created a plist file (reproduced below) and saved to ~/Library/Launch Agents, but the command isn't executed either at the specified time or when the agent is loaded via launchctl.
    If I change the command to a simple Applescript test:
    osascript -e 'tell Application "Finder" to display dialog "hello"'
    It runs correctly as a launch agent when loaded and as the specified time
    Which means there's something wrong with the first command (find). But the command runs as written when executed manually in the terminal.
    Suggestions? Thanks.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>Label</key>
              <string>com.username.clean_dropbox</string>
              <key>ProgramArguments</key>
              <array>
                        <string>/usr/bin/find</string>
                        <string>/Users/username/Documents/Dropbox/Public</string>
                        <string>-type</string>
                        <string>f</string>
                        <string>-mtime</string>
                        <string>+2</string>
                        <string>-print0</string>
                        <string>|</string>
                        <string>xargs</string>
                        <string>-0</string>
                        <string>rm</string>
                        <string>-r</string>
              </array>
              <key>RunAtLoad</key>
              <true/>
              <key>StartCalendarInterval</key>
              <dict>
                        <key>Hour</key>
                        <integer>17</integer>
                        <key>Minute</key>
                        <integer>45</integer>
              </dict>
    </dict>
    </plist>

    Since your pipe is essentially just passing the find matches to rm, you can achieve the same result using find's -delete switch:
    /usr/bin/find /Users/username/Documents/Dropbox/Public -type f -mtime +2 -delete

  • PO Response approval Work item is not executing from approver inbox.

    Hi,
    PO Response approval Work item is not executing from approver inbox. After click the approve button system is not showing any error and also work item is not clearing from user inbox. When we checked the status of the work item in SWI1 Transaction is still READY.
    Standard Task: TS14508055 - Transfer purchase order response data to purchase order
    Business Object: BUS2209
    Scenario:
    1. Create PO in SRM System, Vendor belongs to SUS System Vendor
    2. SUS Vendor creates the PO Response SUS system, POR Value is greater Than PO Value
    3. Approval Work item will go to Buyers of purchasing group
    4. Buyer trying to approving The PO Response from his approval inbox
    Regards,
    Surya Sankar

    what all buttons do you see when you open the workitem in the approval inbox.
    as far as i know , there will only button 'transfer response to purchase order'..
    what happens if you click the above button.

  • Not getting Response from RFC

    Hi,
        I am doing RFC to File. I could generate the FILE successfully. But I am not getting Response from RFC. I am getting empty payload. I am doing with out BPM. I did succesfully File-RFC-File. but here RFC is the sender. I have some doubts  in defining Interface mapping and Message Mapping. Is this a Syscronous scenario by default ?
    If I want to get the resonse of RFC to a file. How many Receivers and Senders do i need to create?
    Regards,
    Varun
    Edited by: Varun on Sep 9, 2008 1:00 PM

    hi,
    Map Rfc.response to the File; hence rfc sender adapter and file receiver adapter..one sender n 1 receiver.Remember:
      1. In the report that makes the call to XI , make sure that you use call RFC in a background task.
      2. Make sure you use Commit Work at the end of the report.
    Follow:
    Send RFC to SAP XI – Asynchronous
    Also pls visit
    Re: RFC to FILE
    for the same scenario.
    Thanks,
    Durga
    Edited by: NagaDurga Nannapaneni on Sep 9, 2008 10:55 AM

  • QM Notification: task end dates not pulled through from response profile

    Hello,
    I am experiencing a problem with the end dates of the tasks in QM notifications not pulling through (from the response profile) when tasks are determined.
    When I do the simulation of task determination, the gantt chart shows all the tasks together with the end dates. But when the actual determination is done these dates are not populated in the planned finish date fields.
    I have double checked the configuration: priorities, response and service profiles are set up correctly. I have also searched SAP notes without success.
    I thank you in advance for your responses.
    Kind regards,
    Theo.

    Yes, I know, but as far as I understand binding the values back from rule to the workflow is something that doesn't work. I have never tried it, but I have seen posts here about people complaining that this kind of binding does not work.
    Have you tried to bind for example some hard coded value back to the workflow (something that should definately work)? Does it work? If not, I suggest you to ask this from SAP that is it supposed to work and if not, why do they have this option to for binding from rule to workflow. Or then just forget what you are trying, and use some of the suggested workarounds.
    Regards,
    Karri

  • I want to disable 'Spotlight' for repairing my disk "Macintosh HD" , but somehow the command 'sudo mdutil -a -i off' does not work in 'Terminal'. I get result as ' bash: sudo: command not found' .I am using OS 10.10.  Please help.

    I want to disable 'Spotlight' for repairing my disk "Macintosh HD" , but somehow the command 'sudo mdutil -a -i off' does not work in 'Terminal'. I get result as ' bash: sudo: command not found' .I am using OS 10.10.  Please help.

    It appears that you may not have a properly installed OS X system.
    You must be connected to the Internet to reinstall OS X.
    In the menu bar, choose Apple menu > Restart. Once your Mac restarts (and the gray screen appears), hold down the Command (⌘) and R keys.
    Select “Disk Utility,” and then click Continue.
    Select your startup disk from the list on the left, and then Repair Disk.
    After disk is repaired, select Reinstall OS X, then click Continue.
    Follow the onscreen instructions. In the pane where you select a disk, select your current OS X disk

  • Disbale spotlight from within Terminal (not global)

    Hi I was wondering if anyone knew how to disable the annoying "search in spotlight" menu item that appears if you accidentaly right click or two button click on a terminal screen? I do *a lot* of work in terminal managing many computers and network equipment and this is getting ridiculous the amount of times spotlight suddenly comes up in the middle of trying to do something. I am using a wireless mouse and after highlighting something to copy I try to two button click which on every other OS copys the text into the current text field (in this case onto the CLI input line) but in Mac OS 10.6 it brings up this menu and seems to always bring up the search.
    I have tried disabling spotlight globally on the machine by renaming the search.bundle in CoreServices as I know from previous experience that this disables spotlight searches without disabling finder search.
    This is starting to get incredably annoying now, Please Help.
    Thanks in advance,
    Richard

    Your wireless mouse settings do not appear to match your requirements, or your mouse is sending something odd. Select is option-MB1 by default (with a one-button or touchpad), and your current configuration appears to be sending the analog to control-MB1.
    MB1 being the primary button on your mouse, and whether that's configured as the left or the right is dependent on your handedness setting though (interestingly) some left-handed mice will reverse that by default. MB2 here being the middle button and MB3 being the next button over. Assuming three buttons.
    X Windows with Motif was often configured to use MB3 (non-primary) as select, and MB2 (middle) as paste with a three-button, though X with CDE shuffled that stuff around IIRC.

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • Boot Windows AND FreeBSD from my MacBook Pro 8,3 using an external DVD drive. I'm considering to remove my DVD-ROM and replace it with an SSD drive. That doesn't seem to work. Why not?

    As the title says, I'm attempting to boot off my favorite operating systems, Mac OS X, Windows 7 and FreeBSD from an external DVD drive. However, for some odd reasons, booting the Windows DVD and FreeBSD 9.1 install DVD from the external drive does not seem to work. I was able to create a bootable USB with the Windows installer, but whenever I attempt to do the same with FreeBSD, I only get an error message that says "No bootable device -- press any key to restart." Is this a limitation that Apple deliborately created? If so, why won't Apple let its customers do whatever they please with their computers, considering that customers who want to change the hardware and/or operating systems knows what he is doing, without having to worry about some silly Apple limitations?
    If I sound rude, I apologize for that, as no impoliteness is intended from my side.
    In advance, thanks. Have a wonderful day, everyone.

    That is only partially correct at best.
    When you are booting off Windows or any other operating systems that usually don't support EFI (including Windows), your Mac uses something called CSM-BIOS. And as long as that CSM-BIOS implementation on EFI-based Mac do not support booting off from USB (note that Mac OS X Installer works fine when booting from USB), not even a USB Apple SuperDrive which once was an internal drive, there mot definately is something for Apple to fix.
    When attempting to install Windows via BootCamp, a somewhat hybrid GTP/MBR table is created. When you boot off the installer disc of the OS you intend to install (i.e. Windows 7, FreeBSD, etc), your Mac might not support the EFI boot option (at least my 2011 17-inch MacBook Pro doesn't support that), so the only way of booting that second OS installer is via the regular BIOS, which Apple's EFI based systems implement as CSM-BIOS.

  • I cannot send MMS from an iphone 5 - some people it works others do not receive it.   MMS is turned on and i have tried to reset phone etc - still same problem.

    I cannot send MMS from an iphone 5 - some people it works others do not receive it.   MMS is turned on and i have tried to reset phone etc - still same problem.

    Are the messages successfully sent?
    If so, what happens to a message after it is successfully sent has nothing to do with the cell phone that sent the message.

  • Application works from NB but not from jar

    Hi,
    I'am programming a game in JAVA and this going as planned. Everything works when I run it from NetBeans, but when I execute the jar file from the console, then I get hunderds of the same exception.
    I really don't know what it is, I see a NoSuchMethod exception in the MouseEvent of the method getLocationOnScreen(), but just as i said, the app works fine without errors from out NB.
    Does somebody knows what the problem is?
    thx Sven
    java -jar Hotel.jar
    Loading board images.
    Loading image: /Images/bg-patern-hotel.jpg
    Opening file /Images/bg-patern-hotel.jpg file exisits: true -- [/Users/svenvanzoelen/NetBeansProjects/Games/Hotel/dist/Images/bg-patern-hotel.jpg]
    Loading image: /Images/Main-board-big.jpg
    Opening file /Images/Main-board-big.jpg file exisits: true -- [/Users/svenvanzoelen/NetBeansProjects/Games/Hotel/dist/Images/Main-board-big.jpg]
    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: java.awt.event.MouseEvent.getLocationOnScreen()Ljava/awt/Point;
         at Engine.GameAction.setMousePos(GameAction.java:137)
         at Engine.InputManager.mouseMoved(InputManager.java:277)
         at java.awt.Component.processMouseMotionEvent(Component.java:5647)
         at java.awt.Component.processEvent(Component.java:5371)
         at java.awt.Container.processEvent(Container.java:2010)
         at java.awt.Window.processEvent(Window.java:1184)
         at java.awt.Component.dispatchEventImpl(Component.java:4068)
         at java.awt.Container.dispatchEventImpl(Container.java:2068)
         at java.awt.Window.dispatchEventImpl(Window.java:1801)
         at java.awt.Component.dispatchEvent(Component.java:3903)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Same error goes 50 times more.Edited by: Svenmeister on Apr 16, 2010 7:22 AM
    Edited by: Svenmeister on Apr 16, 2010 7:22 AM

    Ok, I updated my Mac but still got the 1.5.0_22 crap so I changed the function from the mouseEvent to one that 1.5 supports.
    But now when I run the application from the console the Exception about the mouse function is gone, but I got another exception instead of it. And this one is I believe not JRE version relevant.
    The error is in the loading of the images, at the third PNG image to be precise. The images are now in total 10.8MB in size.
    So is this also a 1.6 thing? Would be awesome if someone can explain it.
    java -jar Hotel.jar Loading board images.
    Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
         at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
         at java.awt.image.Raster.createPackedRaster(Raster.java:458)
         at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
         at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:223)
         at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:469)
         at apple.awt.OSXImageRepresentation.setPixels(OSXImageRepresentation.java:66)
         at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:120)
         at sun.awt.image.PNGImageDecoder.sendPixels(PNGImageDecoder.java:498)
         at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:419)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
         at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
         at java.awt.image.Raster.createPackedRaster(Raster.java:458)
         at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
         at java.awt.image.BufferedImage.<init>(BufferedImage.java:345)
         at apple.awt.CGraphicsConfig.createCompatibleImage(CGraphicsConfig.java:174)
         at GUI.Board.toBufferedImage(Board.java:1472)
         at GUI.Board.loadImages(Board.java:1143)
         at Engine.HotelMain.switchState(HotelMain.java:86)
         at Engine.HotelMain.<init>(HotelMain.java:57)
         at Engine.HotelMain.main(HotelMain.java:194)Edited by: Svenmeister on Apr 16, 2010 11:01 AM

Maybe you are looking for

  • SSIS package issues when running as a regular user

    Hello I have one package which is getting data from MSSQL server and putting it to the excel (2007 format). When started as an administrator from Visual studio, IS, command line or SQL Agent job it works just fine. But when using regular user (SSIS p

  • I had a little accident need help!!!!

    ok i was in the bathroom, and my ipod classic fell out of my pocket, bounced of the rim of the tiolet and fell in, I immediatley took it out rinsed it off, just the front and back, not near plug-ins. It wasn't on but when it fell in the screen came o

  • Accessing files inside JAR archives

    I have a jar file with structure as follows . root directory containing *.class files .\dll directory containing *.dll files .\images directory containing *.gif and *.jpg files Now, when i want to load the dll i use System.loadLibrary("dll/sendlib");

  • Planning App Settings - Shared Services URL grayed out

    I am int he process of doing a clean install of epm 11.1.2.2. I have created a planning app in and the shared services url under application settings is incorrect. The name of the RDB server was picked up instead of the planning server. I need to cha

  • File & dir permissions check

    Hello again Is there any way to perform a easy check of essential files and dirs permissions in Linux from security point of view? Thank you for your attention.