Unable to set effects in loaded application

Hi All,
I'm ABLE to get UIComponents from loaded app and set their properties. It's loaded as a child in same domain.
I'm UNABLE to set any effects like Rotate or Glow on the same UIComponent.
I have mxml definitions of the effect i need in the parent app.
Have tried several ways to try to get it to work.
glowPulse.target = [eventTarget];
glowPulse.play
// TypeError: Error #1006: dispatchEvent is not a function
eventTarget.setStyle("showEffect", rotate );
// no effect
Is it possible or are you stuck with just setting simple properties and using functions defined in sub app like a  remote object service call?
Thanks in advance,
Kevin

I don't quiet understand your question .. but, try this..
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"  >
    <mx:Script>
        <![CDATA[
        import mx.controls.Button;
        import src.SharingComp;
            import mx.controls.Alert;
           import mx.managers.PopUpManager;
           private function createPopUp(event:MouseEvent):void {
                var button:Button = Button(event.currentTarget);
                button.setStyle("showEffect", "Fade");
                button.visible = false;
                button.visible = true;      
        ]]>
    </mx:Script>
    <mx:Button x="31" y="56" label="Button" click="createPopUp(event)"/>
</mx:Application>
Hope this helps,
BaBo,

Similar Messages

  • Error 1013000 loading application: Unable to Create Request Server Thread

    We are currently getting the following error "Error 1013000 loading application: Unable to Create Request Server Thread" when attempting to load more than 5 applications onto our new Essbase server. The O/S is Windows 2003 and we are running Essbase 6.5.5. Our old server, running Windows 2000, is not experiencing this problem.

    I think I've found the problem! It seems the server team didn't set up the swap file, hence, when physical memory started to run a little low on the box, the thread could not be created. FYI, we had already increased the SERVERTHREADS option in the Essbase.cfg file.

  • Host: Unable to load application configuration + wrong install version on download

    i am using 64 bit windows 7 ... when unable to playing video, it redirects me to the adobe download pages to get flash player ... the page says i am about to download flashplayer for win7 64 bit, of 9MB approximately, but the file i get has name "install_flashplayer11x32_mssd_aih.exe" (NOTE THE NUMBER 32) and this file just wont install it ends with error message: HOST: Unable to load application configuration ...
    By google i found also file install_flashplayer11x64_mssd_aih.exe (NOTE THE NUMBER 64) ... this file runs the install, i get the final screen saying "installation completed" but after clicking the "finish" button i get an error message saying "an error occured while sending a command to the program" ...
    I am just getting mad ... its 3 days i am trying to figure aout this problem ...
    i also tryed files as "install_flash_player_11_plugin.exe" , "install_flash_player_11_plugin.msi" , "install_flash_player_11_active_x.exe" and "install_flash_player_11_active_x.msi" ... those files actually proceeds with the install, but at the end, the videos are still not displaying ...
    When i am checking the plugins statuses in my firefox addons manager, it says Shockwave Flash is all right ...
    The precedent version of flash player was working just fine, i do not understand why you must make such a mess every 2 months ...
    How do i get work this?

    yes, the pages is http://get.adobe.com/flashplayer/
    the page says:
    Adobe Flash Player 11.3.300.257 (9.36 MB)
    Your system: Windows 64-bit , English, Firefox
    but when i click the "Download now" button i get the file named "install_flashplayer11x32_mssd_aih.exe" (NOTE THE NUMBER 32) which wont start and after few seconds i get the message "HOST: Unable to load application configuration"
    but finaly i solved the problem ... i just installed the file found by google on some private page "install_flashplayer11x64_mssd_aih.exe" (NOTE THE NUMBER 64)
    (the page is here: http://www.ziddu.com/download/16693235/install_flashplayer11x64_mssd_aih.exe.html)
    and after that i disabled the protected mode of flashplayer by adding a line in the cfg file
    the howto is here: http://forums.adobe.com/thread/1018071
    i must say its quite shameful one must get this torture to have movies playing on websites ... this cant happen at open source stuf, at least not for 3 days ...
    and being already here and complaining, i must say also (i hope some adobe emploee will read this) i am quite disgusted (and i believe not only me) by adobes bad habit to provide other software than flashplayer, when they include mcafee antivir into the install ...
    it is literally taking the user as a stupid one ...
    if i will need an antivir, i will look for it ...
    i just hate when some society tries to infiltrete in my comp some crap software counting on possibility that at the download i will not pay enough attention
    its just ridiculous and shameful behavior

  • Unable to load application configuration?

    All of a sudden, a couple of weeks ago, adobe flash stopped working in Internet Explorer 10. I've gone through all the steps I can find on the forum to try to get it
    to load. I even uninstalled it and the plug in for firefox, but it still wouldn't download, even directly. The error message that boinks and shows up as the exe file is installing it is:
    Unable to load application configuration.
    I'm running windows 7 pro 64 bit, service pack 1
    Internet Explorer 10, 10.0.9200.16635   v 10.0.7
    Adobe Flash version is gone, now that I uninstalled it to try to install, but was trying to install the update that it alerted me to, that is version 11.8.800.94, I think.
    I went away from IE when there was no adobe flash for 64 bit, but came back and have enjoyed it. I see others have had similar problems, seemingly around installing an update.
    Thanks for anyone's help.

    Download and run the offline installers from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header (nder the heading Progress bar hangs...).

  • Illustrator CS4 problem loading: unable to set max files...

    Haven't opened AI CS4 in a few months. Used to load just fine. Today it crashes when loading and I get this error message: 'Unable to set maximum number of files to be opened.' I'm running OS 10.4.11 on a MacBook. The rest of the CS4 suite opens just fine. I have already removed the preference file for Illustrator out of the user library and also removed the 'com.adobe.illustrator.plist' file. Restarted computer. Still can't open the program.

    Check here esp post 27
    http://forums.adobe.com/message/2560663#2560663

  • [CUPS] Unable to set my new CUPS server with an HP printer (solved)

    Hello,
    I come from Gentoo and I just installed my new Arch Linux server on a notebook with 2 NIC ... Now, I'm trying to set the CUPS deamon to share printer (HP DESKJET 895Cxi) for 3 workstations in my LAN. Before, it was working (printer and linux ... has never been very good...). But now, I'm not able, and it's about 1 hour I'm looking for a stupid error that I don't know if it's important or not ...
    (all is on my Wiki : http://pix-mania.dyndns.org/mediawiki/index.php/Cups)
    Here are a list of installed package : cups ghostscript gsfonts hplip
    The printer (USB) :
    (lsusb)
    Bus 002 Device 004: ID 03f0:0004 Hewlett-Packard DeskJet 895c
    (dmesg)
    usb 2-2: new full speed USB device using uhci_hcd and address 4
    usblp0: Disabling reads from problematic bidirectional printer
    usblp0: USB Unidirectional printer dev 4 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0004
    Current configuration (only change made to original configuration) :
    Listen <ip_serveur>:631
    <Location />
    Order allow,deny
    Allow From all
    </Location>
    <Location /admin>
    Order allow,deny
    Allow From all
    </Location>
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    Allow From all
    </Location>
    When starting cups service, all is fine : I can use a workstation to browse the Web Interface ... but printer seems to be not detected since it tells "No printers." when clicking on "Printers" tab. So, I go to "Administration" tab and, under "Printers", I click the "Find New Printers" and again, it says : "No printers found.".
    Not goot ... so, like I was doing with Gentoo, I click on "Add Printer" ... then, I receive a redirection to HTTPS ... click on the link (or wait) and nothing happend (timed out): web interface is broken for HTTPS ... I really got no idea why HTTPS is not working .
    After that, when updating the configuration (with vim) and restarting the service, deamon won't stop and I have to send a "kill -9" to the cupsd pid ...
    I look in log and I can just see this :
    E [09/Jan/2011:18:19:55 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    I googled for one hour, but is not more working right now ...
    Some questions :
    - the printer is not detected? Is it because of the ACLs errors ?
    - what the hell is "ACLs" for cups ? Never seen that before ...
    So, right now, I got a working HTTP but not working HTTPS, with no printer available ... very useless
    This printer is working "well" with cups, since it's an old model and it's a HP printer, so is "fully?" working on Linux ...
    Any idea on what to do/try now ?
    EDIT: after that message, I just refresh the page (I'm using Chromium) and ... magically, HTTPS was working (after accept untrusted certificate for HTTPS?) ... Then, go back to "Find New Printers" and now, it was working. Printer has been added ... Seems to be OK, but the "Print Self Test Page" doesn't work right now because of this :
    Unsupported format 'application/vnd.cups-command'!
    Current log file :
    E [09/Jan/2011:18:19:55 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:24:48 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:29:08 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:36:28 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:36:42 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:41:06 +0100] Unknown SystemGroup "sys root lpadmin" on line 13, ignoring!
    E [09/Jan/2011:18:41:06 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:42:24 +0100] Unknown SystemGroup "lpadmin" on line 14, ignoring!
    E [09/Jan/2011:18:42:24 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:45:12 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:47:32 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:48:35 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:49:35 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:59:46 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:37 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:19:33:37 +0100] [cups-deviced] PID 2744 (dnssd) stopped with status 1!
    E [09/Jan/2011:19:33:37 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:34:09 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:19:34:09 +0100] [cups-deviced] PID 2763 (dnssd) stopped with status 1!
    E [09/Jan/2011:19:39:51 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:39:52 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    E [09/Jan/2011:19:41:23 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    E [09/Jan/2011:19:44:49 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:47:16 +0100] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HP_DeskJet_895C_USB_ES89M230MKGO_HPLIP) from localhost
    E [09/Jan/2011:19:49:36 +0100] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HP_DeskJet_895C_USB_ES89M230MKGO_HPLIP) from localhost
    EDIT2: tried to print "Print Test Page" instead of the above ... and got these errors :
    (web interface)
    "/usr/lib/cups/backend/hp failed"
    (error_log)
    E [09/Jan/2011:20:08:31 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:20:08:31 +0100] [cups-deviced] PID 3126 (dnssd) stopped with status 1!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Setting locale failed.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] prnt/backend/hp.c 559: dBus Connection Error (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Please check that your locale settings:
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LANGUAGE = (unset),
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LC_ALL = (unset),
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LANG = "fr_FR.UTF-8"
    D [09/Jan/2011:20:09:16 +0100] [Job 5] are supported and installed on your system.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Falling back to the standard locale ("C").
    D [09/Jan/2011:20:09:16 +0100] [Job 5] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'job-uuid=urn:uuid:e4395221-1209-32a9-5add-30f7945eaa6b'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option job-uuid=urn:uuid:e4395221-1209-32a9-5add-30f7945eaa6b.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'job-originating-host-name=localhost'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option job-originating-host-name=localhost.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'time-at-creation=1294600145'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option time-at-creation=1294600145.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'time-at-processing=1294600145'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option time-at-processing=1294600145.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'AP_D_InputSlot='
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option AP_D_InputSlot=.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] prnt/backend/hp.c 625: ERROR: 5021 device communication error!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] GPL Ghostscript 9.00: Unrecoverable error, exit code 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process 3154 ending: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=5..."
    D [09/Jan/2011:20:09:16 +0100] [Job 5] renderer return value: 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] renderer received signal: 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] error: No such file or directory (2)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Cleaning up ...
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3153 (KID4) with signal 15
    D [09/Jan/2011:20:09:16 +0100] [Job 5] KID3 exited with status 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Renderer exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3153 (KID4) with signal 9
    D [09/Jan/2011:20:09:16 +0100] [Job 5]
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Closing foomatic-rip.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Renderer process finished
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process dying with "Error closing renderer", exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] error: (0)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Cleaning up ...
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3152 (KID3) with signal 15
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3152 (KID3) with signal 9
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Error closing renderer
    D [09/Jan/2011:20:09:16 +0100] [Job 5]
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Closing foomatic-rip.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Backend returned status 4 (stop printer)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Printer stopped due to backend errors; please consult the error_log file for details.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] End of messages
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state=5(stopped)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state-message="/usr/lib/cups/backend/hp failed"
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state-reasons=paused
    E [09/Jan/2011:20:14:21 +0100] [Job 5] Stopping unresponsive job!
    EDIT3: I tested the ppd from cups (and not hpijs) and got the same problem ... The latest idea was to unplug USB and plug to another USB ... and it seams to works ... Now, the test page print "fine" ...
    So, I shared the printer over my LAN, and tried to print from a workstation ... it works fine now ... when looking error_log, I can see than there is no more Ghostscript error .
    But I have a last question .. if somebody can answer ... When choosing a PPD file, I have the choice between 3 version :
    - hpijs, 3.10.9
    - hpijs, 3.10.9.11
    - hpcups, 3.10.9
    Don't know why onlyl the HPIJS got the ".11" and not any others ... I selected this one and here is what Cups say about the printer :
    HP_DeskJet_895C_USB_ES29Z231JKGO_HPLIP HP DeskJet 895C Local Printer HP Deskjet 895c hpijs, 3.10.9.11 Idle - "ready to print"
    I hope when upgrading the system, I will not get error from PPD file not found ... With my current PPD file, I get (really not sure) this error, but print is working so, it doesn't matter :
    E [09/Jan/2011:21:08:04 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:21:08:04 +0100] [cups-deviced] PID 5705 (dnssd) stopped with status 1!
    E [09/Jan/2011:21:08:09 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    Thanks for all .. hope you don't think I'm crazy ^^
    Last edited by loopx (2011-01-09 20:31:21)

    WD and their lack of support for Mavericks:
    A recent email from WD reads:
    Dear WD Registered Customer,
    UPDATE: November 1st, 2013
    As a valued WD customer we want to make you aware of new reports of Western Digital and other external HDD products experiencing data loss when updating to Apple's OS X Mavericks (10.9). WD is urgently investigating these reports and the possible connection to the WD Drive Manager, WD Raid Manager and WD SmartWare software applications. Until the issue is understood and the cause identified, WD strongly urges our customers to uninstall these software applications before updating to OS X Mavericks (10.9), or delay upgrading. If you have already upgraded to Mavericks, WD recommends that you remove these applications and restart your computer. If you have already upgraded to Mavericks and are experiencing difficulty in accessing your external hard drive, please do not save anything to the drive, disconnect the drive from your computer, and contact Western Digital Customer Service at http://support.wd.com/country/ for further assistance.
    The WD Drive Manager, WD Raid Manager, and WD SmartWare software applications are not new and have been available from WD for many years. However, solely as a precaution WD has removed these applications from our website as we investigate this issue.
    Sincerely,
    Western Digital
    Which is basically Western Digital informing you that their out-of-date utilities don’t support Mavericks.
    In any case those utilities are not the most effective. The moral of the story is: the first thing you should do after buying a WD drive is to format it as HFS Extended (Journaled) and not install ANY of their utilities but instead use reliable applications like CarbonCopyCloner or SuperDuper - or Time Machine.

  • I am unable to set my WD mybook world edition (white light) for time machine.

    I have new iMac running OS X Mavricks 10.9 and a WD mybook world edition (white light) connected via eithernet to router.
    I am unable to set up time machine using this drive. 
    I can see the MyBookWorld drive in Finder and read and write files with no problems.  I can also see the MyBookWorld_Backup drive but I am unable to connect.
    Time machine can see the drive but when I select, use drive, it trys to connect and gives me an error message: There was a problem connecting to the server "MyBookWorld-Backup"
    I have already updated the hardrive firmware.
    Any ideas?

    WD and their lack of support for Mavericks:
    A recent email from WD reads:
    Dear WD Registered Customer,
    UPDATE: November 1st, 2013
    As a valued WD customer we want to make you aware of new reports of Western Digital and other external HDD products experiencing data loss when updating to Apple's OS X Mavericks (10.9). WD is urgently investigating these reports and the possible connection to the WD Drive Manager, WD Raid Manager and WD SmartWare software applications. Until the issue is understood and the cause identified, WD strongly urges our customers to uninstall these software applications before updating to OS X Mavericks (10.9), or delay upgrading. If you have already upgraded to Mavericks, WD recommends that you remove these applications and restart your computer. If you have already upgraded to Mavericks and are experiencing difficulty in accessing your external hard drive, please do not save anything to the drive, disconnect the drive from your computer, and contact Western Digital Customer Service at http://support.wd.com/country/ for further assistance.
    The WD Drive Manager, WD Raid Manager, and WD SmartWare software applications are not new and have been available from WD for many years. However, solely as a precaution WD has removed these applications from our website as we investigate this issue.
    Sincerely,
    Western Digital
    Which is basically Western Digital informing you that their out-of-date utilities don’t support Mavericks.
    In any case those utilities are not the most effective. The moral of the story is: the first thing you should do after buying a WD drive is to format it as HFS Extended (Journaled) and not install ANY of their utilities but instead use reliable applications like CarbonCopyCloner or SuperDuper - or Time Machine.

  • Unable to set requested sample format on soundcard

    Hello friends.
    I'm having a nightmarish relationship with my usb soundcard on various linux distributions from the day i started to use linux. After getting pops, clicks, soundcard not starting until i unplug it and plug it in again, system starting internal soundcards instead of the usb one (even when i set it as the main one) etc. I am now faced with a new challange it seems.
    When i try to play csound file, it gives me an error saying that:
    unable to set requested sample format on soundcard
    When i try to play the speaker-test -c 2, it says:
    sample format not avaivable for playback
    This all happend after i created a .asoundrc file, which (it seems) fixes the issue of the system randomly picking which card it likes to boot, but now i'm unable to play anything.
    Does anyone have any hints?
    Last edited by NotaName (2014-09-16 17:50:57)

    emeres wrote:
    NotaName wrote:
    [...] my .asoundrc is the same as the one in arch linux wiki on alsa, i just replaced the word audio with USB, since that is what cat gave me. I'm also using the alsa-base settings, but it doesn't seem to work everytime.
    As for the applications, it doesn't matter if I use 44100, 48000, or any other sample rate, it gives the same output.
     That does not make any sense: ~/.asoundrc holds alsa configuration, /etc/modprobe.d/50-alsa.conf or similar holds modprobe configuration. There is no need for ~/.asoundrc, as of this point. Is the usb sound cardconstantly plugged in? The sample rate matters for quality.
    Edit: Please post your ~/.asoundrc and modprobe configuration files, maybe I misunderstood it.
    First my settings.
    1) .asoundrc file:
    pcm.!default{
    type hw
    card USB
    ctl.!default{
    type hw
    card USB
    2) alsa-base.conf file:
    options snd-usb-audio index=-1
    3) output of :
    $ cat /proc/asound/card*/id
    NVidia
    USB
    4) output of:
    aplay -l
    card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevices #0: subdevice #0
    card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevices #0: subdevice #0
    card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevices #0: subdevice #0
    card 1: USB [Scarlett 2i2 USB], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevices #0: subdevice #0
    5) out put of:
    lspci -nn | grep -i audio
    01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1)
    I have a Scarllet 2i2 usb audio card and have disabled the motherboard audio card in the bios, however i have no idea what this NIVIDIA GK107 is.
    My usb card doesn't start when i boot the computer, so i have to manually unplug the usb connection and plug it back in again. This has been the case on almost all linux distributions i tried, i think only in fedora it booted with the computer once or twice. However after initial boot if i only restart the computer, i don't have to unplug and plug the sound card again, it's only when i turn off the computer and turn it on again.
    My usb card loaded up fine with the alsa-base conf for dozen of times, but all of a sudden it refuses to load as the default card and in alsamixer i get that NVIDIA thing as my default card, which i can't change. Because of that, i created a  .asoundrc file, which makes the system load my usb card as the primary device, however, then i cannot play or do anything with audio, as the system is unable to control it. When i was talking about output, i meant the error outputs, not the sound, as there is no sound output (i understand what sample rate does, it just doesn't matter if i set it to 44100, 48000, or 96000, the errors still say, that the programs cannot set the sample rate).
    As for /etc/modprobe.d/50-alsa.conf - i have no such file in my system. And i cannot set it as you proposed, since "lspci -nn | grep -i audio" only shows the output of that NVidia thing.
    P.S. sorry for the late response rate, as i just got back from a 24 hour shift and thank you for your answers.
    Last edited by NotaName (2014-09-18 10:11:43)

  • Unable to set safari in full-screen mode

    Hi folks,
    I just factory reset my 15-inch MBP running 10.9.3. After doing so, I notice that I am unable to set Safari in full-screen mode. Any ideas??

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • 206 unable to set alert only for certain group

    Hi,
    is it a symbian unwanted feature that user is unable to set Nokia 206
    profile to alert for certain group (even though this kind of functionality is
    available on this phone)?
    To be more precise user is able to set profile to alert only for certain
    group but this setting has no effect (phone rebooted, groups recreated, etc. no effect)
    This feature has been available and workin in previous Nokia phones
    since last decace - is it a software quality issue or what.
    Best regards,
    Hez

    It is the Application Pool account making the query to retrieve the groups, so you would need to establish a trust from Domain B -> A.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Illustrator won't run: "unable to set maximum number of files to be opened"

    I have an intel macbook pro (core duo with 2GB ram) and a copy of purchased adobe creative suite 2. Other applications in the suite like photoshop, acrobat, etc can run on my mac without any problem. But when I try to run illustrator, it just shows an error message "Unable to set maximum number of files to be opened" and quits. I also installed a trial version of illustrator cs3 and got the same problem. Can anyone help? Thanks.
    CC

    Hi, I realize this is an old thread but it was unanswered and the issue has come up again in a newer thread:
    http://forums.adobe.com/message/2534652
    If the original poster sees this, can you reply tin the new thread and let us know if you were ever to solve this problem?
    Thanks!

  • Unable to set the selected value for a ADF LOV

    Hi,
    I am developing an application using jdeveloper 10.1.3 and Struts.
    I have created a ADF LOV on my JSP Page as given below:
    <html:select property="lob" onchange="javascript:selectLOB(this.form)">
    <html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
    </html:select>
    When i submit the form, i am able to get the value of the selected Value in the List.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
    Row r = (Row) listBinding.getSelectedValue();
    String SoLob = (String) r.getAttribute("LobLob");
    But i am unable to set the selected value back in the list when i return to the form again.
    I tried the following:
    int x = listBinding.getSelectedIndex();
    listBinding.setSelectedIndex(x);
    It would be really helpful if some one could let me know what needs to be done.
    Thanks,
    Subashini

    Gyan,
    I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
    "Rendered" on the field so that based on search parameters we can hide result table column.
    After searching online, I modified the controller code as follows
    1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
    2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
    3. Modified the controller code as follows :
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
            OADBTransaction txn = am.getOADBTransaction();
            if (testvo != null)
              OARow row = (OARow)testvo.first();
                if (a.equalsIgnoreCase("Approved"))
                     row.setAttribute("Testrender", Boolean.FALSE);
                else
                     row.setAttribute("Testrender", Boolean.TRUE);
            } But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
    Its using only the value of one search parameter but not the second one .
    The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
    So can you please let me know how to proceed from here ?

  • Unable to set kernel parameters using Reource Control

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    I finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
    As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
    prctl -n process.max-msg-messages  -r -v 64k 2221
    bash-3.00# prctl 2221
    process: 2221: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -And now to make this persist across reboots...
    So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
    bash-3.00# projadd -p 115 -U testuser \
    -K "process.max-msg-messages=(priv,64K,deny)" \
    -K "process.max-msg-qbytes=(priv,64K,deny)" \
    user.me This creates the following /etc/project:
    (note the last line is all on one line in the real file minus the \.)
    placer% cat /etc/project
    system:0::::
    user.root:1::::
    noproject:2::::
    default:3::::
    group.staff:10::::
    user.me:115::testme::\
    process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
    placer% prctl $$
    process: 419: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -
    process.max-sem-ops
            privileged        512       -   deny                                 -
            system          2.15G     max   deny                                 -
    ...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
    Cheers,
    ~~sa

  • Unable to create a file in Application Server using OPEN DATASET stattement.

    I am unable to create a file in Application Server using the following statement.
    OPEN DATASET filename FOR OUTPUT
    IN TEXT MODE ENCODING DEFAULT
    MESSAGE msg.
    The message I'm getting is "Permission Denied". I have checked authorisation using SU53 which says "The last authorization check was successful". Please help.

    You can use following code to capture the error.
    TRY.
          OPEN DATASET filename FOR OUTPUT IN BINARY MODE MESSAGE V_MSG.
          CATCH CX_ROOT
          INTO EXCEPTION.
          CALL METHOD O_EXCEPTION ->IF_MESSAGE~GET_TEXT
            RECEIVING
            RESULT = V_MSG.
          MESSAGE v_msg
          TYPE 'E'.
    ENDTRY.
    You can capture error in v_msg.
    Following are the exceptions for the same:
    Exceptions
    Catchable Exceptions
    CX_SY_FILE_OPEN
    Cause: The file is already open.
    Runtime Error: DATASET_REOPEN
      CX_SY_CODEPAGE_CONVERTER_INIT   
    Cause: The desired conversion is not supported. (Due to specification of invalid code page or of language not supported in the conversion, with SET LOCALE LANGUAGE.)
    Runtime Error: CONVT_CODEPAGE_INIT
    CX_SY_CONVERSION_CODEPAGE
    Cause: Internal error in the conversion.
    Runtime Error: CONVT_CODEPAGE
    CX_SY_FILE_AUTHORITY
    Cause: No authorization for access to file
    Runtime Error: OPEN_DATASET_NO_AUTHORITY
    Cause: Authorization for access to this file is missing in OPEN DATASET with addition FILTER.
    Runtime Error: OPEN_PIPE_NO_AUTHORITY
      CX_SY_PIPES_NOT_SUPPORTED   
    Cause: The operating system does not support pipes.
    Runtime Error: DATASET_NO_PIPE
    CX_SY_TOO_MANY_FILES
    Cause: Maximum number of open files exceeded.
    Runtime Error: DATASET_TOO_MANY_FILES   Non-Catchable Exceptions   
    Cause: An attempt was made to open a pipe that is already open.
    Runtime Error: DATASET_PIPE_POSITION
    Hope that will help you.
    Please reward if useful.

  • Unable to set Labelfield for child element  in List

    Hi All,
    Below is code I am trying to execute
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" verticalGap="0" xmlns:local="*" height="500" creationComplete="init()" >
    <mx:Script>
    <![CDATA[
    private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}] 
    private function init():void{list.dataProvider=arr;
    ]]>
    </mx:Script>
    <mx:List variableRowHeight="true" wordWrap="
    true" id="list" labelField="
    chidren.lastName" /></mx:Application>
    I basically want to access the children.lastName on my List. Please let me know how exactly can I do it.

A: Unable to set Labelfield for child element  in List

labelFunction is the best way to do this. The attached code also shows how to do it with an itemRenderer, though that would not be as efficient.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml"
  layout="horizontal"
  creationComplete="init()" >
  <mx:Script>
    <![CDATA[
      private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}]
      private function init():void{
        list1.dataProvider=arr;
        list2.dataProvider=arr;
      private function createLabels(item:Object):String{
        return item.children.lastName;
    ]]>
  </mx:Script>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list1">
    <mx:itemRenderer>
      <mx:Component>
        <mx:Label text="{data.children.lastName}"/>
      </mx:Component>
    </mx:itemRenderer>
  </mx:List>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list2"
    labelFunction="createLabels"/>
</mx:Application>
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services

labelFunction is the best way to do this. The attached code also shows how to do it with an itemRenderer, though that would not be as efficient.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml"
  layout="horizontal"
  creationComplete="init()" >
  <mx:Script>
    <![CDATA[
      private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}]
      private function init():void{
        list1.dataProvider=arr;
        list2.dataProvider=arr;
      private function createLabels(item:Object):String{
        return item.children.lastName;
    ]]>
  </mx:Script>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list1">
    <mx:itemRenderer>
      <mx:Component>
        <mx:Label text="{data.children.lastName}"/>
      </mx:Component>
    </mx:itemRenderer>
  </mx:List>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list2"
    labelFunction="createLabels"/>
</mx:Application>
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services

Maybe you are looking for

  • First Day With Adobe SpeedGrade CC with Direct Link

    I thought it would be interesting to share my first day using the new Adobe SpeedGrade CC with everyone. Most would be embarrassed to do this, not me. This is NOT a tutorial, but more of a way to show you what I am struggling with and what I like. So

  • Parental Controls, Passwords, & Administrative Users

    I am thinking of buying a couple MacBooks for my teenage kids. I'm pleased to see that Apple has finally added usable Parental Controls, particularly the website tracking feature. (Teenagers need to be able to go anywhere but also to realize that som

  • How to show iPod in iTunes

    Hello, I recently asked my daughter to move iTunes to another computer in our home. Easy enough, downloaded, installed, but we ran into problems with getting her iPod to "show" in iTunes. She purchased a song and went to add it to her iPod and there

  • Referring to Cells in Formulas

    Hi Everyone This might sound like a really easy question for you guys but I am new to using numbers. When I select a cell to enter a formula and refer to a cell eg C2, and multiply it by another cell (D2), i keep getting an error message which says "

  • Safari history-can i see it on any device

    How do I make my iphone 5 with ios 7 show the history of things i have looked at on safari on my macbook ...i dont have private browsing turned on