Opened 11 years ago

Last modified 10 years ago

#1305 assigned defect

browser: 'PerforceNode' object has no attribute 'isfile' after installation

Reported by: cocoadev@… Owned by: ttressieres
Priority: normal Component: PerforcePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


The trac browser fails for me:

I'm trying to setup the PerforcePlugin for the first time. Here is what I have installed thus far:

python 2.4 rac-0.11dev_r4950 PyPerforce-0.3a1 PyProtocols-0.9.3 TracPerforce-0.4.4

In trac.ini I've changed my [trac] repository_dir and repository_type settings appropriately and enabled p4trac.* in my [components] section.

All is well until I try to browse source, then I get an Oops:

Trac detected an internal error:

AttributeError: 'PerforceNode' object has no attribute 'isfile'

I don't suppose there's a simple answer to this?

Also, the Timeline provides the following error:

Repository checkins event provider (ChangesetModule) failed:

TypeError: int() argument must be a string or a number

Any help you could provide would be very valuable. Thanks!

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Lewis Baker

Unfortunately, the PerforcePlugin hasn't been updated to work with Trac 0.11 yet.

This will be the subject of future development.

comment:2 Changed 10 years ago by ttressieres

Owner: changed from Lewis Baker to ttressieres
Status: newassigned

see #2338 to follow the port to Trac 0.11

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain ttressieres.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.