Build fail Could not find a part of path ErrorID=10086

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
fvila
Propeller Head
Posts: 46
Joined: Fri Feb 27, 2015 3:44 am

Build fail Could not find a part of path ErrorID=10086

Post by fvila »

Seems to occur randomly when I change chapter numbering settings in the TOC

Exact error in log file:

Code: Select all

<Errors>
        <LogEntry File="../../../Project/Targets/Gateway_SecurityGuide_allOS_en_PDF2.fltar" Message="Build failed: Could not find a part of the path 'D:\SVN\gateway_trunk\en\Output\fvila\Gateway_SecurityGuide_allOS_en_PDF2\index.pdf'.
" LineIndex="-1" CharIndex="-1" Subsystem="Compiler" Target="Gateway_SecurityGuide_allOS_en_PDF2" ErrorID="10086" />
    </Errors>
Here are the TOC file and the target
1) TOC FILE ***********************************************************************************************

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CatapultToc
  Version="1">
  <TocEntry
    Title="Start page"
    Link="/Content/start_page.htm"
    conditions="axway_conditions.NotPublish"
    BreakType="chapter"
    StartSection="false"
    PageNumberReset="continue"></TocEntry>
  <TocEntry
    Title="print_cover"
    Link="/Content/Print_matter/print_cover.htm"
    StartChapter="true"
    StartSection="false"
    PageLayout="/Content/Resources/PageLayouts/CoverLayoutPrint.flpgl"
    PageNumber="1"
    PageType="title"
    PageNumberReset="continue"
    AutoEndOnLeftPage="disabled"
    PageNumberFormat="decimal"></TocEntry>
  <TocEntry
    Title="print_copyright"
    Link="/Content/Print_matter/print_copyright.htm"
    StartChapter="true"
    StartSection="false"
    PageLayout="/Content/Resources/PageLayouts/SimplexBodyPagesLayout.flpgl"
    PageNumber="1"
    PageNumberReset="continue"
    VolumeNumberReset="same"
    SectionNumberReset="continue"
    ChapterNumberReset="continue"
    AutoEndOnLeftPage="disabled"
    PageNumberFormat="decimal"
    conditions="axway_conditions.PortalNo"></TocEntry>
  <TocEntry
    Title="print_TOC"
    Link="/Content/Print_matter/print_toc.htm"
    StartChapter="true"
    StartSection="false"
    ReplaceMergeNode="false"
    PageLayout="/Content/Resources/PageLayouts/SimplexBodyPagesLayout.flpgl"
    PageNumberFormat="decimal"
    PageNumber="1"
    PageNumberReset="continue"
    VolumeNumberReset="same"
    SectionNumberReset="continue"
    ChapterNumberReset="reset"
    AutoEndOnLeftPage="disabled"
    ChapterNumber="0"></TocEntry>
  <TocEntry
    Title="Introduction"
    Link="/Content/Gateway_6.16.0_SecurityGuide4/Gateway_6.16.0_SecurityGuide2.htm"
    SectionNumberReset="continue"
    VolumeNumberReset="same"
    ChapterNumber="1"
    BreakType="none"
    StartSection="false"
    PageNumberReset="continue"
    ChapterNumberReset="continue" />
  <TocEntry
    Title="Secure Development Lifecycle"
    Link="/Content/Gateway_6.16.0_SecurityGuide4/Secure Development Lifecycle.htm"
    BreakType="none"
    StartSection="false"
    PageNumberReset="continue"
    SectionNumberReset="continue"
    VolumeNumberReset="same"
    ChapterNumberReset="continue" />
  <TocEntry
    Title="Certifications and compliance"
    Link="/Content/Gateway_6.16.0_SecurityGuide4/Certifications and compliance.htm"
    SectionNumberReset="continue"
    VolumeNumberReset="same"
    StartSection="false"
    ChapterNumberReset="continue"></TocEntry>
  <TocEntry
    Title="Security features"
    Link="/Content/Gateway_6.16.0_SecurityGuide4/Security features.htm"
    BreakType="none"
    StartSection="false"
    PageNumberReset="continue"
    SectionNumberReset="continue"
    VolumeNumberReset="same"
    ChapterNumberReset="continue">
    <TocEntry
      Title="Secure connections"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Secure connections.htm" />
    <TocEntry
      Title="Protocol level security"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Protocol level security.htm"
      BreakType="chapter"
      StartSection="false"
      PageNumberReset="continue" />
    <TocEntry
      Title="Transport level security"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Transport level security.htm" />
    <TocEntry
      Title="Host system security"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Host system security.htm" />
    <TocEntry
      Title="Integration in secured environments"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Integration in secured environments.htm" />
    <TocEntry
      Title="DMZ deployment"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/DMZ deployment.htm" />
    <TocEntry
      Title="Password management"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Password management.htm" />
    <TocEntry
      Title="Certificate Management"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Certificate Management.htm" />
    <TocEntry
      Title="Identity and Access Management"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Identity and Access Management.htm" />
  </TocEntry>
  <TocEntry
    Title="Identity and access management"
    Link="/Content/Gateway_6.16.0_SecurityGuide4/Identity and access management_1.htm"
    BreakType="none"
    StartSection="false"
    PageNumberReset="continue">
    <TocEntry
      Title="Available resources, actions and privileges"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Available resources actions.htm" />
    <TocEntry
      Title="Predefined default roles"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Predefined default roles.htm" />
  </TocEntry>
  <TocEntry
    Title="Configuration"
    Link="/Content/Gateway_6.16.0_SecurityGuide4/Configuration.htm"
    BreakType="none"
    StartSection="false"
    PageNumberReset="continue">
    <TocEntry
      Title="Security architecture"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Security architecture.htm" />
    <TocEntry
      Title="Product certificates"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Product certificates.htm" />
  </TocEntry>
  <TocEntry
    Title="Security best practices"
    Link="/Content/Gateway_6.16.0_SecurityGuide4/Security best practices.htm"
    BreakType="none"
    StartSection="Unchecked"
    PageNumberReset="continue">
    <TocEntry
      Title="Secure connections"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Secure connections_1.htm"
      BreakType="chapter"
      StartSection="false"
      PageNumberReset="continue"
      PageLayout="/Content/Resources/PageLayouts/SimplexBodyPagesLayout.flpgl"
      SectionNumberReset="continue"
      VolumeNumberReset="same"
      ComputeToc="false" />
    <TocEntry
      Title="Sample certificates"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Sample certificates.htm" />
    <TocEntry
      Title="Self-signed certificates"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Self signed certificates.htm" />
    <TocEntry
      Title="Privileged access user list"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Privileged access user list.htm" />
    <TocEntry
      Title="Internet access limitation"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Internet access limitation.htm" />
    <TocEntry
      Title="Correct upgrade procedure"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Correct upgrade procedure.htm" />
    <TocEntry
      Title="Generic or anonymous users"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Generic or anonymous users.htm" />
    <TocEntry
      Title="Password policy"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Password policy.htm" />
    <TocEntry
      Title="Default authentication account"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Default authentication account.htm" />
    <TocEntry
      Title="Remote connections"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Remote connections.htm" />
    <TocEntry
      Title="Sensitive files and databases"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Sensitive files and databases.htm" />
    <TocEntry
      Title="Identified threats and possible mitigations"
      Link="/Content/Gateway_6.16.0_SecurityGuide4/Identified threats and possible.htm" />
  </TocEntry>
</CatapultToc>

1) TARGET FILE ***********************************************************************************************

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CatapultTarget
  Version="2"
  Comment="PDF target"
  Type="PDF"
  Destinations=""
  GlossaryTermConversion="marked"
  MasterStylesheet="/Content/Resources/Stylesheets/axway.css"
  MoveOutputContentToRoot="false"
  MasterPage="/Content/Resources/MasterPages/webhelp_portal.flmsp"
  DisableAutoSync="false"
  TargetLanguage="en-us"
  ConditionTagExpression="include[axway_conditions.PrintOnly or Diff_guide_conditions.Security_content] exclude[axway_conditions.NotPublish or axway_conditions.PendingValidation or axway_conditions.PortalNo or axway_conditions.Review or axway_conditions.ScreenOnly or axway_conditions.WriterInstructions] "
  ReplaceSpacesWithUnderscores="false"
  MakeFileLowerCase="false"
  ExcludeUnreferencedContent="true"
  UseEmptyAltText="true"
  ServerEnabled="false"
  Skin="/Project/Skins/AxwayHTML5.flskn"
  ChunkTOC="false"
  OutputFile="index.htm"
  MasterToc="/Project/TOCs/SecurityGuide.fltoc"
  PatchHeadingLevels="true">
  <Glossaries />
  <Variables>
    <Variable
      Name="axway_variables/Document type">Security Guide</Variable>
  </Variables>
  <Destinations> </Destinations>
  <RelationshipTables />
</CatapultTarget>
fchan
Propeller Head
Posts: 47
Joined: Fri Aug 31, 2012 11:41 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by fchan »

This happens to me consistently for one particular project. It has very few topics and both target and TOC are very simple. The output is PDF. (If I change the output to HTML, the build is fine. I get this error only for the PDF output.)

Also, if the project is on the local C: drive, the build is OK. The error happens only when we use Flare for a project on a network drive. From your message, i guess your D: drive is a network drive as well.

We can't get a straight answer from MadCap other than "Flare doesn't work well on network drives." I wonder if other users of network drives have the same problem.
Mike Kelley
Propeller Head
Posts: 68
Joined: Fri Aug 22, 2014 12:24 pm

Re: Build fail Could not find a part of path ErrorID=10086

Post by Mike Kelley »

I use Flare to modify a project that lives on a network share. The only problem we've ever experienced was overwriting someone else's work. It's a collaborative test/mockup project; our real one is safely contained in source control.

I'm sorry I can't be of more help, but I wanted to address fchan's thought.
fvila
Propeller Head
Posts: 46
Joined: Fri Feb 27, 2015 3:44 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by fvila »

Well no, it's not a network drive.
The content is input from Word
I'll try outputting to C: , be back in a second...
Seems to be working for the moment, although the progress bar stops in mid-air for a while.
I'm keeping my fingers crossed...
>>>> NO this has nothing to do with it. I added the cover pages and the build re-crashed !
fvila
Propeller Head
Posts: 46
Joined: Fri Feb 27, 2015 3:44 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by fvila »

Things are looking a bit better. Someone advised me to delete the existing output folder and kill any process related to Acrobat reader in the task manager. Seems to work
fchan
Propeller Head
Posts: 47
Joined: Fri Aug 31, 2012 11:41 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by fchan »

Deleting the Output folder didn't work for me.

I did discover that if I do the following, the build is OK:
In the PDF target, go to the Advanced tab and select Glossary proxy.

Whenever the Glossary proxy is selected, the build is successful. Whenever it is de-selected, the build fails with the path error.

This is not a good fix because (1) selecting Glossary would put a glossary at the end of the PDF output, which we don't need, and (2) this works for one particular project but not the others with the same build error.

Again, I don't see the build error as long as the project is on the C: drive. It happens only on the network drive.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Build fail Could not find a part of path ErrorID=10086

Post by RamonS »

What might happen is that overall the path, file name, and command that gets executed to shell is longer than 255 characters. Windows cannot handle this. That is a restriction from DOS that never got removed, not even in Win 10, mainly due to Win 10 still using stone age tech file system NTFS.
VelocityGirl
Jr. Propeller Head
Posts: 4
Joined: Fri Mar 04, 2016 6:05 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by VelocityGirl »

None of these fixes are working for me. When I had this problem previously, removing the TOC and adding a new one temporarily fixed the problem, but the issue has returned. It only seems to be for one PDF target for a document I'm trying to produce. Other flare files are working fine so just seems to be this one. I think the build is failing at "creating chapters..." but not positive. Any ideas how to troubleshoot this further? I have drafts due out this week so really need this to give me SOME sort of PDF output :shock:
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Build fail Could not find a part of path ErrorID=10086

Post by ChoccieMuffin »

VelocityGirl wrote:None of these fixes are working for me. When I had this problem previously, removing the TOC and adding a new one temporarily fixed the problem, but the issue has returned. It only seems to be for one PDF target for a document I'm trying to produce. Other flare files are working fine so just seems to be this one. I think the build is failing at "creating chapters..." but not positive. Any ideas how to troubleshoot this further? I have drafts due out this week so really need this to give me SOME sort of PDF output :shock:
Could you re-create your target for the output in question? I find that if I've changed a target from one type to another (for example if I've made the Help target and just copy that and edit it to create the PDF target) that some settings from the original target type don't get removed.

Just clutching at straws, but that might help. If not, you could try re-creating your TOC from scratch as well.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Linguistica
Jr. Propeller Head
Posts: 2
Joined: Mon Feb 29, 2016 3:25 pm

Re: Build fail Could not find a part of path ErrorID=10086

Post by Linguistica »

Using Flare 12.0.599
Flare was failing with this error for both a project's Online help Build and its PDF Help guide build.
None of the solutions below worked, but what did was removing the checkbox in the Source Control section next to:
Automatically get latest version of all files before generating the target.
We just recently moved around our linked subversion folders and suddenly started getting this error. I do successfully poll the subversion link every time I open a project to verify I have the latest project content locally. The issue seems to be only on the Build side.
joel7
Propeller Head
Posts: 16
Joined: Fri Mar 20, 2015 9:46 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by joel7 »

I have no idea why, but I changed the Output file to default in the PDF target and it fixed this problem. So, PDF target > General > Output File > (default).
Nick A
Propeller Head
Posts: 15
Joined: Thu Sep 20, 2018 1:10 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by Nick A »

For as long as I can remember, Acrobat has had a nasty trick of "holding open" a PDF file, even when you specifically close it within Acrobat, but keep Acrobat open. When another application tries to rewrite the same PDF file, the file system correctly reports that the file is still open. Only closing Acrobat makes it fully close/release recent files it has been displaying, which then lets Flare delete and rebuild the PDF. Long ago, I completed a proper Adobe bug report about this issue, but naturally it was ignored. Only recently (https://forums.adobe.com/thread/2462981) somebody has reported the very same issue, with the obligatory useless advice from Adobe about reinstalling the application. I can only suggest that anybody reading this thread also raises a formal Adobe bug report, and then waits for the billion-dollar sloth to fix Acrobat's flawed file handling procedures.
pponos
Jr. Propeller Head
Posts: 2
Joined: Tue Feb 12, 2019 1:46 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by pponos »

Moving the project from a network to a local folder (preferably within "C") solves this issue.
Another explanation is that path is > 256 characters, so definitely I had to move the project to "C".
dalogan
Propeller Head
Posts: 11
Joined: Fri Sep 11, 2009 8:12 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by dalogan »

When this issue comes up, and it does often, I noticed it may happen only on one target for PDF. the other five PDF targets have no issues. However, that one target got hung up in Adobe is strange.
My fixes:
1. Delete the Output, if you can - that folder sometimes does not delete.
2. Delete Analyzer.
3. Project > Users - delete the users folder.
4. C:\Users\USER ID\AppData\Roaming\MadCap Software\Flare\ delete CartapultMdiEditor - but be ready for your layout to be gone the next time you open Flare.

And when all of those don't work, there is the need to end the sync process of Adobe. I have gone through all of the above-mentioned. Restarted Flare and my computer, and the build still does work.
Go into the Window Task Manager > Processes tab. Find and Adobe process - AdobeCollabSync.exe. End that process. I have had it happen where I get one build out. But not a second one.

I would like to know if there is a surefire way to ensure Adobe won't keep documents open.
robdocsmith
Sr. Propeller Head
Posts: 247
Joined: Thu May 24, 2018 3:11 pm
Location: Queensland, Australia

Re: Build fail Could not find a part of path ErrorID=10086

Post by robdocsmith »

Periodically I have issues with Adobe Acrobat not playing nicely and leaving the AdobeCollabSync process running. This prevents a rebuild of the target from Flare as the output is seen as still open. The process is an Adobe Creative Suite component that makes files available to share between other users. If you're not doing that, the component isn't necessary to either Acrobat or Flare. I found it inside the Program Files (x86)/Adobe/Adobe DC folder and renamed the executable. Now it doesn't run and doesn't get in the way of my build testing.

Cheers,
Rob
kirinawust
Propeller Head
Posts: 19
Joined: Tue Nov 05, 2013 5:08 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by kirinawust »

Anybody out there?
I have this error 10086 every other time I build, so I can build once (on local C:\), everything's fine, but for the next build, Flare cannot find the path anymore. But it has no problems, saving the corresponding .mclog file in the path, it cannot find.

Why is it different, the second time?
What has changed? The path exists and is not empty, ok, but this doesn't stop Flare with other targets in other projects. Why here?

And, yes, the workaround is to delete this specific output directory, but it is a nuisance and a mistery.

Any idea?
Telecaster52
Propeller Head
Posts: 32
Joined: Tue Dec 01, 2020 2:22 pm

Re: Build fail Could not find a part of path ErrorID=10086

Post by Telecaster52 »

I'm getting the same error, and there are no solutions. Opening a ticket with Flare.
kathryngz
Propeller Head
Posts: 75
Joined: Wed May 14, 2014 11:31 am

Re: Build fail Could not find a part of path ErrorID=10086

Post by kathryngz »

I don't know if this will help anyone, but after quite a bit of troubleshooting I discovered that the build fails if the target name is 41 characters or more, excluding the .fltar extension. I don't know if that's the only cause of a build failing because it "could not find a part of a path," but shortening the target name worked for me in several instances.

Kathryn
Post Reply