Opened 17 years ago
Closed 4 years ago
#2928 closed defect (wontfix)
P4CLIENT envrionment var required to be set.
Reported by: | 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
Plugin is deprecated.