.txt to array

Is it possible, and how can i read a text file and make it into an array.
And on a sort of related note, if i read "user=joe" how can i assign the variable user in my program the value of joe automaticly?
Thanks,
CoW

And on a sort of related note, if i read "user=joe"
how can i assign the variable user in my program the
value of joe automaticly?you can't (unless you wanna use reflection, which is not worth the pain in this case).
as for the .txt file and the array, make an array of strings and add there every line from the file. or use ArrayList or some other List, if you don't specifically need to use arrays...

Similar Messages

  • Making the vi faster - read from txt or array or binary reading

    I prepared a vi that reads a table from txt file and find the desired values corresponding independent two variables by interpolation-attached. This via reads the txt file for each calculation. I wonder that is this process slow or enough for me. Becasue I add this via to a daq vi and I send measurement values from this via to the interpolation.vi. I acquired samples once in a sec. Or is this more convenient to read the txt once and after writing values to arrays and use these arrays as a constant (Right click array-->Data Operation-->Make current value default) in the vi? Which one is faster? And also, I wonder that instead of reading from txt file, is it a good way to convert my values in txt to binary data and read this binary values by vi? Last thing, how can I learn a vi program run-spend time?
    Egemen
    Attachments:
    interpolation1.vi ‏20 KB
    interpolation2.vi ‏29 KB
    R600a_bar_P_0,1_sat_refprop_labview.txt ‏20 KB

    nathand wrote:
    newbieeng wrote:
    Last thing, how can I learn a vi program run-spend time?
    Reordering your words a bit... Are you asking how to measure how long it takes to run your VI?  You can do this with a sequence structure (one of the few reasonable uses for them): in the first frame put a "Tick Count" or "Get Date/Time in Seconds" function.  In the next frame put your code.  In the last frame, put the same function that you placed in the first frame.  Subtract the time value in the first frame from the value in the last frame; the difference is the time it took to run your VI in milliseconds or seconds (depending on which time function you used).
    Another option is the VI Profiler, under Tools -> Performance and Memory.  Open that window, click "Start," run your code, and click "Stop."  It will report how much time it took to run your VI along with other timing information.
    Thank you nathand. I am sorry for usage of wrong order. I tried your suggestion and it works great. The first vi takes 4-6 msec. And the second one takes just 0 msec because it does not calculate anything, including just constant values.
    Egemen

  • Writing an integer array to a file...

    Okay, so I just wanna write a sorted integer array to file... but I'm having a problem or two.
    int[] array = read(new File("C:\\college work\radixsort.txt");
    radixSort(array, array.length);That text file is a list of 30 numbers.
    After the radixSort method is called the values in the text file are sorted into the correct order. Then I want to write the sorted values to a text file radixSorted.txt
    I had too many problems with printArray() so I figured this could be easier.
    I have tried FileInputStream and FileWriter but no luck.
    I don't want the answer, but just something to help point me in the right direction.
    Thank you.

    pri.println(char[] x) looks like the one I am looking for.
    I have modified the code. I've placed only the println part inside the loop now, but it's just the pri.println(char[], array) now. I'm nearrrrly there! (I think).
    try
                   PrintWriter pri = new PrintWriter(new FileWriter("C:/college work/radixsort.txt", true));
                   for (int h = 0; h < array.length; h++)
                        pri.println(char[], array);
              catch (Exception e)
                   e.printStackTrace();
                   System.out.println("No such file exists.");
              finally
                   pri.close();
              }Edited by: JayJay88 on Nov 8, 2008 1:16 PM

  • Problems defining the array for quicksort

    import java.io.*;
    import java.util.*;
    import chn.util.*;
    public class Store
              private Item [] myStore;
              public Store (String fileName) {
                   fileName = "file50.txt";
    /*          public void displayStore ()       
              public String toString () { }
              public void doSort () { }
    */          private void quickSort (Item[] lit, int lo, int hi)   // I don't exactly know what Item[ ] lit will do. please explain it for me.
              int h, l, p, t;
            if (lo < hi) { 
                l = lo;
                h = hi;
          /*      p = a[hi];     //my problem starts with the array 'a' (suppose to be item, but don't know how to modify that.
                do {
                    while ((l < h) && (a[l] <= p)) l++;
                    while ((h > l) && (a[h] >= p)) h--;
                    if (l < h) {
                        t = a[l];
                        a[l] = a[h];
                        a[h] = t;
                } while (l < h);
                t = a[l];
                a[l] = a[hi];
                a[hi] = t;
              private void loadFile (String inFileName)
                   FileInput inFile = new FileInput (inFileName = "file50.txt");
    }The array 'a' should be replaced with the array 'Item' but some how I'm getting the errors that Item's not a valid type.
    for more information, please see http://forum.java.sun.com/thread.jspa?threadID=699397&tstart=60 for more information (the original problem)

    Here is what I suggest.
    Use collections. I suggest an ArrayList. Using one array involves all sort of messy swapping around which really will make things difficult for you to grasp the basic concept of.
    So let us assume a method like this
    public void quicksort(List items)
    items is a List of Items.
    So here is how to write a quicksort
    1) If the size of the list is 1 then return the list because it is down to it's final piece and doesn't need to be sorted further
    2) Choose a pivot element of your list. The mid point is often chosen for this.
    3) Create two new Lists. One for lower elements and one for higher and equal to elements.
    4) Go through the list and use compareTo to compare the elements of the list with your pivot element. Take care to skip the pivot element. If elements are less than the pivot put them in the first list. If they are more than or equal to put them in the second list.
    5) Recursively call quicksort(list) on the sublists we made.
    6) Merge the sublists and pivot values back into one list
    7) return the merged list

  • Help with Script created to check log files.

    Hi,
    I have a program we use in our organization on multiple workstations that connect to a MS SQL 2005 database on a Virtual Microsoft 2008 r2 Server. The program is quite old and programmed around the days when serial connections were the most efficient means
    of connection to a device. If for any reason the network, virtual server or the SAN which the virtual server runs off have roughly 25% utilization or higher on its resources the program on the workstations timeout from the SQL database and drop the program
    from the database completely rendering it useless. The program does not have the smarts to resync itself to the SQL database and it just sits there with "connection failed" until human interaction. A simple restart of the program reconnects itself
    to the SQL database without any issues. This is fine when staff are onsite but the program runs on systems out of hours when the site is unmanned.
    The utilization of the server environment is more than sufficient if not it has double the recommended resources needed for the program. I am in regular contact with the support for the program and it is a known issue for them which i believe they do not
    have any desire to fix in the near future. 
    I wish to create a simple script that checks the log files on each workstation or server the program runs on and emails me if a specific word comes up in that log file. The word will only show when a connection failure has occurred.
    After the email is sent i wish for the script to close the program and reopen it to resync the connection.
    I will schedule the script to run ever 15 minutes.
    I have posted this up in a previous post about a month ago but i went on holidays over xmas and the post died from my lack or response.
    Below is what i have so far as my script. I have only completed the monitoring of the log file and the email portion of it. I had some help from a guy on this forum to get the script to where it is now. I know basic to intermediate scripting so sorry for my
    crudity if any.
    The program is called "wasteman2G" and the log file is located in \\servername\WasteMan2G\Config\DCS\DCS_IN\alert.txt
    I would like to get the email side of this script working first and then move on to getting the restart of the program running after.
    At the moment i am not receiving an error from the script. It runs and doesn't complete what it should.
    Could someone please help?
    Const strMailto = "[email protected]"
    Const strMailFrom = "[email protected]"
    Const strSMTPServer = "mrc1tpv002.XXXX.local"
    Const FileToRead = "\\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\alert.txt"
    arrTextToScanFor = Array("SVR2006","SVR2008")
    Set WshShell = WScript.CreateObject("WScript.Shell")
    Set objFSO = WScript.CreateObject("Scripting.FileSystemObject")
    Set oFile = objFSO.GetFile(FileToRead)
    dLastCreateDate = CDate(WshShell.RegRead("HKLM\Software\RDScripts\CheckTXTFile\CreateDate"))
    If oFile.DateCreated = dLastCreateDate Then
    intStartAtLine = CInt(WshShell.RegRead("HKLM\Software\RDScripts\CheckTXTFile\LastLineChecked"))
    Else
    intStartAtLine = 0
    End If
    i = 0
    Set objTextFile = oFile.OpenAsTextStream()
    Do While Not objTextFile.AtEndOfStream
    If i < intStartAtLine Then
    objTextFile.SkipLine
    Else
    strNextLine = objTextFile.Readline()
    For each strItem in arrTextToScanFor
    If InStr(LCase(strNextLine),LCase(strItem)) Then
    strResults = strNextLine & vbcrlf & strResults
    End If
    Next
    End If
    i = i + 1
    Loop
    objTextFile.close
    WshShell.RegWrite "HKLM\Software\RDScripts\CheckTXTFile\FileChecked", FileToRead, "REG_SZ"
    WshShell.RegWrite "HKLM\Software\RDScripts\CheckTXTFile\CreateDate", oFile.DateCreated, "REG_SZ"
    WshShell.RegWrite "HKLM\Software\RDScripts\CheckTXTFile\LastLineChecked", i, "REG_DWORD"
    WshShell.RegWrite "HKLM\Software\RDScripts\CheckTXTFile\LastScanned", Now, "REG_SZ"
    If strResults <> "" Then
    SendCDOMail strMailFrom,strMailto,"VPN Logfile scan alert",strResults,"","",strSMTPServer
    End If
    Function SendCDOMail( strFrom, strSendTo, strSubject, strMessage , strUser, strPassword, strSMTP )
    With CreateObject("CDO.Message")
    .Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
    .Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSMTP
    .Configuration.Fields.item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'basic
    .Configuration.Fields.item("http://schemas.microsoft.com/cdo/configuration/sendusername") = strUser
    .Configuration.Fields.item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = strPassword
    .Configuration.Fields.Update
    .From = strFrom
    .To = strSendTo
    .Subject = strSubject
    .TextBody = strMessage
    On Error Resume Next
    .Send
    If Err.Number <> 0 Then
    WScript.Echo "SendMail Failed:" & Err.Description
    End If
    End With
    End Function

    Thankyou for that link, it did help quite a bit. What i wanted was to move it to csript so i could run the wscript.echo in commandline. It all took to long and found a way to complete it via Batch. I do have a problem with my script though and you might
    be able to help.
    What i am doing is searching the log file. Finding the specific words then outputting them to an email. I havent used bmail before so thats probably my problem but then im using bmail to send me the results.
    Then im clearing the log file so the next day it is empty so that when i search it every 15 minutes its clean and only when an error occurs it will email me.
    Could you help me send the output via email using bmail or blat?
    @echo off
    echo Wasteman Logfile checker
    echo Created by: Reece Vellios
    echo Date: 08/01/2014
    findstr "SRV2006 & SRV2008" \\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\Alert.Txt > c:\log4mail.txt
    if %errorlevel%==0 C:\Documents and Settings\rvellios\Desktop\DCS Checker\bmail.exe -s mrc1tpv002.xxx.local -t [email protected] -f [email protected] -h -a "Process Dump" -m c:\log4mail.txt -c
    for %%G in (\\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\Alert.Txt) do (copy /Y nul "%%G")
    This the working script without bmail
    @echo off
    echo Wasteman Logfile checker
    echo Created by: Reece Vellios
    echo Date: 08/01/2014
    findstr "SRV2006 & SRV2008" \\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\Alert.Txt > C:\log4mail.txt
    if %errorlevel%==0 (echo Connection error)
    for %%G in (\\Mrctpv005\WasteMan2G\Config\DCS\DCS_IN\Alert.Txt) do (copy /Y nul "%%G")
    I need to make this happen:
    If error occurs at "%errorlevel%=0" then it will output the c:\log4mail.txt via smtp email using bmail.

  • What's wrong with my plist file?

    Here's my plist file
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd >
        <plist version="1.0">
        <dict>
          <key>Label</key>
          <string>com.homebrew.autoupdate</string>
          <key>ProgramArguments</key>
          <array>
            <string>/usr/local/bin/brew_up</string>
          </array>
          <key>StartInterval</key>
          <integer>86400</integer>
          <key>StandardErrorPath</key>
          <string>/usr/local/var/log/brew.log</string>
          <key>StandardOutPath</key>
          <string>/usr/local/var/log/brew.log</string>
        </dict>
        </plist>
    `/usr/local/bin/brew_up` is just a script which calls `brew update`, `brew upgrade` etc
        #!/bin/sh
        echo `date`: Start updating brew
        /usr/local/bin/brew update && /usr/local/bin/brew upgrade && /usr/local/bin/brew cleanup
        echo `date`: Finish updating brew
    Then I loaded that file by `launchctl load ~/Library/LaunchAgents/homebrew.autoupdate.plist`
    Then I tried `launchctl start com.homebrew.autoupdate`, it also worked fine.
    But the thing is, it won't start every 24 hours, as I'd expected. Actually now over 48 hours has passed, it's still not started even once. What's wrong here?
    Then I changed `StartInterval` to `StartCalendarInterval`
          <key>StartCalendarInterval</key>
          <dict>
            <key>Hour</key>
            <integer>21</integer>
          </dict>
    Then it was started indefinitely, here's the log file:
        Thu Aug 7 21:17:20 CST 2014: Finish updating brew
        Thu Aug 7 21:17:20 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:18:14 CST 2014: Finish updating brew
        Thu Aug 7 21:18:14 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:19:39 CST 2014: Finish updating brew
        Thu Aug 7 21:19:39 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:22:28 CST 2014: Finish updating brew
        Thu Aug 7 21:22:28 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:24:46 CST 2014: Finish updating brew
        Thu Aug 7 21:24:46 CST 2014: Start updating brew
        Already up-to-date.
        Thu Aug 7 21:27:03 CST 2014: Finish updating brew
        Thu Aug 7 21:27:03 CST 2014: Start updating brew
    What the h*ll?

    When I use
      <key>StartCalendarInterval</key>
      <dict>
        <key>Minute</key>
        <integer>0</integer>
        <key>Hour</key>
        <integer>21</integer>
      </dict>
    It's all good.
    What's bugging me is why StartInterval would't work. Any when I wrote a simple demo about StartInterval, it totally worked!
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd >
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>com.test.touch</string>
      <key>ProgramArguments</key>
      <array>
      <string>touch</string>
      <string>/tmp/touched.txt</string>
      </array>
      <key>StartInterval</key>
      <integer>60</integer>
    </dict>
    </plist>

  • Dreamweaver Form Won't Submit- Says Error page cannot be displayed

    My dreamweaver form won't submit because it says there is an error. Am I doing something wrong? I don't know much about forms and how they submit but I heard that in order for their to be a confirmation page I have to create a php page? Here's my code. Thanks!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Rental and Availability Information</title>
    <style type="text/css">
    <!--
    @import url("CSS Styles/ThankYou.css");
    .style18 {font-size: 16px; font-weight: bold; }
    .style21 {color: #FFFFFF}
    .style42 {
    font-size: 16px;
    color: #000000;
    font-family: Garamond;
    a:link {
    color: #000000;
    .style43 {
    font-family: Garamond;
    color: #FFFFFF;
    font-weight: bold;
    .style44 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: large;
    -->
    </style>
    <link href="CSS Styles/ActivBorder.css" rel="stylesheet" type="text/css" />
    <link href="CSS Styles/border.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style50 {
    font-family: "Goudy Old Style";
    font-weight: bold;
    font-size: 24px;
    color: #FFFFFF;
    .style57 {font-family: Verdana, Arial, Helvetica, sans-serif}
    .style58 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; }
    -->
    </style>
    </head>
    <body>
    <form id="form2" name="form2" method="post" action="inquiryreceipt.html">
      <table width="556" border="0" align="center" cellspacing="0" bgcolor="#003366" class="ImageBorder">
        <tr>
          <td colspan="3" valign="top"><div align="center" class="style50"><u>Rental and Availability Information</u></div></td>
        </tr>
        <tr>
          <td width="189"><div align="right" class="style18 style57"><span class="style21">Name:</span></div></td>
          <td colspan="2"><input name="name" type="text" id="name" size="50" maxlength="100" /></td>
        </tr>
        <tr>
          <td><div align="right" class="style18 style57"><span class="style21">Property of Interest: </span></div></td>
          <td colspan="2"><label>
            <select name="property" size="1" id="property">
              <option>Butte Creek</option>
              <option>Casa De Ladrillo</option>
              <option>Collins Island</option>
              <option>The Crosby Estate</option>
              <option>Kailua Beach</option>
              <option>Keefer Ranch</option>
              <option>Koko Head</option>
              <option>Rancho Mirage</option>
              <option>San Diego Luxury High Rise</option>
              <option>Santiago Canyon</option>
              <option>South Lake Tahoe</option>
            </select>
          </label></td>
        </tr>
        <tr>
          <td><div align="right" class="style18 style57"><span class="style21">Dates:</span></div></td>
          <td width="83" align="right" bgcolor="#003366"><div align="right" class="style58">
            <div align="right"><span class="style21">Arrival:</span></div>
          </div></td>
          <td width="270" align="left" bgcolor="#003366" class="FormBorder"><strong>
            <select name="smonth" id="smonth">
              <option>Month</option>
              <option value="January">January</option>
              <option value="February">February</option>
              <option value="March">March</option>
              <option value="April">April</option>
              <option value="May">May</option>
              <option value="June">June</option>
              <option value="July">July</option>
              <option value="August">August</option>
              <option value="Semptember">September</option>
              <option value="Octover">October</option>
              <option value="November">November</option>
              <option value="December">December</option>
            </select>
            <select name="select" id="select">
              <option>Day</option>
              <option value="1">1</option>
              <option value="2">2</option>
              <option value="3">3</option>
              <option value="4">4</option>
              <option value="5">5</option>
              <option value="6">6</option>
              <option value="7">7</option>
              <option value="8">8</option>
              <option value="9">9</option>
              <option value="10">10</option>
              <option value="11">11</option>
              <option value="12">12</option>
              <option value="13">13</option>
              <option value="14">14</option>
              <option value="15">15</option>
              <option value="16">16</option>
              <option value="17">17</option>
              <option value="18">18</option>
              <option value="19">19</option>
              <option value="20">20</option>
              <option value="21">21</option>
              <option value="22">22</option>
              <option value="23">23</option>
              <option value="24">24</option>
              <option value="25">25</option>
              <option value="26">26</option>
              <option value="27">27</option>
              <option value="28">28</option>
              <option value="29">29</option>
              <option value="30">30</option>
              <option value="31">31</option>
            </select>
            <strong><strong>
            <select name="select2" id="select2">
              <option>Year</option>
              <option value="2002">2002</option>
              <option value="2003">2003</option>
              <option value="2004">2004</option>
              <option value="2005">2005</option>
              <option value="2006">2006</option>
              <option value="2007">2007</option>
              <option value="2003">2008</option>
            </select>
            </strong></strong>      </strong>       
          <div align="left"></div>      <div align="left"></div></td>
        </tr>
        <tr>
          <td><span class="style57"></span></td>
          <td bgcolor="#003366"><div align="right" class="style58">
            <div align="right"><span class="style21">Departure:</span></div>
          </div></td>
          <td align="left" valign="middle" bgcolor="#003366" class="FormBorder"><strong>
            <select name="smonth" id="smonth">
              <option>Month</option>
              <option value="January">January</option>
              <option value="February">February</option>
              <option value="March">March</option>
              <option value="April">April</option>
              <option value="May">May</option>
              <option value="June">June</option>
              <option value="July">July</option>
              <option value="August">August</option>
              <option value="Semptember">September</option>
              <option value="Octover">October</option>
              <option value="November">November</option>
              <option value="December">December</option>
            </select>
            <select name="sday" id="sday">
              <option>Day</option>
              <option value="1">1</option>
              <option value="2">2</option>
              <option value="3">3</option>
              <option value="4">4</option>
              <option value="5">5</option>
              <option value="6">6</option>
              <option value="7">7</option>
              <option value="8">8</option>
              <option value="9">9</option>
              <option value="10">10</option>
              <option value="11">11</option>
              <option value="12">12</option>
              <option value="13">13</option>
              <option value="14">14</option>
              <option value="15">15</option>
              <option value="16">16</option>
              <option value="17">17</option>
              <option value="18">18</option>
              <option value="19">19</option>
              <option value="20">20</option>
              <option value="21">21</option>
              <option value="22">22</option>
              <option value="23">23</option>
              <option value="24">24</option>
              <option value="25">25</option>
              <option value="26">26</option>
              <option value="27">27</option>
              <option value="28">28</option>
              <option value="29">29</option>
              <option value="30">30</option>
              <option value="31">31</option>
            </select>
            <strong> <strong><strong>
            <select name="syear" id="syear">
              <option>Year</option>
              <option value="2002">2002</option>
              <option value="2003">2003</option>
              <option value="2004">2004</option>
              <option value="2005">2005</option>
              <option value="2006">2006</option>
              <option value="2007">2007</option>
              <option value="2003">2008</option>
            </select>
            </strong></strong></strong>      </strong></td>
        </tr>
        <tr>
          <td><div align="right" class="style18 style57"><span class="style21">Email:</span></div></td>
          <td colspan="2"><input name="email" type="text" id="email" size="50" maxlength="50" /></td>
        </tr>
        <tr>
          <td><div align="right" class="style18 style57"><span class="style21">Phone: </span></div></td>
          <td colspan="2"><input name="phone" type="text" id="phone" size="30" maxlength="30" /></td>
        </tr>
        <tr>
          <td height="204" valign="top" bgcolor="#003366"><div align="right" class="style18 style57"><span class="style21">Additional Info: </span></div></td>
          <td colspan="2" bgcolor="#003366"><label>
            <textarea name="info" cols="40" rows="10" id="info"></textarea>
          </label></td>
        </tr>
        <tr bgcolor="#660000" class="FormBorder">
          <td height="33" valign="middle" bgcolor="#003366"><label for="Submit"></label>
              <label for="label3"></label></td>
          <td colspan="2" align="center" valign="middle" bgcolor="#003366"><div align="left">
              <input type="reset" name="Reset" value="Clear" id="Submit" />
              <input type="submit" name="Submit" value="Submit" id="label3" />
          </div></td>
        </tr>
        <tr bgcolor="#660000" class="FormBorder">
          <td height="33" valign="middle" bgcolor="#003366"><div align="left" class="style43"><span class="style29 style44"><strong>&laquo;</strong></span> <a href="Index.html" class="style60"><span class="style61 style21"><u>HOME</u></span></a></div></td>
          <td colspan="2" align="center" valign="middle" bgcolor="#003366"> </td>
        </tr>
      </table>
      <div align="center"><span class="style42">&copy;<strong><a href="Index.html">TheBestSpots.com</a>   Phone: (800) 761-9819 Fax: (949) 851-0450 <a href="mailto:[email protected]"><br />
      [email protected]</a></strong></span>  </div>
    </form>
    </body>
    </html>

    I believe my it guys have php on their server. When I look on the internet
    to try and use the form to test it, I get the error:
    The website cannot display the page
    HTTP 500
    Most likely causes:
    The website is under maintenance.
    The website has a programming error.
    What you can try:
    Refresh the page.
    Go back to the previous page.
    Here's one php code I have linked to one of my documents:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    .ThankYou {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    border: thick dotted #660033;
    font-family: "Times New Roman", Times, serif;
    font-size: 24px;
    font-weight: bold;
    color: #660033;
    font-style: italic;
    background-color: #FFFFFF;
    .style3 {
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #000066;
    .style4 {font-size: 30px}
    a:link {
    color: #000066;
    a:visited {
    color: #000000;
    a:hover {
    color: #000000;
    a:active {
    color: #000000;
    -->
    </style>
    </head>
    <body>
    <div align="center">
      <table width="780" height="150" border="1" class="ThankYou">
        <tr>
          <td valign="middle"><div align="center">
            <p class="style4">Thank You For Submitting Your Comments!</p>
            <p>-The Best Spots<br />
              Luxury Vacation Rentals</p>
          </div></td>
        </tr>
      </table>
      <p align="left"><img src="BOPIcon copy.gif" alt="BirdOfParadise" width="36" height="36" /><span class="style3"><a href="Index.html">TheBestSpots.com </a></span></p>
    </div>
    <p>
      <?php
    $txtToAddr = '[email protected]' ;
       $txtSubj = 'Guest Comment From '. $_POST['fname'] . ' ' .  $_POST['lname'] . ' email '. $_POST['email'] . ' Property' . $_POST['property'] ;
    $txtFromAddr = $_POST['email'];
    $txtBody = $startdate = $_POST['smonth']  .  $_POST['sday'] . $_POST['syear'] . ' ' . $enddate = $_POST['emonth'] . $_POST['eday'] . $_POST['eyear'] . ' ' . $_POST['comments'] ;
       $headers = 'From: '. $txtFromAddr . "\r\n" .
        'Reply-To: ' . $txtFromAddr . "\r\n" .
        'X-Mailer: PHP/' . phpversion();
        // echo " Thank you for you request. You will be contacted within 1 business day."; 
        mail( "$txtToAddr", "$txtSubj", "$txtBody", "$headers");
    ?>
    </p>
    <p> </p>
    <p>  </p>
    </body>
    </html>
    And here's the other php code I have linked to the other:
    <?php
    $FM_VERS = "8.05";      // script version
    /* ex:set ts=4 sw=4 et:
    * FormMail PHP script from Tectite.com.  This script requires PHP 4 or later.
    * Copyright (c) 2001-2008 Root Software and Open Concepts Pty Ltd
    * (ABN 93 003 733 499), Melbourne, Australia.
    * This script is free for all use as described in the "Copying and Use" and
    * "Warranty and Disclaimer" sections below.
    * Visit us at http://www.tectite.com/ for updates and more information.
    *** If you use Tectite FormMail, please support its development and other
    *** freeware products by putting the following link on your website:
    ***  Visit www.tectite.com for free <a href="http://www.tectite.com/">form processing script</a>.
    * Author: Russell Robinson, 2nd October 2001
    * Last Modified: RR 14:07 Wed 15 August 2007
    * QVCS Version: $Revision: 1.4 $
    * Read This First
    * ~~~~~~~~~~~~~~~
    *  This script is very well documented and quite large!  It looks daunting,
    *  but really isn't.
    *  If you have experience with PHP or other scripting languages,
    *  here's what you *need* to read:
    *      - Configuration (TARGET_EMAIL & DEF_ALERT)
    *      - Creating Forms
    *  That's it!  (Alternatively, just read the Quick Start and/or
    *  Quicker Start section below).
    *  Full configuration documentation is here:
    *      http://www.tectite.com/fmdoc/index.php
    * Purpose:
    * ~~~~~~~~
    *  To accept information from an HTML form via HTTP and mail it to recipients.
    * What does this PHP script do?
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    *  On your web site, you may have one or more HTML forms that accept
    *  information from people visiting your website.  Your aim is for your
    *  website to email that information to you and/or add it to a database.
    *  FormMail performs those functions.
    * Quick Start
    * ~~~~~~~~~~~
    *  1. Edit this file and set TARGET_EMAIL for your requirements (near
    *      line 235 in this file - replace "yourhost\.com" with your mail server's
    *      name).  We also strongly recommend you set DEF_ALERT (the next
    *      configuration below TARGET_EMAIL).
    *  2. Install this file as formmail.php (or other name ending in .php)
    *     on your web server.
    *  3. Create an HTML form and:
    *      - specify a hidden field called "recipients" with the email address
    *        of the person to receive the form's results.
    *      - in the your form tag set the action attribute to
    *        the formmail.php you uploaded to your web server
    *  Once you have FormMail working, you may be interested in some advanced
    *  usage and features.  We have HOW-TO guides at www.tectite.com which
    *  describe many of the advanced processing you can do with FormMail.
    *      http://www.tectite.com/fmhowto/guides.php
    * Quicker Start
    * ~~~~~~~~~~~~~
    *  Use the FormMail Configuration Wizard here:
    *      http://www.tectite.com/wizards/fmconf.php
    *  By answering a few questions you'll get a configured FormMail and
    *  a sample HTML form ready to upload and use on your server.
    * Features
    * ~~~~~~~~
    *  For a list of features go to: http://www.tectite.com/formmailpage.php
    * Security
    * ~~~~~~~~
    *  Security is the primary concern in accepting data from your website
    *  visitors.
    *  Tectite FormMail has several security features designed into it.  Note,
    *  however, it requires configuration for your particular web site.
    * Configuration
    * ~~~~~~~~~~~~~
    *  To configure this script, go to the section titled "CONFIGURATION"
    *  (after reading the legal stuff below).
    *  There is only one mandatory setting: TARGET_EMAIL
    *  and one strongly recommended setting: DEF_ALERT
    *  Full configuration information is available here:
    *      http://www.tectite.com/fmdoc/index.php
    * Creating Forms
    * ~~~~~~~~~~~~~~
    *  Go to this URL to learn how to write HTML forms for use with
    *  Tectite FormMail: http://www.tectite.com/fmdoc/creating_forms.php
    * Copying and Use
    * ~~~~~~~~~~~~~~~
    *  Tectite FormMail is provided free of charge and may be freely distributed
    *  and used provided that you:
    *      1. keep this header, including copyright and comments,
    *         in place and unmodified; and,
    *      2. do not charge a fee for distributing it, without an agreement
    *         in writing with Root Software allowing you to do so; and,
    *      3. if you modify FormMail before distributing it, you clearly
    *         identify:
    *              a) who you are
    *              b) how to contact you
    *              c) what changes you have made
    *              d) why you have made those changes.
    * Warranty and Disclaimer
    * ~~~~~~~~~~~~~~~~~~~~~~~
    *  Tectite FormMail is provided free-of-charge and with ABSOLUTELY NO WARRANTY.
    *  It has not been verified for use in critical applications, including,
    *  but not limited to, medicine, defense, aircraft, space exploration,
    *  or any other potentially dangerous activity.
    *  By using Tectite FormMail you agree to indemnify Root Software and
    *  Open Concepts Pty Ltd, their agents, employees, directors and
    *  associated companies and businesses from any liability whatsoever.
    * We still care
    * ~~~~~~~~~~~~~
    *  If you find a bug or fault in FormMail, please report it to us.
    *  We will respond to your report and make endeavours to rectify any
    *  faults you've detected as soon as possible.
    *  To contact us please register on our forums at:
    *      http://www.tectite.com/vbforums/
    *  or view our contact information:
    *      http://www.tectite.com/contacts.php
    * Version History
    * ~~~~~~~~~~~~~~~
    *  Near the top of this file, you'll find its version. The version
    *  line looks like this:
    *       $FM_VERS = "N.MM";     /* script version ...
    *  The version history used to be located within this file.  However,
    *  starting with Version 8.00 we've moved it...
    *  You can read the complete version history of FormMail on our
    *  main website here:
    *   http://www.tectite.com/fmdoc/version_history.php
        // Capture the current date and time, for various purposes.
    $lNow = time();
    set_magic_quotes_runtime(0);        // disable this silly setting (usually not enabled)
    ini_set('track_errors',1);          // enable $php_errormsg
    $aAlertInfo = array();
    $aPHPVERSION = array();
    $sLangID = "";                      // the language ID
    $aMessages = array();               // all FormMail messages in the appropriate
                                        // language
    $bUseOldVars = IsOldVersion($aPHPVERSION);
        // seed the random number generate if not version 4.2.0 or later
    if (!IsPHPAtLeast("4.2.0"))
        mt_srand(time());
        // we set references to the appropriate arrays to handle PHP version differences
        // Session vars are selected after we start the session.
    if ($bUseOldVars)
        $aServerVars = &$HTTP_SERVER_VARS;
        $aGetVars = &$HTTP_GET_VARS;
        $aFormVars = &$HTTP_POST_VARS;
        $aFileVars = &$HTTP_POST_FILES;
        $aEnvVars = &$HTTP_ENV_VARS;
    else
        $aServerVars = &$_SERVER;
        $aGetVars = &$_GET;
        $aFormVars = &$_POST;
        $aFileVars = &$_FILES;
        $aEnvVars = &$_ENV;
    $bIsGetMethod = false;
        // If the form submission was using the GET method, switch to the
        // GET vars instead of the POST vars
    if (isset($aServerVars["REQUEST_METHOD"]) && $aServerVars["REQUEST_METHOD"] === "GET")
        $bIsGetMethod = true;
        if ($bUseOldVars)
            $aFormVars = &$HTTP_GET_VARS;
        else
            $aFormVars = &$_GET;
    if (!isset($REAL_DOCUMENT_ROOT))
        SetRealDocumentRoot();
    if (isset($aServerVars['SERVER_PORT']))
        $SCHEME = ($aServerVars['SERVER_PORT'] == 80) ? "http://" : "https://";
    else
        $SCHEME = "";
    if (isset($aServerVars['SERVER_NAME']))
        $SERVER = $aServerVars['SERVER_NAME'];
    else
        $SERVER = "";
    /* CONFIGURATION (do not alter this line in any way!!!)                      */
    * This is the *only* place where you need to modify things to use formmail.php
    * on your particular system.  This section finishes at "END OF CONFIGURATION".
    * Help for all settings can be found on our website:
    *  http://www.tectite.com/fmdoc/index.php
    * Also, above each setting is a direct URL to the help information for the
    * setting.
                /* Help: http://www.tectite.com/fmdoc/email_name.php */
    define("EMAIL_NAME","^[-a-z0-9.]+");    // the '^' is an important security feature!
                /* Help: http://www.tectite.com/fmdoc/target_email.php */
    $TARGET_EMAIL = array(EMAIL_NAME."@thebestspots\.com$");
                /* Help: http://www.tectite.com/fmdoc/def_alert.php */
    define("DEF_ALERT","[email protected]");
                /* Help: http://www.tectite.com/fmdoc/set_real_document_root.php */
    $SET_REAL_DOCUMENT_ROOT = "";       // overrides the value set by SetRealDocumentRoot function
        // override $REAL_DOCUMENT_ROOT from the $SET_REAL_DOCUMENT_ROOT value (if any)
        // Do not alter the following code (next 3 lines)!
    if (isset($SET_REAL_DOCUMENT_ROOT) && $SET_REAL_DOCUMENT_ROOT !== "")
        $REAL_DOCUMENT_ROOT = $SET_REAL_DOCUMENT_ROOT;
                /* Help: http://www.tectite.com/fmdoc/config_check.php */
    $CONFIG_CHECK = array("TARGET_EMAIL");
                /* Help: http://www.tectite.com/fmdoc/at_mangle.php */
    define("AT_MANGLE","5VLNXQL");
                /* Help: http://www.tectite.com/fmdoc/target_urls.php */
    $TARGET_URLS = array();         // default; no URLs allowed
                /* Help: http://www.tectite.com/fmdoc/head_crlf.php */
    define("HEAD_CRLF","\r\n");
                /* Help: http://www.tectite.com/fmdoc/body_lf.php */
    define("BODY_LF","\r\n");       // the new default: use this for CR+LF
    //define("BODY_LF","\n");       // the old default: just LF
                /* Help: http://www.tectite.com/fmdoc/from_user.php */
    $FROM_USER = "";                            // the default - setting not used
                /* Help: http://www.tectite.com/fmdoc/sendmail_f_option.php */
    define("SENDMAIL_F_OPTION",false);
    define("SENDMAIL_F_OPTION_LINE",__LINE__-1);    // don't modify this line!
                /* Help: http://www.tectite.com/fmdoc/fixed_sender.php */
    $FIXED_SENDER = "";
                /* Help: http://www.tectite.com/fmdoc/set_sender_from_email.php */
    define("SET_SENDER_FROM_EMAIL",false);
                /* Help: http://www.tectite.com/fmdoc/ini_set_from.php */
    define("INI_SET_FROM",false);
                /* Help: http://www.tectite.com/fmdoc/logdir.php */
    $LOGDIR = "";                           // directory for log files; empty string to
                                            // disallow log files
                /* Help: http://www.tectite.com/fmdoc/autorespondlog.php */
    $AUTORESPONDLOG = "";           // file name in $LOGDIR for the auto responder
                                    // log; empty string for no auto responder log
                /* Help: http://www.tectite.com/fmdoc/csv_file_settings.php */
    $CSVDIR = "";                       // directory for csv files; empty string to
                                        // disallow csv files
    $CSVSEP = ",";      // comma separator between fields (columns)
    $CSVINTSEP = ";";   // semicolon is the separator for fields (columns)
                        // with multiple values (checkboxes, etc.)
    $CSVQUOTE = '"';    // all fields in the CSV are quoted with this character;
                        // default is double quote.  You can change it to
                        // single quote or leave it empty for no quotes.
    //$CSVQUOTE = "'";  // use this if you want single quotes
    $CSVOPEN = "";      // set to "b" to force line terminations to be
                        // kept as $CSVLINE setting below, regardless of
                        // operating system.  Keep as empty string and
                        // leave $CSVLINE unchanged, to get text file
                        // terminations for your server's operating system.
                        // (Line feed on UNIX, carriage-return line feed on Windows).
    $CSVLINE = "\n";    // line termination for CSV files.  The default is
                        // a single line feed, which may be modified for your
                        // server's operating system.  If you want to change
                        // this value, you *must* set $CSVOPEN = "b".
                /* Help: http://www.tectite.com/fmdoc/templatedir.php */
    $TEMPLATEDIR = "";                  // directory for template files; empty string
                                        // if you don't have any templates
                /* Help: http://www.tectite.com/fmdoc/templateurl.php */
    $TEMPLATEURL = "";                  // default; no template URL
                /* Help: http://www.tectite.com/fmdoc/multiformdir.php */
    $MULTIFORMDIR = "";         // directory for multi-form template files; empty string
                                // if you're not using multi-forms
                /* Help: http://www.tectite.com/fmdoc/multiformurl.php */
    $MULTIFORMURL = "";                 // default; no multi-forms templates URL
                /* Help: http://www.tectite.com/fmdoc/authentication_settings.php */
    $AUTHENTICATE = "";
    //$AUTHENTICATE = "Basic cnVzc2VsbHI6dGVzdA==";        // example
    $AUTH_USER = "";
    $AUTH_PW = "";
                /* Help: http://www.tectite.com/fmdoc/form_ini_file.php */
    $FORM_INI_FILE = "";
                /* Help: http://www.tectite.com/fmdoc/moduledir.php */
    $MODULEDIR = ".";
                /* Help: http://www.tectite.com/fmdoc/fmcompute.php */
    $FMCOMPUTE = "fmcompute.php";
                /* Help: http://www.tectite.com/fmdoc/fmgeoip.php */
    $FMGEOIP = "fmgeoip.php";
                /* Help: http://www.tectite.com/fmdoc/advanced_templates.php */
    define("ADVANCED_TEMPLATES",false);     // set to true for advanced templates
                /* Help: http://www.tectite.com/fmdoc/limited_import.php */
    define("LIMITED_IMPORT",true);      // set to true if your database cannot
                                        // handle escaped quotes or newlines within
                                        // imported data.  Microsoft Access is one
                                        // example.
                /* Help: http://www.tectite.com/fmdoc/valid_env.php */
    $VALID_ENV = array('HTTP_REFERER','REMOTE_HOST','REMOTE_ADDR','REMOTE_USER',
                    'HTTP_USER_AGENT');
                /* Help: http://www.tectite.com/fmdoc/fileuploads.php */
    define("FILEUPLOADS",false);        // set to true to allow file attachments
                /* Help: http://www.tectite.com/fmdoc/max_file_upload_size.php */
    define("MAX_FILE_UPLOAD_SIZE",0);       // default of 0 means that other software
                                            // controls the maximum file upload size
                                            // (FormMail doesn't test the file size)
                /* Help: http://www.tectite.com/fmdoc/file_repository.php */
    $FILE_REPOSITORY = "";
                /* Help: http://www.tectite.com/fmdoc/file_mode.php */
    define("FILE_MODE",0664);     // always precede with 0 to specify octal!
                /* Help: http://www.tectite.com/fmdoc/file_overwrite.php */
    define("FILE_OVERWRITE",true);
                /* Help: http://www.tectite.com/fmdoc/next_num_file.php */
    $NEXT_NUM_FILE = "";
                /* Help: http://www.tectite.com/fmdoc/put_data_in_url.php */
    define("PUT_DATA_IN_URL",true); // set to true to place data in the URL
                                        // for bad_url redirects
                /* Help: http://www.tectite.com/fmdoc/db_see_input.php */
    define("DB_SEE_INPUT",false);       // set to true to just see the input values
                /* Help: http://www.tectite.com/fmdoc/db_see_ini.php */
    define("DB_SEE_INI",false);     // set to true to just see the ini file
                /* Help: http://www.tectite.com/fmdoc/maxstring.php */
    define("MAXSTRING",1024);           // maximum string length for a value
                /* Help: http://www.tectite.com/fmdoc/bshowmesgnumbers.php */
    $bShowMesgNumbers = false;
                /* Help: http://www.tectite.com/fmdoc/filters.php */
                /* Note for Tectite personnel: the upgrade Wizard will merge new values
                 * but be careful of $var usage and quoting in new entries.
    $FILTERS = array("encode"=>"$REAL_DOCUMENT_ROOT/cgi-bin/fmencoder -kpubkey.txt",
                    "null"=>"null",
                    "csv"=>"csv");
                /* Help: http://www.tectite.com/fmdoc/socket_filters.php */
    $SOCKET_FILTERS = array(
                     "httpencode"=>array("site"=>"YourSiteHere",
                        "port"=>80,
                        "path"=>"/cgi-bin/fmencoder",
                        "params"=>array(array("name"=>"key",
                                "file"=>"$REAL_DOCUMENT_ROOT/cgi-bin/pubkey.txt"))),
                     "sslencode"=>array("site"=>"ssl://YourSecureSiteHere",
                        "port"=>443,
                        "path"=>"/cgi-bin/fmencoder",
                        "params"=>array(array("name"=>"key",
                                "file"=>"$REAL_DOCUMENT_ROOT/cgi-bin/pubkey.txt"))),
                /* Help: http://www.tectite.com/fmdoc/filter_attribs.php */
    $FILTER_ATTRIBS = array("encode"=>"Strips,MIME=application/vnd.fmencoded,Encrypts",
                            "httpencode"=>"Strips,MIME=application/vnd.fmencoded,Encrypts",
                            "sslencode"=>"Strips,MIME=application/vnd.fmencoded,Encrypts",
                            "csv"=>"Strips,MIME=text/csv",);
                /* Help: http://www.tectite.com/fmdoc/check_for_new_version.php */
    define("CHECK_FOR_NEW_VERSION",true);
    define("CHECK_DAYS",30);
                /* Help: http://www.tectite.com/fmdoc/scratch_pad.php */
    $SCRATCH_PAD = "";
                /* Help: http://www.tectite.com/fmdoc/cleanup_time.php */
    $CLEANUP_TIME = 60;     // cleanup time in minutes
                /* Help: http://www.tectite.com/fmdoc/cleanup_chance.php */
    $CLEANUP_CHANCE = 20;     // percentage probability that cleanup will be performed
                /* Help: http://www.tectite.com/fmdoc/pear_settings.php */
    $PEAR_SMTP_HOST = "";
    $PEAR_SMTP_PORT = 25;
    $PEAR_SMTP_USER = "";
    $PEAR_SMTP_PWD = "";
                /* Help: http://www.tectite.com/fmdoc/alert_on_user_error.php */
    define("ALERT_ON_USER_ERROR",true);
                /* Help: http://www.tectite.com/fmdoc/enable_attack_detection.php */
    define("ENABLE_ATTACK_DETECTION",true);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_url.php */
    define("ATTACK_DETECTION_URL","");
                /* Help: http://www.tectite.com/fmdoc/alert_on_attack_detection.php */
    define("ALERT_ON_ATTACK_DETECTION",false);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_mime.php */
    define("ATTACK_DETECTION_MIME",true);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_dups.php */
    $ATTACK_DETECTION_DUPS = array("realname","address1","address2","country","zip",
                                    "phone","postcode","state","email");
                /* Help: http://www.tectite.com/fmdoc/attack_detection_specials.php */
    define("ATTACK_DETECTION_SPECIALS",true);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_specials.php */
    $ATTACK_DETECTION_SPECIALS_ONLY_EMAIL = array("derive_fields","required",
                        "mail_options","good_url","bad_url","good_template",
                        "bad_template");
                /* Help: http://www.tectite.com/fmdoc/attack_detection_specials.php */
    $ATTACK_DETECTION_SPECIALS_ANY_EMAIL = array("subject");
                /* Help: http://www.tectite.com/fmdoc/attack_detection_many_urls.php */
    define("ATTACK_DETECTION_MANY_URLS",0);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_many_url_fields.php */
    define("ATTACK_DETECTION_MANY_URL_FIELDS",0);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_url_patterns.php */
    $ATTACK_DETECTION_URL_PATTERNS = array(
                '(^|[^-a-z_.0-9]+)(?<!@)([-a-z0-9]+\.)+(com|org|net|biz|info|name|pro|tel|asia|cat)\b',
                '(^|[^-a-z_.0-9]+)(?<!@)([-a-z0-9]+\.)+(com{0,1}|org|net)\.[a-z][a-z]\b');
                /* Help: http://www.tectite.com/fmdoc/attack_detection_ignore_errors.php */
    define("ATTACK_DETECTION_IGNORE_ERRORS",false);
                /* Help: http://www.tectite.com/fmdoc/geoip_lic.php */
    $GEOIP_LIC = "";        // default - no GeoIP
                /* Help: http://www.tectite.com/fmdoc/zero_is_empty.php */
    define("ZERO_IS_EMPTY",false);
                /* Help: http://www.tectite.com/fmdoc/session_name.php */
    $SESSION_NAME = "";
                /* Help: http://www.tectite.com/fmdoc/hook_dir.php */
    $HOOK_DIR = "";
    /* UPGRADE CONTROL
    ** FILTERS:lt:8.04:merge:The FILTERS configuration has
    ** been modified to include some new standard filters.:
    ** FILTER_ATTRIBS:lt:8.04:no_keep:The FILTER_ATTRIBS configuration has
    ** been modified to include new information about the standard filters.:
    ** ATTACK_DETECTION_URL_PATTERNS:eq:8.02:no_keep:The ATTACK_DETECTION_URL_PATTERNS
    ** configuration has been modified to fix a bug.:
    ** FILTER_ATTRIBS:lt:4.00:no_keep:The FILTER_ATTRIBS configuration has
    ** been modified to include new information about the standard filters.:
    ** SET_REAL_DOCUMENT_ROOT:gt:4.07:copy_from=REAL_DOCUMENT_ROOT:The
    ** REAL_DOCUMENT_ROOT configuration has been renamed to SET_REAL_DOCUMENT_ROOT.:
    ** EMAIL_NAME:lt:6.01:no_keep:The EMAIL_NAME configuration has
    ** been modified to match hyphens ('-') in email addresses.:
    ** ZERO_IS_EMPTY:le:6.01:set_to=true:ZERO_IS_EMPTY has been
    ** set to a value that duplicates previous behaviour.:
    ** END OF CONTROL
    /* END OF CONFIGURATION (do not alter this line in any way!!!)               */
        // the following constants define all FormMail messages
    define('MSG_SCRIPT_VERSION',0);     // This script requires at least PHP version...
    define('MSG_END_VERS_CHK',1);       // If you're happy...
    define('MSG_VERS_CHK',2);           // A later version of FormMail is available...
    define('MSG_CHK_FILE_ERROR',3);     // Unable to create check file...
    define('MSG_UNK_VALUE_SPEC',4);     // derive_fields: unknown value specification...
    define('MSG_INV_VALUE_SPEC',5);     // derive_fields: invalid value specification...
    define('MSG_DERIVED_INVALID',6);    // Some derive_fields specifications...
    define('MSG_INT_FORM_ERROR',7);     // Internal form error...
    define('MSG_OPTIONS_INVALID',8);    // Some mail_options settings...
    define('MSG_PLSWAIT_REDIR',9);      // Please wait while you are redirected...
    define('MSG_IFNOT_REDIR',10);       // If you are not redirected...
    define('MSG_PEAR_OBJ',11);          // Failed to create PEAR Mail object...
    define('MSG_PEAR_ERROR',12);        // PEAR Mail error...
    define('MSG_NO_FOPT_ADDR',13);      // You have specified "SendMailFOption"...
    define('MSG_MORE_INFO',14);         // More information...
    define('MSG_INFO_STOPPED',15);      // Extra alert information suppressed...
    define('MSG_FM_ALERT',16);          // FormMail alert
    define('MSG_FM_ERROR',17);          // FormMail script error
    define('MSG_FM_ERROR_LINE',18);     // The following error occurred...
    define('MSG_USERDATA_STOPPED',19);  // User data suppressed...
    define('MSG_FILTERED',20);          // This alert has been filtered...
    define('MSG_TEMPLATES',21);         // You must set either TEMPLATEDIR or TEMPLATEURL...
    define('MSG_OPEN_TEMPLATE',22);     // Failed to open template...
    define('MSG_ERROR_PROC',23);        // An error occurred while processing...
    define('MSG_ALERT_DONE',24);        // Our staff have been alerted...
    define('MSG_PLS_CONTACT',25);       // Please contact us directly...
    define('MSG_APOLOGY',26);           // We apologize for any inconvenience...
    define('MSG_ABOUT_FORMMAIL',27);    // Your form submission was processed by...
    define('MSG_PREG_FAI

  • IOS File type association

    I am trying to invoke my air app when a user clicks a text file in something like drop box.  I found the following through a bit of research but when I add it into my InfoAdditions, I get an error.
    <key>CFBundleDocumentTypes</key>
    <array>
    <dict>
    <key>CFBundleTypeExtensions</key>
    <array>
    <string>txt</string>
    <string>TXT</string>
    </array>
    <key>CFBundleTypeName</key>
    <string>Text</string>
    <key>CFBundleTypeRole</key>
    <string>Editor</string>
    I am just getting started with IOS development.  What is currently in there right now is:
    <key>UIDeviceFamily</key><array><string>1</string><string>2</string><string>2</string></ar ray>
    Any thoughts?  I just want to read in text from a text file.
    Thanks

    Below is a sample to register your application for pdf files.
    <key>CFBundleDocumentTypes</key>
    <array>
    <dict>
    <key>CFBundleTypeName</key>
    <string>my pdf viewer</string>
    <key>CFBundleTypeRole</key>
    <string>Viewer</string>
    <key>LSHandlerRank</key>
    <string>Owner</string>
    <key>LSItemContentTypes</key>
    <array>
    <string>com.adobe.pdf</string>
    </array>
    </dict>
    </array>
    <key>UTExportedTypeDeclarations</key>
    <array>
    <dict>
    <key>UTTypeDescription</key>
    <string>my pdf viewer</string>
    <key>UTTypeIdentifier</key>
    <string>com.adobe.pdf</string>
    <key>UTTypeTagSpecification</key>
    <dict>
    <key>public.filename-extension</key>
    <string>pdf</string>
    <key>public.mime-type</key>
    <string>application/pdf</string>
    </dict>
    </dict>
      </array>
    CFBundleDocumentTypes registers the File Types Your App Supports, and UTExportedTypeDeclarations is required so that other applications on the system are made aware of it.
    With this in place your application will be able to handle documents attached to emails or from other applications on the system.

  • Java Process consumes my CPU - Why??

    I'm confused. I have an application where you click a button and a thread is created which loads a web page and extracts some information from it. I've posted the code below. However, after I click my button, my system practically locks up while this job is running. Anyone have any ideas why? I'm running on a PC with WindowsXP. No matter what this thing is doing, and since there is no disk access, shouldn't windows do it's thing and give the proper cpu time slice and not bog my system?? What gives??
    Thanks
         public boolean update() {
              Object[] stationNames = JGToolConfig.getStations();
              ArrayList itemData = hts.getPage("http://jossh.com/database/inventory/inventory.txt");
              Object[] array = itemData.toArray();
              for(int i=1; i< array.length; i++) {
                   StringTokenizer tokenizer = new StringTokenizer((String)array, ",");
                   String[] tokens = new String[5];
                   for(int j=0; tokenizer.hasMoreTokens() && j<5; j++) {
                        String str = tokenizer.nextToken();
                        int x = str.lastIndexOf("\n");
                        if(x>0) str = str.substring(0,x);
                        tokens[j] = str;
                   updateStation(tokens[0], tokens);     
              return true;          

    Thanks all, but please don't reply. I found the problem. I won't go into details, but as usual, the problem was some left-over code I thought I removed that was reading a file from disk a few hundred times. :-)

  • 2013 iMac incredibly slow. Etrecheck report included. Anyone help?

    My 2013 iMac has never been that swift. But now it crawls, especially while using the internet and Word. Beachballs EVERYWHERE.
    I've just got rid of some adware but is there anything else I can do, please? Here's a report from Etrecheck.
    Problem description:
    System very slow even when very little running on it.
    EtreCheck version: 2.1.8 (121)
    Report generated 28 March 2015 14:46:10 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Click the [Adware! - Remove] links for help removing adware.
    Hardware Information: ℹ️
        iMac (21.5-inch, Late 2012) (Technical Specifications)
        iMac - model: iMac13,1
        1 2.9 GHz Intel Core i5 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce GT 650M - VRAM: 512 MB
            iMac 1920 x 1080
    System Software: ℹ️
        OS X 10.10.2 (14C1514) - Time since boot: 0:12:25
    Disk Information: ℹ️
        APPLE HDD ST1000LM024 disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 999.35 GB (383.31 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        VIA Labs, Inc. USB3.0 Hub
            VIA Labs, Inc. USB3.0 Hub
        Western Digital My Book 1144 4 TB
            EFI (disk1s1) <not mounted> : 210 MB
            My Book Studio (disk1s2) /Volumes/My Book Studio : 4.00 TB (3.15 TB free)
        VIA Labs, Inc. USB2.0 Hub
            VIA Labs, Inc. USB2.0 Hub
        Todos Data System AB Handelsbanken card reader
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Anywhere
    Adware: ℹ️
        Geneio [Adware! - Remove]
    Kernel Extensions: ℹ️
            /Library/Extensions
        [not loaded]    foo.tap (1.0) [Click for support]
        [not loaded]    foo.tun (1.0) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.paceap.kext.pacesupport.master (5.9 - SDK 10.6) [Click for support]
        [not loaded]    com.rogueamoeba.InstantOn (6.0.1 - SDK 10.6) [Click for support]
        [not loaded]    com.tomtom.driver.UsbEthernetGadget (1.0.0d1) [Click for support]
        [not loaded]    com.wdc.driver.1394HP (1.0.11 - SDK 10.4) [Click for support]
        [not loaded]    com.wdc.driver.1394_64HP (1.0.1 - SDK 10.6) [Click for support]
        [not loaded]    com.wdc.driver.USBHP (1.0.11) [Click for support]
        [loaded]    com.wdc.driver.USB_64HP (1.0.0 - SDK 10.6) [Click for support]
            /System/Library/Extensions/InstantOn.kext/Contents/PlugIns
        [not loaded]    com.rogueamoeba.InstantOnCore (6.0.1 - SDK 10.6) [Click for support]
            /System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns
        [not loaded]    com.paceap.kext.pacesupport.leopard (5.9 - SDK 10.4) [Click for support]
        [not loaded]    com.paceap.kext.pacesupport.panther (5.9 - SDK 10.-1) [Click for support]
        [loaded]    com.paceap.kext.pacesupport.snowleopard (5.9 - SDK 10.6) [Click for support]
        [not loaded]    com.paceap.kext.pacesupport.tiger (5.9 - SDK 10.4) [Click for support]
            /Users/[redacted]/Downloads/Viscosity 2.app
        [not loaded]    com.viscosityvpn.Viscosity.tap (1.0) [Click for support]
        [not loaded]    com.viscosityvpn.Viscosity.tun (1.0) [Click for support]
    Startup Items: ℹ️
        tap: Path: /Library/StartupItems/tap
        tun: Path: /Library/StartupItems/tun
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [running]    com.babylon.activation.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.rosettastone.rosettastonedaemon.plist [Click for support]
        [running]    com.tvmobili.artwork.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [running]    com.tvmobili.tvmobilisvcd.plist [Click for support]
        [loaded]    com.westerndigital.ErasePrivilegedHelper.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
        [loaded]    PACESupport.plist [Click for support]
    User Launch Agents: ℹ️
        [failed]    com.amazon.cloud-player.plist [Click for support] [Click for details]
        [running]    com.amazon.music.plist [Click for support]
        [loaded]    com.genieo.completer.download.plist  [Adware! - Remove]
        [loaded]    com.genieo.completer.ltvbit.plist  [Adware! - Remove]
        [running]    com.genieo.completer.update.plist  [Adware! - Remove]
        [loaded]    com.pia.pia_manager.plist [Click for support]
        [running]    com.spigot.SearchProtection.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
        [loaded]    com.valvesoftware.steamclean.plist [Click for support]
    User Login Items: ℹ️
        Steam    Application  (/Applications/Steam.app)
        Firefox    Application  (/Applications/Firefox.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        Spotify    Application Hidden (/Applications/Spotify.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 2.4.4.2 [Click for support]
        VLC Plugin: Version: 1.0.5 [Click for support]
        AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        WidevineMediaOptimizer: Version: 6.0.0.12757 - SDK 10.7 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        QuickTime Plugin: Version: 7.7.3
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 11.0.07 - SDK 10.6 [Click for support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.7
        JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
    Safari Extensions: ℹ️
        Searchme  [Adware! - Remove]
        iTube Studio
        Slick Savings  [Adware! - Remove]
        iMedia Converter Deluxe 
        Amazon Shopping Assistant  [Adware! - Remove]
        Ebay Shopping Assistant  [Adware! - Remove]
    Audio Plug-ins: ℹ️
        EcammAudioLoader: Version: 1.0.3 - SDK 10.8 [Click for support]
        CallRecorder: Version: v2.5.13 - SDK 10.8 [Click for support]
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Growl  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 999.35 GB Disk used: 616.04 GB
        Destinations:
            My Book Studio [Local]
            Total size: 4.00 TB
            Total number of backups: 103
            Oldest backup: 2013-12-10 14:05:43 +0000
            Last backup: 2015-03-27 22:22:32 +0000
            Size of backup disk: Excellent
                Backup size 4.00 TB > (Disk size 999.35 GB X 3)
    Top Processes by CPU: ℹ️
             2%    firefox
             2%    coreaudiod
             2%    WindowServer
             1%    mds
             1%    lsregister
    Top Processes by Memory: ℹ️
        550 MB    firefox
        241 MB    Finder
        137 MB    WindowServer
        103 MB    Dropbox
        103 MB    ocspd
    Virtual Memory Information: ℹ️
        4.03 GB    Free RAM
        2.75 GB    Active RAM
        826 MB    Inactive RAM
        988 MB    Wired RAM
        1.69 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 28, 2015, 02:41:12 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/cloudd_2015-03-28-144112_[reda cted].crash
        Mar 28, 2015, 02:31:42 PM    Self test - passed
        Mar 27, 2015, 11:20:07 PM    /Library/Logs/DiagnosticReports/JavaApplicationStub_2015-03-27-232007_[redacted ].hang
        Mar 26, 2015, 03:02:09 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/SearchProtection_2015-03-26-15 0209_[redacted].crash
        Mar 26, 2015, 03:02:07 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/SearchProtection_2015-03-26-15 0207_[redacted].crash
        Mar 25, 2015, 07:32:49 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/cloudd_2015-03-25-193249_[reda cted].crash
        Mar 25, 2015, 07:26:35 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/cloudd_2015-03-25-192635_[reda cted].crash
        Mar 25, 2015, 07:20:21 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/cloudd_2015-03-25-192021_[reda cted].crash
        Mar 26, 2015, 06:15:15 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/cloudd_2015-03-26-181515_[reda cted].crash
        Mar 26, 2015, 10:19:02 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/plugin-container_2015-03-26-10 1902_[redacted].crash

    Start time: 16:43:22 03/28/15
    Revision: 1308
    Model Identifier: iMac13,1
    System Version: OS X 10.10.2 (14C1514)
    Kernel Version: Darwin 14.1.0
    Time since boot: 1:47
    UID: 501
    USB
        My Book 1144 (Western Digital Technologies, Inc.)
        USB3.0 Hub (VIA Labs, Inc.)
        USB3.0 Hub (VIA Labs, Inc.)
        Handelsbanken card reader (Todos Data System AB)
        USB2.0 Hub (VIA Labs, Inc.)
        USB2.0 Hub (VIA Labs, Inc.)
    Bluetooth
        Apple Magic Mouse
        Apple Wireless Keyboard
    Activity
        en1: in 486, out 106 (KiB/s)
    CPU usage (%)
        JavaApplicationS (UID 501): 32.3
        firefox (UID 501): 18.2
    Net in (Mb/s)
        JavaApplication (UID 501): 13
    I/O wait time (ms/s)
        system_profiler (UID 501): 72
    I/O requests (KiB/s)
        launchd (UID 0): 4150
    System errors (per sec)
        JavaApplication (UID 501, error 35): 854
        steam_osx (UID 501, error 35): 204
        JavaApplication (UID 501, error 316): 178
        steam_osx (UID 501, error 60): 124
    Energy (lifetime)
        JavaApplicationStub (UID 501): 19.83
        kernel_task (UID 0): 18.80
        firefox (UID 501): 7.08
    Energy (sampled)
        kernel_task (UID 0): 14.26
        JavaApplicationStub (UID 501): 9.00
    Listeners
        kdc: kerberos
        launchd: afpovertcp
    System caches/logs
        2.5 GiB: /System/Library/Caches/com.apple.coresymbolicationd/data
    Diagnostic reports
        2015-03-07 cloudd crash x3
        2015-03-07 firefox hang x2
        2015-03-07 plugin-container crash
        2015-03-08 LegacyFileVaultMessageTracer crash
        2015-03-11 cloudd crash
        2015-03-11 plugin-container crash
        2015-03-12 firefox hang
        2015-03-12 plugin-container crash
        2015-03-13 plugin-container crash
        2015-03-14 cloudd crash
        2015-03-14 plugin-container crash
        2015-03-15 Finder hang
        2015-03-15 LegacyFileVaultMessageTracer crash
        2015-03-15 firefox hang x2
        2015-03-15 plugin-container crash
        2015-03-19 osascript hang
        2015-03-20 garcon crash
        2015-03-24 node-webkit Helper crash
        2015-03-25 Mail crash
        2015-03-26 cloudd crash x3
        2015-03-27 SearchProtection crash x2
        2015-03-27 cloudd crash
        2015-03-27 plugin-container crash
        2015-03-28 JavaApplicationStub hang
        2015-03-28 cloudd crash
    HID errors: 3
    Kernel log
        Mar 26 10:42:13 PM notification timeout (pid 323, HP Scan 3)
        Mar 26 14:43:23 Limiting closed port RST response from 491 to 250 packets per second
        Mar 26 14:50:17 firefox (map: 0xffffff8029dea2d0) triggered DYLD shared region unnest for map: 0xffffff8029dea2d0, region 0x7fff85800000->0x7fff85a00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Mar 26 14:50:21 firefox (map: 0xffffff80291f6870) triggered DYLD shared region unnest for map: 0xffffff80291f6870, region 0x7fff85800000->0x7fff85a00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Mar 26 15:02:09 firefox (map: 0xffffff8026c172d0) triggered DYLD shared region unnest for map: 0xffffff8026c172d0, region 0x7fff85800000->0x7fff85a00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Mar 26 15:18:07 PM notification timeout (pid 166, com.apple.ifdrea)
        Mar 26 15:18:07 PM notification timeout (pid 323, HP Scan 3)
        Mar 26 16:22:27 IOAudioStream[0xffffff8015982200]::clipIfNecessary() - Error: counted 1 clip more than one buffer ahead errors.
        Mar 26 21:51:28 Limiting closed port RST response from 449 to 250 packets per second
        Mar 26 22:07:29 Limiting closed port RST response from 1504 to 250 packets per second
        Mar 26 22:09:29 decmpfs.c:1415:decmpfs_read_compressed: cluster_copy_upl_data err 14
        Mar 26 22:09:29 decmpfs.c:1439:decmpfs_read_compressed: err 14
        Mar 26 22:12:19 decmpfs.c:1415:decmpfs_read_compressed: cluster_copy_upl_data err 14
        Mar 26 22:12:19 decmpfs.c:1439:decmpfs_read_compressed: err 14
        Mar 27 10:59:20 IOAudioStream[0xffffff8015982200]::clipIfNecessary() - Error: counted 1 clip more than one buffer ahead errors.
        Mar 27 12:59:50 (map: 0xffffff8028868c30) triggered DYLD shared region unnest for map: 0xffffff8028868c30, region 0x7fff8da00000->0x7fff8dc00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Mar 27 20:33:00 4630f0) triggered DYLD shared region unnest for map: 0xffffff80284630f0, region 0x7fff8da00000->0x7fff8dc00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Mar 28 14:32:51 TLV Error:
        Mar 28 14:32:51 IO80211AWDLPeerManager::updateLocalRequests can't allocate service descriptor for add len 25 type 2 Tlv Error
        Mar 28 14:34:24 firefox (map: 0xffffff801c6c3e10) triggered DYLD shared region unnest for map: 0xffffff801c6c3e10, region 0x7fff8bc00000->0x7fff8be00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Mar 28 14:40:19 Limiting closed port RST response from 397 to 250 packets per second
        Mar 28 14:57:17 TLV Error:
        Mar 28 14:57:17 IO80211AWDLPeerManager::updateLocalRequests can't allocate service descriptor for add len 25 type 2 Tlv Error
        Mar 28 14:58:08 firefox (map: 0xffffff80140f33c0) triggered DYLD shared region unnest for map: 0xffffff80140f33c0, region 0x7fff84c00000->0x7fff84e00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Mar 28 15:14:11 PM notification timeout (pid 163, com.apple.ifdrea)
    System log
        Mar 28 14:58:31 syncdefaultsd: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:58:32 syncdefaultsd: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:58:47 syncdefaultsd: ApplePushService: Connection timed out trying to communicate with apsd
        Mar 28 14:59:06 askpermissiond: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:07 askpermissiond: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:08 askpermissiond: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:09 SocialPushAgent: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:09 askpermissiond: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:10 SocialPushAgent: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:10 askpermissiond: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:11 SocialPushAgent: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:11 askpermissiond: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:12 SocialPushAgent: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 14:59:12 AddressBookSourceSync: ApplePushService: Timed out making blocking call, failed to perform call via XPC connection to 'com.apple.apsd'
        Mar 28 15:00:21 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Steam" for over 1.00 seconds. Server has re-enabled them.
        Mar 28 15:05:55 cloudd: Stream 0x7ff8835e1e30 is sending an event before being opened
        Mar 28 15:06:18 cloudd: Stream 0x7ff8835f66e0 is sending an event before being opened
        Mar 28 16:09:23 WindowServer: CGXGetConnectionProperty: Invalid connection 56847
        Mar 28 16:12:25 fseventsd: Logging disabled completely for device:1: /Volumes/Recovery HD
        Mar 28 16:21:56 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
        Mar 28 16:22:33 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Mail" for over 1.00 seconds. Server has re-enabled them.
        Mar 28 16:24:23 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Vuze" for over 1.00 seconds. Server has re-enabled them.
        Mar 28 16:24:41 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 28 16:24:41 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 28 16:32:30 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
    Loaded kernel extensions
        com.paceap.kext.pacesupport.snowleopard (5.9)
        com.wdc.driver.USB_64HP (1.0.0)
    System services loaded
        com.adobe.fpsaud
        com.apple.Kerberos.kdc
        -    status: 1
        com.apple.dpd
        -    status: 75
        com.apple.watchdogd
        com.google.keystone.daemon
        com.microsoft.office.licensing.helper
        com.paceap.pacesupport
        com.tvmobili.tvmobilisvcd
        com.westerndigital.ErasePrivilegedHelper
        org.macosforge.xquartz.privileged_startx
    System services disabled
        com.apple.mrt
    Login services loaded
        com.amazon.cloud-player
        -    status: 78
        com.amazon.music
        com.apple.mrt.uiagent
        com.babylon.activation
        com.google.keystone.system.agent
        com.pia.pia_manager
        com.rosettastone.rosettastonedaemon
        com.spotify.webhelper
        com.tvmobili.artwork
        com.valvesoftware.steamclean
        org.macosforge.xquartz.startx
    Login services disabled
        com.genieo.completer.ltvbit
        com.spigot.SearchProtection
        com.genieo.completer.download
        com.genieo.completer.update
        com.viber.osx
    User services loaded
        com.valvesoftware.steam.ipctool
    User services disabled
        com.genieo.completer.ltvbit
        com.spigot.SearchProtection
        com.genieo.completer.download
        com.genieo.completer.update
        com.viber.osx
    Startup items
        /Library/StartupItems/tap/StartupParameters.plist
        /Library/StartupItems/tap/tap
        /Library/StartupItems/tun/StartupParameters.plist
        /Library/StartupItems/tun/tun
    User login items
        Steam
        -    /Applications/Steam.app
        Firefox
        -    /Applications/Firefox.app
        Dropbox
        -    /Applications/Dropbox.app
        Spotify
        -    /Applications/Spotify.app
    Safari extensions
        Amazon Shopping Assistant
        -    com.spigot.safari.amazonshopassist
        Ebay Shopping Assistant
        -    com.spigot.safari.ebayshopassist
        iMedia Converter Deluxe 
        -    com.wondershare.iskyvc
        iTube Studio
        -    com.wondershare.safari.itubestudio
        Searchme
        -    com.spigot.safari.searchme
        Slick Savings
        -    com.spigot.safari.slicksavings
    Firefox extensions
        Clipple
    Widgets
        HP Ink Widget
    iCloud errors
        cloudd        87
    Continuity errors
        sharingd        24
    Restricted files: 243
    Lockfiles: 31
    High file counts
        Desktop: 758
    Contents of /Library/LaunchAgents/com.babylon.activation.plist
        -    mod date: May 15 14:30:14 2012
        -    size (B): 620
        -    checksum: 2983079625
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.babylon.activation</string>
            <key>MachServices</key>
            <dict>
                <key>com.babylon.activation</key>
                <true/>
            </dict>
            <key>KeepAlive</key>
            <true/>
            <key>OnDemand</key>
            <false/>
            <key>RunAtLoad</key>
            <true/>
            <key>Disabled</key>
            <false/>
            <key>ProgramArguments</key>
            <array>
                <string>/Library/Application Support/Babylon/Babylon Activation.app/Contents/MacOS/Babylon Activation</string>
            </array>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.rosettastone.rosettastonedaemon.plist
        -    mod date: Mar  4 10:29:31 2013
        -    size (B): 662
        -    checksum: 49023104
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
            <dict>
                <key>Label</key>
                <string>com.rosettastone.rosettastonedaemon</string>
                <key>TimeOut</key>
                <integer>5</integer>
                <key>KeepAlive</key>
                <true/>
                <key>RunAtLoad</key>
                <true/>
                <key>ProgramArguments</key>
                <array>
                    <string>/Library/Application Support/RosettaStoneDaemon/bin/RosettaStoneDaemon</string>
                    <string>--config</string>
                    <string>/Library/Application Support/RosettaStoneDaemon/bin/RosettaStoneDaemonConfiguration.txt</string>
                </array>
            </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.tvmobili.artwork.plist
        -    mod date: Oct  4 18:21:22 2013
        -    size (B): 550
        -    checksum: 3654463100
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.tvmobili.artwork</string>
            <key>KeepAlive</key>
            <true/>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>RunAtload</key>
            <true/>
            <key>OnDemand</key>
            <false/>
            <key>ProgramArguments</key>
            <array>
                <string>/Applications/TVMOBiLi.app/Contents/MacOS/tvmobiliqlhandler</string>
            </array>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
        -    mod date: Aug 11 23:52:54 2014
        -    size (B): 721
        -    checksum: 2451978492
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
                <string>org.macosforge.xquartz.startx</string>
            <key>ProgramArguments</key>
                <array>
                    <string>/opt/X11/lib/X11/xinit/launchd_startx</string>
                    <string>/opt/X11/bin/startx</string>
                    <string>--</string>
                    <string>/opt/X11/bin/Xquartz</string>
                </array>
            <key>Sockets</key>
                <dict>
                    <key>org.macosforge.xquartz:0</key>
                        <dict>
                            <key>SecureSocketWithKey</key>
                                <string>DISPLAY</string>
                        </dict>
                </dict>
            <key>ServiceIPC</key>
                <true/>
            <key>EnableTransactions</key>
                <true/>
        ...and 2 more line(s)
    Contents of /Library/LaunchDaemons/PACESupport.plist
        -    mod date: Jul 11 09:00:00 2012
        -    size (B): 450
        -    checksum: 1658798800
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
                 "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
            <dict>
                <key>Label</key>
                <string>com.paceap.pacesupport</string>
                <key>ProgramArguments</key>
                <array>
                    <string>/System/Library/Extensions/PACESupportFamily.kext/Contents/Resources/pa ceload</string>
                </array>
                <key>RunAtLoad</key>
                <true/>
            </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.tvmobili.tvmobilisvcd.plist
        -    mod date: Oct  4 18:21:23 2013
        -    size (B): 554
        -    checksum: 3447834319
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.tvmobili.tvmobilisvcd</string>
            <key>KeepAlive</key>
            <true/>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>RunAtload</key>
            <true/>
            <key>OnDemand</key>
            <false/>
            <key>ProgramArguments</key>
            <array>
                <string>/Applications/TVMOBiLi.app/Contents/MacOS/tvmobilisvcd</string>
                <string>/run</string>
            </array>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.westerndigital.ErasePrivilegedHelper.plist
        -    mod date: Dec 10 11:21:27 2013
        -    size (B): 805
        -    checksum: 2855540152
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.westerndigital.ErasePrivilegedHelper</string>
            <key>OnDemand</key>
            <true/>
            <key>ProgramArguments</key>
            <array>
                <string>/Library/PrivilegedHelperTools/com.westerndigital.ErasePrivilegedHelper </string>
            </array>
            <key>ServiceIPC</key>
            <true/>
            <key>Sockets</key>
            <dict>
                <key>MasterSocket</key>
                <dict>
                    <key>SockFamily</key>
                    <string>Unix</string>
                    <key>SockPathMode</key>
                    <integer>438</integer>
                    <key>SockPathName</key>
                    <string>/var/run/com.westerndigital.ErasePrivilegedHelper.socket</string>
                    <key>SockType</key>
        ...and 5 more line(s)
    Contents of /private/etc/ssh_config
        -    mod date: Dec 15 18:17:26 2014
        -    size (B): 3957
        -    checksum: 2841432291
         Host *
           SendEnv LANG LC_*
        Host *
            XAuthLocation /opt/X11/bin/xauth
    Contents of /private/etc/sshd_config
        -    mod date: Dec 15 18:17:26 2014
        -    size (B): 4161
        -    checksum: 2518667249
        SyslogFacility AUTHPRIV
        AuthorizedKeysFile    .ssh/authorized_keys
        UsePrivilegeSeparation sandbox        # Default for new installations.
        AcceptEnv LANG LC_*
        Subsystem    sftp    /usr/libexec/sftp-server
        XAuthLocation /opt/X11/bin/xauth
    Contents of Library/LaunchAgents/com.amazon.cloud-player.plist
        -    mod date: Dec 10 13:43:42 2013
        -    size (B): 462
        -    checksum: 2707474481
        <?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>EnableTransactions</key>
            <false/>
            <key>KeepAlive</key>
            <true/>
            <key>Label</key>
            <string>com.amazon.cloud-player</string>
            <key>Program</key>
            <string>/Applications/Amazon Cloud Player.app/Contents/MacOS/Amazon Music Helper</string>
            <key>RunAtLoad</key>
            <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.amazon.music.plist
        -    mod date: Dec  3 11:06:52 2014
        -    size (B): 448
        -    checksum: 3668832669
        <?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>EnableTransactions</key>
            <false/>
            <key>KeepAlive</key>
            <true/>
            <key>Label</key>
            <string>com.amazon.music</string>
            <key>Program</key>
            <string>/Applications/Amazon Music.app/Contents/MacOS/Amazon Music Helper</string>
            <key>RunAtLoad</key>
            <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.pia.pia_manager.plist
        -    mod date: Nov 18 14:23:14 2014
        -    size (B): 502
        -    checksum: 2474814993
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
          <key>Label</key>
          <string>com.pia.pia_manager</string>
          <key>Program</key>
          <string>/Users/USER/.pia_manager/pia_manager.app/Contents/MacOS/runner.sh</stri ng>
          <key>ProgramArguments</key>
          <array><string>runner.sh</string><string>--startup</string></array>
          <key>RunAtLoad</key>
          <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.spotify.webhelper.plist
        -    mod date: Mar 28 14:58:12 2015
        -    size (B): 539
        -    checksum: 3954417563
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
         <key>Label</key>
         <string>com.spotify.webhelper</string>
         <key>KeepAlive</key>
         <dict>
          <key>NetworkState</key>
          <true/>
         </dict>
         <key>RunAtLoad</key>
         <true/>
         <key>Program</key>
         <string>/Users/USER/Library/Application Support/Spotify/SpotifyWebHelper</string>
         <key>SpotifyPath</key>
         <string>/Applications/Spotify.app</string></dict>
        </plist>
    Contents of Library/LaunchAgents/com.valvesoftware.steamclean.plist
        -    mod date: Mar 28 14:58:13 2015
        -    size (B): 834
        -    checksum: 3444981621
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.valvesoftware.steamclean</string>
            <key>Program</key>
            <string>/Users/USER/Library/Application Support/Steam/SteamApps/steamclean</string>
            <key>ProgramArguments</key>
            <array>
                <string>/Users/USER/Library/Application Support/Steam/SteamApps/steamclean</string>
                <string>Public</string>
            </array>
            <key>RunAtLoad</key>
            <true/>
            <key>SteamContentPaths</key>
            <array>
                <string>/Users/USER/Library/Application Support/Steam/SteamApps</string>
            </array>
            <key>ThrottleInterval</key>
            <integer>60</integer>
            <key>WatchPaths</key>
            <array>
                <string>/Applications/Steam.app</string>
            </array>
        ...and 2 more line(s)
    Bad plists
        Library/Preferences/com.computerlab.Connect.plist
    Extensions
        /Library/Extensions/tap.kext
        -    foo.tap
        /Library/Extensions/tun.kext
        -    foo.tun
        /System/Library/Extensions/InstantOn.kext/Contents/PlugIns/InstantOnCore.kext
        -    com.rogueamoeba.InstantOnCore
        /System/Library/Extensions/InstantOn.kext
        -    com.rogueamoeba.InstantOn
        /System/Library/Extensions/JMicronATA.kext
        -    com.jmicron.JMicronATA
        /System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns/PACESupportL eopard.kext
        -    com.paceap.kext.pacesupport.leopard
        /System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns/PACESupportP anther.kext
        -    com.paceap.kext.pacesupport.panther
        /System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns/PACESupportS nowLeopard.kext
        -    com.paceap.kext.pacesupport.snowleopard
        /System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns/PACESupportT iger.kext
        -    com.paceap.kext.pacesupport.tiger
        /System/Library/Extensions/PACESupportFamily.kext
        -    com.paceap.kext.pacesupport.master
        /System/Library/Extensions/UsbEthernetGadget.kext
        -    com.tomtom.driver.UsbEthernetGadget
        /System/Library/Extensions/WD1394HPDriver.kext
        -    com.wdc.driver.1394HP
        /System/Library/Extensions/WD1394_64HPDriver.kext
        -    com.wdc.driver.1394_64HP
        /System/Library/Extensions/WDUSBHPDriver.kext
        -    com.wdc.driver.USBHP
        /System/Library/Extensions/WDUSB_64HPDriver.kext
        -    com.wdc.driver.USB_64HP
    Applications
        /Applications/BBC iPlayer Desktop.app
        -    BBCiPlayerDesktop.UUID.1
        /Applications/Babylon.app
        -    com.babylon.application
        /Applications/Bigasoft Total Video Converter.app
        -    com.bigasoft.total-video-converter-mac
        /Applications/Flip4Mac/WMV Player.app
        -    net.telestream.wmv.player
        /Applications/Hewlett-Packard/Device Utilities/HP Firmware Updater.app
        -    com.hp.FirmwareUpdater
        /Applications/Hewlett-Packard/HP Scan 3.app
        -    com.hp.scan.app
        /Applications/Hewlett-Packard/HP Uninstaller.app
        -    com.hp.Uninstaller
        /Applications/JDownloader.app
        -    com.install4j.jdownloader09.5977
        /Applications/LibreOffice.app
        -    org.libreoffice.script
        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
        -    com.microsoft.ASApplication
        /Applications/Microsoft Office 2011/Office/Equation Editor.app
        -    com.microsoft.EquationEditor
        /Applications/Microsoft Office 2011/Office/Microsoft Office Setup Assistant.app
        -    com.microsoft.office.setupassistant
        /Applications/Microsoft Office 2011/Office/Microsoft Query.app
        -    com.microsoft.Query
        /Applications/MyTomTomSA.app
        -    com.tomtom.mytomtomsa
        /Applications/OmegaT.app
        -    com.apple.jnlp-http___omegat.sourceforge.net_webstart_OmegaT.jnlp
        /Applications/Play MPE Player.app
        -    com.destiny.plaympe.player
        /Applications/Private Internet Access.app
        -    com.pia.privateinternetaccess.launcher
        /Applications/Skim.app
        -    net.sourceforge.skim-app.skim
        /Applications/Sportradar/ScoutTrainingPlatform/STPVideoPlayer/STPVideoPlayer.ap p
        -    com.betradar.scouttrainingplatform.videoplayer.UUID.1
        /Applications/TVMOBiLi.app
        -    com.tvmobili.tvmobilisvcd
        /Applications/Utilities/Adobe AIR Application Installer.app
        -    com.adobe.air.ApplicationInstaller
        /Applications/Utilities/XQuartz.app
        -    org.macosforge.xquartz.X11
        /Applications/VLC 2.app
        -    N/A
        /Applications/Vuze.app
        -    com.azureus.vuze
        /Applications/XBMC.app
        -    com.teamxbmc.xbmc
        /Applications/amule.app
        -    org.amule.aMule
        /Applications/iSkysoft iTube Studio.app
        -    com.iSkysoft.iTube Studio
        /Library/Application Support/Babylon/Babylon Activation.app
        -    com.babylon.activation
        /Library/Application Support/Babylon/BabylonQL.app
        -    com.babylonQL.application
        /Library/Application Support/Babylon/StatusBarApp.app
        -    com.yourcompany.StatusBarApp
        /Library/Application Support/Hewlett-Packard/Workflows/Shortcuts/Add to iPhoto Library.app
        -    com.apple.automator.Add to iPhoto Library
        /Library/Application Support/Hewlett-Packard/Workflows/Shortcuts/Email Image.app
        -    com.apple.automator.Email Image
        /Library/Application Support/Hewlett-Packard/Workflows/Shortcuts/Email PDF.app
        -    com.apple.automator.Email PDF
        /Library/Application Support/Hewlett-Packard/Workflows/Shortcuts/Open HP Scan.app
        -    com.apple.automator.Open HP Scan
        /Library/Application Support/Hewlett-Packard/Workflows/Shortcuts/Open PDF in Preview.app
        -    com.apple.automator.Open PDF in Preview
        /Library/Application Support/Hewlett-Packard/Workflows/Shortcuts/Open in Preview.app
        -    com.apple.automator.Open in Preview
        /Library/Application Support/Hewlett-Packard/Workflows/Shortcuts/Save PDF in Documents.app
        -    com.apple.automator.Save PDF in Documents
        /Library/Application Support/Hewlett-Packard/Workflows/Shortcuts/Save in Pictures.app
        -    com.apple.automator.Save in Pictures
        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
        -    com.microsoft.silverlight.sllauncher
        /Library/Application Support/PACE Anti-Piracy/InterLok Helper.app
        -    com.paceap.interlokhelper
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app
        -    com.adobe.air.ApplicationInstaller
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Template.app
        -    com.adobe.air.Template
        /Library/Printers/hp/Fax/fax.backend
        -    com.hp.fax
        /Library/Printers/hp/Fax/rastertofax.filter
        -    com.hp.rastertofax
        /Library/Printers/hp/cups/Inkjet1.driver
        -    com.hp.print.cups.filter.inkjet1
        /Library/Printers/hp/cups/filters/pdftopdf.filter
        -    com.hp.print.cups.filter.pdftopdf
        /Rosetta Stone TOTALe.app
        -    com.rosettastone.rosettastonetotale
        /Users/USER/Applications/Football Manager 2010.app
        -    N/A
        /Users/USER/Applications/Left 4 Dead.app
        -    N/A
        /Users/USER/Downloads/Audio Hijack Pro.app
        -    com.rogueamoeba.AudioHijackPro2
        /Users/USER/Downloads/Campfire.app
        -    com.fluidapp.FluidApp.Campfire
        /Users/USER/Downloads/Sky Go Desktop.app
        -    2916036024.go.sky.com
        /Users/USER/Downloads/SoundCloud Downloader 2.app
        -    com.BirdiCode.SoundCloud_Downloader
        /Users/USER/Downloads/SoundCloud Downloader 3.app
        -    com.birdicode.SoundCloud_Downloader
        /Users/USER/Downloads/SoundCloud Downloader 4.app
        -    com.birdicode.SoundCloud_Downloader
        /Users/USER/Downloads/SoundCloud Downloader.app
        -    com.birdicode.SoundCloud_Downloader
        /Users/USER/Downloads/UnRarX.app
        -    com.peternoriega.unrarx
        /Users/USER/Downloads/aMule 2.app
        -    org.amule.aMule
        /Users/USER/Downloads/aMule.app
        -    org.amule.aMule
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_apdfllckaahabafndbhieahigkjlhalf/Default apdfllckaahabafndbhieahigkjlhalf.app
        -    com.google.Chrome.app.Default-apdfllckaahabafndbhieahigkjlhalf-internal
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_blpcfgokakmgnkcojhhkbfbldkacnbeo/Default blpcfgokakmgnkcojhhkbfbldkacnbeo.app
        -    com.google.Chrome.app.Default-blpcfgokakmgnkcojhhkbfbldkacnbeo-internal
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_coobgpohoikkiipiblmjeljniedjpjpf/Default coobgpohoikkiipiblmjeljniedjpjpf.app
        -    com.google.Chrome.app.Default-coobgpohoikkiipiblmjeljniedjpjpf-internal
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_nmmhkkegccagdldgiimedpiccmgmieda/Default nmmhkkegccagdldgiimedpiccmgmieda.app
        -    com.google.Chrome.app.Default-nmmhkkegccagdldgiimedpiccmgmieda-internal
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_pjkljhegncpnkpknbcohdijeoejaedia/Default pjkljhegncpnkpknbcohdijeoejaedia.app
        -    com.google.Chrome.app.Default-pjkljhegncpnkpknbcohdijeoejaedia-internal
        /Users/USER/Library/Application Support/Steam/steamapps/common/Football Manager 2010/fm.app
        -    com.sigames.eur.FootballManager2010
        /Users/USER/Library/Application Support/Steam/steamapps/common/Football Manager 2010/tools/editor/Editor.app
        -    com.sigames.eur.FootballManagerEditor2010
        /Users/USER/Library/Application Support/Steam/steamapps/common/Football Manager 2010/tools/resource archiver/Resource Archiver.app
        -    Resource Archiver 2010
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/addoninstaller.app
        -    N/A
    Frameworks
        /Library/Frameworks/Adobe AIR.framework
        -    com.adobe.AIR
        /Library/Frameworks/TSLicense.framework
        -    net.telestream.license
        /Users/USER/Library/Frameworks/EWSMac.framework
        -    com.eSellerate.EWSMac67108872
    PrefPane
        /Library/PreferencePanes/Flash Player.prefPane
        -    com.adobe.flashplayerpreferences
        /Library/PreferencePanes/Flip4Mac WMV.prefPane
        -    net.telestream.wmv.prefpane
        /Library/PreferencePanes/Growl.prefPane
        -    com.growl.prefpanel
    Bundles
        /Library/Application Support/PACE Anti-Piracy/InterLok Engine.bundle
        -    com.paceap.interlok.iluiengine
        /Library/Application Support/PACE Anti-Piracy/iLokSupport.bundle
        -    com.paceap.iokit.iLokSupport
        /Library/Audio/Plug-Ins/HAL/EcammAudioLoader.plugin
        -    com.ecamm.EcammAudioLoader
        /Library/Contextual Menu Items/BabylonCMPlugin.plugin
        -    com.babylon.CMPlugin
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/AdobeCP15.plugin
        -    com.adobe.adobecp
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Flash Player.plugin
        -    com.macromedia.FlashPlayer-10.6.plugin
        /Library/Internet Plug-Ins/AdobePDFViewer.plugin
        -    com.adobe.acrobat.pdfviewer
        /Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin
        -    com.adobe.acrobat.pdfviewerNPAPI
        /Library/Internet Plug-Ins/Flash Player.plugin
        -    com.macromedia.Flash Player.plugin
        /Library/Internet Plug-Ins/Flip4Mac WMV Plugin.plugin
        -    net.telestream.wmv.plugin
        /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
        -    com.microsoft.sharepoint.browserplugin
        /Library/Internet Plug-Ins/Silverlight.plugin
        -    com.microsoft.SilverlightPlugin
        /Library/Internet Plug-Ins/VLC Plugin.plugin
        -    com.netscape.vlc
        /Library/Internet Plug-Ins/WidevineMediaOptimizer.plugin
        -    com.WidevineMediaOptimizerLib.Widevine Media Optimizer_x86_64
        /Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
        -    com.google.googletalkbrowserplugin
        /Library/Internet Plug-Ins/iPhotoPhotocast.plugin
        -    com.apple.plugin.iPhotoPhotocast
        /Library/Internet Plug-Ins/o1dbrowserplugin.plugin
        -    com.google.o1dbrowserplugin
        /Library/QuickLook/GBQLGenerator.qlgenerator
        -    com.apple.garageband.quicklookgenerator
        /Library/Spotlight/GBSpotlightImporter.mdimporter
        -    com.apple.garageband.spotlightimporter
        /Library/Spotlight/LogicPro.mdimporter
        -    null
        /Users/USER/Library/Address Book Plug-Ins/SkypeABDialer.bundle
        -    com.skype.skypeabdialer
        /Users/USER/Library/Address Book Plug-Ins/SkypeABSMS.bundle
        -    com.skype.skypeabsms
        /Users/USER/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/B ooks/542357414.ibooks/OPS/assets/widgets/Summary-1.wdgt
        -    null
        /Users/USER/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/B ooks/542357414.ibooks/OPS/assets/widgets/Summary-5.wdgt
        -    null
        /Users/USER/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/B ooks/542357414.ibooks/OPS/assets/widgets/Timer-2.wdgt
        -    null
        /Users/USER/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/B ooks/542357414.ibooks/OPS/assets/widgets/Timer-5.wdgt
        -    null
        /Users/USER/Library/Widgets/HP Ink Widget.wdgt
        -    com.hp.widget.inkwidget
    Bundles (new)
        /Applications/AdwareMedic.app
        -    com.thesafemac.adwaremedic
        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
        -    com.microsoft.ASApplication
        /Applications/Microsoft Office 2011/Office/Microsoft Query.app
        -    com.microsoft.Query
        /Applications/Popcorn-Time.app
        -    com.intel.nw
        /Applications/iPhoto.app
        -    com.apple.iPhoto
        /Users/USER/Downloads/EtreCheck 2.app
        -    com.etresoft.EtreCheck
        /Users/USER/Downloads/EtreCheck.app
        -    com.etresoft.EtreCheck
        /Users/USER/Downloads/UnRarX.app
        -    com.peternoriega.unrarx
    Library paths
        /Applications/Microsoft Office 2011/Office/MicrosoftSetupUI.framework/Libraries/mbupgx.dylib
        /Applications/Microsoft Office 2011/Office/OPF.framework/Versions/14/Resources/OPF_Common.dylib
        /Applications/Microsoft Office 2011/Office/Visual Basic for Applications.framework/Versions/14/Frameworks/Fm20.dylib
        /Applications/Microsoft Office 2011/Office/Visual Basic for Applications.framework/Versions/14/Frameworks/MicrosoftOLE2TypesLib.dylib
        /Applications/Microsoft Office 2011/Office/Visual Basic for Applications.framework/Versions/14/Frameworks/RefEdit.dylib
        /Applications/Microsoft Office 2011/Office/Visual Basic for Applications.framework/Versions/14/Frameworks/RichEdit.dylib
        /Library/Application Support/RosettaStoneDaemon/Libraries/FNInterface_libFNP.dylib
        /Library/Application Support/RosettaStoneDaemon/Libraries/FnpCommsSoap.dylib
        /Library/Application Support/RosettaStoneDaemon/bin/ActivationDaemonPlugin.dylib
        /Library/Application Support/RosettaStoneDaemon/bin/DataInstaller.dylib
        /Library/Application Support/RosettaStoneDaemon/bin/DataInstallerDaemonPlugin.dylib
        /Library/Application Support/RosettaStoneDaemon/bin/SREDaemonPlugin.dylib
        /Library/Application Support/RosettaStoneDaemon/bin/libRosettaStoneDaemon.dylib
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/WebKit.dylib
        /Library/Frameworks/iLifeFaceRecognition.framework/Versions/A/Resources/eOkaoCo m.dylib
        /Library/Frameworks/iLifeFaceRecognition.framework/Versions/A/Resources/eOkaoDt .dylib
        /Library/Frameworks/iLifeFaceRecognition.framework/Versions/A/Resources/eOkaoFr .dylib
        /Library/Frameworks/iLifeFaceRecognition.framework/Versions/A/Resources/eOkaoPt .dylib
        /Users/USER/Desktop/Old Firefox Data/6utqjam0.default-1411843101683/gmp-gmpopenh264/1.1/libgmpopenh264.dylib
        /Users/USER/Desktop/Old Firefox Data/ae3papow.default-1416836447553/gmp-gmpopenh264/1.1/libgmpopenh264.dylib
        /Users/USER/Library/Application Support/Firefox/Profiles/axsk8pj8.default-1417650114995/gmp-gmpopenh264/1.1/lib gmpopenh264.dylib
        /Users/USER/Library/Application Support/Firefox/Profiles/axsk8pj8.default-1417650114995/gmp-gmpopenh264/1.3/lib gmpopenh264.dylib
        /Users/USER/Library/Application Support/Google/Chrome/WidevineCDM/1.4.7.771/_platform_specific/mac_x64/libwidev inecdm.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/bsppack.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/bugreporter_filequeue.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/bugreporter_public.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/datacache.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/dedicated.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/engine.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/filesystem_stdio.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/gameui.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/inputsystem.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/launcher.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/libcef.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/libmilesmachox86.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/libsteam_api.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/libtier0.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/libvstdlib.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/materialsystem.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/scenefilecache.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/serverbrowser.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/shaderapidx9.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/shaderapiempty.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/soundemittersystem.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/stdshader_dx9.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/studiorender.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/unitlib.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/valve_avi.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/vaudio_miles.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/vaudio_speex.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/vgui2.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/vguimatsurface.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/vphysics.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/vscript.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/bin/vtex_dll.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/left4dead/bin/client.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/left4dead/bin/matchmaking.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/left4dead/bin/matchmaking_ds.dylib
        /Users/USER/Library/Application Support/Steam/steamapps/common/left 4 dead/left4dead/bin/server.dylib
        /Users/USER/Library/Application Support/Vuze/plugins/aznettor/libevent-2.0.5.dylib
        /opt/X11/lib/libAppleWM.7.dylib
        /opt/X11/lib/libFS.6.dylib
        /opt/X11/lib/libGL.1.dylib
        /opt/X11/lib/libGLU.1.dylib
        /opt/X11/lib/libICE.6.dylib
        /opt/X11/lib/libOSMesa.8.dylib
        /opt/X11/lib/libOpenVG.1.dylib
        /opt/X11/lib/libSM.6.dylib
        /opt/X11/lib/libX11-xcb.1.dylib
        /opt/X11/lib/libX11.6.dylib
        /opt/X11/lib/libXRes.1.dylib
        /opt/X11/lib/libXTrap.6.dylib
        /opt/X11/lib/libXau.6.dylib
        /opt/X11/lib/libXaw3d.8.dylib
        /opt/X11/lib/libXaw6.6.dylib
        /opt/X11/lib/libXaw7.7.dylib
        /opt/X11/lib/libXaw8.8.dylib
        /opt/X11/lib/libXcomposite.1.dylib
        /opt/X11/lib/libXcursor.1.dylib
        /opt/X11/lib/libXdamage.1.dylib
        /opt/X11/lib/libXdmcp.6.dylib
        /opt/X11/lib/libXevie.1.dylib
        /opt/X11/lib/libXext.6.dylib
        /opt/X11/lib/libXfixes.3.dylib
        /opt/X11/lib/libXfont.1.dylib
        /opt/X11/lib/libXfontcache.1.dylib
        /opt/X11/lib/libXft.2.dylib
        /opt/X11/lib/libXi.6.dylib
        /opt/X11/lib/libXinerama.1.dylib
        /opt/X11/lib/libXmu.6.dylib
        /opt/X11/lib/libXmuu.1.dylib
        /opt/X11/lib/libXp.6.dylib
        /opt/X11/lib/libXplugin.1.dylib
        /opt/X11/lib/libXpm.4.dylib
        /opt/X11/lib/libXrandr.2.dylib
        /opt/X11/lib/libXrender.1.dylib
        /opt/X11/lib/libXss.1.dylib
        /opt/X11/lib/libXt.6.dylib
        /opt/X11/lib/libXtst.6.dylib
        /opt/X11/lib/libXv.1.dylib
        /opt/X11/lib/libXvMC.1.dylib
        /opt/X11/lib/libXvMCW.1.dylib
        /opt/X11/lib/libXxf86misc.1.dylib
        /opt/X11/lib/libXxf86vm.1.dylib
        /opt/X11/lib/libcairo-script-interpreter.2.dylib
        /opt/X11/lib/libcairo.2.dylib
        /opt/X11/lib/libdmx.1.dylib
        /opt/X11/lib/libfontconfig.1.dylib
        /opt/X11/lib/libfontenc.1.dylib
        /opt/X11/lib/libfreetype.6.dylib
        /opt/X11/lib/libglut.3.dylib
        /opt/X11/lib/libpixman-1.0.dylib
        /opt/X11/lib/libpng.3.dylib
        /opt/X11/lib/libpng12.0.dylib
        /opt/X11/lib/libpng14.14.dylib
        /opt/X11/lib/libpng15.15.dylib
        /opt/X11/lib/libxcb-composite.0.dylib
        /opt/X11/lib/libxcb-cursor.0.dylib
        /opt/X11/lib/libxcb-damage.0.dylib
        /opt/X11/lib/libxcb-dpms.0.dylib
        /opt/X11/lib/libxcb-dri2.0.dylib
        /opt/X11/lib/libxcb-dri3.0.dylib
        /opt/X11/lib/libxcb-ewmh.2.dylib
        /opt/X11/lib/libxcb-glx.0.dylib
        /opt/X11/lib/libxcb-icccm.4.dylib
        /opt/X11/lib/libxcb-image.0.dylib
        /opt/X11/lib/libxcb-keysyms.1.dylib
        /opt/X11/lib/libxcb-present.0.dylib
        /opt/X11/lib/libxcb-randr.0.dylib
        /opt/X11/lib/libxcb-record.0.dylib
        /opt/X11/lib/libxcb-render-util.0.dylib
        /opt/X11/lib/libxcb-render.0.dylib
        /opt/X11/lib/libxcb-res.0.dylib
        /opt/X11/lib/libxcb-screensaver.0.dylib
        /opt/X11/lib/libxcb-shape.0.dylib
        /opt/X11/lib/libxcb-shm.0.dylib
        /opt/X11/lib/libxcb-sync.1.dylib
        /opt/X11/lib/li

  • Launchd disobeying plist

    I am using launchd to execute a shell script whenever any of a set of directories is modified and also when a filesystem is mounted.
    The script should not run when it is loaded. It should also run only once whenever a condition for its running is satisfied.
    According to my reading of the the man page for launchd.plist, I should be able to make this work with a plist that contains only Label, Program, QueueDirectories, and StartOnMount parameters.
    However, in fact the script gets executed when I load the /Library/LaunchAgents directory, and it continues to do this even if I insert a false-valued RunAtLoad key into the plist. So launchd appears to be disobeying the default value of RunAtLoad and also an explicit false value of that key.
    Also, once it runs the script is respawned continuously. And this happens even if I add a false-valued KeepAlive key into the plist. So launchd appears to be disobeying the default value of KeepAlive and also an explicit false value of that key.
    Moreover, if I specify the script's pathname as the value of a Program key, I get an "Exec format error" message. To make the script run, I need to specify it as the only value of a ProgramArguments key. By my reading these should be equivalent. So launchd appears to be disobeying the value of a Program key.
    When the script runs, it runs correctly, and, if launchd is queried about it while it is being respawned, launchd reports that its last exit status was 0.
    Here is a plist that seems to at least function, though it runs on load when it should not. I'd like to know why launchd is behaving in all these ways that seem to contradict the man page.
    <?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>RunAtLoad</key>
              <false/>
              <key>ProgramArguments</key>
              <array>
                        <string>/Users/Shared/Library/panlex/org.panlex.syncd.txt</string>
              </array>
              <key>LaunchOnlyOnce</key>
              <true/>
              <key>ThrottleInterval</key>
              <integer>36000</integer>
              <key>KeepAlive</key>
              <false/>
              <key>QueueDirectories</key>
              <array>
                        <string>/Topics/panlex/panlex-dics/panlex-dics-data/panlex-dics-data-todo/queued</string>
                        <string>/Topics/panlex/panlex-dics/panlex-dics-data/used</string>
              </array>
              <key>StartOnMount</key>
              <true/>
              <key>Label</key>
              <string>org.panlex.syncd.txt</string>
    </dict>
    </plist>

    The exec format error occurred only when I used the Program key to specify the script. When I used ProgramArguments instead, no exec format error occurred. That's when the script kept being respawned.
    The documentation says that KeepAlive set to false (or left with its default value) means that "only demand will start the job". That is what I wanted. But after the job exited successfully it kept getting restarted automatically.
    If ".txt" can make a path illegal for a launchd executable, then I would hope the documentation would say so. But the program did execute, and did so correctly, with exit code 0. The problem is that launchd kept respawning it indefinitely thereafter every few seconds.
    The purpose here is to synchronize a remote file repository with a local one. When the local one changes, and once a day when the local host is booted, the script (containing rsync commands) is to run, to assure that the remote repository contains copies of all and only the same files as the local one.
    Thanks for your concern. Since my script is being launched now by cron and is working properly, my main interest now is to help determine whether launchd is properly documented and usable for this and other purposes.

  • Filevault encryption frozen

    Hello, I have a 2011 macbook air 1.8 i7, 4 gigs ram, with 130 gb used of the 256 available on the ssd... I installed yosemite a week ago and the filevault encryption process hasn't moved since mid last week, it is stuck at around 70% with anywhere from 2 hours to 450 days left. I have seen others on the forums having the same issue but with no answers that work so I thought I would ask in case someone with an answer hasn't seen the question.
    I have tried reseting the pram and smc, verified and repaired disc permissions, gone into recovery mode and verified and repaired the different discs but none of it works. And the encryption process keeps running even when its not plugged in so I am losing upwards of 30-40% of battery an hour depending on what else I am doing.
    I have also left the machine to run for over 48 hours straight over the weekend, never going to sleep and never being shut off and the process didn't progress at all. Does anyone know how I can fix this without losing any of my data, my last back up was from a few weeks ago and would like to try and save what is on here since then, if possible.
    Thank-you so much for your help!

    Start time: 10:08:42 10/29/14
    Model Identifier: MacBookAir4,2
    System Version: OS X 10.10 (14A389)
    Kernel Version: Darwin 14.0.0
    Time since boot: 4 minutes
    FileVault: On Encryption in progress: Percent completed = 7552
    Diagnostic reports
       2014-10-22 discoveryd crash
    Log
       Oct 29 10:08:26 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:27 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:27 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:28 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:28 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:29 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:30 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:31 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:31 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:32 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:32 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:34 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:34 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:35 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:35 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:36 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:36 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:37 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:38 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:39 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:39 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:40 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:40 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
       Oct 29 10:08:41 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37660131328.
       Oct 29 10:08:41 CoreStorageGroup::completeIORequest - error 0xe00002ca detected for LVG "Macintosh HD" (UUID), pv UUID, near LV byte offset = 37661111296.
    Activity
       CPU: user 13%, system 14%
    Daemons
       com.oracle.java.JavaUpdateHelper
       com.microsoft.office.licensing.helper
       com.oracle.java.Helper-Tool
       com.bombich.ccc.scheduledtask.UUID
       com.bombich.ccc
    Agents
       com.equitrac.logincontroller
       com.adobe.ARM.UUID
       com.apple.photostream-agent
       com.apple.CSConfigDotMacCert-EMAIL-SharedServices
       com.oracle.java.Java-Updater
       com.google.keystone.user.agent
    Startup items
       /Library/StartupItems/EQDRC/EQDRC
       /Library/StartupItems/EQDRC/eqdrcd
       /Library/StartupItems/EQDRC/StartupParameters.plist
       /Library/StartupItems/EQSharedEngine/EQSharedEngine
       /Library/StartupItems/EQSharedEngine/eqshengd
       /Library/StartupItems/EQSharedEngine/StartupParameters.plist
    Bundles
       /System/Library/Extensions/EPSONUSBPrintClass.kext
       -    com.epson.print.kext.USBPrintClass
       /System/Library/Extensions/JMicronATA.kext
       -    com.jmicron.JMicronATA
       /Library/Internet Plug-Ins/AdobePDFViewer.plugin
       -    com.adobe.acrobat.pdfviewer
       /Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin
       -    com.adobe.acrobat.pdfviewerNPAPI
       /Library/Internet Plug-Ins/Flash Player.plugin
       -    N/A
       /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
       -    com.oracle.java.JavaAppletPlugin
       /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
       -    com.microsoft.sharepoint.browserplugin
       /Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
       -    com.microsoft.sharepoint.webkitplugin
       /Library/Internet Plug-Ins/Silverlight.plugin
       -    com.microsoft.SilverlightPlugin
       /Library/PreferencePanes/Flash Player.prefPane
       -    com.adobe.flashplayerpreferences
       /Library/PreferencePanes/JavaControlPanel.prefPane
       -    com.oracle.java.JavaControlPanel
       /Library/PreferencePanes/TeXDistPrefPane.prefPane
       -    comp.text.tex.distribution.preference
       Library/Address Book Plug-Ins/SkypeABDialer.bundle
       -    com.skype.skypeabdialer
       Library/Address Book Plug-Ins/SkypeABSMS.bundle
       -    com.skype.skypeabsms
       Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
       -    com.Google.GoogleEarthPlugin.plugin
       Library/Internet Plug-Ins/Picasa.plugin
       -    com.google.PicasaPlugin
       Library/Services/ENService.app
       -    com.ThomsonResearchSoft.EndNote.ENService
       Library/Spotlight/EndNote.mdimporter
       -    com.ThomsonResearchSoft.EndNote
       Library/Widgets/Endangered Species of the Day.wdgt
       -    com.catalyst.widget.mnrendangeredspecies
       Library/Widgets/iStat Pro.wdgt
       -    com.iSlayer.iStatpro4.widget
       Library/Widgets/PsychWidget.wdgt
       -    com.spn.widget.news
       Library/Widgets/Wikipedia.v1.1.0.wdgt
       -    com.orange.widgets.Wikipedia
    Apps
       /Applications/Dropbox.app
    Contents of /Library/LaunchAgents/com.equitrac.logincontroller.plist (XML  document text)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.equitrac.logincontroller</string>
           <key>OnDemand</key>
           <true/>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Printers/Equitrac/EquitracLoginController.app/Contents/MacOS/E quitracLoginController</string>
           </array>
           <key>RunAtLoad</key>
           <false/>
           <key>WatchPaths</key>
           <array>
               <string>/Library/Printers/Equitrac/login/eq_launch_loginctrl.txt</string>
           </array>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist (XML  document text)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.oracle.java.Java-Updater</string>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
               <string>-bgcheck</string>
           </array>
           <key>StandardErrorPath</key>
           <string>/dev/null</string>
           <key>StandardOutPath</key>
           <string>/dev/null</string>
           <key>StartCalendarInterval</key>
           <dict>
               <key>Hour</key>
               <integer>12</integer>
               <key>Minute</key>
               <integer>38</integer>
               <key>Weekday</key>
               <integer>6</integer>
           </dict>
       </dict>
       ...and 1 more line(s)
    Contents of /Library/LaunchDaemons/com.bombich.ccc.plist (XML  document text)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Disabled</key>
           <false/>
           <key>Label</key>
           <string>com.bombich.ccc</string>
           <key>OnDemand</key>
           <true/>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/PrivilegedHelperTools/com.bombich.ccc</string>
           </array>
           <key>ServiceIPC</key>
           <true/>
           <key>Sockets</key>
           <dict>
               <key>MasterSocket</key>
               <dict>
                   <key>SockFamily</key>
                   <string>Unix</string>
                   <key>SockPathMode</key>
                   <integer>438</integer>
                   <key>SockPathName</key>
       ...and 7 more line(s)
    Contents of /Library/LaunchDaemons/com.bombich.ccc.scheduledtask.UUID.plist (XML  document text)
       <?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>Disabled</key>
           <false/>
           <key>Label</key>
           <string>com.bombich.ccc.scheduledtask.UUID</string>
           <key>OnDemand</key>
           <false/>
           <key>ProgramArguments</key>
           <array>
               <string>/Applications/Carbon Copy Cloner.app/Contents/MacOS/ccc_helper.app/Contents/MacOS/ccc_helper</string>
               <string>UUID</string>
           </array>
           <key>RunAtLoad</key>
           <true/>
           <key>ServiceDescription</key>
           <string>CCC will copy the selected items from "Macintosh HD" to "BACK-UP". If you have backed up to this destination in the past, only items that have been modified since the last backup task will be copied. If you are backing up an installation of Mac OS X, CCC will make every effort to make the destination volume bootable.
       • Files and folders on "BACK-UP" that are not present on "Macintosh HD" will be archived.
       • Previously backed up files on "BACK-UP" will be updated only if the size or modification date differs.
       • Older versions of updated files will be archived.
       • CCC will not prune archive content.</string>
           <key>StandardErrorPath</key>
           <string>/Library/Logs/CCC.log</string>
       ...and 191 more line(s)
    Contents of /Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist (XML  document text)
       <?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>MachServices</key>
           <dict>
               <key>com.microsoft.office.licensing.helper.port</key>
               <true/>
           </dict>
           <key>Label</key>
           <string>com.microsoft.office.licensing.helper</string>
           <key>OnDemand</key>
           <true/>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/PrivilegedHelperTools/com.microsoft.office.licensing.helper</s tring>
           </array>
           <key>ServiceIPC</key>
           <true/>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist (XML  document text)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
               <key>Label</key>
               <string>com.oracle.java.Helper-Tool</string>
               <key>ProgramArguments</key>
           <array>
               <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Helper-Tool</string>
           </array>
           <key>WatchPaths</key>
           <array>
           <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Java-Update r.plist</string>
           </array>
           <key>SHAuthorizationRight</key>
               <string>system.preferences</string>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.oracle.java.JavaUpdateHelper.plist (XML  document text)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.oracle.java.JavaUpdateHelper</string>
           <key>MachServices</key>
           <dict>
               <key>com.oracle.java.JavaUpdateHelper</key>
               <true/>
           </dict>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/PrivilegedHelperTools/com.oracle.java.JavaUpdateHelper</string >
           </array>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist (XML  document text)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.adobe.ARM.UUID</string>
           <key>ProgramArguments</key>
           <array>
               <string>/Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
           </array>
           <key>RunAtLoad</key>
           <true/>
           <key>StartInterval</key>
           <integer>12600</integer>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.apple.CSConfigDotMacCert-EMAIL-SharedServices.Agent.pl ist (XML  document text)
       <?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>KeepAlive</key>
           <false/>
           <key>Label</key>
           <string>com.apple.CSConfigDotMacCert-EMAIL-SharedServices</string>
           <key>LimitLoadToSessionType</key>
           <string>Aqua</string>
           <key>LowPriorityIO</key>
           <true/>
           <key>Nice</key>
           <integer>10</integer>
           <key>ProgramArguments</key>
           <array>
               <string>/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices .framework/Versions/A/Support/CSConfigDotMacCert</string>
               <string>-l</string>
               <string>/Users/USER/Library/Logs/CSConfigDotMacCert.log</string>
               <string>-u</string>
               <string>EMAIL</string>
               <string>-t</string>
               <string>SharedServices</string>
               <string>-s</string>
           </array>
       ...and 4 more line(s)
    Contents of Library/LaunchAgents/com.google.keystone.agent.plist (XML  document text)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.google.keystone.user.agent</string>
           <key>LimitLoadToSessionType</key>
           <string>Aqua</string>
           <key>ProgramArguments</key>
           <array>
             <string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
             <string>-runMode</string>
             <string>ifneeded</string>
           </array>
           <key>RunAtLoad</key>
           <true/>
           <key>StartInterval</key>
           <integer>3523</integer>
           <key>StandardErrorPath</key>
           <string>/dev/null</string>
           <key>StandardOutPath</key>
           <string>/dev/null</string>
       </dict>
       </plist>
    Bad plists
       Library/Preferences/com.solidstatenetworks.awkhost.plist
    Firewall: On
    DNS: 64.59.135.135 (static)
    Listeners
       launchd: afpovertcp
       launchd: afpovertcp
       kdc: kerberos
    User login items
       Stickies
       -    /Applications/Stickies.app
       Dropbox
       -    /Applications/Dropbox.app
       AdobeResourceSynchronizer
       -    /Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app
    Hidden apps
       .eclipse/com.ibm.spss.statistics.help_19/configuration/nl/en_US/org.eclipse.equ inox.app
    Widgets
       iStat Pro
       Wikipedia.v1.1.0
       PsychWidget
       Endangered Species of the Day
    Restricted files: 638
    Elapsed time (s): 628

  • I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?

    I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?
    Attachments:
    try2.txt ‏2 KB
    read_array.vi ‏21 KB

    The problem is in the delimiters in your text file. By default, Read From Spreadsheet File.vi expects a tab delimited file. You can specify a delimiter (like a space), but Read From Spreadsheet File.vi has a problem with repeated delimiters: if you specify a single space as a delimiter and Read From Spreadsheet File.vi finds two spaces back-to-back, it stops reading that line. Your file (as I got it from your earlier post) is delimited by 4 spaces.
    Here are some of your choices to fix your problem.
    1. Change the source file to a tab delimited file. Your VI will then run as is.
    2. Change the source file to be delimited by a single space (rather than 4), then wire a string constant containing one space to the delimiter input of Read From Spreadsheet File.vi.
    3. Wire a string constant containing 4 spaces to the delimiter input of Read From Spreadsheet File.vi. Then your text file will run as is.
    Depending on where your text file comes from (see more comments below), I'd vote for choice 1: a tab delimited text file. It's the most common text output of spreadsheet programs.
    Comments for choices 1 and 2: Where does the text file come from? Is it automatically generated or manually generated? Will it be generated multiple times or just once? If it's manually generated or generated just once, you can use any text editor to change 4 spaces to a tab or to a single space. Note: if you want to change it to a tab delimited file, you can't enter a tab directly into a box in the search & replace dialog of many programs like notepad, but you can do a cut and paste. Before you start your search and replace (just in the text window of the editor), press tab. A tab character will be entered. Press Shift-LeftArrow (not Backspace) to highlight the tab character. Press Ctrl-X to cut the tab character. Start your search and replace (Ctrl-H in notepad in Windows 2000). Click into the Find What box. Enter four spaces. Click into the Replace With box. Press Ctrl-V to paste the tab character. And another thing: older versions of notepad don't have search and replace. Use any editor or word processor that does.

  • Writing txt file to int array

    The project I was assigned is to write a program that takes numbers from a text file (all on one line, separated by spaces) and store them into a 5-element array. The program is supposed to check and see if the array is big enough to hold all the numbers from the text file, and if it isn't, it is supposed to double that array size. I've written the following code and it compiles, but it will not run due to this error:
    Exception in thread "main" java.lang.NullPointerException
         at java.io.Reader.<init>(Reader.java:61)
         at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
         at ArrayReader.main(ArrayReader.java:16)
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    This is what I have so far. If anyone could help me or point out anything I missed it would be greatly greatly appreciated.
    import java.io.*;
    public class ArrayReader
         public static void main(String[] args)
              File file = new File("numberlist.txt");
              FileInputStream fis = null;
              BufferedReader br = new BufferedReader (new InputStreamReader(fis));
              int i = 5;
              int x = 0;
              int[] array;
              array = new int;
              try
                   fis = new FileInputStream(file);
                   for (x = 0; x < array.length; x++)
                             if (x > array.length)
                                  i = i*2;
                                  System.out.println("Array too small. Doubling size to: " + i);
                             else
                                  array[i] = fis.read();
              catch(FileNotFoundException e)
                   System.out.println("File " + file.getAbsolutePath() +
                                            " could not be found on filesystem");
              catch(IOException ioe)     
                   System.out.println("Exception while reading the file" + ioe);
              for (i = 0; i < array.length; i++)
                   System.out.println(array[i]);

    ursusmajx wrote:
    Exception in thread "main" java.lang.NullPointerException
         at java.io.Reader.<init>(Reader.java:61)
         at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
         at ArrayReader.main(ArrayReader.java:16)Start by looking at line 16 in ArrayReader.main. It's not lie 16 in the code you posted here, so either you haven't posted the code you tried to run or you're not running the code you think you are.
    I do see where you are using fis before assigning it a value.
    db

  • Reading .txt file into char array, file not found error. (Basic IO)

    Iv been having some trouble with reading characters from a text file into a char array. I havnt been learning io for very long but i think im getting the hang of it. Reading and writing raw bytes
    and things like that. But i wanted to try using java.io.FileReader to read characters for a change and im having problems with file not found errors. here is the code.
    try
    File theFile = new File("Mr.DocumentReadMe.txt");
    String path = theFile.getCanonicalPath();
    FileReader readMe = new FileReader(path);
    char buffer[] = new char[(int)theFile.length()];
    int readData = 0;
    while(readData != -1)
    readData = readMe.read(buffer);
    jEditorPane1.setText(String.valueOf(buffer));
    catch(Exception e)
    JOptionPane.showMessageDialog(null, e,
    "Error!", JOptionPane.ERROR_MESSAGE);
    The error is: java.io.FileNotFoundException: C:\Users\Kaylan\Documents\NetBeansProjects\Mr.Document\dist\Mr.DocumentReadMe.txt (The system cannot find the file specified)
    The text file is saved in the projects dist folder. I have tried saving it elsewhere and get the same error with a different pathname.
    I can use JFileChooser to get a file and read it into a char array with no problem, why doesnt it work when i specify the path manually in the code?

    Well the file clearly isn't there. Maybe it has a .txt.txt extensionthat Windows is kindly hiding from you - check its Properties.
    But:
    String path = theFile.getCanonicalPath();
    FileReader readMe = new FileReader(path);You don't need all that. Just:
    FileReader readMe = new FileReader(theFile);And:
    char buffer[] = new char[(int)theFile.length()];You don't need a buffer the size of the file, this is bad practice. Use 8192 or whatever.
    while(readData != -1)
    readData = readMe.read(buffer);
    }That doesn't make sense. Read the data into the buffer and repeat until you get EOF? and do nothing with the contents of the buffer? The canonical read loop in Java goes like this:
    while ((count = in.read(buffer)) > 0)
      out.write(buffer, 0, count); // or do something else with buffer[0..count-1].
    jEditorPane1.setText(String.valueOf(buffer));Bzzt. That won't give you the content of 'buffer'. Use new String(buffer, 0, count) at least.

Maybe you are looking for