Meaning of Build error 10086 One or more errors occurred

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

Meaning of Build error 10086 One or more errors occurred

Postby Psider on Wed Apr 18, 2018 7:39 pm

Hi all,

Hopefully this will help other people in future.

I had a project that compiled successfully stand-alone, but failed to build when imported into another project using global project linking (flare project import). The only error given was "10086: Build Failed: One or more errors occurred".

After tearing my hair out, logic suggested the only difference was an extra level or two in the folder structure, so I shortened a bunch of stuff, which solved the issue.

So "One or more errors occurred" can mean that your output path is too long.

Things to consider when shortening the output path:
  • Name of the target: this is included in the output path and might be simpler to shorten that your files and folders
  • Turning on the target setting "Do not use the 'content' folder in output": This might be a simple fix for some projects.
  • Folder names
  • Folder nesting: consider if you can use a flatter folder structure
  • File names

(In my case, just changing the target name was enough, although I do need to reconsider a number of files and folders. :) )
Psider
Propellus Maximus
 
Posts: 547
Joined: Wed Jul 06, 2011 1:32 am

Re: Meaning of Build error 10086 One or more errors occurred

Postby skalgutkar on Thu Jul 12, 2018 8:41 pm

Hello Psider,

I almost pulled my hair out trying to figure what is going wrong and where in my project. And then I came across your post. Thank you so much for posting this. It worked for me. In my case, changing the output folder helped. Earlier, without me realizing, it was nested too deep inside multiple folders.

Cheers!
skalgutkar
Jr. Propeller Head
 
Posts: 5
Joined: Thu Jul 12, 2018 8:07 am

Re: Meaning of Build error 10086 One or more errors occurred

Postby RamonS on Fri Jul 13, 2018 6:56 am

In general, keep the folder structure as flat as possible. When following DITA, there is no need to have more than a folder for a functional area/feature and if needed folders for the task, concept, and reference topics that apply to that area. Sure, depending on how long the folder names are the path can still be too long. Keep the function/feature folder name in sync what the ToC will show. If the ToC entry is very long you may want to look at condensing that anyway.
RamonS
Senior Propellus Maximus
 
Posts: 4286
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Meaning of Build error 10086 One or more errors occurred

Postby PhilAmericus on Tue Jul 31, 2018 1:05 am

Thanks! Same issue here. I moved the Output folder to the root of my c: drive and it works.
PhilAmericus
Jr. Propeller Head
 
Posts: 6
Joined: Tue Feb 27, 2018 6:55 am

Re: Meaning of Build error 10086 One or more errors occurred

Postby peterb on Mon Feb 11, 2019 3:16 pm

Sorry to res this thread, but I started getting this error today under mysterious circumstances.

My co-writer had just successfully built our master project an hour before, but when I tried it, the issue was persistent. I read another thread where the issue suddenly cropped up with seemingly no changes to a project/project structure to cause it. What are the circumstances under which this can happen?

https://forums.madcapsoftware.com/viewtopic.php?f=9&t=26471
peterb
Propeller Head
 
Posts: 14
Joined: Tue Mar 21, 2017 12:46 pm

Re: Meaning of Build error 10086 One or more errors occurred

Postby ChoccieMuffin on Tue Feb 12, 2019 4:21 am

Is your name longer than your colleague's? A single character can push things over the limit.
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2017
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Meaning of Build error 10086 One or more errors occurred

Postby peterb on Wed Feb 13, 2019 10:30 am

Thank you for always being quick to respond and help, ChoccieMuffin. That looks like a very likely hypothesis for what is going on, as my username is more than double the length of my coworker's.

That said, I am not finding a place where this can be configured. Someone in another thread opined that this may be defined by the Windows username (which I hope is not the case). I tried changing user name in the Review tab of Options, but it had no effect on the output folder names.

Thanks again!
peterb
Propeller Head
 
Posts: 14
Joined: Tue Mar 21, 2017 12:46 pm

Re: Meaning of Build error 10086 One or more errors occurred

Postby peterb on Wed Feb 13, 2019 11:10 am

Hello, I want to respond to this thread to indicate that I had a successful build after I manually set the path for the build directory (at root, as suggested on numerous threads, in order to "unbury" it and shorten the full path). I'm not in love with this solution, but it worked, and I haven't heard a better one. I hope this information in some way helps posterity. Thank you!
peterb
Propeller Head
 
Posts: 14
Joined: Tue Mar 21, 2017 12:46 pm

Re: Meaning of Build error 10086 One or more errors occurred

Postby Curlyshell on Wed Mar 06, 2019 1:24 pm

So what IS the character limit? Is it connected to the "approximate filename length"?
Curlyshell
Propeller Head
 
Posts: 10
Joined: Fri Mar 01, 2019 9:14 am

Re: Meaning of Build error 10086 One or more errors occurred

Postby Psider on Thu Mar 07, 2019 3:04 am

Curlyshell wrote:So what IS the character limit? Is it connected to the "approximate filename length"?



Good question!

I believe it's a Windows limitation of 255 characters. (including spaces)
Psider
Propellus Maximus
 
Posts: 547
Joined: Wed Jul 06, 2011 1:32 am

Re: Meaning of Build error 10086 One or more errors occurred

Postby RamonS on Fri Mar 15, 2019 11:42 am

Yes, the limitation is 255 characters for commands and path. So depending on which operation is called using external tools the file path could be shorter than 255 and still run into problems because the overall length of command and path is too long.
In Win 10 there is a setting that lifts this character limit. See here
https://www.itprotoday.com/windows-10/e ... windows-10

The article states a different DOS era limit of a total of 260 characters minus a few, but that isn't that far off from what folks here claimed. That said, enabling the long filename support might cause other problems, such as in applications that reserve only 255 characters for saving or handling file paths.
RamonS
Senior Propellus Maximus
 
Posts: 4286
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Meaning of Build error 10086 One or more errors occurred

Postby cjobrie on Fri May 24, 2019 12:30 pm

I had one file name that was too long. I shortened it, and Done.

Thank you, so much!
cjobrie
Propeller Head
 
Posts: 12
Joined: Fri Sep 13, 2013 9:27 am

Re: Meaning of Build error 10086 One or more errors occurred

Postby doc_guy on Fri May 24, 2019 1:33 pm

I'm curious to know how you figured out which file was causing the problem? Just looking at your structure?
User avatar
doc_guy
Propellus Maximus
 
Posts: 1925
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West


Return to Web-based Outputs

Who is online

Users browsing this forum: Google [Bot] and 4 guests

cron