HnM 8.4.1 Build 5881, project in git
I was editing a project this morning with some 1900 (small) topics. I added some new topics, renamed the files in the Project Explorer, and tried to save the changes.
I received an Access Violation and the option to restart HnM.
Now when I try to open the project, I get "Cannot load -- Please ensure that you have sufficient rights to open the project".
If I open the hmxp in a text editor, the beginning is full of NUL up to here: onfig-value name="STR_CAT_SUMMARY".
Any ideas what has happened?
I edited the same project last week and had no problems.
Is it ok to copy the first part of the file from git and replace the NUL?
Problem on saving -- now cannot open project
Moderators: Alexander Halser, Tim Green
-
- Posts: 305
- Joined: Mon Aug 21, 2017 7:35 pm
- Tim Green
- Site Admin
- Posts: 23157
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Problem on saving -- now cannot open project
Yes, this is definitely what you should do. What happened here was a very unusual error during saving, that corrupted the main .hmxp file. The STR_CAT_SUMMARY is just the definition of one of the interface texts for WebHelp search. It is quite far down in the file, so there is a lot missing.Is it ok to copy the first part of the file from git and replace the NUL?
It is hard to say what caused this, but the most likely culprit is a Windows or network error during saving (if your project is on a network drive). This is particularly likely if you are trying to work across a WAN connection, for example a VPN or WebDAV drive on a remote computer.
Did you get the option to send a bug report when the Access Violation dialog came up? This provides key information that could allow our developers to analyze what the cause of the problem was.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 305
- Joined: Mon Aug 21, 2017 7:35 pm
Re: Problem on saving -- now cannot open project
Hi Tim,
The projects are all on a local drive.
I've got a similar problem in another project which did not raise an error on saving but corrupted the hxmp file.
I don't have the error message any more. Does it get cached anywhere?
The projects are all on a local drive.
I've got a similar problem in another project which did not raise an error on saving but corrupted the hxmp file.
I don't have the error message any more. Does it get cached anywhere?
- Tim Green
- Site Admin
- Posts: 23157
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Problem on saving -- now cannot open project
This is very unusual, actually unique. Are you running the latest version of Help+Manual? If you're not saving on a network HM is absolutely reliable on saving your projects, with multiple checks performed before it actually lets go of and closes a project after saving.John Johann wrote: ↑Wed Oct 12, 2022 10:48 am I've got a similar problem in another project which did not raise an error on saving but corrupted the hxmp file.
I don't have the error message any more.
HM maintains a shadow copy of all your unsaved changes while you are working and if the save fails it will offer to save the unsaved files in a separate copy. If you don't do that, they are deleted, however.Does it get cached anywhere?
If you are experiencing uniquer problems like this I would recommend a solution like AJC Active Backup, at the very least until you find the cause (and you'll definitely want to go on using it afterwards). You configure AJC to monitor all your work and save it in compressed archives in any location you like (for example on an external drive or NAS). The archives are very compact, only saving the differences between each iteration, and allow you to recover any version of any file you have ever saved. Even with version control it has saved me huge amounts of work many times -- for example when I selected a lot of files in Tortoise and accidentally clicked "Delete" instead of "Add". ACJ is produced by a customer of ours, Andrew Cutforth, and we don't have any financial relationship with him. He just produces truly excellent software.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 305
- Joined: Mon Aug 21, 2017 7:35 pm
Re: Problem on saving -- now cannot open project
Hi Tim,
HnM 8.4.1 Build 5881, project in git.
The project has only recently been changed to git and I did not have this sort of problem before.
Hopefully something was just having a bad day and has got over it now .
HnM 8.4.1 Build 5881, project in git.
The project has only recently been changed to git and I did not have this sort of problem before.
Hopefully something was just having a bad day and has got over it now .