Perforce & ldquo; Failed file content translation & rdquo; Error

advertisements

I'm trying to add a fairly large number of files to a Perforce depot. On submit, I get the following error, which I think means it's having trouble working out the file type for one of the files:

  • Locking 16380 files ...
  • Translation of file content failed near line 1
  • Submit aborted -- fix problems then use 'p4 submit -c 5851'.
  • Some file(s) could not be transferred from client.

How do I get more information about this, specifically which file it's actually having trouble with? The error isn't entirely helpful when it comes to fixing the problem.


Typically, I found the answer 5 minutes after posting. Turns out the file log from p4v shows more information than the log window. Turn on file logging, and the log file will show you where the problem is.