SetColumnType on nested Dataset with delayed loading

Hi all,
I have a master dataset which is set to null in the header,
with a nested data set that follows. I then load the dataset via a
javascript function from an onclick method, which is all working
fine. The problem I have is one of the columns contains some HTML,
which I need to set the column type for, but I'm stuffed if I can
get it working!
<head>
..snip
<script type="text/javascript">
<!--
var schedData = new Spry.Data.XMLDataSet(null, "schedule",
{useCache:false});
var schedHeader = new Spry.Data.NestedXMLDataSet(schedData,
"header/history", {useCache:true});
schedHeader.setColumnType("issue", "html");
//-->
</script>
</head>
The onclick function is then loading the XML thus:
dataSet.setURL(url);
dataSet.loadData();
And it is displayed via:
<td>{schedHeader::issue}</td>
All the other data is displayed ok, and if I remove the HTML
from the issue column then it is also displayed ok. I have verified
that the browser is receiving the data correctly, which it is:
<issue><b>F4</b></issue>
Yet when the page is shown, according to Firebug its just
rendering <td/> (ie. an empty cell).
I have checked I am using SPRY 1.5, which I am so its not
that either.
I'm sure I am missing something obvious, any ideas ?

Hi,
I have a code similar to your's.
<script type="text/javascript">
<!--
var shoutbox = new Spry.Data.XMLDataSet("the url to a xml
file", "all/itm",{distinctOnLoad:true,useCache:false});
var shoutboxreply = new Spry.Data.NestedXMLDataSet(shoutbox,
"Rall/Ritm",{distinctOnLoad:true,useCache:false});
shoutbox.setColumnType("msg","html");
shoutboxreply.setColumnType("msg","html");
//-->
</script>
When I view the msg column: {shoutboxreply::msg}
The content doesn't show as html, instead as a string.
I typed the following in the address bar of my Firefox
browser:
javascript:alert(shoutboxreply.getColumnType('msg'))
Then the alert shows: string
Indicating that the shoutboxreply's msg column is a string,
not a html.
I don't know why this happens. The codes arround the
shoutboxreply.setColumnType("msg","html"); all worked. There should
be no reason for this statement not to work.
Any ideas any one?

Similar Messages

  • Loading Nested table with SQL Loader

    We have 15 nested tables in an table. Need help in creating a contol file. Tried with the syntax of object collection and didn't work. Can any none share the syntax please.
    -- Thanks,
    Phani Adusumilli

    Thanks Srini and Zoltan.
    I am able to figure out, here is the example with one nested table.
    CREATE OR REPLACE TYPE feature_count_type AS OBJECT (
    feature_type VARCHAR2(60),
    occurs INTEGER
    CREATE OR REPLACE TYPE feature_count_ntbl
    AS TABLE OF feature_count_type;
    CREATE TABLE PHANI_ADUSUMILLI(
    state VARCHAR2(2),
    county VARCHAR2(20),
    feature_count feature_count_ntbl
    ) NESTED TABLE feature_count
    STORE AS nested_feature_count_table;
    LOAD DATA
    INFILE *
    TRUNCATE INTO TABLE PHANI_ADUSUMILLI
    county CHAR TERMINATED BY ',' ENCLOSED BY '"',
    element_count FILLER INTEGER EXTERNAL TERMINATED BY ',',
    feature_count NESTED TABLE COUNT(element_count)
         dummy_name COLUMN OBJECT
         feature_type CHAR TERMINATED BY ',',
         occurs INTEGER EXTERNAL TERMINATED BY ','
    state CHAR TERMINATED BY ','
    BEGINDATA
    "Alger",5,lake,213,stream,88,falls,18,bay,11,island,5,MI
    "Marquette",6,lake,293,stream,145,falls,5,bay,8,island,5,summit,23,MI
    "Keweenaw",3,lake,86,falls,1,summit,16,MI

  • Loading Objects with SQL*Loader

    When loading a column object with SQL*Loader, is it possible to specify a column specific 'TERMINATED BY' clause in the control file?
    I've successfully defined column-level termination characters for regular columns and nested tables, but can't seem to find any way of achieving the same result with column objects.

    When loading a column object with SQL*Loader, is it possible to specify a column specific 'TERMINATED BY' clause in the control file?
    I've successfully defined column-level termination characters for regular columns and nested tables, but can't seem to find any way of achieving the same result with column objects.

  • Looping through nested datasets

    My apologies in advance if this has been asked before, but the search function on these forums doesn't appear to be working at the moment...
    Using: Spry 1.6.1
    Dreamweaver CS5
    IE 7 and 8, Firefox 4, and Chrome 10
    The question:
    I have a parent xml dataset, with two nested datasets, like this:
         var dsCourse = new Spry.Data.XMLDataSet("menu2.xml", "menu");
         var dsTopic = new Spry.Data.NestedXMLDataSet(dsCourse, "topic");
         var dsLessons = new Spry.Data.NestedXMLDataSet(dsTopic, "lesson");
    The data displays properly in the html, using regions, etc. However, when I try looping through them using javascript:
         topics = dsTopic.getData();
         for (var t = 0; t < topics.length; t++) { //loop through the topics dataset
              dsTopic.setCurrentRowNumber(t);
              var top = dsTopic.getCurrentRow();
              alert('current topic row name: ' + top["@name"]); //for debug purposes, display the topic name
              var rows = dsLessons.getData();
              for (var i = 0; i < rows.length; i++) { //loop through the lessons dataset
                        dsLessons.setCurrentRowNumber(i);
                        alert("lesson name is: " + rows[i]['name']);//display the lesson name
    It will perform both loops properly, displaying the correct information for each dataset in Firefox 4, but in IE 7 and 8, and in Chrome it will list each of the Topics correctly, but only displays the first set of lessons.
    The xml looks like:
    <topic name="Claims" default="true" complete="false">
            <lesson>
                <name>Getting Started</name>
                <score>0</score>
           </lesson>
            <lesson>
                 <name>Adding a Claim</name>
                 <score>0</score>
                 </lesson>
            <lesson>
                 <name>Adding a Claimant</name>
                <score>0</score>
            </lesson>
    <topic name="Bills" default="false" complete="false">
             <lesson>
                   <name>Bill Components</name>
                    <score>0</score>
              </lesson>
    etc.
    For what it's worth, all of the topics and lessons display properly in the html using spry regions, etc. It only appears to have an issue in javascript. And then only in IE. Is there, perhaps, a better way to do this that I'm not aware of?
    Thanks in advance!
    Jonathan

    This might help http://labs.adobe.com/technologies/spry/samples/data_region/NestedXMLDataSample.html
    Gramps

  • Problem w/ Nested Datasets and Master/Detail regions

    Hi, I'm being using spry for a couple of applications and
    really love it. This is the first time I've tried to utilize a
    nested dataset and I'm having some difficulty loading the nested
    data. I'm getting a js 'Object does not support this property or
    method' error in IE and a 'Failed to retrieve data set (dsCreds)
    for spry:repeat' in FF.
    I've tried to map examples to my application but of course
    it's slightly different. I have a master/detail region dynamically
    generated from a .php file and part of the detail region has the
    nested dataset. Maybe (hopefully) it's something obvious. I've
    broken out a test case that demonstrates what's happing - If anyone
    could take a look I would be extremely grateful!
    The .htm file is on:
    htm
    file
    The .PHP file that generates the dynamic XML is on:
    PHP
    file
    A sample .XML (generated from the .PHP file is
    Sample XML
    file
    Even without the Nested set getting generated the
    Master/Detail section works fine.
    Thanks so much for any help!
    Edit - Apologies for all the inline css - still developing
    :)

    Hi,
    The dataset name in the NestedDataSet constructor does not go
    in quotes.
    Try var dsCreds = new Spry.Data.NestedXMLDataSet(dsAgents,
    "credentials/cred");
    and see if that helps.
    Don

  • Problems with Safari Loading Sites and Photos

    For the past week (Feb. 2015) I've experience problems with Safari loading websites on my 2009 20" iMac desktop. Running version OSX Lion 10.7.3  4 GB.   Intel Duo Core 2.66 GHz
    Mac also will frequently not upload photos at websites like Yahoo News or Facebook.   It does this throughout the day.
    So, I downloaded Chrome, thinking it would be a better browser if Safari is not functioning.  Chrome is just slightly better, and when it won't load a website I get the following error message from Chrome: DNS_PROBE_FINISHED_NO_INTERNET.
    I'm debating taking the Mac to the Apple store for diagnosis or repair today, but if anyone else is experiencing similar problems, could you please offer some solutions as to what is going on.
    Thank you.
    AngieRK

    Non-responsive DNS server or invalid DNS configuration can cause long delay before webpages load - Apple Support
    Unless you have a good reason not to, you should update the OS to version 10.7.5.

  • Fail to delay load umfCommon.dll

    I was wondering if anyone could give me help at fixing my problem with the Ulead dvd movie factory for Toshiba. When I go to do a slideshow I get the error "fail to delay load umfCommon.dll. Is there any way to fix this? I would appreciate any help in the matter. I think my problem arose when my antivirus program recognized it as a virus and I deleted it. Thanks for any help.

    You can downgrade via Arch Rollback Machine and to stop pacman from upgrading you can edit the pacman.conf and add "wine" to IgnorePkg =
    Cheers
    Edit: Also, read this too: https://wiki.archlinux.org/index.php/Do … g_packages
    Last edited by thoffmeyer (2015-06-04 17:25:16)

  • My macbook air wont go past the apple screen with the loading circle.

    My Macbook air (Early 2008 edition) Boots up fine, but it stays on the apple screen with the loading circle for a few minutes and then shuts down. I did the Command+v and it always stops at the same spot with:
    disk0s2: I/0 error.
    (see picture)
    I have already tried pretty much all the commands while booting up possible, and to no avail.
    Please help.

    Sorry for delay been super busy at work - have you tried to boot to your operating sytem disc - by inserting the disc  - then power down the unit - then power it up again while holding down the C key until you see the gear start spinning.  Once it comes up - go to utilities at the top of the screen - then disc utility - then selcet your hard drive in the left hand pane and then on the right hand pane select first aid and click verify disk in the lower right hand corner - your hard drive may be failing and this test will let you know if that is the case. If so you need to backup your hard drive - replace it and put your data back on the newly placed drive.  - please let me know how the verify disc goes

  • Delay loading images when switching to different screen...

    Hi,
    I got it all to work but there's a ridiculous delay loading images for the next screen. There's only one window, but many different screens represent different states of the program.
    1st screen)This screen using JPanel to display the screen. In this screen, I overrided
    the paintComponent to draw background image. The button is triggered
    by mouseclick event which then tell the next screen to load.
    2nd screen)This screen uses Graphics2D (bufferedImage in the Engine is already
    created)to draw image onto the screen.
    1st Screen code below:
    public class LoginController extends JFrame implements Controller, ImageObserver{
         private GameEngine myEngine;
         private SpeechEngine ttsEngine;     
            private Image login;
         private JPanel main;
         private JTextField nameField;
         private JPasswordField passwordField;
         private class Background extends JPanel implements MouseListener
             private Image login;
             public Background(){
                super();   
                setOpaque(false);
                login = new ImageIcon("gfx/slogin.PNG").getImage();            
             public void paintComponent(Graphics g){
                  Graphics2D g2 = (Graphics2D) g.create();
                g2.drawImage(login, 0, 0, this);
                g2.dispose();
              public void addComponent(Container container, Component c, int x,
                                                          int y, int width, int height) {
                   c.setBounds(x,y,width,height);
                      container.add(c);             
              /* (non-Javadoc)
               * @see java.awt.event.MouseListener#mouseClicked(java.awt.event.MouseEvent)
              public void mouseClicked(MouseEvent event) {
                   int X = event.getX();
                   int Y = event.getY();
                   if (event.getButton() == MouseEvent.BUTTON1 ) {
                        if ( X >= buttonLoginX && X <= (buttonLoginX+buttonWidth)) {
                             if ( Y >= buttonY && Y <= (buttonY+buttonHeight)) {                    
                                  //will add aucthentication
                                  switchView();
                                  myEngine.startMenu();                              
                   if (event.getButton() == MouseEvent.BUTTON1 ) {
                        if (X >= buttonQuitX && X <= (buttonQuitX+buttonWidth)) {
                             if ( Y >= buttonY && Y <= (buttonY+buttonHeight) ) {
                                  System.exit(0);
        } // end Background
          * contructor
          * @param args
         public LoginController() {
              super();
              myEngine = new GameEngine(this, new Student());
              ttsEngine = new SpeechEngine();
              login = new ImageIcon("gfx/slogin.PNG").getImage();
              nameField = new JTextField();
              nameField.setFont(new Font(null, Font.BOLD, 16));
            passwordField = new JPasswordField();
            passwordField.setFont(new Font(null, Font.BOLD, 16));
            startGame();
         public void switchView(){
              this.setContentPane(myEngine);          
         * preset the screen to current width and height
         public void startGame(){
              Background mainLogin = new Background();
              mainLogin.setLayout(null);
            mainLogin.addComponent(mainLogin,nameField,buttonQuitX+5,250,230,30);   
            mainLogin.addComponent(mainLogin,passwordField,buttonLoginX-140,250,230,30);
            //load JFrame          
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            this.setContentPane(mainLogin);
            this.setSize(GameEngine.SCREEN_WIDTH, GameEngine.SCREEN_HEIGHT);       
            this.setVisible(true);    
            this.addMouseListener(mainLogin);
            this.validate(); 
            myEngine.init();
            new Thread(myEngine).start();
            new Thread(ttsEngine).start();
         public void gameStep(Graphics2D canvas){
              /*not requires anymore*/          
          * @param Images
         public boolean imageUpdate(Image img, int infoflags,int x,
                                            int y, int width, int height) {          
              return false;
         public void mouseClicked(MouseEvent event) {
              // TODO Auto-generated method stub          
              System.out.println();
          * Main
          * @param args
        public static void main(String[] args) {
             LoginController newGame = new LoginController();       
    }// end LoginController ----------------------------- 2nd screen code ------------------------------------------
    public class PreLessonController implements Controller, ImageObserver {
         private Session curSession;
         private GameEngine curEngine;
         private Image preLesson;
         private boolean initialized;
         public PreLessonController(GameEngine engine, Session s) {
              curEngine = engine;
              curSession = s;
              initialized = false;
              preLesson = new ImageIcon("gfx/preless.PNG").getImage();
         /* (non-Javadoc)
          * @see game.Controller#gameStep(java.awt.Graphics2D)
         public void gameStep(Graphics2D canvas) {  
                               // the image execute but nevers get to the screen with the code below
                               // until I resize the window screen.
              if ( !initialized )
                   canvas.clearRect(0, 0, GameEngine.SCREEN_WIDTH,GameEngine.SCREEN_HEIGHT);          
              canvas.setTransform(AffineTransform.getTranslateInstance(0, 0));
            // prepare for the prelesson screen
              canvas.clearRect(0, 0, GameEngine.SCREEN_WIDTH, GameEngine.SCREEN_HEIGHT + 20);          
              canvas.drawImage(preLesson, 0, 0, this);
              //drawing rectangular for button
              Font tmp = canvas.getFont();
              canvas.setFont(new Font(null, Font.BOLD, 24));          
              canvas.setPaint(Color.RED);
              canvas.drawRect(455, 410, 170, 40);
              canvas.drawString("START GAME", 460, 440);
              canvas.setFont(tmp);
         /* (non-Javadoc)
          * @see game.Controller#mouseClicked(java.awt.event.MouseEvent)
         public void mouseClicked(MouseEvent event) {
              // TODO Auto-generated method stub
              if (event.getButton() == MouseEvent.BUTTON1 && event.getX() >= 455
                        && event.getX() <= 625 && event.getY() >= 410
                        && event.getY() <= 450) {
                   curEngine.startGame();
    } //end prelessonController  I have been working on it for 2 hrs and can't figure out what is wrong. Like I stated above in the code, if I resize the current running window, the 2nd screen just pop up, else, I would wait for long time.
    Please help. Very appreciated.

    anyone?

  • Files appears on desktop with delay.

    Hello! All my files that I save to the desktop and screenshots appears on it with delay. It takes more than 10 minutes for them to appear. But if I copy/paste an existing file on desktop or empty the trash can the screenshots appears immediately.
    I have a lots of free RAM, no app running, and I have any idea

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) on the advice of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.evenflow.dropbox com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; BI () { $PB\ :CFBundleIdentifier "$1"; }; LC () { $2 launchctl list | awk 'NR>1 && !/0x|\.[0-9]+$|com\.apple\.(AirPortBaseStationAgent|launchctl\.(Aqua|Background|System))$/{print $3}' | grep -Fv "$1"; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"and $((l-25)) more line(s)"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/(\/Users\/)[^/]+/\1-/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps Model; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^EO]|x([^8]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm POST; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/s/^.*://p' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '/:$/{s/ *:$//;x;s/\n//;/Apple|Intel|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm Heat; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; o=; fdesetup status | grep -q On && o=On; Ps FileVault; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel log"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; bi=`egrep '\.(kext|xpc)/(Contents/)?Info.plist$' <<< "$sys" | while read i; do [[ -f "$i" ]] && BI "$i"; done`; o=`kextstat -kl | grep -Fv "$bi" | cut -c53- | cut -d\< -f1`; Pm "Kernel extensions"; li=`egrep 'Launch[AD].+\.plist$' <<< "$sys"`; jl=`while read f; do [[ -f $f ]] && $PB\ :Label $f; done <<< "$li"`$'\n'"$bi"; R && o=`LC "$jl" sudo`; Pm Daemons; o=`LC "$jl"`; Pm Agents; o=`for d in {/,}L*/Lau*; do M; done | grep -Fv "$li" | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; p=`lsbom -pfc /var/db/*/*.BSD.bom | sed -En '/peri.+\/.+\./s/^\.\/[^/]+//p'`; [[ "$b" && "$l" && "$p" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do i="$d"/Info.plist; [[ -f "$i" ]] || continue; ID=$(BI "$i") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Shared libraries"; o=`find -L {,/u*/lo*}/e*/periodic -type f -exec cksum {} \; | awk '{print $3"\t"$1}' | grep -Fv "$p" | awk '{print $1}'`; Pm "Periodic scripts"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Inserted dylibs"; o=; defaults read /Library/Preferences/com.apple.alf globalstate | grep -q 0 || o=On; Ps Firewall; o=`scutil --proxy | egrep 'Prox.+: [^0]'`; Pm Proxies; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{printf "not "; exit}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print}; /v6:/{if ($2 !~ "A") print}'`; Pm TCP/IP; [[ "$I" =~ [AW]i ]] && { o=`/S*/*/P*/*/*/*/*/airport -I | awk '/lR/{print $2}'`; o=$((o<=-87?o:0)); Ps RSSI; }; R && o=`sudo profiles -P | grep : | wc -l`; Ps Profiles; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc hosts <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "App check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`find .??* -path .Trash -prune -o -type d -name *.app -print -prune`; Pm "Hidden apps"; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font issues"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps UID; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • HT1212 My daughter's iPod touch is stuck on a blank screen with the loading circle just going around and around. I tried to restore it, but it says I have to enter the passcode. I have the passcode, but as I said, there's nothing on the screen. How do I f

    My daughter's iPod Touch is stuck on a blank screen with that loading circle thing just going around and around. She said she was trying to duplicate an app or something, and all the the apps started shaking like when you delete them. I turned the iPod off, but it never turned back on completely. I tried to restore it, but it's saying that I have to enter the passcode. But, as I said, there's nothing on the sceen excect the circle thing. Please help!!!!!

    Start at # 3
    1-  iOS: Not responding or does not turn on
    2  Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    3 If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    4  Try on another computer                            
    5  If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • I have problem with delay in serial port

    I have problem with serial port. I have connected two computers by serial port and I need to create program in Labview for transfer strings using start bits and stop bits. My problem is that my program is working quite well ...when I press start bit it starts to concatenate strings and if i press stop bits it stops...this is the purpose of this program...but problem is that it working only with delay...and need that this program dont need delay, because it can only concatenating data depends on delay from start bit....I wana solved problem with delay...I dont want using delay process in my program, but allways when I try to delete this delay it stop works correct
    here is my program

    Ok this should be simple - if I understand you correctly.
    You have the VISA session initialized with read termination character enabled.  So reading the number of bytes at port is NOT the correct way to read from the port.  Set the read number of bytes to something large (say 4096) and the read will return as soon as a termination character is received (or timeout).
    You'll need to make sure the sending device is configured to send termination character on writes (you can set that with a VISA property node)  and that you are sending the correct termination character.  The default is 0x0A (newline).
    Jeff

  • My Macbook pro keeps shutting down right after I log in. The power cord seems to be fine, so I think the computer has enough power. Right after logging in, it shows a grey background with a loading bar that loads only 1/4. Then it shuts down.

    I have had my Macbook Pro since 2011 and it has been great until now. Suddenly, I can no longer get past the grey screen just after I log in. The grey screen appears with a loading bar, and the bar get 1/4 of the way complete, then the computer shuts off. My power cord seems to be working fine because this problem still occurred after using another power cord (from another Macbook). Keyboard does not light up, and the small green lights on the left side of the computer do not light up (this is an older version and these light indicate how charged the computer is). It is using the OS X Yosemite and recently had total clearing of the hard drive as it was transferring from one owner to another, so the hard drive isn't nearly full enough to be causing this problem. I've never run into this problem before with other Macbooks.
    Help!

    Hi. When you were in the recovery drive doing permissions, did you try and run a repair of the boot drive? Did you try single user mode? Try these first and then go back and try to reinstall the operating system.When I say repair boot drive I don't mean permissions. There are both options in disk utilities.When you open disk utilities ,you will see in the left column  two drives plus possibly  a boot partition that look like an external driv. click on the second drive and in first aid use repair disk. If you still can't boot and it will not let you restore, you may have to do a clean install.   http://support.apple.com/kb/PH18869?viewlocale=en_US  

  • Issue with a load from R3 to BW 3.5

    Hi Guys,
    We are having an issue here with a load from R3 to BW 3.5 to an ODS and
    a transactional infocube.
    In a daily basis we are running loads to BW from R/3 infosets and all
    of them but one loads fine.
    The one that is having problems is actually the one that loads more
    data, therefore the infopackage is divided into two infopackages.
    In the update rule of the first ODS we are running an initial routine
    in which we are doing a RSDRD_SEL_DELETION (selective deletion) of the
    data to be loaded to both the ODS and the infocube, and is actually
    here where we got the core dump.
    Our first assumption was that maybe there was any yellow request in the
    transactional infocube avoiding the selective deletion but we have
    discarded this.
    We think that, as the only one failing is the one that divides into two
    infopackages, the problem might be that at the moment that the first is
    triying to delete the second one is loading data into the ods and there
    we get the dump.
    The question here is ¿Could this be the problem? ¿How could we
    workaround this if this is the case?
    Thanks for any suggestion.

    Hi,
    Be carefull on ODS activation, if you're using 2 infopackage and/or deleting data from an ODS which is lock for an activation, you'll occurs a dump.
    Check SM12 / ST22 / SM21 and job logs in SM37.
    And if pb still occurs for a load, debug it in start routine.
    Regards,

  • When connected to my Ford Mondeo, my ipod nano can be controlled through interface.  But after while it comes up with message 'loading data' and then freezes.  Anyone else got the issue?

    When connected to my new Ford Mondeo, my ipod nano can be controlled through user interface in car.  This worksd most of the time, but after a while if I try to change the music or search, it comes up with message 'Loading Data'.  I then have to pull out USB and reinseert, at which point it works again.  Has anyone esle expereinced this/have a solution?

    Does not matter if anyone else has this issue.  You need to contact the Ford dealership.  It's their product you are having problems with. 
    If you really want to know if anyone else has this issue, post on Ford's Mondeo message boards.  It's where the Ford car owners hang out.

Maybe you are looking for

  • While Changing the status system gives error

    Dear Experts, In Solution Manger,  While changing the status from Tcode SE38 with Program CRM_SOCM_SERVICE_REPORT system gives error. Document 8000002519 refused for technical reasons: ERROR_FREE Message no. SOCM_ACTION_LOG203 Diagnosis The status va

  • Validating a XML document and skipping new lines ??

    Hi everybody ! I'm currently developping a new application and the configuration is done within a XML file. My problem is that I'm using IP addresses and so users have to write things like this : <agentIP> 132.137.43.2 </agentIP> and I have a problem

  • Disc stuck in dead iMac

    Hi, I have a slot-loading iMac DV 400 that died quite a while ago (lightning, ouch) and it had a disc in the CD drive at the time. I have a new 2 Ghz 17" G5 now, but I want to use that disc and since the iMac is pretty dead there are no commands or t

  • How to maintain structure

    when i change datatype and length existing field , its saying error, how to change existing field datatye and size in bapi structure sincerely

  • Aperture with new iOS iPhoto App

    Is there any reason to get the new iPhoto application if using Aperture on my mac? Does it offer any viewing advantages on iPad/iPhone over the standard photos app? Can you even sync from Aperture to it? Grateful for any experiences.