Copy link to clipboard
Copied
In a project, there are more than 10 book with sub-books and topics (700+).
Observations:
RH version 2022.4.179
Please help
Copy link to clipboard
Copied
Patching topic xyz.htm..
Copy link to clipboard
Copied
When generation completes, there is a log file. Obviously you are not seeing that. There is also a different log file at C:\Users\<user-name>\AppData\Local\Temp\RHTMP folder.. That said, it is intended for Adobe use so you may find it doesn't help.
Typically in this situation the best solution is divide and conquer.
Zip up the project so you have a copy that cannot accidentally be opened and worked on. That gives you a copy that you can safely revert to later if needed. Save the zip file somewhere safe.
METHOD ONE
In the new UI the output is controlled by what is in the TOC so create two copies of your TOC and delete different halves of the content from each. One should work and one should fail.
Assuming one half only failed, create a copy of it and again delete different halves. By repeating that you should narrow things down to the topic(s) that are giving grief.
If both failed, you need to create smaller and smaller sections.
METHOD TWO
Create a new TOC and drag to it the first folder in the Contents panel.
Generate that and if it works, drag the next folder.
When generating fails, delete all other folders from the TOC and then create two copies of the TOC.
Delete different halves of the content from each.
Generate again and one should work and one should fail. Repeat until you track down the rogue topic(s).
Once you know which topics are causing the issue, then it's a case of looking at the code if you know how and/or removing chunks of the content until you find the problem. By removing I mean applying a condition tag and expression to exclude parts of the content.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Thank you for the reply, @Peter Grainge.
Copy link to clipboard
Copied
Without the htm code we can only speculate.
Copy link to clipboard
Copied
What is the logic of these things? We can have folders and topics/files with the names start from the letters con, for example, configuration.
We have created all the topics using RH's own new topic creation feature and how can it fails to parse..
Anyway thank you for your reply.
Copy link to clipboard
Copied
Configuration is not the same as CON or even CONA. What @WoutJacobs is saying is that certain folder names in Windows are not permitted but somehow RoboHelp is ignoring that. It's unlikely that is the issue, just an example of some such problem.
Is your project on a local drive and are you generating to the same drive?
Have you double checked your preset?
As I've said, divide and conquer is the sure way to find the fault. It's been posted on these forums on and off for 25 years.
Post back if you still can't find it.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
I mean that literally.
Try creating a folder named 'con', 'prn', 'aux' in Windows. It will prevent you from doing so.
Amusingly enough, RoboHelp has no such checks which causes chaos.
But that's unlikely to be the cause unless you really do have folders named con, aux, prn, nul, or com{N}.
Like Peter said, your best bet is to narrow down the issue.
The issue could be anything, frankly. Impossible to tell without input.
I've had crashes stemming from CSS list indents, accidentally naming my file extensions '.HTM' instead of '.htm', incorrect table structures, ...
RoboHelp has never really been keen on developing error checks (just a generic 'oh no'), so manual troubleshooting is your best bet.
Copy link to clipboard
Copied
It will allow the project to generate if you have removed the rogue topic. 🙂
The point here is we don't know what is causing the problem. Another solution might be to add another TOC for the purpose of troubleshooting. Add one folder at a time and generate. That will find the folder with the rogue topic. Then you remove a few topics at a time from the folder.
You will get reports of broken links, just ignore them.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Let us know how you get on or if you find the rogue topic but can't see the problem.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Not solved the issues. Even generating outputs for set of TOCs did not work. RH is not giving any error messages and just gets stuck with some random topic names.
Copy link to clipboard
Copied
Can you share the project? If you can, then see the Contact page on my site and send the project as instructed there. Do make sure you include a link to this thread and please do not email the project direct.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Hello @Peter Grainge ,
Thank you for your replies. We need one more help.
We have to add a JavaScript file that will help to focus images using keyboard, open thumbnail images and close it using Esc or other button.
Please guide us where to add the JS file in RH source using user interface, and the file should be called in the output.
We have tried it, but no success.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thank you for the reply, @Jeff_Coatsworth. Actually, we need a global/common solution (not topic specific) for this. In the provided pdf file only topic specific solution is provided.
Copy link to clipboard
Copied
You want to add JS to every topic to make whatever it's going to do, work, right? You've got to get a reference to the JS asset file you're shipping with your output, right?
Copy link to clipboard
Copied
No, we have more than 500 topics in the RH project. Adding JS to every topic is not good way to solve the issue. We have to use the JS as a common solution, such as CSS or other JS files.
Copy link to clipboard
Copied
This thread started as an output would not generate, now suddenly it is related to adding a script that seems to be related to another issue. That issue seems to be the same as this thread. Is that something started by a colleague and is the failure to generate linked to some javascript you are trying to add?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Thank you for the reply, @Peter Grainge. We are working on it and connnect with Adobe support, if required.
Copy link to clipboard
Copied
The only place in the UI to add javascript is in the Layout tab of the template. Whether or not that will achieve what you want is another matter.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now