Modify

Opened 17 years ago

Closed 4 years ago

#2928 closed defect (wontfix)

P4CLIENT envrionment var required to be set.

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

Description

I installed the plugin according to the instructions at http://trac-hacks.org/wiki/PerforcePlugin

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@10.0.0.10:1666/". 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 (1)

comment:1 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Lewis Baker.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.