-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Login and Auto Checkout not working #21
Comments
Hi! As you can tell, I haven't actively worked on this in ages From your error message, I suspect your p4 executable isn't accessible from the command line. Can you try to open a command prompt and run p4.exe and see if it is found? Thanks Eric |
Hi Eric,
Thank you very much for your quick reply and for a great tool.
Yeah, when I run p4.exe on my command prompt it does find it. I get the Perforce greeting screen.
Any other ideas??
Once again, thanx!!
From: Eric Martel <notifications@github.com>
To: ericmartel/Sublime-Text-3-Perforce-Plugin <Sublime-Text-3-Perforce-Plugin@noreply.github.com>
Cc: chavab1 <chavab_1@yahoo.com>; Author <author@noreply.github.com>
Sent: Thursday, May 18, 2017 10:42 AM
Subject: Re: [ericmartel/Sublime-Text-3-Perforce-Plugin] Can't Login and Auto Checkout not working (#21)
Hi!As you can tell, I haven't actively worked on this in agesFrom your error message, I suspect your p4 executable isn't accessible from the command line. Can you try to open a command prompt and run p4.exe and see if it is found?ThanksEric—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Well it seems like the plugin is calling something from the command line
and can't find it... did you specify something as your perforce_p4path or
perforce_p4env? This seems to be the variables that could change what's
being called on your system.
…On Thu, May 18, 2017 at 7:06 PM, chavab1 ***@***.***> wrote:
Hi Eric,
Thank you very much for your quick reply and for a great tool.
Yeah, when I run p4.exe on my command prompt it does find it. I get the
Perforce greeting screen.
Any other ideas??
Once again, thanx!!
From: Eric Martel ***@***.***>
To: ericmartel/Sublime-Text-3-Perforce-Plugin <Sublime-Text-3-Perforce-
***@***.***>
Cc: chavab1 ***@***.***>; Author ***@***.***>
Sent: Thursday, May 18, 2017 10:42 AM
Subject: Re: [ericmartel/Sublime-Text-3-Perforce-Plugin] Can't Login and
Auto Checkout not working (#21)
Hi!As you can tell, I haven't actively worked on this in agesFrom your
error message, I suspect your p4 executable isn't accessible from the
command line. Can you try to open a command prompt and run p4.exe and see
if it is found?ThanksEric—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQEknQ4rTA_Bbqe2p8-p0ij7QGzkfkCks5r7M7rgaJpZM4NfkPD>
.
|
Sorry, I didn't notice you had replied. What do I have to include there? For "perforce_p4path" I added I mean now at least I don't get the login error message anymore but I still can't auto checkout items. I can manually check out some files. However I can only do it for random files. On some of them I get the message: Thank you very much for your help. Thanx |
I posted about the plugin only working at random times. I just found out when does it work. For some reason it only auto checks out files that I haven't previously checked out. In those cases the plugin works perfectly. However, once I've checked in that file and done a submit, the auto checkout stops working on that file. I'm fairly new to Perforce so I'm not sure where to look for a possible solution. Obviously Sublime is communicating with Perforce so the setup is correct. I just can't figure out why it only works on new files. Any help would be appreciated. Thanx |
Oh my bad it seems like it's me who missed your reply!
Are you sure it's working to checkout files on the first edit? or would it
be only "mark for add" that's working with new files?
Otherwise what would usually trigger the autocheckout is if you modify a
file that is readonly on disk but is under the client root (p4 info on the
command prompt)
I haven't used my own scripts in quite a while, I'll try getting the latest
version at work tomorrow and see if I broke something by accepting pull
requests
Thanks
…On Thu, Jul 13, 2017 at 7:01 PM, chavab1 ***@***.***> wrote:
I posted about the plugin only working at random times. I just found out
when does it work.
For some reason it only auto checks out files that I haven't previously
checked out. In those cases the plugin works perfectly. However, once I've
checked in that file and done a submit, the auto checkout stops working on
that file.
I'm fairly new to Perforce so I'm not sure where to look for a possible
solution. Obviously Sublime is communicating with Perforce so the setup is
correct. I just can't figure out why it only works on new files.
Any help would be appreciated.
Thanx
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQEkqYJ_VYTkEd3KzmHMqmtQXNh3SQ6ks5sNqHmgaJpZM4NfkPD>
.
|
No, it is checking them out. It also does the same thing if I do it manually. I'll open up the Perforce menu item within Sublime, select Checkout and it works. But only if I haven't already previously checked out and submitted that file. Otherwise I get the error message: Perforce [warning]: File is already writeable.
Thanx for looking into this.
From: Eric Martel <notifications@github.com>
To: ericmartel/Sublime-Text-3-Perforce-Plugin <Sublime-Text-3-Perforce-Plugin@noreply.github.com>
Cc: chavab1 <chavab_1@yahoo.com>; Author <author@noreply.github.com>
Sent: Sunday, July 16, 2017 7:25 PM
Subject: Re: [ericmartel/Sublime-Text-3-Perforce-Plugin] Can't Login and Auto Checkout not working (#21)
Oh my bad it seems like it's me who missed your reply!
Are you sure it's working to checkout files on the first edit? or would it
be only "mark for add" that's working with new files?
Otherwise what would usually trigger the autocheckout is if you modify a
file that is readonly on disk but is under the client root (p4 info on the
command prompt)
I haven't used my own scripts in quite a while, I'll try getting the latest
version at work tomorrow and see if I broke something by accepting pull
requests
Thanks
On Thu, Jul 13, 2017 at 7:01 PM, chavab1 ***@***.***> wrote:
I posted about the plugin only working at random times. I just found out
when does it work.
For some reason it only auto checks out files that I haven't previously
checked out. In those cases the plugin works perfectly. However, once I've
checked in that file and done a submit, the auto checkout stops working on
that file.
I'm fairly new to Perforce so I'm not sure where to look for a possible
solution. Obviously Sublime is communicating with Perforce so the setup is
correct. I just can't figure out why it only works on new files.
Any help would be appreciated.
Thanx
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQEkqYJ_VYTkEd3KzmHMqmtQXNh3SQ6ks5sNqHmgaJpZM4NfkPD>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
After a check in, are the files on your hard drive set back to Read Only?
…On Mon, Jul 17, 2017 at 2:19 PM, chavab1 ***@***.***> wrote:
No, it is checking them out. It also does the same thing if I do it
manually. I'll open up the Perforce menu item within Sublime, select
Checkout and it works. But only if I haven't already previously checked out
and submitted that file. Otherwise I get the error message: Perforce
[warning]: File is already writeable.
Thanx for looking into this.
From: Eric Martel ***@***.***>
To: ericmartel/Sublime-Text-3-Perforce-Plugin <Sublime-Text-3-Perforce-
***@***.***>
Cc: chavab1 ***@***.***>; Author ***@***.***>
Sent: Sunday, July 16, 2017 7:25 PM
Subject: Re: [ericmartel/Sublime-Text-3-Perforce-Plugin] Can't Login and
Auto Checkout not working (#21)
Oh my bad it seems like it's me who missed your reply!
Are you sure it's working to checkout files on the first edit? or would it
be only "mark for add" that's working with new files?
Otherwise what would usually trigger the autocheckout is if you modify a
file that is readonly on disk but is under the client root (p4 info on the
command prompt)
I haven't used my own scripts in quite a while, I'll try getting the latest
version at work tomorrow and see if I broke something by accepting pull
requests
Thanks
On Thu, Jul 13, 2017 at 7:01 PM, chavab1 ***@***.***> wrote:
> I posted about the plugin only working at random times. I just found out
> when does it work.
>
> For some reason it only auto checks out files that I haven't previously
> checked out. In those cases the plugin works perfectly. However, once
I've
> checked in that file and done a submit, the auto checkout stops working
on
> that file.
>
> I'm fairly new to Perforce so I'm not sure where to look for a possible
> solution. Obviously Sublime is communicating with Perforce so the setup
is
> correct. I just can't figure out why it only works on new files.
>
> Any help would be appreciated.
>
> Thanx
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#21#
issuecomment-315225087>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABQEkqYJ_
VYTkEd3KzmHMqmtQXNh3SQ6ks5sNqHmgaJpZM4NfkPD>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQEksIQF6EqyFShebA3MCGwlfTgARsAks5sO6WygaJpZM4NfkPD>
.
|
No they are not. I checked the properties in File Explorer and it's neither Read-Only nor Hidden. Is this what you're talking about?? Or is there another way to confirm?? I tried looking for file properties in the P4V client but I couldn't find anything. Sorry, I'm still fairly new to the Perforce system.
Once again, thanx for your help.
From: Eric Martel <notifications@github.com>
To: ericmartel/Sublime-Text-3-Perforce-Plugin <Sublime-Text-3-Perforce-Plugin@noreply.github.com>
Cc: chavab1 <chavab_1@yahoo.com>; Author <author@noreply.github.com>
Sent: Monday, July 17, 2017 12:11 PM
Subject: Re: [ericmartel/Sublime-Text-3-Perforce-Plugin] Can't Login and Auto Checkout not working (#21)
After a check in, are the files on your hard drive set back to Read Only?
On Mon, Jul 17, 2017 at 2:19 PM, chavab1 ***@***.***> wrote:
No, it is checking them out. It also does the same thing if I do it
manually. I'll open up the Perforce menu item within Sublime, select
Checkout and it works. But only if I haven't already previously checked out
and submitted that file. Otherwise I get the error message: Perforce
[warning]: File is already writeable.
Thanx for looking into this.
From: Eric Martel ***@***.***>
To: ericmartel/Sublime-Text-3-Perforce-Plugin <Sublime-Text-3-Perforce-
***@***.***>
Cc: chavab1 ***@***.***>; Author ***@***.***>
Sent: Sunday, July 16, 2017 7:25 PM
Subject: Re: [ericmartel/Sublime-Text-3-Perforce-Plugin] Can't Login and
Auto Checkout not working (#21)
Oh my bad it seems like it's me who missed your reply!
Are you sure it's working to checkout files on the first edit? or would it
be only "mark for add" that's working with new files?
Otherwise what would usually trigger the autocheckout is if you modify a
file that is readonly on disk but is under the client root (p4 info on the
command prompt)
I haven't used my own scripts in quite a while, I'll try getting the latest
version at work tomorrow and see if I broke something by accepting pull
requests
Thanks
On Thu, Jul 13, 2017 at 7:01 PM, chavab1 ***@***.***> wrote:
> I posted about the plugin only working at random times. I just found out
> when does it work.
>
> For some reason it only auto checks out files that I haven't previously
> checked out. In those cases the plugin works perfectly. However, once
I've
> checked in that file and done a submit, the auto checkout stops working
on
> that file.
>
> I'm fairly new to Perforce so I'm not sure where to look for a possible
> solution. Obviously Sublime is communicating with Perforce so the setup
is
> correct. I just can't figure out why it only works on new files.
>
> Any help would be appreciated.
>
> Thanx
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#21#
issuecomment-315225087>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABQEkqYJ_
VYTkEd3KzmHMqmtQXNh3SQ6ks5sNqHmgaJpZM4NfkPD>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQEksIQF6EqyFShebA3MCGwlfTgARsAks5sO6WygaJpZM4NfkPD>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I know these issues have been reported before but most of them are at least 3 years old so I figured maybe my problem isn't related. I'm also getting an error that hasn't been reported.
First off I did all of the command line configurations. I had to set the required variables on the command line because no matter what I did I couldn't get P4 to recognize my configurations in my P4CONFIG. But I know they're set because I get the correct info when I run
p4 info
.When I try to login to P4 on Sublime I get the following error in the console:
But then I realized that if I'm logged in to P4V then I don't get that error in Sublime when I attempt to login. Everything works then except for the
auto checkout
feature. I did some research and found out that I had to add the Perforce settings file. So I copied Perforce.sublime-settings file from the Perforce directory into my Sublime Text 3->Packages->User directory. But I still have the same problem. I'm thinking maybe that login problem is causing the auto checkout problem.I wouldn't mind having to login to P4V before using Sublime as long as the auto-checkout feature worked.
Any help would be appreciated.
Thanx
The text was updated successfully, but these errors were encountered: