Desktop productivity for business analysts and programmers

Is it possible to repair a .egp file?

Reply
N/A
Posts: 0

Is it possible to repair a .egp file?

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.

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?
Community Manager
Posts: 3,354

Re: Is it possible to repair a .egp file?

Posted in reply to deleted_user
Your best bet is to open a tech support track, and we can see if we can recover it for you.

Chris
N/A
Posts: 0

Re: Is it possible to repair a .egp file?

Posted in reply to ChrisHemedinger
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.
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!

Example in Phyton:

infile=file('EGProject.egp', 'rb')
txt=infile.read()
infile.close()
out=file('EGProject.egp', 'wb')
out.write(txt[txt.find('P'):len(txt)])
out.close()

But, we have no idea what caused this error.
Have anybody else experienced this type of error, and do you know why it happened?

Regards,
Loccita
N/A
Posts: 0

Re: Is it possible to repair a .egp file?

Posted in reply to deleted_user
> 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.
> 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!
>
> Example in Phyton:
>
> infile=file('EGProject.egp', 'rb')
> txt=infile.read()
> infile.close()
> out=file('EGProject.egp', 'wb')
> out.write(txt[txt.find('P'):len(txt)])
> out.close()
>
> But, we have no idea what caused this error.
> Have anybody else experienced this type of error, and
> do you know why it happened?
>
> Regards,
> Loccita

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?
N/A
Posts: 0

Re: Is it possible to repair a .egp file?

Posted in reply to deleted_user
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.
Contributor
Posts: 39

Re: Is it possible to repair a .egp file?

Posted in reply to deleted_user

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.

Ask a Question
Discussion stats
  • 5 replies
  • 3662 views
  • 4 likes
  • 3 in conversation