Copy link to clipboard
Copied
I'm using RoboHelp HTML 10.0.1.292. I have one project using conditional text that creates two outputs: Basic and Advanced. When I publish the Basic project, I get the error, "Publishing meets an unexpected error. The system cannot find the path specified," and it provides me with the path and file name that's missing. The problem is, the Basic project shouldn't be looking for that file at all. The topic is marked as Advanced at the topic level and there is no Basic conditional text at the content level. I've tried untagging the topic and re-tagging it and then re-publishing, but that hasn't worked. Why is it bringing in a file that it shouldn't?
Looking through a copy of the project it appeared that there was something wrong with the offending topic that wasn’t respecting its CBT. To fix it, I stumbled upon a method:
1. Within RH, duplicate the offending topic .
2. Rename the offending topic to something else.
3. Rename the copy to the original topic name.
4. Delete the offending topic.
Copy link to clipboard
Copied
Sounds like you’ve got a reference to it somewhere that it’s trying to resolve, but can’t because the topic is being screened?
Copy link to clipboard
Copied
I thought that too. How do I find that reference?
Copy link to clipboard
Copied
Not sure – maybe use a FAR tool to look for all instances of the topic’s filename?
Copy link to clipboard
Copied
I used RH's Find and Replace in Files tool to search for "Set_the_Time_Time_Zone_Time_Synchronization_for_the_Paging_Gateway.htm," the offending file's name. It is legitimately referenced by other Advanced files, but it is also appearing in the SSL folders for the Basic project (but is referenced nowhere else in the actual Basic project). I'm including the file text below and I've bolded what I think to be the problem. How can I fix this? I'm not very saavy in HTML.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Adobe RoboHelp 10" />
<title>Virtual Appliance Overview</title>
<link rel="StyleSheet" href="../IPT_Style.css" type="text/css" />
<script type="text/javascript" language="JavaScript">
//<![CDATA[
function ehlp_showtip(current,e,text)
{
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape'))
{
document.tooltip.document.write("<layer bgColor='yellow' style='border:1px solid black;font-size:12px;'>"+ text + "</layer>");
document.tooltip.document.close();
document.tooltip.left=e.pageX+5;
document.tooltip.top=e.pageY+5;
document.tooltip.visibility="show";
}
}
function ehlp_hidetip()
{
document.tooltip.visibility="hidden";
}
//]]>
</script>
<script type="text/javascript" language="JavaScript">
//<![CDATA[
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//]]>
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute;
left:0px;
top:0px;
z-index:4;
visibility:hidden; }
-->
</style>
<script type="text/javascript" language="javascript1.2" src="../whmsg.js" charset="utf-8"></script>
<script type="text/javascript" language="javascript" src="../whver.js" charset="utf-8"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js" charset="utf-8"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js" charset="utf-8"></script>
<script type="text/javascript" language="javascript1.2" src="../whlang.js" charset="utf-8"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js" charset="utf-8"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">//<![CDATA[
<!--
if (window.gbWhTopic)
{
var strUrl = document.location.href;
var bc = 0;
var n = strUrl.toLowerCase().indexOf("bc-");
if(n != -1)
{
document.location.href = strUrl.substring(0, n);
bc = strUrl.substring(n+3);
}
if (window.addTocInfo)
{
addTocInfo("Administer the Virtual Appliance\nVirtual Appliance Overview");
addAvenueInfo("General","Manage_Plugins/Individual_Plugin_Configuration/Paging_Gateway/Optional_Server_Configurations/Set_the_Time_Time_Zone_Time_Synchronization_for_the_Paging_Gateway.htm","Administer_the_Virtual_Appliance/Changing_the_Virtual_Appliance’s_Password.htm");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
document.write("<p style=\"text-align:right\"> ");
AddMasterBreadcrumbs("../index.htm", "", ">", "Home", "../Overview_of_InformaCast_Virtual_Appliance/Welcome.htm");
document.write("<a href=\"Virtual_Appliance_Overview.htm\">Administer the Virtual Appliance<\/a> > Virtual Appliance Overview<\/p>");
}
else
if (window.gbIE4)
document.location.reload();
onLoadHandler = function()
{
if (window.setRelStartPage)
{
setTimeout("setRelStartPage('../index.htm');", 1)
setTimeout("UpdateBreadCrumbsMarker();", 1);
}
}
if (window.addEventListener){
window.addEventListener('load', onLoadHandler, false);
} else if (window.attachEvent){
window.attachEvent('onload', onLoadHandler);
}
function onSetStartPage()
{
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
//-->
//]]></script>
<script type="text/javascript" src="../ehlpdhtm.js" language="JavaScript1.2"></script>
<h1>Virtual Appliance Overview</h1>
<h2>A help system for the server administration of the Virtual Appliance</h2>
<p><br />
</p>
<p>The following sections detail how to manage InformaCast Virtual Appliance from the server side:</p>
<ul style="list-style: disc;">
<li>
<p><a title="Logging into the Virtual Appliance's Interfaces" href="Virtual_Appliance_Interfaces/Logging_into_the_Virtual_Appliance’s_Interfaces.htm" onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'Logging into the Virtual Appliance\'s Interfaces');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();">Logging into the Virtual Appliance's Interfaces</a></p>
</li>
<li>
<p>Migrating from Windows to the Virtual Appliance</p>
</li>
<li>
<p><a title="Changing the Virtual Appliance’s Password" href="Changing_the_Virtual_Appliance’s_Password.htm" onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'Changing the Virtual Appliance’s Password');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();">Changing the Virtual Appliance’s Password</a></p>
</li>
<li>
<p><a href="Virtual_Appliance_Actions/Managing_Virtual_Appliance_Actions.htm">Managing Virtual Appliance Actions</a></p>
</li>
<li>
<p><a title="Changing the Virtual Appliance’s IP Address" href="Changing_the_Virtual_Appliance’s_IP_Address.htm" onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'Changing the Virtual Appliance’s IP Address');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();">Changing the Virtual Appliance’s IP Address</a></p>
</li>
<li>
<p><a title="Updating JTAPI" href="Updating_JTAPI.htm" onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'Updating JTAPI');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();">Updating JTAPI</a></p>
</li>
<li>
<p><a title="Upgrading Your VMware Tools" href="Upgrading_Your_VMware_Tools.htm" onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'Upgrading Your VMware Tools');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();">Upgrading Your VMware Tools</a></p>
</li>
<li>
<p><a title="Upgrading InformaCast Virtual Appliance" href="Virtual_Appliance_Upgrade_Process/Upgrading_InformaCast_Virtual_Appliance.htm" onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'Upgrading InformaCast Virtual Appliance');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();">Upgrading InformaCast Virtual Appliance</a></p>
</li>
</ul>
<p><a href="javascript:void(0);" onclick="var e; if (parseInt(navigator.appVersion)>=4){e=event;} if (parseInt(navigator.appVersion) >=2 && typeof(PickupDialog_Invoke) == 'function') PickupDialog_Invoke(e,'','Changing the Virtual Appliance’s IP Address','Changing_the_Virtual_Appliance’s_IP_Address.htm','Changing the Virtual Appliance’s Password','Changing_the_Virtual_Appliance’s_Password.htm','Logging into the Virtual Appliance’s Interfaces','Virtual_Appliance_Interfaces/Logging_into_the_Virtual_Appliance’s_Interfaces.htm','Managing Virtual Appliance Actions','Virtual_Appliance_Actions/Managing_Virtual_Appliance_Actions.htm','Updating JTAPI','Updating_JTAPI.htm','Upgrading InformaCast Virtual Appliance','Virtual_Appliance_Upgrade_Process/Upgrading_InformaCast_Virtual_Appliance.htm','Upgrading Your VMware Tools','Upgrading_Your_VMware_Tools.htm');return false;" title="Related Topics"><img src="../ss_btn_related_topics.gif" border="0" height="20" width="94" alt="Related Topics" /></a> </p>
<script type="text/javascript" language="JavaScript">//<![CDATA[
if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")
WritePopupMenuLayer();
//]]></script><script type="text/javascript" language="JavaScript">
//<![CDATA[
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape'))
document.write("<div id='tooltip' class='WebHelpPopupMenu'></div>");
//]]>
</script><script type="text/javascript" language="javascript1.2">//<![CDATA[
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
highlightSearch();
//-->
//]]></script>
</body>
</html>
Copy link to clipboard
Copied
Finding it in the SSL folder doesn’t really help you – that’s the help output folder. You need to find a topic within the project folder that’s referencing the “offending” topic.
Copy link to clipboard
Copied
That's what I'm telling you: there isn't one. Aside from SSL folders, it's only mentioned legitimately in four other files that are all marked as Advanced at the topic level and contain no Basic tags either at the topic level or content level.
Copy link to clipboard
Copied
The offending file does link (through the Related Topics button) to a file that is not conditional (it applies to both Basic and Advanced outputs). I don't see how that could be the problem because there are other instances like that in the guide and they aren't causing problems.
Copy link to clipboard
Copied
Can you share the project? I’d be willing to have a look at it for you if you want. Send me a PM to get my e-mail address.
Copy link to clipboard
Copied
I would love to, but I don't know how to send you a PM. While trying to figure that out, I managed to ascertain that the offending file is being linked to by three files:
These appear to be two index entries followed by a TOC entry. They are legitimate entries (I want this topic indexed and in the TOC), but not for the Basic project.
Copy link to clipboard
Copied
I’ve sent you a PM with instructions.
Copy link to clipboard
Copied
Looking through a copy of the project it appeared that there was something wrong with the offending topic that wasn’t respecting its CBT. To fix it, I stumbled upon a method:
1. Within RH, duplicate the offending topic .
2. Rename the offending topic to something else.
3. Rename the copy to the original topic name.
4. Delete the offending topic.
Copy link to clipboard
Copied
Would have been interesting to see if simply renaming the offending topic woul dhave worked.
Cheers... Rick
Copy link to clipboard
Copied
Just tested – yes, renaming worked at fixing the issue, but when I renamed it back again, the topic started misbehaving again.