NativeProcess issue - MAC

Hi All,
We are developing a Air based desktop application for one of our customer, Please find below our Requirement and problem that we are facing during integration of nativeprocess
Requirement:
          Retrieving system details of MAC and Windows using AS3 NativeProcess.
Reference:
          We referred the below link for NativeProcess.
Link: http://forums.adobe.com/thread/459761
Problem:
Using NativeProcess in AIR, we are trying to get the      system details. In windows we achieved this by calling the systeminfo.exe      which is in the location C:\\Windows\\System32\\systeminfo.exe . Same      method was tried out for MAC with System Profiler.app, it displays an      error message saying that to “specify a valid executable file”.      Alternatively we tried to drill down more and launched the System      Profiler.app/Contents/MacOS/System Profiler file, but we were not able      to read the data of the file, it’s just launching the system profiler.app      – Please suggest how to read the data of the system profiler.app in MAC      OS.
NativeProcess works only when extendedDesktop profile is checked in publish settings. But we are not able to publish AIR      file when extendedDesktop is checked. It throws the error "Error Creating Files. Error 306: Descriptor must support the profile desktop, mobile device or extendedMobileDevice".
Thanks and Regards,
Basker D

When I had problem #2 what I had to do was to make sure that my application.xml looked exactly like this:
    <supportedProfiles>extendedDesktop desktop</supportedProfiles>
Order matters. If I put desktop first, I got your error. If I failed to put desktop, I can't seem to create an AIRI file.
On #1 - is what you really want to run maybe /usr/sbin/system_profiler ?  That's what I would be running from the cmdline, I think.

Similar Messages

  • AIR NativeProcess on Mac gives Error:3219, all solutions failing

    hi guys,
    I've read up most solutions for this error and none seem to apply.
    I'm running a basic AS3 app in FlashBuilder, on OS-X.
    descriptor is set to extendedDesktop
    have set the profile in FB to 'extendedDesktop'
    am publishing as 'signed native installer'
    I've tried launching the file from both:
    app:/demo.sh
    file:///Users/visualife/Desktop/AE/demo.sh
    the target file is set to 777 (executable)
    the target file runs fine when directly targetted
    i'm running the exe on the same OS and machine it's created on
    changing the 'demo.sh' file to a jpg etc doesn't change anything
    No matter what I try I get told native process is support, everything runs fine until start is called then a Error: 3219 is thrown with no further information.
    all help greatly appreciated!
    I've included my code below:
    package {
       import flash.desktop.NativeProcess;
       import flash.desktop.NativeProcessStartupInfo;
       import flash.display.Sprite;
       import flash.errors.IllegalOperationError;
       import flash.events.Event;
       import flash.events.IOErrorEvent;
       import flash.events.NativeProcessExitEvent;
       import flash.events.ProgressEvent;
       import flash.filesystem.File;
       import flash.text.TextField;
       public class VauxhallController extends Sprite {
       private var debug_txt:TextField;
       public var process:NativeProcess;
       private var sh:File;
       public function VauxhallController() {
       if (stage) {
      init();
       } else {
       this.addEventListener(Event.ADDED_TO_STAGE, init);
       private function init($e:Event=null):void {
       this.removeEventListener(Event.ADDED_TO_STAGE, init);
      build();
       if (NativeProcess.isSupported) {
      initListeners();
      debugMe("Native process supported");
      go();
       } else {
      debugMe("Native not supported");
       private function build():void {
       // debug
      debug_txt  = new TextField();
      debug_txt.width = 300;
      debug_txt.height= 600;
       this.addChild(debug_txt);
       private function initListeners():void { }
       private function go():void {
      runShellFile();
       private function runShellFile():void {
       var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
       var essArgs:Vector.<String> = new Vector.<String>();  
       var file:File;
      file  = File.desktopDirectory.resolvePath("AE/demo.sh");
      nativeProcessStartupInfo.executable = file;
      nativeProcessStartupInfo.workingDirectory  = File.desktopDirectory;
      nativeProcessStartupInfo.executable = file;
      process = new NativeProcess();
      process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
      process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
      process.addEventListener(NativeProcessExitEvent.EXIT, onExit);
      process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR, onIOError);
      process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR, onIOError);
       try {
      process.start(nativeProcessStartupInfo);
       } catch (error:IllegalOperationError) {
      debugMe(error.toString());
       } catch (error:ArgumentError) {
      debugMe(error.toString());
       } catch (error:Error) {
      debugMe(error.toString());
       public function onOutputData(event:ProgressEvent):void {  debugMe("Got: "+ process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable));   }
       public function onErrorData(event:ProgressEvent):void {  debugMe("ERROR: "+ process.standardError.readUTFBytes(process.standardError.bytesAvailable));   }
       public function onExit(event:NativeProcessExitEvent):void { debugMe("Process exited with: "+ event.exitCode);   }
       public function onIOError(event:IOErrorEvent):void {  debugMe("IOError: "+ event.toString());   }
       private function debugMe(_str:String):void {  debug_txt.appendText(_str +"\n");   }

    Latest Version of Air won't install on my MAC! Help!
    Workaround mentioned in this thread by chris.campbell actually fixed same issue for me.

  • Pop-up button issue: Mac vs PC

    Hello-
    I'm creating an interactive form for my company and having an issue when the pdf is used on a PC. 
    Here's the run down:
    First off, this is my first attempt at creating an interactive pdf so please forgive any incompetence on my part. 90% of the form was created in InDesign and the rest finished in Acrobat on a Mac.
    The form itself has many roll-over and pop-up features so that definitions or additional information can be accessed by hovering the cursor over particular fields. I have gone over the tab order in detail and am certain that all pop-up buttons have been set up so that they do not interfere with any text fields.
    Here is the form when first opened:
    And here is how the roll-over function works (without issue on my Mac):
    Note that the trigger in this case is also a text field where the project name is typed.
    Now, when the pdf is opened on a PC (using Acrobat Pro 9 on a Windows 7 machine) this is what happens:
    The text that appears in the pop-up button then appears in the following "submitted by" text field and will not go away—it cannot be selected, deleted or otherwise modified.
    I have tested this form extensively on my Mac and have not had any issues. Any suggestions or ideas as to why this would be a problem when the same pdf is opened on a PC?
    Any help would be greatly appreciated!
    Trevor

    Hello-
    I'm creating an interactive form for my company and having an issue when the pdf is used on a PC. 
    Here's the run down:
    First off, this is my first attempt at creating an interactive pdf so please forgive any incompetence on my part. 90% of the form was created in InDesign and the rest finished in Acrobat on a Mac.
    The form itself has many roll-over and pop-up features so that definitions or additional information can be accessed by hovering the cursor over particular fields. I have gone over the tab order in detail and am certain that all pop-up buttons have been set up so that they do not interfere with any text fields.
    Here is the form when first opened:
    And here is how the roll-over function works (without issue on my Mac):
    Note that the trigger in this case is also a text field where the project name is typed.
    Now, when the pdf is opened on a PC (using Acrobat Pro 9 on a Windows 7 machine) this is what happens:
    The text that appears in the pop-up button then appears in the following "submitted by" text field and will not go away—it cannot be selected, deleted or otherwise modified.
    I have tested this form extensively on my Mac and have not had any issues. Any suggestions or ideas as to why this would be a problem when the same pdf is opened on a PC?
    Any help would be greatly appreciated!
    Trevor

  • Display Issues, Mac Mini and Sony LCD TV

    Hi,
    First my setup:
    Mac Mini(Core2Duo) = DVI2HDMI = Pioneer ASX2 = Sony Bravia 40W2000
    I have two issues, in order of importance:
    Issue #1: When switching off the Pioneer my Mac Mini will suspend. This is not wanted, because I somethimes want it to either work on the iTunes library (hours of work) or download torrents.
    Issue #2: The famous my display is not 1080p anymore but VGA. Has anyone fixed this?
    I haven´t seen any fixes to issue #2 even though it´s super common. I do hope that anyone can sort me out on issue #1

    Both items #1 and #2 can be corrected using the Gefen DVI Detective.

  • Display issues, Mac Pro

    Just got my Mac Pro, and it has a pretty frustrating problem. When waking up from sleep the display (ACD 20") stays black and there's no way of getting a signal without rebooting. If that wasn't annoying enough, the same thing happens about 7-8 times out of 10 when I reboot. The computer boots just fine, but the display stays off. I've tried with other displays and get the same problem.
    This is a list of the things I've tried so far:
    1. Called Apple Support, who wanted me to send it for a repair which seems kinda sad seeing as I've only had it for a few days. No replacement will be given though. Unfortunately Apple in Europe aren't as generous with the 14-day DOA period as they are in the US.
    2. Reset PMU/PRAM/NVRAM (sometimes brings the display back up, sometimes not).
    3. Removed and reinserted graphics card.
    4. Removed and reinserted memory sticks.
    5. Tried a new set of memory sticks.
    6. Reinstalled OS X, which is the first thing I do whenever I get a new Mac anyway.
    7. Tried different monitors with both ports on the graphics card.
    8. Ran Apple Hardware Test without any errors registering.
    Anyone have any suggestions of anything else I should try, or should I give up on this one and get it fixed?
    Thanks
    Mac Pro   Mac OS X (10.4.8)   Dual 2.66Ghz, 1GB RAM, Nvidia 7300

    I'm seeing a similar problem, though short-term sleep
    is not an issue. It occurs after the system has
    slept for multiple hours--overnight in particular.
    Two displays, and Apple 30" and a Sun 24", attached
    to an X1900 video card, Mac Pro 3GHz. A picture and
    writeup in more detail are here:
    http://diglloyd.com/diglloyd/blog.html#20070301MacProV
    ideoProblems
    I've updated the Mac pro firmware, installed all the
    system updates, etc.
    I think it's an ATI X1900 problem; my write describes
    a similar problem on the G5 Quad with the ATI X1900
    G5 edition.
    Mac Pro 3GHz   Mac OS X
    (10.3.8)  
    PowerMac G5 dual 2.5 GHz   Mac
    OS X (10.4)  
    I have the same problem with Geoforce 7300 GT and MacPro!

  • Playmemories logon issues - Mac Mavericks 10.9.3/ILCE6000

    I've just purchased the ILCE6000 and am unable to logon to Playmemories.  On my Mac I click on Sign In and nothing happens at all.  
    On the camera having connected to wireless network okay I get the list of apps available but when selecting one to download I get prompted to confirm I have a Sony Entertainment Account and on selecting 'Yes' nothing happens and the camera appears to seize up as to get it to do anything I have to power off/on.
    Any ideas for solutions will be much appreciated.
    Thanks
    Solved!
    Go to Solution.

    Solved my own issue. Sites were blocked by Sky Broadband Shield. Now set to allow online gaming and all connecting okay.

  • Menu Issue Mac OS 10.6.8

    I have a user in the Marketing department using a MacBook Pro running Mac OS 10.6.8.
    This morning without warning all of a sudden the menu behavior changed across the system. (IE: File, Edit, View, etc...)
    It is working like I remember the old Mac OS 9 computers where you click File and hold the button down then scroll to the selection you'd like and release the button to select it. I would like to turn this off and set it back so you can just click file then click the option you want without having to hold the mouse button down.
    I have tried a bluetooth mouse, an RF mouse, and a regular USB mouse. The behavior is the same for all of them. I have also tried logging into the computer with a different account and it seems to be a system wide setting and not a per user setting. I've messed around with the Universal Access panel, but none of the options are making a difference.
    I know there is a preference loading somewhere causing this behavior because when you first log on the menus behave normally for 2 or 3 seconds before switching to their current state.
    Randomly hot corners in Expose stopped working at the same time. Any thoughts?

    I figured it out!
    It's the wireless Logitech mouse. Through all my testing I had left the RF receiver plugged in. As soon as I unplugged the receiver for the Logitech it started working normally again.
    The Logitech mouse also works fine for a while if you unplug and replug. Perhaps this issue has something to do with it being plugged in as it comes out of sleep mode? Hmmm. Much testing to be done.

  • Arrow Key issue Mac Pro 15 inch

    I own Mac Pro 15 inch running with Lion OS, for some days it stop responding to Arrow keys. However arrow key are working upto certain extent with the combination of command and control keys.How I can get this issue fixed?

    If it says MacBook Pro under the screen, that's the name of the machine.  Mac Pros are desktop tower computers.  Arrow keys can sometimes malfunction if something gets in the keys, or one of the Apple menu -> System Preferences-> Universal Access settings gets turned on.

  • Strange CPU Performance issue Mac Pro, Logic 7.2.3......

    Hi there,
    I am experiencing a strange issue with Logic 7.2.3 and my Mac Pro.
    I am running about 70 tracks in a tune I'm writing, with a lot of the EQ and dynamics processed on a Liquid Mix, but am experiencing a lot of CPU spikes, and drop outs in logic.
    The System Performance meters are showing that one of the CPU cores is at full capacity, whilst the Activity Monitor is showing a total usage of about 40%.
    http://www.ephexis.co.uk/images/cpu-grab.jpg
    I have tried every combination of settings in the audio preferences, but cannot seems to get this track to play properly.
    With 71 tracks, this machine is currently LESS powerful than the G5 that I have been working on until purchasing the Mac Pro.
    I there anything else I can try? Are there any other means of controlling buffer size?
    I have a suspicion that this may have something to do with the Plugin Delay Compensation set to 'All' - But without doing this, I cannot use the DSP effects of the liquid mix to work on a Bus! Very frustrating.
    Many thanks for the help, any ideas at would be deeply appreciated,
    Adam Ephexis
    Mac Pro 2.66, 2GB, 1.5TB -=- MacBook Pro 2.16, 1GB, 100GB   Mac OS X (10.4.8)   Liquid Mix, Fireface 800, Apogee MiniDAC, Creamware A16 Ultra

    Great!
    Thanks for the tips guys.
    I have tried to find an offending loop or part in the sequence, but cannot find anything at all thats causing the issue.
    My suspiscion is that using the focusrite Liquid mix on a part, that is in turn going into a delay compensated bus, which has another Liquid mix plugin on it, is causing the issues. I use the total mix software in the fireface to perform the summing of the busses, which I think in turn may be causing the PDC to glitch a bit more.
    Which is a bit annoying, as the mix in this tune is my best yet!
    So I will attempt to remove the liquid mixes that are running in series in a chain, and see if thats the problem, but if that fails, time to re-format again!
    I'll let you know how I get on in the next couple of days!
    Thanks again,
    Adam
    Mac Pro 2.66, 2GB, 1.5TB -=- MacBook Pro 2.16, 1GB, 100GB   Mac OS X (10.4.8)   Logic 7.2.3 - Fireface 800, Focusrite Liquid Mix, Apogee MiniDAC, Creamware A16 Ultra

  • Graphic issues mac pro

    Distorted imaged on HDTV

    I'm not sure if this is related or not.  A client of mine is using a MacPro (Late 2013 - 32GB RAM - 6 Core) with a Samsung 4K display.  The problem began recently in Mail, he get's the spinning beach ball constantly, making Mail useless.  Only Mail is affected and I have gone thru all the Mail fixes (rebuilding, reindexing, recreating account, creating new user account, etc...) to no avail.  If I log in with TeamViewer, the problem instantly corrects and no issues as long as I stay connected. Once I log out, spinning beach ball.  No processes in Activity Monitor or TOP indicate anything running amok.  Since the problem seems to go away with TeamViewer (not VNC or ARD though) I assumed it might be display related.  After some experimentation, changing the display resolution to another setting and back again fixes it for a bit.  I assume it's a problem with the graphics adapter working with the 4K display but am wondering if others have seen this or know of a possible fix?  I've seen posts about the Mac Pro's 4K problems with certain displays but not this specific issue.

  • Triple Display issue Mac Pro 4.1, GTX660, GT120.

    Hi guys.
    I have a mac pro 4.1 with a GTX 660 and a stock GT 120.
    The 660 has 2 x DVI, 1x HDMI, 1x Displayport
    The GT 120 has 1x MiniDp 1x DVI.
    I have both NVIDIA drivers and stock drivers.
    I've recently received a Dell U3011 2560 x 1600 to compliment my 2 20 inch 1600 x 1200 monitors.
    I plan to have the 20's flank the u3011 in portrait on either side to create a PLP setup.
    The problem is that I can't get them all to work together.
    Most of the time the monitor on the left isn't recognised (in system information it is described as color LCD display) and displays a resolution of 480 x 640. The other two monitors will work fine.
    If I fiddle with the video outputs on 660 and 120 (mix them up, use adapters etc) I can get all three monitors to display their correct resolution, But if the computer sleeps or is restarted it goes back to low resolution on one monitor and doesn't display an image at all and goes to sleep.
    The U3011 is always recognised at its correct resolution via displayport.
    Other two are connected to DVI1 on the 660 and the DVI on GT120
    Currently both 20's are recognised as 'vga display' or 'color LCD', no resolution options are available, just what it defaults to (640 x 480)
    What it is at the moment:
    What it was before I had the 30 and was using a 24:
    I'm pretty sure its not a monitor issue, as the issues vary between monitors (depending on which is plugged in where)
    I'd prefer to resolve this issue by running everything off the 660, allowing me to remove the GT120.
    Any help would be much appreciated.
    Cheers.

    I'm pretty sure its not a monitor issue, as the issues vary between monitors
    I'm pretty sure this is a display and adapter and interface problem, especially when the name(s) of your display(s)  show up wrong after sleep.
    The Mac uses one display driver that is highly parameterized. The parameters to be used are set by sending a query to the display for its name and capabilities. This query is sent on the secondary digital data channel, and is sometimes referred to as EDID data.
    Currently both 20's are recognised as 'vga display' or 'color LCD', no resolution options are available, just what it defaults to (640 x 480)
    When the name of the display is not correctly reflected in the name of its Display Preferences pane, that is a direct indication the display-adapter-cable-display part of the chain "dropped the ball" in resounding to the Mac's query for capabilities.
    Adapters that do not pass the EDID data through, and displays that do not answer when queried for their name and capabilities are the primary source of problems. For example, TV sets that are not "paying attention" to the secondary data channel, and therefore do not answer the query, drive Mac users crazy.
    The query is sent in response to four different events:
    • System Startup
    • wake form sleep
    • cable insertion at the Mac-end (not necessarily at the Display-end)
    • The use of the Option-Detect_Displays button in Displays Preferences window

  • Bridge "open with" issue Mac OS

    Hi & Thanks,
    I am using CS6 on a Mac and when I choose to open a file with the "open with" command from the edit menu or right clicking the file I get mutliple options of numorus editors. Photoshop, Nik apps, Color sync utility, Preview. They will all open but some open with older versions.
    Bottom line is I need to pair down Bridge's offered choices to just one of every application. Yes only one version of every app is installed.

    Hi Curt,
    I appreciate your reply. I resolved the issue I was incurring. I kept a clone of my hardrive mounted on the desktop at all times. The primary OS that Bridge was operating under would access this clone for choices too. Weird yes, so once I ejected the disk the issue went away.
    Thanks, Sid

  • Photoshop cc redraw issues mac yosemite

    having issues with mac yosemite, intel hd 4000 1024mb card, 16gb ram and 2.5 intel core i5 with photoshop cc 2014. it has redraw issues when you draw objects around the screen.. its jjittery and not smooth like it should be. i dont know why this is happening but would like to know when it will be fixed. it seems to only be happening on mac osx because i have bootcamp with windows 7 running on this same macbook pro and it runs perfectly fine on there. any ideas on whats going on and when this will be resolved?

    A downgrade don't work for me. The Mac is brand new (3 Days old). Yosemite is the custom os. I think a downgrade is impossible.
    I'm very disappointed about that, because i bought this machine just for Photoshop...

  • Incompatability Issues  MAC OS 10.4.10 With USB headphones

    I bought iListen so I could type more quickly as I have some disability issues and type very slowly. I had a lot of trouble training iListen. I bought a package which included a Platronics USB headset and USB Mic fromthe Apple online store. After many issues I was able to find out from Plantronics that MAC OS 10.4.10 has some compatability issues with USB Microphones. After making sure the System Preferences are correctly chosen in Sound and Speech Panes you can follow the steps below, I hope this helps some others to avoid this frustration.
    The following applies only to Macintosh computers running Mac OS X 10.4.10.
    If you experience no transmit (i.e. the mic doesn't seem to work), please try the following:
    1) Make sure your Plantronics microphone is plugged into an open USB port on your computer.
    2) Launch "Audio MIDI Setup.app." (You will find this application in Applications> Utilities.)
    3). In System Settings, select "Plantronics Headset" as the default input.
    4). In "Properties For:" select "Plantronics Headset."
    5). In the bottom right area of the window, uncheck "Mute."

    I have had communication from MacSpeech which indicated they actually gave the solution to Plantronics and were aware of the issues. I did not realize that there was an issue that was not with me because it only happened some of the time that my computer muted the microphone and resorted to the built in mic! Hope this helps someone else

  • Adobe flash player installing issue mac

    Hello to whoever is reading this I'm having some issues with the installation of the adobe flash player.I have tried numerous times to uninstall the whole file and then re install but I'm having the same issue every time which is the download stops at 25-30% i have tried checking if my browser supports it and everything but exactly the same problems this is not acceptable as i have things i need to do that use adobe flash player and am not finding this fun at all.Family of mine have had exact same problems there is something wrong with this update for macs and needs to be fixed i find this is not acceptable so please fix it asap because i have read another forum that has the same problems, please give me some help that actually works.or an email to someone that can help.
    Kind regards Claire Van Eyssen

    Hello,
    This morning we resolved a problem that prevented Flash Player installations from completing for some of our Macintosh users.
    If you encountered this problem, please delete any previously downloaded Flash Player installer and either:
    Download the installer again from https://get.adobe.com/flashplayer, OR
    Download the stand-alone installer posted at the bottom of the http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-mac.html in the ‘Still having problems’ section.
    If the behaviour reproduces, please clear the browser's cache and try downloading again.
    Thank you.
    Maria

Maybe you are looking for