[revml] Fwd: VCP error code

Barrie Slaymaker barries at slaysys.com
Wed Jun 1 06:53:46 PDT 2005


More rememberance: I think the overlapped request buffer utilization
problem was in the P4 API itself, not in the P4::Client code.  VCP would
send out two or three commands and (IIRC) the second and later commands
would overwrite the first command's reply.  I could dig in to old emails
if need be to recall what all went wrong in P4::Client and in the
underlying API.

- Barrie

On Tue, May 31, 2005 at 10:44:57PM +0100, Robert Cowham wrote:
> Personally I like to use P4Perl and print the error messages array.
> 
> It's all to easy to miss things on stderr otherwise.
> 
> Robert 
> 
> > -----Original Message-----
> > From: revml-bounces at perforce.com 
> > [mailto:revml-bounces at perforce.com] On Behalf Of barries at slaysys.com
> > Sent: 17 May 2005 14:47
> > To: revml at perforce.com
> > Subject: [revml] Fwd: VCP error code
> > 
> > [Forwarded to revml list to get Perforce input]
> > 
> > Gerry et al.,
> > 
> > What can cause the p4 clients command to return a 255 result code?
> > 
> > Nick,
> > 
> > That error message indicates that the "p4 clients" command 
> > returned a result code of 255 to the caller (VCP in this 
> > case).  That's usually an error indication, so VCP is 
> > conservative about letting a suspicious result code slip by 
> > and dies instead.
> > 
> > Is there any other error text emitted to the screen or to the 
> > log file?
> > 
> > - Barrie
> > 
> > ---------- Forwarded message ----------
> > Subject: VCP error code
> > Date: Mon, 16 May 2005 16:00:38 -0700
> > From: "Nick Dor" <Nick.Dor at zoran.com>
> > To: "Barrie Slaymaker" <barries at slaysys.com>
> > 
> > Hi Barrie,
> > 
> > I hope you are well.  
> > 
> > First of all, I'd like to let you know that your VCP tool was 
> > a great help in moving one of our large CVS trees to Perforce 
> > (Solaris to Linux
> > 2004.2 respectively).  Thank You.
> > 
> > Now I'm trying to do the same with a Windows to Windows 
> > conversion (CVSNT on Win2K3 to Perforce version 2004.2 on 
> > Windows) and I've encountered the following error message:
> > 
> > p4 -u Admin -p znetest:1666 clients returned 255 not 0
> > 
> > Any idea how to read this?  The server has only one client 
> > and one user and a separate p4 clients command returns the following:
> > 
> > Client ZNETEST 2005/05/17 root C:\temp\p4work 'Created by Admin. '
> > 
> > I've even deleted all the clients to prevent any output from 
> > the p4 clients command, but I get the same error message.
> > 
> > Any help/direction you can give is greatly appreciated.
> > 
> > P.S. - I'm using the compiled vcp.exe for windows executable 
> > found on the public perforce depot (vcp v0.9, change number 
> > 4232 (2004/03/18))
> > 
> > Thanks,
> > 
> > Nick
> > 
> >  
> > 
> > Nick Dor
> > 
> > Sr. Applications Analyst
> > 
> > Zoran Corporation
> > 
> > 1390 Kifer Road
> > 
> > Sunnyvale, CA 94086-5305
> > 
> > -------------------------------
> > 
> > Office:  408-523-6565
> > 
> > Fax:  408-523-6603
> > 
> > Mobile:  408-623-6443
> > 
> > -------------------------------
> > 
> > This message is intended only for the named recipient. If you 
> > are not the intended recipient you are notified that 
> > disclosing, copying, distributing or taking any action in 
> > reliance on the contents of this information is strictly 
> > prohibited. Please notify the sender of the delivery error by 
> > replying to this message, and then delete it from your 
> > system. Thank you.
> > 
> >  
> > 
> > 
> 

-- 
http://slaysys.com/


More information about the revml mailing list