Posted by: rovf | Date: 08/01/2018 07:19 | IP: IP Logged
Until yesterday, using "Project" worked well: I do a "Projects/OpenProject", select my ppr file, and then have my last open files restored and in the left pane the directory tree for my project.
When I did this today, the left pane was empty and no files restored. Of course I could reopen them one by one using "File/Open Special Recent", but the project information seemed to be lost somehow.
I thought that the ppr file might be corrupt, so I looked at it. Indeed, somewhere in the middle, I found the following section:
Note that the ^@ etc is the representation which my file pager uses fornon-printable characters. It means there are NUL bytes and other non-printable characters in the file.
I erased these block of lines (the files don't have to be in my project anyway) using a different text editor, and then started PsPad again, and now my project is fine.
Now this leaves us with the question, how the project file could get corrupted. I have kept a copy of the corrupt file, in case you need it for investigation.
Also, I wonder whether there is a way to exclude some subdirectories from the project. The project file is huge (more than 600KB) and I would like to prune some fairly large subdirectories from the project tree. Having a smaller project file would also lower the probability that it gets corrupted.
Ronald Fischer (Germany)
Edited 2 time(s). Last edit at 08/01/2018 07:20 by rovf.