• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

RH7 Eats Snippets

Guest
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

Is anyone else having trouble with the Snippet pod? I can create Snippets and insert them in topics no problem, but when I close the project, RH7 deletes all of the snippets out of the Snippet pod. The references in the topics remain, and the HTS file remains in the project's root directory, but the Snippet pod is empty.

Views

788

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Mar 11, 2008 Mar 11, 2008
I made a back up copy of the project and renamed the CPD file so it had an extension of .bak. I reopened the project and now the snippets are playing nicely. I tried this with another project and that fixed the problem.

I wish Adobe would get rid of the CPD file. It always causes so much wierdness.

Thanks for the help.

Votes

Translate

Translate
Guest
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

Haven't seen that. I am using a few snippets, and I like them so much I am looking for reasons to create more. They have been behaving like little angels!!!

By any chance, is your project residing on a network? That is a BIG no-no.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

No, the project is on my c: drive. I have a folder called RoboHelp, and all of my projects are in that folder.

This project was created with RH5, converted to RH6, and now converted to RH7. The project has been around since 2005 but that shouldn't matter since this is a brand new feature.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

no, I doubt that the project heritage matters at all - my projects have been around since 2003ish.

Can you see if the same problem exists in another project? Open up one of the sample projects, for example, create and use a few snippets and see if they get blown away...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

Hmmm...All ten of my existing projects behave this way. I created a new project, and the snippets work just fine.

What I did notice is that the new project creates an entry in the rhsnippet.apj file as it should but with the existing projects there is no entry in the rhsnippet.apj file. The file is not write protected. Very strange.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

Try copying a rhsnippet.apj file across.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

peter, you read my mind. I was stumped, but feeling adventurous enough to suggest the very same.

wouldn't hurt, by the way, to make a backup of your project environment as it is now before you start troubleshooting.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

I tried that. I imported the snippet from the new project into the old project and I copied the rhsnippet.apj file across. The imported snippet works beautifully. If I then try to create a new snippet in the old project, it still doesn't write to the rhsnippet.apj file. I did check the xpj files to be sure the reference to the rhsnippet.apj file was the same in both projects. Very strange.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

Create a copy of one of your projects. Generate a CHM output. Delete the CPD and XPJ files and use the HHP to reopen it. Do the snippets then play nicely?

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

I made a back up copy of the project and renamed the CPD file so it had an extension of .bak. I reopened the project and now the snippets are playing nicely. I tried this with another project and that fixed the problem.

I wish Adobe would get rid of the CPD file. It always causes so much wierdness.

Thanks for the help.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

Hi southwinds

I wish Adobe would get rid of the CPD file.

I stand to be corrected here, but if they did that, you would probably hear a nice whooshing sound as any reporting capability vanished.

I'm not 100% sure, but I believe the reports are genned from the .CPD file (which probably explains why it's still around).

Cheers... Rick

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 24, 2008 Apr 24, 2008

Copy link to clipboard

Copied

Wow, this really works!!! This is wonderful.

Rick, please accept a virtual dinner-in-a-nice-restaurant as a sign of my gratitude! You are the best!

I did not realize that RH7HTML would simply re-build the missing CPD file, without loosing information.

Is there any logic to deleting the CPD file (and also the XPJ file) to recover from strange problems? Is this simply a last resort? Or is it a good remedy for all sorts of odd behavior?

Interestingly, this did not fix my problem with the A^ character prepended to many special characters if Microsoft HTML Help > Optimize CHM File Size is enabled. But that is another story entirely of course.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 25, 2008 Apr 25, 2008

Copy link to clipboard

Copied

Pet3689

See Opening Projects on my site. That covers what gets lost when you trash the CPD. Trashing it causes it to be rebuilt from various internal files and that process can correct errors that have got into the CPD.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 16, 2008 May 16, 2008

Copy link to clipboard

Copied

I am having a similar problem with snippets however mine is in a multi-author environment. We have three authors and we are using RoboSource Control. Sometimes one author can't see any of the snippets while another author can when they have the Robohelp project open. The snippets do exist on the server that RoboSource Control is on and on the hard drive when they are downloaded. The only solution that I have found to make the snippets display is to delete all of the RoboHelp project files from your hard drive and download it again RoboSource. This is not hard to do but more rather annoying because sometimes we have to do that 4 or 5 times in a day.

I have read your solution – “Create a copy of one of your projects. Generate a CHM output. Delete the CPD and XPJ files and use the HHP to reopen it.”

How would you do that though when the project is on RoboSource Control. I don't when to mess up the connection to RoboSource Control. Would I need to actually delete the XPJ off of the server to do this?

Thanks,
Emma

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 16, 2008 May 16, 2008

Copy link to clipboard

Copied

LATEST
Hi Emma.
I don't use RSC preferring to use a third party solution but I'd have thought that as long as you check out and check in to/from the same location that it shouldn't matter. So if you follow the advice, just make sure you copy the files back to the original location.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp