5 messages in com.perforce.p4ruby[p4ruby] PASSWD unset error
FromSent OnAttachments
Johan Nilsson11 May 2007 06:17 
Robert Cowham11 May 2007 07:01 
Johan Nilsson13 May 2007 23:42 
Johan Nilsson15 May 2007 04:11 
Johan Nilsson15 May 2007 23:37 
Subject:[p4ruby] PASSWD unset error
From:Johan Nilsson (joha@esrange.ssc.se)
Date:05/15/2007 04:11:29 AM
List:com.perforce.p4ruby

Found it!

I was using P4PORT=<dotted-ip-address>:<port> in .bash_profile and P4PORT=<server-name>:<port> in my scripts, e.g:

-- .bash_profile -- P4PORT=127.0.0.1:1234

--

-- script -- P4PORT=localhost:1234

--

In the other machine I was using the server name instead of ip-address in .bash_profile as well, that's why it worked.

As both the names and ip-address refer to the same machine, logically I think this should work - or? I'll try and drop an enhancement request to Perforce support.

/ Johan

-----Original Message----- From: p4ruby-bounces at perforce.com [mailto:p4ruby-bounces at perforce.com] On Behalf Of Johan Nilsson Sent: den 14 maj 2007 08:43 To: p4ruby at perforce.com Subject: Re: [p4ruby] PASSWD unset error

Hi Robert,

thanks for your reply.

-----Original Message----- From: Robert Cowham [mailto:robert at vaccaperna.co.uk] Sent: den 11 maj 2007 16:02 To: Johan Nilsson; p4ruby at perforce.com Subject: RE: [p4ruby] PASSWD unset error

Hi Johan

What's in the tickets file for that machine? I have had this sort of problem with a rogue ticket entry for the same P4Port.

The tickets file looks just fine. I also tried deleting it and logging in again, but the problem persists.

Do you know if it is possible to make P4Ruby output all commands, including options, when they are executed? I'm currently relying on some P4 parameters being set in the environment + config file and I'd like to check what is actually used.

/ Johan