<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is it possible to repair a .egp file? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5330#M1697</link>
    <description>&amp;gt; I have also seen this error message before, and the&lt;BR /&gt;
&amp;gt; solution was to open the EG project binary in for&lt;BR /&gt;
&amp;gt; instance the programming language Phyton. &lt;BR /&gt;
&amp;gt; In our case there had been added emty spaces in the&lt;BR /&gt;
&amp;gt; beginning of the project, so everything in the code&lt;BR /&gt;
&amp;gt; before the starting 'P' was removed. After doing this&lt;BR /&gt;
&amp;gt; the project worked again!&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Example in Phyton:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; infile=file('EGProject.egp', 'rb')&lt;BR /&gt;
&amp;gt; txt=infile.read()&lt;BR /&gt;
&amp;gt; infile.close()&lt;BR /&gt;
&amp;gt; out=file('EGProject.egp', 'wb')&lt;BR /&gt;
&amp;gt; out.write(txt[txt.find('P'):len(txt)])&lt;BR /&gt;
&amp;gt; out.close()&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; But, we have no idea what caused this error. &lt;BR /&gt;
&amp;gt; Have anybody else experienced this type of error, and&lt;BR /&gt;
&amp;gt; do you know why it happened?&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Regards,&lt;BR /&gt;
&amp;gt; Loccita&lt;BR /&gt;
&lt;BR /&gt;
I try the code you suggested in Python and I got a syntax error. under out.write. I don't much about python any idea?</description>
    <pubDate>Fri, 26 Feb 2010 22:26:26 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-02-26T22:26:26Z</dc:date>
    <item>
      <title>Is it possible to repair a .egp file?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5326#M1693</link>
      <description>When I try to open a specific file, I get the dialog box "Unable to open file SAS:\File\ ... .egp as a valid project file.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know if there is a repair utility or technique that I haven't been able to locate, or have I lost the work done on this file since last backup?</description>
      <pubDate>Thu, 01 Nov 2007 14:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5326#M1693</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-01T14:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to repair a .egp file?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5327#M1694</link>
      <description>Your best bet is to open a tech support track, and we can see if we can recover it for you.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Thu, 01 Nov 2007 17:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5327#M1694</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2007-11-01T17:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to repair a .egp file?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5328#M1695</link>
      <description>I have also seen this error message before, and the solution was to open the EG project binary in for instance the programming language Phyton. &lt;BR /&gt;
In our case there had been added emty spaces in the beginning of the project, so everything in the code before the starting 'P' was removed. After doing this the project worked again!&lt;BR /&gt;
&lt;BR /&gt;
Example in Phyton:&lt;BR /&gt;
&lt;BR /&gt;
infile=file('EGProject.egp', 'rb')&lt;BR /&gt;
txt=infile.read()&lt;BR /&gt;
infile.close()&lt;BR /&gt;
out=file('EGProject.egp', 'wb')&lt;BR /&gt;
out.write(txt[txt.find('P'):len(txt)])&lt;BR /&gt;
out.close()&lt;BR /&gt;
&lt;BR /&gt;
But, we have no idea what caused this error. &lt;BR /&gt;
Have anybody else experienced this type of error, and do you know why it happened?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Loccita</description>
      <pubDate>Fri, 09 Nov 2007 14:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5328#M1695</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-09T14:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to repair a .egp file?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5329#M1696</link>
      <description>Thanks for the suggestion. In my case I had exceeded disk quota, so the target server would not let EG finish writing my project changes. For me it was easier to restore from backup and recreate the last few changes that I made.</description>
      <pubDate>Fri, 09 Nov 2007 15:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5329#M1696</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-09T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to repair a .egp file?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5330#M1697</link>
      <description>&amp;gt; I have also seen this error message before, and the&lt;BR /&gt;
&amp;gt; solution was to open the EG project binary in for&lt;BR /&gt;
&amp;gt; instance the programming language Phyton. &lt;BR /&gt;
&amp;gt; In our case there had been added emty spaces in the&lt;BR /&gt;
&amp;gt; beginning of the project, so everything in the code&lt;BR /&gt;
&amp;gt; before the starting 'P' was removed. After doing this&lt;BR /&gt;
&amp;gt; the project worked again!&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Example in Phyton:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; infile=file('EGProject.egp', 'rb')&lt;BR /&gt;
&amp;gt; txt=infile.read()&lt;BR /&gt;
&amp;gt; infile.close()&lt;BR /&gt;
&amp;gt; out=file('EGProject.egp', 'wb')&lt;BR /&gt;
&amp;gt; out.write(txt[txt.find('P'):len(txt)])&lt;BR /&gt;
&amp;gt; out.close()&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; But, we have no idea what caused this error. &lt;BR /&gt;
&amp;gt; Have anybody else experienced this type of error, and&lt;BR /&gt;
&amp;gt; do you know why it happened?&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Regards,&lt;BR /&gt;
&amp;gt; Loccita&lt;BR /&gt;
&lt;BR /&gt;
I try the code you suggested in Python and I got a syntax error. under out.write. I don't much about python any idea?</description>
      <pubDate>Fri, 26 Feb 2010 22:26:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/5330#M1697</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-26T22:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to repair a .egp file?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/258390#M18091</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I just faced the same issue today. Mid-Tier were the content server/repository is was too slow, after restarting all servers and services we are able to access all EG project.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 01:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/258390#M18091</guid>
      <dc:creator>Matt</dc:creator>
      <dc:date>2016-03-23T01:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to repair a .egp file?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/491938#M31704</link>
      <description>&lt;P&gt;Responding to an old post, as i have had this issue in the past and thought what i found may help others. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;METHOD 1:&lt;/STRONG&gt;&lt;BR /&gt;You can try changing the file extension to ZIP.&lt;BR /&gt;&lt;BR /&gt;When you open the file you should see something like this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 206px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22946iD67B04B8FDD8991C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Navigate through each folder to find the desired code (most likely in one of the CodeTask folder) and then open the code.sas file.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 167px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22947i0B1DE15486ACCF5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You then just need to create a new project, and insert the required code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;METHOD 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Open the Project, so long as it shows the path in the title bar the project will have most likely loaded, even if the icons are not showed in the process flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the menu, save the project using "SAVE AS" and give the file a new name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Close project&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reopen the project, and it should open up correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway hope one of these ideas help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Sep 2018 22:45:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/491938#M31704</guid>
      <dc:creator>SamuelD</dc:creator>
      <dc:date>2018-09-02T22:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to repair a .egp file?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/491952#M31705</link>
      <description>&lt;P&gt;I would also ensure that EG project files get stored in a folder location that gets backed up regularly. It is probably easier and quicker to restore the last good EG project file, then update that, than it is manually create a new one from scratch.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 01:17:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-repair-a-egp-file/m-p/491952#M31705</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-09-03T01:17:51Z</dc:date>
    </item>
  </channel>
</rss>

