Error on adding repository to reviewboard

72 views
Skip to first unread message

Arvind

unread,
May 31, 2012, 2:43:20 AM5/31/12
to revie...@googlegroups.com
Hello,
 
I have setup a review board on my Ubuntu machine (10.04).
When I try to add a repository which is on perforce server, following error message gets flashed everytime :
 
[P4#run] Errors during command execution("p4 describe s1") [Error]: Client is too old to use this server. Please upgrade to a 2011.1 or later Perforce client.
 
However I have installed latest P4 client avaialble on perforce website.
p4 -V  output :
Rev. P4/LINUX26X86/2012.1/459601 (2012/05/11)
 
 
also P4 info gives following output:
 
Server Version : P4D/Linux26X86_64/2011.1/428451 (2012/03/08)
Minimum Client Level: 2011.1:70
 
What I understand is that I have version 2012.1 installed on my ubuntu machine and server to which I'm trying to connect allows 2011.1 or later client versions.
On my Ubuntu machine I can successfully perform P4 sync commands.
 
Can you please help me how to debug this problem or pint me where the problem could be.
 
Thanks,
Arvind

Christian Hammond

unread,
May 31, 2012, 3:19:39 AM5/31/12
to revie...@googlegroups.com
Hi Arvind,

The P4PythonInstaller package we use to install the Perforce bindings may need to be updated. Try the following:

1) Download http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller/setup.py
2) Modify "p4api_version" in that file and set it to "12.2"
3) Run: sudo python setup.py install

See if that succeeds and if your problem goes away.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en

Arvind

unread,
May 31, 2012, 7:56:01 AM5/31/12
to revie...@googlegroups.com
Hello Christian,
 
Thanks for your input, I changed p4api_version to 12.1 in setup.py and I got rid of the error.
(12.2 didn't work because there was no directory on ftp.performce.com )
 
However now I ran into another error :
 
[P4#run] Errors during command execution("p4 describe s1") [Error]: 'Unicode clients require a unicode enabled server'
 
Do I need to ask my server administrators to enable something? or still its a problem on my ubuntu installation of reviewboard?
 
Thanks,
Arvind
To unsubscribe from this group, send email to reviewboard+unsubscribe@googlegroups.com
Reply all
Reply to author
Forward
0 new messages