[p4] problem with submit

steve@vance.com steve at vance.com
Wed May 9 03:09:43 PDT 2007


You don't say what tool (p4, P4V, P4Win) or platform you are using for
this, so I'll throw out a couple suggestions to try. The presence of
"submitunchanged" means you are using a recent server. The "marked for add"
makes me think you are using P4V.

If you were able to do "marked for add" from the GUI, then the files are
present and Perforce thinks they are in the workspace. You don't mention
any errors during this operation, so I'm assuming it was okay. If you were
working with the command line, I would suggest double checking that the
files were present and in the right place in your workspace.

I would also check permissions of the files in your workspace, particularly
on a *nix system. Did you copy them as a different user than the one you
ran the Perforce operations as?

If this all checks out, you need to look at server errors. I don't think
this is a server error, but the possibility exists. A common one if you
installed the server on a *nix system is to set it up as root to run as a
non-privileged user, but to run p4d the first time or do any file imports
as root. The result is that you have depot files and databases owned by
root that the non-privileged p4d can't modify.

Hope that helps,
Steve

Original Message:
-----------------
From:  Yuanyuan.Liu at olympus-owi.com
Date: 	Wed, 9 May 2007 11:50:06 +0200
To: perforce-user at perforce.com
Subject: [p4] problem with submit


Hello everyone,

i´m just getting started with Perforce and i´ve got a problem submitting 
files from the workspace to depot.

i just copied some files to the C:\Test where i stored all the files for 
Perforce. Then i chose "marked for add" and then used "submit" in order to 
upload the files to the server. But i kept getting the error

"p4 submit -f submitunchanged -i
No files to submit.
File(s) couldn't be locked.
Submit failed -- fix problems above then use 'p4 submit -c 60'." 

Where is the problem? can anyone help?

Thank u very much!


Mit freundlichen Grüßen,

With kind regards,

Yuanyuan Liu

- Research & Development / Electronic  -
-- 
Olympus Winter & Ibe GmbH
Kuehnstrasse 61 
D-22045 Hamburg * Germany
Phone: +49 40 6 69 66-2059
Fax:     +49 40 6 69 66-341
mailto: yuanyuan.liu at olympus-owi.com
URL: http://www.olympus-owi.com

Sitz der Gesellschaft:       Hamburg 
Geschäftsführer:        Heinz Jacqui, Reinhard Zentner, Akihiro Taguchi, 
Masataka Suzuki, Hiroyuki Furihata
Aufsichtsratsvorsitzender:    Dr. h.c. Hans-Joachim Winter
Registergericht:                     Hamburg, HRB 16 328


This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user


--------------------------------------------------------------------
myhosting.com - Premium Microsoft® Windows® and Linux web and application
hosting - http://link.myhosting.com/myhosting




More information about the perforce-user mailing list