Discussion:
[p4] P4V will not submit
Matthew Rogers
2011-08-24 11:57:58 UTC
Permalink
I recently updated my P4V to the latest and now I cannot submit through the
client. The "Submit Changelist" dialog appears and when I press "Submit",
the progress bar in P4V just goes and goes, the dialog never disappears and
my files are never submitted to the server. P4V is still responsive and I
can browse through the depot without any problems.



The command P4V issues is:

p4 submit -f submitunchanged -i



"p4 monitor show" shows this:

17965 R xxxx_xxxx 00:03:14 dm-SubmitChange





I can submit just fine through the command line by running:

p4 submit -c 12345



I'm on Win7 x64 using the 64-bit P4V client.



Any clues as to what may be happening?
GeoffPate
2011-08-24 12:05:01 UTC
Permalink
Posted on behalf of forum user 'GeoffPate'.

Have you checked what tables are locked and what operations are running using p4
monitor?

P4V seems to add the Jobs column to several tabs (changelists and history) which
then calls p4 fixes regularly which can be blocking



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/1093-p4v-will-not-submit
Patrick M Slattery
2011-08-24 12:15:01 UTC
Permalink
Posted on behalf of forum user 'Patrick M Slattery'.

I believe that this is the same issue that I describe in
http://forums.perforce.com/index.php?/topic/1042-p4v-submit-more-than-2-files/page__p__3078#entry3078
If so it's a known issue but is difficult to reproduce. I don't have the
case number assigned to me with me right now but I did manage to reproduce the
bug and attach the Perforce diag tool to the process to get a debug log for
them.
I was thinking of the case just yesterday and meant to send an email to support
to see if they had made any progress on it.



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/1093-p4v-will-not-submit
Matthew Rogers
2011-08-25 11:25:06 UTC
Permalink
Geoff: The only operations running are "dm-SubmitChange" and my monitor
operation.

Patrick: This appears to be the exact same problem, but it happens for me
even with one file in a changelist. I downgraded to 2010.1/265509 yesterday
and I can submit through P4V again.

Here's something interesting... After I was unable to submit with the new
version of P4V, I connected to another one of our Perforce servers and sure
enough - I could submit!

So maybe P4V is doing something above and beyond running p4 commands? It
must be, because why else could I submit from the command line and not the
visual client?
-----Original Message-----
Sent: August-24-11 9:15 AM
Subject: Re: [p4] P4V will not submit
Posted on behalf of forum user 'Patrick M Slattery'.
I believe that this is the same issue that I describe in
http://forums.perforce.com/index.php?/topic/1042-p4v-submit-more-than-
2-files/page__p__3078#entry3078
If so it's a known issue but is difficult to reproduce. I don't have the
case number assigned to me with me right now but I did manage to reproduce the
bug and attach the Perforce diag tool to the process to get a debug log for
them.
I was thinking of the case just yesterday and meant to send an email to support
to see if they had made any progress on it.
G Barthelemy
2011-08-25 11:50:01 UTC
Permalink
Posted on behalf of forum user 'G Barthelemy'.

My guess is that the server is not going past the dm-SubmitChange phase because
P4V is not transferring the file(s). The server is waiting for the files to be
transfered to switch to the dm-CommitSubmit, I think.

Here's another guess: whenever I encountered strange issues with P4V, it was
invariably following an upgrade from an older version. Most of the time those
issues were solved by: stopping P4V, renaming or removing the .p4qt directory in
the user's profile and starting P4V (this creates a new .p4qt). By getting
rid of your .p4qt directory, you'll loose your own P4V settings such as
connections, favourites, bookmarks, etc... but those are usually quick to
recreate. It's a bit far fetched, but it's worth trying this in your
case.

If the above fixes it, then it's clearly a bug so it may be worth logging
this with Perforce support. But it's not impossible to envisage that an
incompatible settings file created by a previous version of P4V in
%userprofile%\.p4qt would make it behave in such a strange way...

Guillaume



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/1093-p4v-will-not-submit
Patrick M Slattery
2011-08-25 17:15:01 UTC
Permalink
Posted on behalf of forum user 'Patrick M Slattery'.



[http://forums.perforce.com/index.php?app=forums&module=forums&section=findpost&pid=3260]
Here's another guess: whenever I encountered strange issues with P4V, it was invariably following an upgrade from an older version. Most of the time those issues were solved by: stopping P4V, renaming or removing the .p4qt directory in the user's profile and starting P4V (this creates a new .p4qt). By getting rid of your .p4qt directory, you'll loose your own P4V settings such as connections, favourites, bookmarks, etc... but those are usually quick to recreate. It's a bit far fetched, but it's worth trying this in your case.
If the above fixes it, then it's clearly a bug so it may be worth logging this with Perforce support. But it's not impossible to envisage that an incompatible settings file created by a previous version of P4V in %userprofile%\.p4qt would make it behave in such a strange way...
Guillaume
One of the first thing support had me try was deleting the .p4qt and .p4ob
folders. That made no difference in my case.
If you can reliably reproduce the failure then I'd contact support and have
them reference CALL#3189447 and maybe they might want a p4diag dump from you.



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/1093-p4v-will-not-submit
Patrick M Slattery
2011-08-31 18:55:01 UTC
Permalink
Posted on behalf of forum user 'Patrick M Slattery'.

Rob Coates at Perforce support sent me this note today and this resolved my
issue.
A colleague has a suggested which I would like you to investigate. If you have
previously worked offline then the output of the P4V menu item "Help >
System Info" will show an "Offline Configuration:" section.
It's conceivable that all Perforce operations are still going through the
offline broker. If this is happening then it may explain the multiple p4ob.exe
processes. To change the configuration to eliminate this possibility, please
follow these steps in P4V:

1. Select "Connection > Offline Settings..."
2. At the top of the "Offline Settings" dialog, uncheck the
"Enable working offline for workspace "xyz" box and select
"OK"
3. Select "Help > System Info" to confirm that the "Offline
Configuration" section is empty.



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/1093-p4v-will-not-submit
Continue reading on narkive:
Loading...