[P4#run] Errors during command execution( "p4 describe -s 1" ) [Error]: 'Perforce password (P4PASSWD) invalid or unset.'

448 views
Skip to first unread message

Stefano Biancullo

unread,
Jul 17, 2013, 6:22:09 AM7/17/13
to revie...@googlegroups.com
Hello 

i recently installed reviewboard 1.6.6 and i needed to use with perforce. 

I tried to configure perforce repository but it gives me the follow error 

[P4#run] Errors during command execution( "p4 describe -s 1" ) [Error]: 'Perforce password (P4PASSWD) invalid or unset.'

I tried to set up in my ubuntu installation either 
P4PORT
P4USER
P4PASSWD 
P4TICKETS = path of ticket file

and from command line i can make p4 login. but when i try to configure the repository i get that error. 

My perforce server has ticket based authentication. 


Anyone have some idea or stuff to try ? 


BR
Stefano

Steve

unread,
Sep 10, 2013, 1:24:49 PM9/10/13
to revie...@googlegroups.com
Where are you set the p4 environment variables?  I had to set mine in reviewboard.wsg, like thisi:

os.environ['P4PORT'] = "***"
os.environ['P4USER'] = "***"
os.environ['P4CLIENT'] = "***"
os.environ['P4TICKETS'] = "/var/www/reviewboard/conf/p4.tickets"
os.environ['PATH'] = os.environ['PATH'] + ":/usr/local/bin"

--steve
Reply all
Reply to author
Forward
0 new messages