[Pharo-project] So your working on a cool project and Pharo crashes

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Feb 18 05:58:59 EST 2010


I imagine that you can also recoever from another image.
At least in VW we could do that.
Nathan the first thing to do is to copy your image/changes because each time to receover you add
new info to you changes.

So if you screw it up now. Go back to before the first time you crashed because all your changes are
still there. This is juts a matter of identifying them. Pay attention that we do not have classDefinition
as in Cuis and VW so doit for class definition should be replayed too.

finally did you save your code with monticello?
Because this is the best way, publish often.

Stef



On Feb 18, 2010, at 7:25 AM, Alexandre Bergel wrote:

> The change file needs to have the same name than the image to have it  
> listed when you do a recover lost changes.
> Else, you can simply edit the .changes using any (robust) text editor.  
> Cut and paste what you feel relevant into a new file that you name  
> yourchanges.cs
> You then have created a changeset file, which can be easily loaded  
> with a drag and drop from your OS desktop to the Pharo image.  
> Alternatively, you can use the file loader.
> 
> Hope it helps.
> 
> Cheers,
> Alexandre
> 
> On 18 Feb 2010, at 03:13, Nathan Tuttle wrote:
> 
>> One thing. It looks like there is a changes file that has more up to  
>> date information. How do I pull this in?
>> 
>> On Wed, Feb 17, 2010 at 11:44 PM, Alexandre Bergel <alexandre at bergel.eu 
>>> wrote:
>> I also had the very same feeling the first times I used the "recover
>> lost changes" option.  Now that I gained experience, I live
>> comfortably with it.
>> 
>> Cheers,
>> Alexandre
>> 
>> On 18 Feb 2010, at 02:37, Nathan Tuttle wrote:
>> 
>>> actually, to tell  the truth I figured out how to get most of my
>>> methods back. But not the right versions. I wonder if I can back out
>>> the changes and try to select the ones that I do need, but there are
>>> soo many.
>>> 
>>> It does throw an error when I select multiple changesets. When I use
>>> the "remove do it" that helps the most.
>>> 
>>> its just such a mess right now
>>> 
>>> On Wed, Feb 17, 2010 at 11:23 PM, Alexandre Bergel <alexandre at bergel.eu
>>>> wrote:
>>> Hi Nathan,
>>> 
>>>> Is there any way to do a recovery besides the Recover Lost Changes
>>>> option that doesn't seem to work?
>>> 
>>> What do you mean by "doesn't seem to work"? I have always been happy
>>> with it.
>>> Does it raise an error?
>>> 
>>>> It seems the change log that was left behind has some promising
>>>> things in it.
>>> 
>>> 
>>> You can directly inspect the .changes file next to your image.
>>> 
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project at lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>> 
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project at lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> 
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> 
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





More information about the Pharo-dev mailing list