Opened 9 years ago

#2928 new defect

P4CLIENT envrionment var required to be set.

Reported by: bsilverman@… Owned by: lewisbaker
Priority: normal Component: PerforcePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I installed the plugin according to the instructions at

After installing and restarting the server, I got an error on the server, that said "xxx is a depot, not a client", where xxx is the name of one of my depots. (Sorry, I don't have the traceback). My repository_dir was defined as "p4://bsilverman:pass@". I also found that doing trac-admin resync would give the same error.

I found that the issue was that if the P4CLIENT was not set, the output of the command "p4 client -o" would fail (with the above error). So, I exported P4CLIENT, reran trac-admin resync, and it worked. Then I restarted the server, and all was well - I could view my depot.

I am using p4d 2006.2, on Ubuntu 6.10. I am using Trac 0.10.4, PyPerforce 0.4, PyProtocols 0.9.3

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new The owner will remain lewisbaker.

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

Note: See TracTickets for help on using tickets.