DiskWarrior is telling me Property List data is damaged

DiskWarrior is telling me that "Property List data is damaged" in four .plist files in the Aperture Library.aplibrary/Database/History/Changes folder. Three say "unexpected EOF" and one says "Value missing for key inside <dict> at line 181". Is there anything I can/should do about this? Should I delete the files? Thanks.
-Ted Gocal

Just as a test I took one of my libraries that I do this sort of thing to and removed the Changes folder and ran Aperture on the library. Aperture worked fine. The library behaved just as expected.
I've never paid much attention to this folder before and it's not clear just what 'changes' they are referring to but I wouldn;t get to worked up about it. Just make sure you have good working backups (as you should have anyway) and remember the next time you run DiskWarrior you'll probably see these errors.
regards

Similar Messages

  • Etrecheck results and damaged Property List Data

    In the past couple of weeks I have discovered several problems with my (mid-2010) iMac (System: OS X 10.9.4). First of all, Safari does not automatically open when I boot my computer. Although the computer appears to work alright otherwise, I then suddenly began having problems with it failing to scan documents from my HP L7780. Having a large project requiring the scanning of hundreds of documents, I’m at a standstill until I solve this problem.
    Setup:
    1. 120GB Internal SSD with OS X (10.9.4) used as main disk with frequently used applications and documents.
    2. 1TB Internal Hard Disk with seldom used applications and documents.
    3. 1TB External Hard Disk with two partitions:
      A) Backup for 120GB Internal SSD,
      B) Backup for 1TB internal Hard Disk. (The 1TB internal Hard Disk has only 124GB. Obviously, a much better setup would be to have just one 250GB internal SSD and one external backup for that drive.)
    The problem appears to be with the software on the SSD and not the software on the internal hard drive.
    Procedures taken:
    1. Backed up SSD and reinstalled a fresh copy of OS X 10.9.4 via the Recovery partition using ⌘-R.
    2. Attempted to Repair Disk Permissions on SSD again from the Recovery partition. Printout is extremely long.
    3. Ran all the tests on TechTool Pro from the external backup. No problems found.
    4. Ran all the tests on DiskWarrior from the DiskWarrior disk on both the internal Hard Disk and the internal SSD.
    When I scanned the internal Hard Disk with DiskWarrior for files and folders for damage and potential compatibility, no problems were found.
    Concerning the internal SSD, using DiskWarrior I had to rebuild the directory several times to (supposedly) completely repair the disk. When I scanned the internal SSD for files and folders for damage and potential compatibility I FOUND A LONG LIST OF PROBLEMS. I’m listing only two (of dozens) below:
    ******************** BEGINNING OF DISKWARRIOR REPORT ********************
    DiskWarrior scanned the disk named "SSD" checking all files and folders for damage and potential compatibility
    problems.!
    Disk: "SSD"!
    The Property List data was checked in 4,846 files.!
    The Resource Data was checked in 4,623 files.!
    The maximum Folder Depth on this disk is 20. This does not exceed the maximum recommended depth.!
    Location: "Desktop"!
    File: "._browserExtentionVersion.plist"!
    Detected that Property List data is damaged and cannot be repaired.!
    Unexpected character ! at line 1!
    Location: "SSD/Users/danielbollhoefer/Library/Application Support/iSkysoft iTube Studio/ResourceForFree/5_0/
    __MACOSX/50003/BrowserExtentsions/"!
    File: "._Extensions.plist"!
    Detected that Property List data is damaged and cannot be repaired.!
    Unexpected character ! at line 1!
    Location: "SSD/Users/danielbollhoefer/Library/Application Support/iSkysoft iTube Studio/ResourceForFree/5_0/
    __MACOSX/50003/BrowserExtentsions/Safari/"!
    ******************** END OF ABBREVIATED DISKWARRIOR REPORT ********************
    I realize that some of these files are invisible, however I do have InVisible 1.2.1. In checking out some invisible folders I find that they have a white minus sign on a red circle on the bottom right corner of the folder icon which means that (apparently) I do not have Sharing & Permissions for this folder.
    QUESTION: So, how can I delete a damaged plist in this situation?
    In addition, I ran an EtreCheck. Below is a copy of the report:
    ******************** BEGINNING OF ETRECHECK REPORT ********************
    EtreCheck version: 1.9.13 (49)
    Report generated August 13, 2014 at 11:39:27 AM EDT
    Hardware Information: ?
      iMac (27-inch, Mid 2010) (Verified)
      iMac - model: iMac11,3
      1 3.2 GHz Intel Core i3 CPU: 2 cores
      16 GB RAM
    Video Information: ?
      ATI Radeon HD 5670 - VRAM: 512 MB
      iMac 2560 x 1440
    System Software: ?
      OS X 10.9.4 (13E28) - Uptime: 0 days 0:13:33
    Disk Information: ?
      WDC WD10EARX-00PASB0 disk1 : (1 TB)
      S.M.A.R.T. Status: Verified
      EFI (disk1s1) <not mounted>: 209.7 MB
      Hard Disk (disk1s2) /Volumes/Hard Disk: 999.86 GB (875.11 GB free)
      Samsung SSD 840 Series disk0 : (120.03 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      SSD (disk0s2) / [Startup]: 119.04 GB (54.41 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information: ?
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Internal Memory Card Reader
      DYMO DYMO LabelWriter 450
      Apple Computer, Inc. IR Receiver
      Apple Inc. Built-in iSight
    Gatekeeper: ?
      Mac App Store and identified developers
    Kernel Extensions: ?
      [not loaded] com.dymo.usbprinterclassdriver.kext (1.1 - SDK 10.5) Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.bombich.ccc.plist Support
      [running] com.dymo.pnpd.plist Support
      [running] com.micromat.TechToolProDaemon.plist Support
    Launch Agents: ?
      [running] com.micromat.TechToolProAgent.plist Support
    User Launch Agents: ?
      [loaded] com.adobe.ARM.[...].plist Support
      [failed] com.google.keystone.agent.plist Support
    User Login Items: ?
      iTunesHelper
      SpeechSynthesisServer
      Mail
      Safari
      xScan
      xScan
      AdobeResourceSynchronizer
    Internet Plug-ins: ?
      FlashPlayer-10.6: Version: 14.0.0.145 - SDK 10.6 Support
      Default Browser: Version: 537 - SDK 10.9
      AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 Support
      AdobePDFViewer: Version: 11.0.07 - SDK 10.6 Support
      DYMO NPAPI Addin: Version: 1.0 - SDK 10.6 Support
      Flash Player: Version: 14.0.0.145 - SDK 10.6 Outdated! Update
      QuickTime Plugin: Version: 7.7.3
      DYMO Safari Addin: Version: (null) - SDK 10.5 Support
    Safari Extensions: ?
      iTube Studio (Disabled)
      AdBlock-2 (Disabled)
      Awesome Screenshot-2 (Disabled)
      MapTricks
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
      Flash Player  Support
      TechTool Protection  Support
    Time Machine: ?
      Time Machine not configured!
    Top Processes by CPU: ?
          2% WindowServer
          2% xScan
          1% fontd
          0% coreservicesd
          0% hidd
    Top Processes by Memory: ?
      197 MB com.apple.IconServicesAgent
      115 MB TextEdit
      66 MB xScan
      66 MB mds_stores
      66 MB Safari
    Virtual Memory Information: ?
      13.34 GB Free RAM
      1.27 GB Active RAM
      225 MB Inactive RAM
      1.17 GB Wired RAM
      305 MB Page-ins
      0 B Page-outs
    ******************** END OF ETRECHECK  REPORT ********************
    When attempting to repair permissions in Disk First Aid, there are hundreds (thousands?) of entries stating that they have been repaired. However, when immediately repeating the test, I get the same report.
    Any assistance will be greatly appreciated.

    colimotl wrote:
    1. 120GB Internal SSD with OS X (10.9.4) used as main disk with frequently used applications and documents.
    2. 1TB Internal Hard Disk with seldom used applications and documents.
    I don't think it is related to your problem, but just so you know, you should only run applications from the Applications folder. There are some low-level interactions between the system and software that may be broken if applications are installed elsewhere. I know this is true for help. It could be true about other things as well. If you need to, you can use the Applications folder in your home directory instead.
    File: "._browserExtentionVersion.plist"!
    Detected that Property List data is damaged and cannot be repaired.!
    Unexpected character ! at line 1!
    Location: "SSD/Users/danielbollhoefer/Library/Application Support/iSkysoft iTube Studio/ResourceForFree/5_0/
    __MACOSX/50003/BrowserExtentsions/"!
    File: "._Extensions.plist"!
    Detected that Property List data is damaged and cannot be repaired.!
    Unexpected character ! at line 1!
    Location: "SSD/Users/danielbollhoefer/Library/Application Support/iSkysoft iTube Studio/ResourceForFree/5_0/
    __MACOSX/50003/BrowserExtentsions/Safari/"!
    ******************** END OF ABBREVIATED DISKWARRIOR REPORT ********************
    I realize that some of these files are invisible, however I do have InVisible 1.2.1. In checking out some invisible folders I find that they have a white minus sign on a red circle on the bottom right corner of the folder icon which means that (apparently) I do not have Sharing & Permissions for this folder.
    QUESTION: So, how can I delete a damaged plist in this situation?
    Those files are not damaged. Nor are the plist files. They are AppleDouble files meant for cross platform use on a non-Apple server or inside a zip file. They should never exist in this form on a Mac.
    User Login Items: ?
      iTunesHelper
      SpeechSynthesisServer
      Mail
      Safari
      xScan
      xScan
      AdobeResourceSynchronizer
    Why do you have two xScans here? Try removing everything from Mail down and see if things work better.
    When attempting to repair permissions in Disk First Aid, there are hundreds (thousands?) of entries stating that they have been repaired. However, when immediately repeating the test, I get the same report.
    Don't worry about those: Mac OS X: Disk Utility's Repair Disk Permissions messages that you can safely ignore

  • DISKWARRIOR 4 PROPERTY LIST & RESOURCE HEADER DAMAGED AND CANNOT BE REPAIRE

    Machine running funny, doing its own thing, curser
    jumping all over page when barely touched touchpad,
    running slower, programs close when using it,
    safari always closes automatically.
    Anyway, 1st I ran Diskwarrior and got two messages,
    message: File " FontValidator.plist ", Detected
    that " Property List " date is damaged and cannot be
    repaired.
    XML parser error: Encountered unexpected EOF
    Old-style plist parser error.
    Location: Macintosh
    HD/private/etc/macinit_perused.dl
    2nd message: File Printoption.rsrc
    Dectected that the resource header is damaged
    and cannot be repaired Location: Macintosh
    HD/Library/Printers/Epson/C86Series.plugin/Contents/PDEs/PrintOption.plugin/Cont ents/Resources/French.Iproj/
    Steps I did in Diskwarrior, Directory - Rebuild
    1 link file had a creation date that was
    repaired. The root creation date was repaired.
    Incorrect values in the volume information were
    repaired.
    ran hardware test. Hard drives's built in S.M.A.R.T
    diagnostics indicated the drive is functioning
    normally.
    Can you help, can I fix any of this, I did not
    delete any of these files since I have ran
    diskwarrior, in the past I may have deleted files
    that have caused this instability. Could it?
    Can it be fixed?

    Hi h,
    First, it is possible that the HD has mechanical issues that SMART cannot detect, and which could in turn cause software/OS issues. If that's the case, it's time for a new HD, but first I would install a fresh OS (see below).
    in the past I may have deleted files that have caused this instability. Could it?
    Deleting any one of thousands of OS files can wreak all kinds of havoc, most of it unpredictable. Some have names that you would never consider to be part of the OS, like "unknown."
    Can it be fixed?
    Odds are, if DW can't do, no. But I would still at least try Repair Disk while booted from your install disc. It's free and will take only a few minutes (though I wouldn't put much hope in it, no reason not to try).
    If no success, in your situation, I would back up my data files, erase/zero the HD, and install a new squeaky clean OS. Then I would have confidence that things should be back to normal, but I'd still run Repair Disk regularly for a few weeks to make sure nothing becomes corrupted again.

  • Property LIst Data Damaged

    Ever since I opened the preference file for screensavers, and inadvertently got mosaic started, my mac has acted strangely. I ran a diagnostic, and it tells me that the file "com.apple.ipotomosaic.plist is damaged and cannot be repaired. The conversion of data failed, the file is not UTF-8, or in the encoding specified in XML header if XML. I am also told that this corrupted file can cause system instability. Can I suffer a major crash? Should I back up my library (the recent work) if that file is corrupted? I have tens of thousands of photos, and am very worried. louise b

    louiseb
    Go to
    HD/Users/Your Name/Library/Preferences and put the
    com.apple.ipotomosaic.plist
    file into the trash.
    Then go on about your business. The next time you use the Photo Mosaic screensaver it will recreate the file.
    It's always good to have a backup.
    Regards
    TD

  • Build XML for Custom Nested Accordian (like Tree View Structure) for SharePoint List Data

    Expected output in Xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <TopRoot>
    - <Root id="1" Name="Department">
    - <Type id="2" Name="IT">
    - <SubType id="3" Name="Technology">
      <SubSubType id="4" Name="Sharepoint" />
      <SubSubType id="5" Name="ASP.NET" />
      <SubSubType id="6" Name="HTML 5" />
      </SubType>
      </Type>
    </Root>
    </TopRoot>
    List Details:
    list details for storing category / sub category data and code to build tree structure for the same.
    1.Create Custom List named “CategoryDetails”:
    2.Create Column “Category Name” of type single line of text. Make it as required field and check Yes for Enforce Unique values.
    3.Create column “Parent Category” of type lookup. under Additional Column Settings.
    Get information dropdown, select “CategoryDetails”.
    4.Choice column ["SRTypeName"] 1.Root,2.SRTYPE,3.SubSRTYPE, 4.SUBSUBSRTYPE
    In this column dropdown, select “Category Name”:  
    Referance:
    http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data    -fine but don't want tree view just generate xml string
    i just follwed above link it work perferfectly fine for building tree view but i don't want server control.
    Expected Result:
    My ultimate goal is to generate xml string like above format without building tree view.
    I want to generate xml using web service and using xml i could convert into nested Tree View Accordian in html.
    I developed some code but its not working to generate xml /string.
    My modified Code:
    public const string DYNAMIC_CAML_QUERY =
            "<Where><IsNull><FieldRef Name='{0}' /></IsNull></Where>";
            public const string DYNAMIC_CAML_QUERY_GET_CHILD_NODE =
            "<Where><Eq><FieldRef Name='{0}' /><Value Type='LookupMulti'>{1}</Value></Eq></Where>";
            protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                 string TreeViewStr= BuildTree();
                 Literal1.Text = TreeViewStr;
            StringBuilder sbRoot= new StringBuilder();
            protected string BuildTree()
                SPList TasksList;
                SPQuery objSPQuery;
                StringBuilder Query = new StringBuilder();
                SPListItemCollection objItems;
                string DisplayColumn = string.Empty;
                string Title = string.Empty;
                string[] valueArray = null;
                try
                    using (SPSite site = new SPSite(SPContext.Current.Web.Url))
                        using (SPWeb web = site.OpenWeb())
                            TasksList = SPContext.Current.Web.Lists["Service"];
                            if (TasksList != null)
                                objSPQuery = new SPQuery();
                                Query.Append(String.Format(DYNAMIC_CAML_QUERY, "Parent_x0020_Service_x0020_Id"));
                                objSPQuery.Query = Query.ToString();
                                objItems = TasksList.GetItems(objSPQuery);
                                if (objItems != null && objItems.Count > 0)
                                    foreach (SPListItem objItem in objItems)
                                        DisplayColumn = Convert.ToString(objItem["Title"]);
                                        Title = Convert.ToString(objItem["Title"]);
                                        int rootId=objItem["ID"].ToString();
                                        sbRoot.Append("<Root id="+rootId+"
    Name="+Title+">");
                                        string SRAndSUBSRTpe = CreateTree(Title, valueArray,
    null, DisplayColumn, objItem["ID"].ToString());
                                        sbRoot.Append(SRAndSUBSRTpe);
                                        SRType.Clear();//make SRType Empty
                                        strhtml.Clear();
                                    SRType.Append("</Root>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
             StringBuilder strhtml = new StringBuilder();
            private string CreateTree(string RootNode, string[] valueArray,
          List<SPListItem> objNodeCollection, string DisplayValue, string KeyValue)
                try
                    strhtml.Appends(GetSRType(KeyValue, valueArray, objNodeCollection);
                catch (Exception ex)
                    throw ex;
                return strhtml;
            StringBuilder SRType = new StringBuilder();
            private string GetSRType(string RootNode,
            string[] valueArray, List<SPListItem> objListItemColn)
                SPQuery objSPQuery;
                SPListItemCollection objItems = null;
                List<SPListItem> objNodeListItems = new List<SPListItem>();
                objSPQuery = new SPQuery();
                string objNodeTitle = string.Empty;
                string objLookupColumn = string.Empty;
                StringBuilder Query = new StringBuilder();
                SPList objTaskList;
                SPField spField;
                string objKeyColumn;
                string SrTypeCategory;
                try
                    objTaskList = SPContext.Current.Web.Lists["Service"];
                    objLookupColumn = "Parent_x0020_Service_x0020_Id";//objTreeViewControlField.ParentLookup;
                    Query.Append(String.Format
                    (DYNAMIC_CAML_QUERY_GET_CHILD_NODE, objLookupColumn, RootNode));
                    objSPQuery.Query = Query.ToString();
                    objItems = objTaskList.GetItems(objSPQuery);
                    foreach (SPListItem objItem in objItems)
                        objNodeListItems.Add(objItem);
                    if (objNodeListItems != null && objNodeListItems.Count > 0)
                        foreach (SPListItem objItem in objNodeListItems)
                            RootNode = Convert.ToString(objItem["Title"]);
                            objKeyColumn = Convert.ToString(objItem["ID"]);
                            objNodeTitle = Convert.ToString(objItem["Title"]);
                            SrTypeCategory= Convert.ToString(objItem["SRTypeName"]);
                           if(SrTypeCategory =="SRtYpe")
                              SRType.Append("<Type  id="+objKeyColumn+" Name="+RootNode+ ">");
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SRSubTYpe")
                              SRType.Append("<SRSubType  id="+objKeyColumn+" Name="+RootNode+
    ">");  
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SubSubTYpe")
                              SRType.Append("<SubSubType  id="+objKeyColumn+" Name="+RootNode +"
    ></SubSubType");  
                        SRType.Append("</SubType>");
                        SRType.Append("</Type>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
                // Call method again (recursion) to get the child items

    Hi,
    According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
    In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
    For example, to create or delete the ECB menu for a list item in
    "Site Content and Structure", we can follow the steps below:
    To add the “My Like” menu, we can add the code below:      
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemLike"
    runat="server"
    Text="My Like"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickNavigateUrl="https://www.google.com.hk/"
    />
    To remove the “Delete” menu, we can comment the code below:
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemDelete"
    runat="server"
    Text="<%$Resources:cms,SmtDelete%>"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickScript="%SmtObjectDeleteScript%"
    />            
    The result is as below:
    More information:
    MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
    MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • AppleScript 10.9.0 System Events -10006  Update property list file item

    Have AppleScript that runs without error on Mountain Lion 10.8.5, but errors out on Mavericks  10.9.0.
    At end of script, property list items need to be updated and this is when error occurs.
    Put together a subset of the script, see below) that get the error
    Statement reads "set value of property list item "ArrayList001" to ArrayList001"
    Text of error:
         error "System Events got an error: 'xxx.plist' is not a property list file."
         number -10006 from contents of property list file "xxx05.plist"
    =============================================================================
    property myPListFile : "cbmck05.plist"
    property myPListFilePath : ""
    property constPreviousRunDay : "PreviousRunDay"
    on run
       set today to "Date01" as string
              set List001 to {}
              set List002 to {}
              set myPListFilePath to ""
              repeat with i from 1 to 8
                        set end of List001 to (i * 2) as string
              end repeat
              set myPListFilePath to path to desktop folder from user domain as string
              set fileMyPList to (myPListFilePath & myPListFile) as string
    clear_file(fileMyPList)
    -- First time! need to initalize
              tell application "System Events"
      -- create an empty property list dictionary item
                        set the parent_dictionary to make new property list item with properties {kind:record}
      -- create new property list file using the empty dictionary list item as contents
                        set new_plistfile to ¬
      make new property list file with properties {contents:parent_dictionary, name:fileMyPList}
      make new property list item at end of property list items of contents of new_plistfile ¬
      with properties {kind:string, name:constPreviousRunDay, value:today}
      make new property list item at end of property list items of contents of new_plistfile ¬
                                  with properties {kind:list, name:"ArrayList001"}
      make new property list item at end of property list items of contents of new_plistfile ¬
                                  with properties {kind:list, name:"ArrayList002"}
              end tell
              set previousRunDate to today
              set xxList to (repopulate_lists())
              set ArrayList001 to List001
              set ArrayList002 to List002
    -- save info in the plist file
              tell application "System Events"
                        tell property list file fileMyPList
                                  tell contents
                                            set value of property list item constPreviousRunDay to previousRunDate
                                            set value of property list item "ArrayList001" to ArrayList001     --   <<< ------- error caused by the statement
                                            set value of property list item "ArrayList002" to ArrayList002
                                  end tell
                        end tell
              end tell
    end run
    -- ==========================================
    on repopulate_lists()
              set newList to {}
              set List002 to {}
              repeat with i from 1 to 8
                        set end of newList to i as string
              end repeat
              set List001 to newList
              return List001
    end repopulate_lists
    -- ==========================================
    -- Does the file exist?
    on fileExists(f)
              try
      f as string as alias
                        return true
              on error errMsg number errNum
                        return false
              end try
    end fileExists
    -- Delete the  files if exist
    on clear_file(aFile)
              if fileExists(aFile) then
                        tell application "Finder"
                                  set resultObject to delete aFile
                        end tell
              end if
    end clear_file

    Here's an AppleScript handler that partially works around this bug (warning: it turns each list item into a string).
    on plistWrite(plistPath, plistItemName, plistItemValue)
      -- version 1.1, Daniel A. Shockley
      -- 1.1 - rough work-around for Mavericks bug where using a list for property list item value wipes out data
              if class of plistItemValue is class of {"a", "b"} and AppleScript version of (system info) as number ≥ 2.3 then
      -- Convert each list item into a string and escape it for the shell command:
      -- This will fail for any data types that AppleScript cannot coerce directly into a string.
                        set plistItemValue_forShell to ""
                        repeat with oneItem in plistItemValue
                                  set plistItemValue_forShell to plistItemValue_forShell & space & quoted form of (oneItem as string)
                        end repeat
                        set shellCommand to "defaults write " & quoted form of POSIX path of plistPath & space & plistItemName & space & "-array" & space & plistItemValue_forShell
      do shell script shellCommand
                        return true
              else -- handle normally, since we aren't dealing with Mavericks list bug:
                        tell application "System Events"
      -- create an empty property list dictionary item
                                  set the parent_dictionary to make new property list item with properties {kind:record}
                                  try
                                            set plistFile to property list file plistPath
                                  on error errMsg number errNum
                                            if errNum is -1728 then
                                                      set plistFile to make new property list file with properties {contents:parent_dictionary, name:plistPath}
                                            else
                                                      error errMsg number errNum
                                            end if
                                  end try
                                  tell plistFile
                                            try
                                                      tell property list item plistItemName
                                                                set value to plistItemValue
                                                      end tell
                                            on error errMsg number errNum
                                                      if errNum is -10006 then
      make new property list item at ¬
                                                                          end of property list items of contents of plistFile ¬
      with properties ¬
                                                                          {kind:class of plistItemValue, name:plistItemName, value:plistItemValue}
                                                      else
                                                                error errMsg number errNum
                                                      end if
                                            end try
                                  end tell
                                  return true
                        end tell
              end if
    end plistWrite

  • Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.

    Hi,
    I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
    Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
    Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
    Since, I can't launch the ConnectIQ simulator app, I have this message in console :
    8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
    The data couldn’t be read because it isn’t in the correct format.
    <CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
    entries =>
      0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
      1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
    I have looked at this file and it looks like a binary plist
    bplist00ß^P^V^A^B^C^D^E^F^G^H
    ^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi    on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE    xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph    oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos    TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^    A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
    I guess it is a normal format but my system seems to be unable to read binary plist ?
    I tried some stuff with plutil
    plutil -lint Info.plist
    Info.plist: Unexpected character b at line 1
    Same for convert
    plutil -convert xml1 Info.plist
    Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
    I also try to download a fresh version of the connectIQ SDK and no changes.
    Any idea ?
    Thanks

    Step by step, how did you arrive at seeing this agreement?

  • Clearing Network Identification Property List

    How do I go about clearing the network identification property list?
    /Library/Preferences/SystemConfiguration/com.apple.network.identification.plist
    I have tried deleting it, but it always regenerates with the same data. I want the property list to just show my current network information and not previous connections.
    Thank you.

    What exactly are you trying to clear out? If you are referring to wireless networks that you previously joined then go into System Preferences/Network/AirPort/Advanced/AirPort and delete unwanted network info from the 'Preferred Networks' pane

  • Replace Property List?

    What I'd like to do is to start with a baseline property list for an application, let users add some entries, and then save that new property list as the new baseline plist.
    What I've tried is creating the plist in Xcode, opening that plist as an NSDictionary when initializing the app, converting that dict to an NSMutableDictionary, and then manipulating the mutable dict here and there (with appropriate plist classes), and then (trying) replace the previous plist with the plist written using the mutable dictionary.
    Well, this has not worked out well.
    During debugging when I read the plist as a NSDictionary, immediately converted it to a mutable dictionary, and then tried writing it back, the return value is NO indicating the file was not written because all the objects are not property list objects (but I started with a valid plist?!?)
    Any tips or direction would be appreciated (code snippets below), or is this a completely bizarre way to do it? Thanks.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>2008-09-16</key>
    <dict>
    <key>isImportant</key>
    <integer>1</integer>
    <key>amount</key>
    <integer>3</integer>
    </dict>
    <key>2008-09-17</key>
    <dict>
    <key>amount</key>
    <integer>1</integer>
    </dict>
    <key>2008-09-18</key>
    <dict>
    <key>amount</key>
    <integer>2</integer>
    </dict>
    </dict>
    </plist>
    // read the data from the plist
    NSString *thePath = [[NSBundle mainBundle] pathForResource:@"Events" ofType:@"plist"];
    dictEvents = [[NSDictionary alloc] initWithDictionary:[NSDictionary dictionaryWithContentsOfFile:thePath]];
    // convert to mutable
    mutableEventsDict = [[NSMutableDictionary dictionaryWithCapacity:dictEvents.count] retain];
    [mutableEventsDict addEntriesFromDictionary:dictEvents];
    // now try writing back the same plist
    BOOL didWrite = [mutableEventsDict writeToFile:thePath atomically:YES];
    // BOOL is NO!

    You definitely can NOT write to the resources directory. The app's Document directory is the correct place to write your file.
    But also look at the info on the 'writeToFile' method in NSDictionary. There are very specific rules about what kind of objects can be used for keys and values. If a single key or value is the wrong type in the entire dictionary, nothing will be written out.

  • Netbeans 5.5 + VWP and Object List Data Provider

    Hi there.
    I'm trying to build an Object List Data Provider as in fieldguide_08_dataProviders.
    I'm using Netbeans 5.5 + VWP
    When I try to "Configure the Table" on page 360, there are some difference.
    When I select Object List Data Provider and drop it on the Table component opens an unexpected choose for the target, then I choose tableRowgroup1.
    The JSP souce don't change and is still
    <ui:tableRowGroup binding="#{Schedule.tableRowGroup1}" id="tableRowGroup1" rows="10"
    sourceData="#{Schedule.defaultTableDataProvider}" sourceVar="currentRow">
    When I select objectListDataProvider1 the drop down opposite property list doesn't work. The button opens a selection window with no items.
    Regards.

    A better resource is http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/hibernate.html#object in conjunction with http://blogs.sun.com/LongLiveThePepper/entry/using_netbeans_visual_web_pack

  • Property list

    After using DiskWarrior to check files and folders, DW says that the Property List is damaged and cannnot be repaired.  This is in ~Library/cookies/apple.appstore.plist.  Something about the character "c" at line 1.
    Should I delete/trash the "apple.appstore.plist" preference file?
    Thanks for helping
    Ron

    Ron....
    Unless you are having problems accessing or using the  App Store, leave the .plist file where it is. Otherwise, it's safe to delete that file as your Mac will generate a new .plist file for you the next time you launch the App Store.

  • Help with how to setup property list correctly

    I am developing an iPhone application and I need a database to store data.
    Since it's small amount of data I'll go for Property List.
    But I have zero experience with it. I was hoping you could help me set it up.
    It's an app based on karate techniques required for each belt.
    Firstly I need the top category to be the belt. and a subcategory for EACH belt to be Requirements, Stances, Blocks, Hand Techniques, Foot Techniques, Kata and Kumite.
    How do I do that?

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Rows</key>
    <array>
    <dict>
    <key>Title</key>
    <string>Belt 1</string>
    <key>Children</key>
    <array>
    <dict>
    <key>Title</key>
    <string>B1 Requirements</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B1 Stances</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B1 Blocks</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B1 Hand Techniques</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B1 Foot Techniques</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B1 Kata</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B1 Kumite</string>
    </dict>
    </array>
    </dict>
    <dict>
    <key>Title</key>
    <string>Belt 2</string>
    <key>Children</key>
    <array>
    <dict>
    <key>Title</key>
    <string>B2 Requirements</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B2 Stances</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B2 Blocks</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B2 Hand Techniques</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B2 Foot Techniques</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B2 Kata</string>
    </dict>
    <dict>
    <key>Title</key>
    <string>B2 Kumite</string>
    </dict>
    </array>
    </dict>
    </array>
    </dict>
    </plist>
    Use Xcode to copy/paste more belts. Rename belts as needed.
    This is only the plist structure for drilling down and does not include details for each category beyond the items shown.
    You can't be doing any of this if you have zero experience - you'll have questions for every tiny step and unless someone builds your app for you, you'll go ahead very, very slowly.
    It is up to anyone with zero experience to spend time going thru the most basic hello world tutorials, as an example, and learn enough to be able to gain some traction on their own...this is not trivial stuff that you can just install a few tools and make what you want the next day, sorry.
    See this post for beginner resources:
    http://discussions.apple.com/thread.jspa?threadID=2218661
    - come back when you've exhausted those and need specific help untangling something or if you get confused as you progress on your own...not just in over your head at the very beginning.

  • Oject List Data Provider is not working

    I am having trouble using an Object List Data Provider.
    The Field Guide books says when I drop an Object List Data Provider,
    then select the list property, to bind it to a list, there is suppose to be an edit box to the right of the property that launches a pop up window.
    Instead I am getting an empty drop down list box, no pop up like I do get with an Object Data Provider.
    I can not even manually type in the list binding, it is frustrating.
    I have the loanBean example all set, with the loanBean showing in the outline ready for binding, but no way to bind it via the IDE.
    I tried adding the code the sets the binding, using the book example, but that does not help since the IDE still does not recognize my Object List Data Provider as a valid data source for the Table Display.
    I have been working through the Field Guide tutorials, following the instructions to the letter. I have had no problems, up till now, in chapter 8.
    I tried starting a new project from scratch, and I still have the same problem. Am I doing something wrong, or is this a known issue ?
    I have downloaded and installed all updates as of February 19th.

    Hi,
    Please go through the following blog
    http://blogs.sun.com/roller/page/winston?catname=%2FCreator
    Hope this helps
    Cheers
    Giri

  • ArticleStartDateOWSDATE missing in Managed Property list

    Hi,
    I'm using an out-of-the-box managed property "ArticleStartDateOWSDATE" in my Content Search webpart. My problem is I didn't know how this property been added in my Managed Property list under Search Service Application. When I look on the machines
    of my colleagues, they don't have that property. Do you know how this property been added in my ManagedProperty list? Thanks.
    Regards,
    Napster

    You must have created any 'Publishing Site' or activated Publishing feature which adds these field. 
    If you go to your site and check the 'Site Columns' and filter on 'Publishing Columns', you will find the 'Article Date' which get added when you activate publishing feature on the  site. And its a Site Columns so crawl creates Managed property for
    it automatically.
    Your colleague, must not have activated that feature so don't have these fields.
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • What is - error = 109: Invalid property list

    I have a Launchagent that is not launching and I have found an error on the console but I cannot find out what the error is telling me so I would be grateful for any help.
    29/11/2014 07:36:17.492 com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.user.502.100007.Aqua) Could not parse plist: path = /Users/MacName/Library/LaunchAgents/OmniFocusDailyMaintenance.plist, error = 109: Invalid property list
    Thank you for any help

    Means that the OmniFocusDailyMaintenance.plist is invalid. Contact the developer.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.1), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

Maybe you are looking for

  • Can't save pictures on original folder position after edit...since I'm upgraded to IOS7 on IPad2.

    can't save pictures on original folder position after edit, get save popup to save at different position, also still on toubles to get them back to original folder positon since I'm upgraded to IOS7 on IPad2.

  • Contacts and Calendar in Microsoft Outlook cant deleted

    Hello All , I have Microsoft Outlook 2010 and  I have multiple account on it , only I have one account active , I want to delete contacts and calendar folders of the others  accounts , when try to  delete contact or calendar folder ,the delete button

  • Sharepoint and SSRS error

    Hi I am getting the below error after deploying SSRS report into sharepoint An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'DataSource1'. (rsErrorOpeningConnection) For more information

  • 2610 LAN configuration with devices on both internal and external IPs

    I am more than a bit rusty and reconfiguring a network due the arrival of a new SBS office server. The new office server (and clients) needs to connect to the Internet via our Cisco 2610 router. The server is say 10.1.1.10 and the FastEthernet0 inter

  • Title in CMR

    Hi Friends, In CMR, general data, title field has the selection options like company, Mrs. etc........If we want to creat our own text, where do we do it. are there any configuration steps? Thanx and Regards Samatha