This was first encountered on a perforce changelist with a deleted symlink. The exact exception:

Review Request #7801 — Created Dec. 10, 2015 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

Generating diff for pending changeset 205103
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 859, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 732, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 471, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
Logged from file perforce.py, line 620

The fix is trivial. One more missing parameter is added in logging.

Tested with the same changelist locally. Now the warning is correctly shown:

Update existing Review Request...
Generating diff for pending changeset 205103
WARNING: Skipping file //depot/fusion/main/os/asm/etc/systemd/system/runlevel3.target.wants/vmwaretools.service#1: "//depot/fusion/main/os/asm/etc/systemd/system/runlevel3.target.wants/vmwaretools.service#1" is a symlink
Review request #51441 posted.

http://reviews.bytemobile.com/r/51441/
http://reviews.bytemobile.com/r/51441/diff/