[p4] [Error]: Access for user 'Username' has not been enabled by 'p4 protect'.

Stephen Vance steve at vance.com
Thu Oct 9 15:28:27 PDT 2008


I'm a little confused by your reference to P4Ruby here. It may be I 
don't have deep enough knowledge of IDEA, but last I worked with it, I 
didn't think the Perforce integration in the IDE was implemented with 
Ruby. Is this an issue with your own code or the IntelliJ integration?

Steve

Riaz, Bob wrote:
> Hi all,
>
>  
>
> Perforce novice here.
>
>  
>
> IDE: IntelliJ IDEA 7.0
>
> Developing in Ruby.
>
>  
>
> When I try to sync with repository I get the following error: 
>
> [Error]: Access for user 'Username' has not been enabled by 'p4
> protect'.
>
>  
>
> I can run sync from the cmd line using p4 sync 'path'. I can run sync
> from one method in IDEA but not from another, both using p4.run_sync
> (from P4Ruby).
>
> Also, everywhere I check my user name is 'username' (lowercase 'u')
> rather than 'Username' as it appears in the error message. 
>
>  
>
> I've checked the Perforce configurations in IDEA under Version Control
> Settings - Config settings are explicitly set (port, client, user etc),
> and the connection test is ok.
>
>  
>
> All thoughts deeply appreciated!!
>
>  
>
> Many thanks.
>
>  
>
> Bob
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   

-- 
Stephen Vance
www.vance.com



More information about the perforce-user mailing list