Avoiding "path too long" errors

This forum is for all Flare issues not related to any of the other categories.
Post Reply
oceanclub
Sr. Propeller Head
Posts: 277
Joined: Thu Oct 10, 2013 4:45 am
Location: Dublin

Avoiding "path too long" errors

Post by oceanclub »

To avoid "path too long" errors when building, I'm using the following directories:

C:\Flare - my flare files are under here
C:\Output - my output goes here

I have my targets grouped into folders as I have multiple per guide. So under "Targets" I have, say "Guide Name" and under that the targets grouped by version ("4.0").

I use the same format with the TOC folder.

However I _still_ get these error as Flare uses an intermediate directory several levels. down. When I commence a build, files are copied to

C:\Flare\userguides\Output\{username}\Temporary\{guide_name}\{version}\{guide_name}\{guide_name}\Resources\Images\{guide_name}\{version}

In my case, this is at least 400 character so no matter how short the graphics name is, it still gives errors.

So I'm at a loss unless I flatten my TOC and Target folders which means have all targets for every guide and every version (and every customer permutation thereof) in a single folder.

How does anyone else get around this?

P.
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: Avoiding "path too long" errors

Post by kwag_myers »

I don't understand why you have so many layers in the C:/Flare directory. When I create a new project for WebHelp or HTML5, the directory is:
C:\Users\kwag.myers\Documents\TestProject\Output\kwag_myers\Temporary\DepSets (77 characters).

One thing you might try is deleting the Output folder in the C:\Flare directory. The only thing Flare needs in there will be added the next time you open the project. Since you have a dedicated Output folder, the directory should be something like:
C:\Output\GuideName\Version\Output\GuideName\Resources\Images, which is only 75 characters.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
ccardimon
Propellus Maximus
Posts: 1571
Joined: Fri Jan 11, 2008 1:30 pm
Location: Horsham, Pennsylvania

Re: Avoiding "path too long" errors

Post by ccardimon »

I have not been able to get any closer to C:\ than here:

C:\Users\username_domainname\Documents\Flare
Craig

Lost in Disturbia
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Avoiding "path too long" errors

Post by RamonS »

IIRC you can put the project files anywhere on the local drive. Craft a folder c:\a and copy the project folder in there. That will cut out a good chunk of characters.
dorcutt
Sr. Propeller Head
Posts: 234
Joined: Thu May 15, 2014 12:16 pm

Re: Avoiding "path too long" errors

Post by dorcutt »

DO NOT use the Long Path "Tool". It is suspected malware:

http://forums.madcapsoftware.com/viewto ... 13&t=20381
-Dan, Propellerhead-in-training
Post Reply