CrashDetector made for sprint

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

CrashDetector made for sprint

Thibault Raffaillac
Dear Pharo users,

We made a short script with Guille during the Pharo sprint to detect at startup when image crashed, and propose to open changes browser to recover lost changes. It should be useful for beginners who do not know of the Changes Browser.

It should be available tomorrow on Catalog browser, otherwise run:
Gofer it
        smalltalkhubUser: 'ThibaultRaffaillac' project: 'CrashDetector';
        configurationOf: 'CrashDetector';
        loadStable

Patches and comments welcome :)
Thibault

Reply | Threaded
Open this post in threaded view
|

Re: CrashDetector made for sprint

Blondeau Vincent
Nice!

I am eager to see it with a better change set manager, i.e. Epicea ;)

Your tool works nicely when you save and close the image properly.
However, when you close directly the program by clicking on the cross (which is easier than going into the world menu after a CTRL+SHIFT+S), the image doesn't crashes, but you get a message to retrieve your changes.
I think that managing this case is harder because you have to interact with the vm, haven't you?

Cheers,
Vincent

> -----Message d'origine-----
> De : Pharo-users [mailto:[hidden email]] De la part de
> Thibault Raffaillac
> Envoyé : vendredi 26 février 2016 17:40
> À : [hidden email]
> Objet : [Pharo-users] CrashDetector made for sprint
>
> Dear Pharo users,
>
> We made a short script with Guille during the Pharo sprint to detect at
> startup when image crashed, and propose to open changes browser to
> recover lost changes. It should be useful for beginners who do not know of
> the Changes Browser.
>
> It should be available tomorrow on Catalog browser, otherwise run:
> Gofer it
>       smalltalkhubUser: 'ThibaultRaffaillac' project: 'CrashDetector';
>       configurationOf: 'CrashDetector';
>       loadStable
>
> Patches and comments welcome :)
> Thibault


!!!*************************************************************************************
"Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.!!!"

Reply | Threaded
Open this post in threaded view
|

Re: CrashDetector made for sprint

Guillermo Polito
And there it is!

http://catalog.pharo.org/catalog/project/CrashDetector?_k=QEAEbx_HCNViU7Bb

This is a cool add-on for newbies or image crashers (FFI users for example).

On 02/26/2016 05:59 PM, Blondeau Vincent wrote:

> Nice!
>
> I am eager to see it with a better change set manager, i.e. Epicea ;)
>
> Your tool works nicely when you save and close the image properly.
> However, when you close directly the program by clicking on the cross (which is easier than going into the world menu after a CTRL+SHIFT+S), the image doesn't crashes, but you get a message to retrieve your changes.
> I think that managing this case is harder because you have to interact with the vm, haven't you?
>
> Cheers,
> Vincent
>
>> -----Message d'origine-----
>> De : Pharo-users [mailto:[hidden email]] De la part de
>> Thibault Raffaillac
>> Envoyé : vendredi 26 février 2016 17:40
>> À : [hidden email]
>> Objet : [Pharo-users] CrashDetector made for sprint
>>
>> Dear Pharo users,
>>
>> We made a short script with Guille during the Pharo sprint to detect at
>> startup when image crashed, and propose to open changes browser to
>> recover lost changes. It should be useful for beginners who do not know of
>> the Changes Browser.
>>
>> It should be available tomorrow on Catalog browser, otherwise run:
>> Gofer it
>>        smalltalkhubUser: 'ThibaultRaffaillac' project: 'CrashDetector';
>>        configurationOf: 'CrashDetector';
>>        loadStable
>>
>> Patches and comments welcome :)
>> Thibault
>
> !!!*************************************************************************************
> "Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.!!!"
>


Reply | Threaded
Open this post in threaded view
|

Re: CrashDetector made for sprint

Thibault Raffaillac
In reply to this post by Thibault Raffaillac
Hi Vincent,

I cannot manage to reproduce your bug (on Mac). Can you post the last entry in your .changes file?

Cheers,
Thibault

> Nice!
>
> I am eager to see it with a better change set manager, i.e. Epicea ;)
>
> Your tool works nicely when you save and close the image properly.
> However, when you close directly the program by clicking on the cross (which
> is easier than going into the world menu after a CTRL+SHIFT+S), the image
> doesn't crashes, but you get a message to retrieve your changes.
> I think that managing this case is harder because you have to interact with
> the vm, haven't you?
>
> Cheers,
> Vincent

Reply | Threaded
Open this post in threaded view
|

Re: CrashDetector made for sprint

Blondeau Vincent
Hi,

See attachment with the last entries.
Each StartupPreferences* is a new startup of the image.
With a quit or quit/nosave -> it works.
Else it doesn't.

Cheers,
Vincent



> -----Message d'origine-----
> De : Pharo-users [mailto:[hidden email]] De la part de
> Thibault Raffaillac
> Envoyé : lundi 29 février 2016 11:23
> À : [hidden email]
> Objet : Re: [Pharo-users] CrashDetector made for sprint
>
> Hi Vincent,
>
> I cannot manage to reproduce your bug (on Mac). Can you post the last entry
> in your .changes file?
>
> Cheers,
> Thibault
>
> > Nice!
> >
> > I am eager to see it with a better change set manager, i.e. Epicea ;)
> >
> > Your tool works nicely when you save and close the image properly.
> > However, when you close directly the program by clicking on the cross
> > (which is easier than going into the world menu after a CTRL+SHIFT+S),
> > the image doesn't crashes, but you get a message to retrieve your changes.
> > I think that managing this case is harder because you have to interact
> > with the vm, haven't you?
> >
> > Cheers,
> > Vincent

!!!*************************************************************************************
"Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.!!!"

dotChanges.txt (5K) Download Attachment