Skip to main content
Inspiring
August 22, 2012
Answered

Error reading rhvariable.apj after RH9 crash

  • August 22, 2012
  • 2 replies
  • 1427 views

I was adding variables to RH9 on my Win XP 64 pc and RoboHelp crashed.  Not unexpected, RoboHelp crashes several times a day so I save often.  This time, when reopening my project, I get an Error reading rhvariable.apj <5>. 

My rhvariable.apj file is there with most of my work (currently over 600 variables) that I don't want to redo.  If I look at my variables, there are none shown in the editor.

How can I get my variables back without having to re-enter every one?  I have opened the file in notepad and it looks correct, no strange characters and the beginning and end of the file matches the variable files in other projects.  I also tried deleting the .cpd file and this had no effect.

Any help is greatly appreciated.

Thanks

dv

This topic has been closed for replies.
Correct answer rasterdan

Did you remove the CPD before opening the project again?

Greet,

Willam


After a lot of trial and error, I managed to fix this problem myself.  The bottom line is that RoboHelp allows you to make a variable with no value but that is what prevented the rhvariable.apj file from being properly read.

Long story, I am in the process of entering almost a thousand variables which are part numbers for a new product.  Two of these variables did not have a part number yet so I left them blank.  RH9 did not complain or indicate this was invalid in any way.

After I launched RH9 and made one variable, I could see that the rhvariable file had my new entry.  So, I copied and pasted a variable from the old rhvariable file and then restarted RH9.  It showed up.  So I tried 10 variables, that worked.  Somewhere about 400 variables down the list were two variables with a name but no value.  So I entered the words "novalue" and everything was working.

If making a variable name and not having a value is a problem, then the software should not allow you to create this variable.  The only positive thing about this experience is that I understand more about how the .cpd file is created.

Thanks for attempting to help me though, I appreciate that effort. 

I did learn that my WinXP 64 OS is not supported and that gives me ammo to push my IT department for the upgrade.  Actually they down graded my new system from Win7. 

2 replies

Willam van Weelden
Inspiring
August 22, 2012

Hi,

Can you use an XML tool to pinpoint the error? I use Notepad++ with the XML plugin. You can check the file and the tool will point you to the line in the document where the error occurred.

Greet,

Willam

rasterdanAuthor
Inspiring
August 22, 2012

Says No error detected

Peter Grainge
Community Expert
Community Expert
August 22, 2012

Do you mean Windows XP 64 bit? I don't think RoboHelp was ever supported on that OS and may well be why you are getting crashes.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
rasterdanAuthor
Inspiring
August 22, 2012

Is Win 7 64Bit OS supported?

Peter Grainge
Community Expert
Community Expert
August 22, 2012

Yes it is. I cannot be sure that your problems are caused by using an unsupported OS so I would install RoboHelp on a separate machine as a trial version to test first.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.