ProZ.com global directory of translation services
 The translation workplace
Ideas

 
Pages in topic:   [1 2] >
User
Thread poster: John Fossey
Specified path "too long" error

John Fossey  Identity Verified
Canada
Local time: 21:59
Member (2008)
French to English
Jan 2

A problem that periodically crops up with both Studio 2009 and 2011 in XP is the TM not being populated with an error message "The specified path, filename or both are too long. The fully qualified filename must be less than 260 characters, and the directory name must be less then 248 characters."

Of course, neither the path nor the name are anywhere near as long as these limits. Even when the project is moved to the root directory ("C:\...") the error message still comes up.

How can this error message be prevented?


Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 03:59
Member (2003)
Polish to German
+ ...
Do you use "Libraries"? Jan 2

If yes, what I strongly suppose, the path name is indeed very long. Did you ever try to locate the library "Documents" in the real file structure? It is not there, where Windows pretends it to be.
Should this indeed be the case, please create a decent folder and file structure on a separate HDD partition and this error will never happen again.
Otherwise there has already been a quite long topic here on this forum about exactly the same problem, so maybe you can find a solution there.


Direct link Reply with quote
 

John Fossey  Identity Verified
Canada
Local time: 21:59
Member (2008)
French to English
TOPIC STARTER
Libraries Jan 3

Please explain what you understand by "Libraries". The "My Documents" only adds "C:\Documents and Settings\{username}\My Documents\" to the path, or do you mean something else?

And the strange thing is that although I have a great deal of software on my computer I don't get this error from any other software.

Also, could you direct me to the other references in the forum? I couldn't find them - perhaps using the wrong search terms. Thanks.

[Edited at 2012-01-03 02:00 GMT]


Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 03:59
Member (2003)
Polish to German
+ ...
In Windows XP it would be "My documents" Jan 3

And in Windows 7 c:\users\username\documents

Sorry, I also seem not to be able to find the topic, where the problem was too long path.
I also understand your frustration, that other software does not have such problems.
And sorry also, I've overseen your information about having moved the path already to c:\

The only cause I could imagine now would be an invalid character in the document name - for example Russian diacritics have caused major problems on my system including the system not being able to find a file, which has been stored on the hdd.


Direct link Reply with quote
 
phpgen
Egypt
Local time: 03:59
French to Arabic
found solution 100% working Jan 4

reboot first step

if no luck

use http://longpathtool.com/


Direct link Reply with quote
 

John Fossey  Identity Verified
Canada
Local time: 21:59
Member (2008)
French to English
TOPIC STARTER
Will try it... Jan 5


TopEgypt wrote:

reboot first step

if no luck

use http://longpathtool.com/


Interesting, I will give it a try. I already use Unlocker for the same purposes but not for the Path too long error.

Of course, in this case the path isn't too long, even though that error message comes up - it's nowhere near the 260 characters it says it is.


Direct link Reply with quote
 

John Fossey  Identity Verified
Canada
Local time: 21:59
Member (2008)
French to English
TOPIC STARTER
Still happening Feb 8

Happening again, in Studio but not other software. The annoying thing is that the fully qualified path is actually 157 characters, including spaces, and contains only letters (upper and lower case, no diacritics), numbers, backslashes, underscores and the initial semicolon.

So the error message is definitely wrong and should be considered a bug.


Direct link Reply with quote
 
jimshanks
Dutch to English
Google listing this as malware site Feb 8

This site: http://longpathtool.com/ is being listed by Google as a suspected Malware Site. I would be cautious visiting it.

Direct link Reply with quote
 

John Fossey  Identity Verified
Canada
Local time: 21:59
Member (2008)
French to English
TOPIC STARTER
Long path error message isn't correct Feb 8


jimshanks wrote:

This site: http://longpathtool.com/ is being listed by Google as a suspected Malware Site. I would be cautious visiting it.


Thanks, I saw that. I did visit it, with all my antivirus and firewall defenses up, which didn't detect anything.

However, that tool is meant to shorten long paths, which isn't the problem here. For some reason, Studio 2011 is giving a long path error message when it isn't the case.


Direct link Reply with quote
 

Radian Yazynin  Identity Verified
Russian Federation
Local time: 05:59
Member (2004)
English to Russian
+ ...
Same annoying thing here Feb 8

Why should I adjust the length to fit into this limit? I have already created a separate folder to save files there (why on earth?!) with shortest path ever for emergency situations that do occur every now and then.

[Edited at 2012-02-08 19:08 GMT]

[Edited at 2012-02-08 19:09 GMT]


Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 03:59
Member (2003)
Polish to German
+ ...
This is indeed annoying Feb 8

But what I do not understand is the reason.
I am using quite a long paths for my projects and TM locations in Studio, allover the place in my PC and never run into trouble.
More even, parts of my work are stored on a network drive, so the path takes the drive, the work folder, a customer subfolder, a project number subfolder and the project folder within. TMs are stored locally on disk D, so the path is similar, but then work folder, Trados folder, language pair subfolder, customer subfolder, and a specific subfolder for the TM.

All this is far from being short.

Do you store your files on drive C:?


Direct link Reply with quote
 

Radian Yazynin  Identity Verified
Russian Federation
Local time: 05:59
Member (2004)
English to Russian
+ ...
Which drive is used Feb 9

In my configuration I have C:, E: and F:. E is used for work folders precisely the way described, i.e. with folders Incoming, Outcoming, those for TM etc. That is, no conflicts with Windows here.

Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 03:59
Member (2003)
Polish to German
+ ...
I avoid using drive C: for anything Feb 9

The only thing I have there is the projects file with the list of my projects.
Then I keep there also some exported profiles - but they are not in continuous use.
This problem is indeed a mystery for me.


Direct link Reply with quote
 
Daniel García
Germany
English to Spanish
+ ...
What message and what OS? Feb 9


Happening again, in Studio but not other software. The annoying thing is that the fully qualified path is actually 157 characters, including spaces, and contains only letters (upper and lower case, no diacritics), numbers, backslashes, underscores and the initial semicolon.

So the error message is definitely wrong and should be considered a bug.


Is studio referring specifically to a path in the error message or are you assuming which path is causing the error?

I am just wondering if the error is caused not by the path that you think but by a different path that Studio might be using (like a temporary folder).

Which operating system are you using? Is it Windows 7? You might want to check the Windows Logs to see if there is any reference to any other path which indeed my be longer.

Daniel


Direct link Reply with quote
 

John Fossey  Identity Verified
Canada
Local time: 21:59
Member (2008)
French to English
TOPIC STARTER
Some details Feb 9


Is studio referring specifically to a path in the error message or are you assuming which path is causing the error?


No, it doesn't refer to a specific path, just a generic error message that the path is too long. In this case the error occurred when creating a file-based TM.


I am just wondering if the error is caused not by the path that you think but by a different path that Studio might be using (like a temporary folder).


You may be correct since even when I created the TM file in the root of the C:\ drive the error message was still generated. If Studio were to try and create temporary hidden folders in the project folder it would have 103 characters available.


Which operating system are you using? Is it Windows 7? You might want to check the Windows Logs to see if there is any reference to any other path which indeed my be longer.


I'm using Windows XP. I also have an external drive, but I only use it for backup, usually I let things run in their default paths. There is a single error message from yesterday in the Windows XP Event Viewer, but the message may not be relevant since there is only one although the problem occurred multiple times. However, it does refer to Studio and the path:

Source: "Windows Search Service" Description: "The entry 'C:\DOCUMENTS AND SETTINGS\{username}\MY DOCUMENTS\SDL TRADOS STUDIO\TRANSLATION MEMORIES\SOHO.SDLTM-JOURNAL' in the hash map cannot be updated."

I'm now finished that job and will be working on a long Word document (for which I prefer WFC) for the next while. But considering the cost of Studio I would certainly like to get to the bottom of this.


Direct link Reply with quote
 
Pages in topic:   [1 2] >


To report site rules violations or get help, contact a site moderator:

Moderator(s) of this forum
Natalie[Call to this topic]
Maya Gorgoshidze[Call to this topic]

You can also contact site staff by submitting a support request »

Specified path "too long" error







SDL provides market-leading translation software to over 185,000 users
SDL offers leading translation management solutions to meet LSPs needs throughout the whole translation supply chain.

With over 185,000 licenses being used by translators and organizations worldwide, our products will help you to connect to a supply chain that guarantees compatibility, making it easier to work with your customers and other users.

More info »
XTM Cloud
20,000 extra words free with XTM Cloud!

A fully featured online CAT tool and TMS, with no installation required, and a simple, intuitive interface. Maximize linguistic assets by sharing in real time as you collaborate with colleagues. Make use of next generation, cloud-based translation technol

More info »