Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Pharo Smalltalk Users mailing list
I had been following the Developing a simple counter chapter.
All was well.
I created an iceberg repository and added my Project to it.
I committed the sources to git.
Still working OK.
Then I did a push of all that to my GitHub/MichaelKentBurns/MyCounter repository.
I got a progress bar for the push which never made any progress.  
Instead I got the beachball spinner.  After quite some time I wanted to interrupt it to see if I could recover, but I could find a way.
Eventually I had to force-quit.

When I restarted my Pharo image, all of that work was lost because I had not done a save.

My Question: Is there some way to interrupt such a process?

Screen capture attached.

Reply | Threaded
Open this post in threaded view
|

Re: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Ben Coman


On Sat, 23 May 2020 at 06:17, Michael Burns via Pharo-users <[hidden email]> wrote:
I had been following the Developing a simple counter chapter.
All was well.
I created an iceberg repository and added my Project to it.
I committed the sources to git.
Still working OK.
Then I did a push of all that to my GitHub/MichaelKentBurns/MyCounter repository.
I got a progress bar for the push which never made any progress.  
Instead I got the beachball spinner.  After quite some time I wanted to interrupt it to see if I could recover, but I could find a way.
Eventually I had to force-quit.

When I restarted my Pharo image, all of that work was lost because I had not done a save.

My Question: Is there some way to interrupt such a process?

You should be able to push <meta-.> where meta is Ctrl / Alt / Command depending on your OS.
i.e. push period and meta keys together.

btw, in Pharo 7 I have been experiencing a few seconds lag before the debugger appears,
such that it seems it didn't work so I end up hammering the <meta-.> key and half a dozen debuggers show up.
Apart from needing to modify my behaviour, what have other experienced.  
I understood there was some work lately to improve responsiveness, so maybe I move to Pharo 9 soon.

cheers -ben
Reply | Threaded
Open this post in threaded view
|

Re: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Stéphane Ducasse
Hi michael

I’m sincerly sad about the bad experience you encounter (especially when I see how stable is the system on my 
machine — and I’m a bug magnet for any software — everything crashes with me — sadly enough).


I had been following the Developing a simple counter chapter.
All was well.
I created an iceberg repository and added my Project to it.
I committed the sources to git.
Still working OK.
Then I did a push of all that to my GitHub/MichaelKentBurns/MyCounter repository.
I got a progress bar for the push which never made any progress.  

Can you tell us what is your OS?
version
pharo version

Can you commit from the command line?

Are you using ssh or Https?

If ssh are you using an agent?

In Pharo 90 we are about to release a new C binding for libgit because the version we use is .25 and we will get to 1.0. 

Instead I got the beachball spinner.  After quite some time I wanted to interrupt it to see if I could recover, but I could find a way.
Eventually I had to force-quit.

Arg. 

When I restarted my Pharo image, all of that work was lost because I had not done a save.

Your code is there. 
Open the change code. 
And you can reapply your changes.
As a general principle the only thing that you can really lose is the method you are editing but did not compile
(and all your code if you do not have write permissions but this is a bit normal)


 


My Question: Is there some way to interrupt such a process?

You should be able to push <meta-.> where meta is Ctrl / Alt / Command depending on your OS.
i.e. push period and meta keys together.

btw, in Pharo 7 I have been experiencing a few seconds lag before the debugger appears,
such that it seems it didn't work so I end up hammering the <meta-.> key and half a dozen debuggers show up.
Apart from needing to modify my behaviour, what have other experienced.  
I understood there was some work lately to improve responsiveness, so maybe I move to Pharo 9 soon.

cheers -ben

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

Reply | Threaded
Open this post in threaded view
|

Re: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Stéphane Ducasse
In reply to this post by Pharo Smalltalk Users mailing list
Ok I will that you are

P8 
sometimes we have to wait for timeout it should be 1 min (from memory). 
Can you push from the command line?

S.

On 23 May 2020, at 00:16, Michael Burns <[hidden email]> wrote:


From: Michael Burns <[hidden email]>
Subject: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?
Date: 23 May 2020 at 00:16:54 CEST
Cc: Michael Burns <[hidden email]>


I had been following the Developing a simple counter chapter.
All was well.
I created an iceberg repository and added my Project to it.
I committed the sources to git.
Still working OK.
Then I did a push of all that to my GitHub/MichaelKentBurns/MyCounter repository.
I got a progress bar for the push which never made any progress.  
Instead I got the beachball spinner.  After quite some time I wanted to interrupt it to see if I could recover, but I could find a way.
Eventually I had to force-quit.

When I restarted my Pharo image, all of that work was lost because I had not done a save.

My Question: Is there some way to interrupt such a process?

Screen capture attached.

<Screen Shot 2020-05-22 at 4.05.49 PM.png>



--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

Reply | Threaded
Open this post in threaded view
|

Re: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Pharo Smalltalk Users mailing list
Thanks.   Comments below marked MKB:

On May 23, 2020, at 3:49 AM, Stéphane Ducasse <[hidden email]> wrote:

Ok I will that you are

P8 
sometimes we have to wait for timeout it should be 1 min (from memory). 
Can you push from the command line?

MKB: Yes, I have been using git for years.
I am trying to see how Iceberg’s use of git repo differs from what I’m used to.


S.

On 23 May 2020, at 00:16, Michael Burns <[hidden email]> wrote:


From: Michael Burns <[hidden email]>
Subject: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?
Date: 23 May 2020 at 00:16:54 CEST
Cc: Michael Burns <[hidden email]>


I had been following the Developing a simple counter chapter.
All was well.
I created an iceberg repository and added my Project to it.
I committed the sources to git.
Still working OK.
Then I did a push of all that to my GitHub/MichaelKentBurns/MyCounter repository.
I got a progress bar for the push which never made any progress.  
Instead I got the beachball spinner.  After quite some time I wanted to interrupt it to see if I could recover, but I could find a way.
Eventually I had to force-quit.

When I restarted my Pharo image, all of that work was lost because I had not done a save.

My Question: Is there some way to interrupt such a process?

Screen capture attached.

<Screen Shot 2020-05-22 at 4.05.49 PM.png>



--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France


Reply | Threaded
Open this post in threaded view
|

Re: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Pharo Smalltalk Users mailing list
In reply to this post by Stéphane Ducasse
Thanks Stéphane:

Sorry I did not answer your questions below earlier.   I often see your mails on my iPad while having coffee.
By the time I got to my computer I had forgotten. 

Answers below marked MKB: 

On May 23, 2020, at 3:48 AM, Stéphane Ducasse <[hidden email]> wrote:

Hi michael

I’m sincerly sad about the bad experience you encounter (especially when I see how stable is the system on my 
machine — and I’m a bug magnet for any software — everything crashes with me — sadly enough).


I had been following the Developing a simple counter chapter.
All was well.
I created an iceberg repository and added my Project to it.
I committed the sources to git.
Still working OK.
Then I did a push of all that to my GitHub/MichaelKentBurns/MyCounter repository.
I got a progress bar for the push which never made any progress.  

Can you tell us what is your OS?
version

MKB: MacOS 10.15.4.

pharo version

MKB: Pharo 8.0.0
Build information: Pharo-8.0.0+build.1124.sha.0932da82f08175e906b0e2a8052120c823374e9f (64 Bit)



Can you commit from the command line?

MKB: Yes, I’ve used git from a shell and several git Gui clients for years.
I started earlier (before I was introduced to Iceberg) by filing out my classes into the top level of a git repo for this project.
Then I can commit and push from there to GitHub


Are you using ssh or Https?

MKB:  I have probably used ssh, but more likely https.


If ssh are you using an agent?

MKB: Not sure what you mean.  Not that I’m aware of.


In Pharo 90 we are about to release a new C binding for libgit because the version we use is .25 and we will get to 1.0. 

Instead I got the beachball spinner.  After quite some time I wanted to interrupt it to see if I could recover, but I could find a way.
Eventually I had to force-quit.

Arg. 

When I restarted my Pharo image, all of that work was lost because I had not done a save.

Your code is there. 
Open the change code. 
And you can reapply your changes.
As a general principle the only thing that you can really lose is the method you are editing but did not compile
(and all your code if you do not have write permissions but this is a bit normal)


MKB: I was able to recover all the changes.  Thanks.


 <Screenshot 2020-05-23 at 10.41.56.png>


My Question: Is there some way to interrupt such a process?

You should be able to push <meta-.> where meta is Ctrl / Alt / Command depending on your OS.
i.e. push period and meta keys together.

btw, in Pharo 7 I have been experiencing a few seconds lag before the debugger appears,
such that it seems it didn't work so I end up hammering the <meta-.> key and half a dozen debuggers show up.
Apart from needing to modify my behaviour, what have other experienced.  
I understood there was some work lately to improve responsiveness, so maybe I move to Pharo 9 soon.

cheers -ben

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France


Reply | Threaded
Open this post in threaded view
|

Re: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Stéphane Ducasse
In reply to this post by Stéphane Ducasse


On 23 May 2020, at 22:57, Michael Burns <[hidden email]> wrote:

Thanks Stéphane:

Sorry I did not answer your questions below earlier.   I often see your mails on my iPad while having coffee.
By the time I got to my computer I had forgotten. 

don;t worry for me emails are by definition late bound. 

Answers below marked MKB: 

On May 23, 2020, at 3:48 AM, Stéphane Ducasse <[hidden email]> wrote:

Hi michael

I’m sincerly sad about the bad experience you encounter (especially when I see how stable is the system on my 
machine — and I’m a bug magnet for any software — everything crashes with me — sadly enough).


I had been following the Developing a simple counter chapter.
All was well.
I created an iceberg repository and added my Project to it.
I committed the sources to git.
Still working OK.
Then I did a push of all that to my GitHub/MichaelKentBurns/MyCounter repository.
I got a progress bar for the push which never made any progress.  

Can you tell us what is your OS?
version

MKB: MacOS 10.15.4.

Oh this is strange because most of the crew here is using mac (or linux or windows) :)


pharo version

MKB: Pharo 8.0.0
Build information: Pharo-8.0.0+build.1124.sha.0932da82f08175e906b0e2a8052120c823374e9f (64 Bit)



Can you commit from the command line?

MKB: Yes, I’ve used git from a shell and several git Gui clients for years.
I started earlier (before I was introduced to Iceberg) by filing out my classes into the top level of a git repo for this project.
Then I can commit and push from there to GitHub


Are you using ssh or Https?

MKB:  I have probably used ssh, but more likely https.


If ssh are you using an agent?

MKB: Not sure what you mean.  Not that I’m aware of.


I use an ssh-agent to not have to retype my login. 



Reply | Threaded
Open this post in threaded view
|

Re: Pushing to GitHub repository from my iceberg repository is hung (beachball). How do I interrupt the process?

Stéphane Ducasse
In reply to this post by Pharo Smalltalk Users mailing list
Hi michael

I discussed with guille and pablo and they told me that this happens to them from time to time and this is related to
libgit. Guille said that they do not succeed to reproduce it.
They hope that moving to libgit1.0 will fix that problem. We are worried about this and we would love to have a reproducible case.

S