Opened 9 years ago
P4CLIENT envrionment var required to be set.
|Reported by:||bsilverman@…||Owned by:||lewisbaker|
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:email@example.com: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