p4 command not found

1,587 views
Skip to first unread message

Yazan Medanat

unread,
Oct 28, 2011, 5:44:28 PM10/28/11
to reviewb...@googlegroups.com
Hey guys,

I just updated my master branch and I ran into this error while trying to run the devserver on my local machine:

yazanm@ubuntu:~/rb/reviewboard$ ./contrib/internal/devserver.py
Running dependency checks (set DEBUG=False to turn this off)...
p4 command not found.  Perforce integration will not work.
for help setting up Review Board.

It's preventing my devserver from starting. 

Any ideas/thoughts? I'm not even sure if it is a perforce issue.

Notes:
import P4 works from a python shell
I just did an apt-get update/upgrade
OS: Ubuntu 11.04

Yazan Medanat

David Trowbridge

unread,
Oct 28, 2011, 5:55:38 PM10/28/11
to reviewb...@googlegroups.com
Aha. The reason is that you have the P4 module installed but *not* the
p4 binary (both are required for perforce support).

To get past this, you can either uninstall p4python, or you can
download 'p4' from perforce.com and stick it in your $PATH.

We should probably make this situation a warning instead of an error.

-David

Reply all
Reply to author
Forward
0 new messages