Skip to main content
Participating Frequently
February 7, 2013
Question

RoboHelp 8 - how to resolve rhbuildtag.apj/.cpd file errors?

  • February 7, 2013
  • 1 reply
  • 1425 views

Hi there,

I’m using RoboHelp 8 (with service packs, version number is 8.0.2.208). There are two writers on our team (in separate offices) and we use SVN (via Tortoise SVN) to version all our source files. Our Online Help is comprised of about 30 individual help projects that we merge at build time. We work locally on our own machines and commit everything to SVN each evening.

We (mainly me) have had ongoing problems with .cpd files getting corrupted (I’m in the company 5 months). I’ve followed all the good advice I’ve seen on forums about renaming/deleting them and letting the affected RoboHelp project re-create it when I start it up again. This has worked until now.

Also note, that I got a new machine early this week and I brought all our source files down successfully from our SVN repository after we installed RoboHelp. Happy days.

Yesterday in one Help project I received the following error messages and noticed that the Conditional Build Tags were not listed in the CBT Pod, despite being present in the topic themselves.

  • An error occurred while trying to read data from <Project Path\Project Name\rhbuildtag.apj> <1>
  • Your project file, C:<Project Path\Project Name\project.cpd, is corrupt and cannot be opened. Try deleting this file and reopening the project.

I consulted with my colleague this morning and his local project is fine – all conditions present and correct and no CPD error message. He committed his project to SVN and I updated but still no luck.

Despite having the latest versions from our repository anyway, I tried copying the contents of his rhbuildtag.apj file to mine but that made no difference at my side. I renamed/deleted CPD files several times over but project still won’t open. I deleted my local working versions of all our Help projects and brought them down from our SVN repository - twice. No luck.

I’m flummoxed as how to fix this project/restore conditions to CBT Pod?

Why would I have ongoing CPD issues and my colleague not?

My colleague is offline until the morning (different time zones) so will catch up with him then again. It seems to be something very local to my setup.

Many thanks in advance for any wise words offered.

This topic has been closed for replies.

1 reply

Jeff_Coatsworth
Community Expert
Community Expert
February 7, 2013

You should also check the forums to see that you're checking in/out the correct files - there are some that shouldn't ever be placed in source control

ConccAuthor
Participating Frequently
February 7, 2013

Hi Jeff,

Yes, we are aware of not versioning certain files types  (.ldb, .hhp, .pss and .cpd). These are not versioned to our SVN repository and remain unversioned locally.

Many thanks.

RoboColum_n_
Legend
February 7, 2013

...and the .cpd file is one of them. We use the SVN Ignore command to stop these being checked into SVN. However this issue seems to be with the conditional build tag file. in order to eliminate any source control trickery I think you need to save the source to another non-SVN location and remove all connection to your SVN Repository. Does the project open then? I suspect it won't as I think the rhbuildtag.apj may well be corrupt. If this is the case you'll either have to recreate it or see if you have an old copy somewhere that you can copy in.