[p4perl] Problem using P4->FetchClient() (CALL#2151058)

Tony Smith tony at smee.org
Fri Sep 19 08:45:48 PDT 2008

Hi Scott,

Thanks for all that.

On Friday 19 September 2008 16:12:30 Scott Lavender wrote:
> D:\P4Views\build_ProdTest\BuildSystem\production>perl -mP4 -e "print
> P4::Identify()"
> Can't call method "Run" on an undefined value at D:/Perl/site/lib/P4.pm
> line 172.

That definitely confirms it's public depot P4Perl. 

On Friday 19 September 2008 16:07:29 Scott Lavender wrote:
> Perforce - The Fast Software Configuration Management System.
> Copyright 1995-2008 Perforce Software.  All rights reserved.
> Rev. P4/NTX86/2007.3/143793 (2008/01/21).


> The server is a higher patch level, but the same release:
> Server version: P4D/LINUX26X86/2007.3/152469 (2008/04/24)
> Server license: Visiprise Inc 154 users (support ends 2009/05/11)

Thanks, while the server version is not as important as the client in this 
instance, it's always relevant.

> I have upgraded the server to use the 2007.3 supported P4Perl. Don't
> know if you remember the dialog we had in getting my trigger scripts
> reworked. I have not done the same for the build environment.

I had forgotten - thanks for the reminder :)

OK. As a test, could you download a 2006.2 p4 client to your build machine, 
and run these commands using that instead of the 2007.3 p4. 

	p4 login -s	# probably will say P4PASSWD invalid...
	p4 login	# create a new ticket
	p4 tickets	# you will see two tickets for the same server I think

Then try running your test script again, and see if it works.



More information about the p4perl mailing list