[p4python] P4python 2009.1 run_filelog returns IndexError
john.wiseman at rovicorp.com
Mon Dec 21 16:49:14 PST 2009
I ran into this a couple months ago (see
Apparently this can happen if you've been running your repo for a long
time/using old versions of the p4 server. The fix that worked for me, if
you have a recent version of the server, is to do "p4 verify -u", which will
recalculate the digest and file size.
On 12/21/09 4:42 PM, "Ravi Kondamuru" <arkay.alias at gmail.com> wrote:
> I am running a python script using P4Python 2009.1 against a server
> When I execute run_filelog for one of the files I got IndexError exception. In
> the release notes for 2009.1 version, there are indications that some issues
> on run_filelog are fixed. Just wanted to check if anyone has seen this issue?
> is there a workaround for this? The previous version of P4Python i installed
> an year ago I did not see this issue.
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/local/lib/python2.6/dist-packages/P4.py", line 345, in
> r.fileSize = h[ "fileSize" ][ n ]
> IndexError: list index out of range
> p4python mailing list
> p4python at perforce.com
More information about the p4python