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

Can't Delete Baggage Files

Community Beginner ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

So I have a baggage file with no more references to it in my project, yet the "delete" button is greyed out. I've also manually removed the file from rhbag.apj, yet it still appears in my baggage file list.

Any ideas?

Views

1.3K

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

Enthusiast , Jun 07, 2006 Jun 07, 2006
Aaron,

Before you throw away that .cpd file......

Make a copy of the .cpd file.

Launch MS Access and open the (copy) .cpd file.

CLick to view TABLES.

Two tables are relevant: Baggage Files and References to Baggage Files.

The database structure is not hard to fathom.

The Baggage Files table lists and assigns a number to every baggage file that (it thinks) is in the project. If there's an entry here for a file you are certain does not exist, that's a glitch. Delete that record from the (co...

Votes

Translate

Translate
LEGEND ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

I've seen this where there is a spurious entry somewhere in the project that doesn't appear. Try using a find and replace tool to look for the file. If you find it, you can edit the file as necessary. Let us know how you get on.

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
Enthusiast ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

Aaron,

Even if you can't track down the reference, you can get rid of it.

From the RH Baggage Files menu at the left, right-click and select New Baggage File.

If the phantom icon is inside a lower level "folder," make sure you're importing it there.

Probably RH will ask you if you want to overwrite the old one. Click Yes.

Now right-click on the new icon and delete it, or select the new icon and use the red X in the toolbar.

After you save and close the project, look for the imported file in the Windows project folder. If it's there, it is now safe to delete it.

Perhaps you ran afoul of the general "rule" that you should never delete or move a file in the Windows directory view, especially if the RH project is open. If you edit in the Windows view, close the RH project first, and be sure to save the revised file before launching the project again.

Harvey

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 ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

You can beat the system that way but there is an important point here. I have never known it to be the case that you cannot delete the file if there is truly no reference to it. As Colum says, a good find and replace tool will find the reference that you cannot find at the moment. It is better to put the effort into finding the cause.
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
Community Beginner ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

I've done the find and replace...no entires. Going to try to reimport it and then delete that way.

I always edit the rhbag file with RH closed,

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 Beginner ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

Shoot.

Just re-imported and the red "delete" X is still not there. With all other baggage files, if it's used in a topic, you can try to delete it, but will be confronted with a dialog box telling you that you can't delete it if it is still being referenced by a topic.

This file doesn't even give me the option to delete (as do some other baggage files)

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 ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

What are you using to search with?

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 ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

I've been using the built in search within RH.

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 ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

Try using something better.

FAR from http://www.helpware.net is cheap and free for a trial period or Google for BKReplaceEM, that's free.

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 ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

Running the BKReplaceEM right now. Will report back in 2200 files.

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 ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

...and it didn't work. File is still in my baggage and not delete-able.

ran a replace on the file name to replace it with <null>

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 ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

OK if you are absolutely sure you got the search right with BKReplaceEm there are two options.

1] Try again with FAR. I have NEVER known it to fail me on this problem.

2] Get the club hammer out.
Take a copy of your project. Generate a CHM regardless of your normal output. Delete the CPD and the XPJ files and reopen the project by double clicking the HHP file. Now try to delete the baggage file. If that has worked, see the topic on my site about Opening Projects for the detail of what will have been lost. If anything is lost, knowing that the method worked, start again with a fresh copy of the original and follow the detail in my topic.

How big is this project zipped up?

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
Enthusiast ,
Jun 07, 2006 Jun 07, 2006

Copy link to clipboard

Copied

Aaron,

Before you throw away that .cpd file......

Make a copy of the .cpd file.

Launch MS Access and open the (copy) .cpd file.

CLick to view TABLES.

Two tables are relevant: Baggage Files and References to Baggage Files.

The database structure is not hard to fathom.

The Baggage Files table lists and assigns a number to every baggage file that (it thinks) is in the project. If there's an entry here for a file you are certain does not exist, that's a glitch. Delete that record from the (copy) .cpd database. (Alternatively, follow Peter's instructions on how to delete and rebuild a .cpd file.)

The References to Baggage Files table lists each link by baggage file number and topic number. (There's another table that lists and assigns numbers to every topic that -- it thinks -- is in the project.) If the references table has an entry, check the topic that supposedly has a link. If it's a bad entry, get rid of it.

Temporarily rename the original .cpd file and rename the copy as the original. Open the RH project.

(Alternatively, trash and rebuild the .cpd file and open the project.)

Good luck.

Harvey

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 Beginner ,
Jun 07, 2006 Jun 07, 2006

Copy link to clipboard

Copied

LATEST
That worked! Thanks!

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