recover lost changes
To whom can answer me Working with Pharo 3.0 I noticed for a while that I could not recover class definitions (do it's) from the "Recent Changes". I also lost class comments on file-out / file-in . For the second problem I made the following test: 1. take a fresh Pharo 3.0 image (bundle for Mac OSX from Aug 29, 2014) 2. create MyClass with a class method and a comment. 3. file-out MyClass 4. remove MyClass on remove of MyClass I get an exception: https://www.dropbox.com/s/unq89t84tq7r60b/removeClass.tiff?dl=0 5. file-in MyClass The class is there - no error But: With the same exception in other images the comment is missing after file-in. Is this known? What does the exception mean? -- Hartmut Krasemann⨠Königsberger Str. 41 c â¨D 22869 Schenefeld⨠Tel. 040.8307097⨠Mobil 0171.6451283⨠krasemann@acm.org
Excerpts from Hartmut's message of 2015-02-10 15:58:13 +0100:
Working with Pharo 3.0 I noticed for a while that I could not recover class definitions (do it's) from the "Recent Changes".
i noticed this too. methods worked fine, but i couldn't recover methods to new classes until i recreated the class manually. greetings, martin. -- eKita - the online platform for your entire academic life -- chief engineer eKita.co pike programmer pike.lysator.liu.se caudium.net societyserver.org secretary beijinglug.org mentor fossasia.org foresight developer foresightlinux.org realss.com unix sysadmin Martin Bähr working in china http://societyserver.org/mbaehr/
Yes this should be fixed. Le 10/2/15 16:42, Martin Bähr a écrit :
Excerpts from Hartmut's message of 2015-02-10 15:58:13 +0100:
Working with Pharo 3.0 I noticed for a while that I could not recover class definitions (do it's) from the "Recent Changes". i noticed this too. methods worked fine, but i couldn't recover methods to new classes until i recreated the class manually.
greetings, martin.
Am 10.02.2015 um 20:59 schrieb stepharo <stepharo@free.fr>:
Yes this should be fixed.
You mean fix the current implementation or swap it for epicea? Norbert
Le 10/2/15 16:42, Martin Bähr a écrit :
Excerpts from Hartmut's message of 2015-02-10 15:58:13 +0100:
Working with Pharo 3.0 I noticed for a while that I could not recover class definitions (do it's) from the "Recent Changes". i noticed this too. methods worked fine, but i couldn't recover methods to new classes until i recreated the class manually.
greetings, martin.
Hartmut wrote
I also lost class comments on file-out / file-in .
I can not reproduce this in the lastest update (#30862). What image update version do you have? You can find out via WorldMenu->System->About Also, when you say " ----- Cheers, Sean -- View this message in context: http://forum.world.st/recover-lost-changes-tp4804929p4805162.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
I remember at such case, missing comments after file in. I think we fixed it in 4.0 and back ported it too. Am 11.02.2015 17:47 schrieb "Sean P. DeNigris" <sean@clipperadams.com>:
Hartmut wrote
I also lost class comments on file-out / file-in .
I can not reproduce this in the lastest update (#30862). What image update version do you have? You can find out via WorldMenu->System->About
Also, when you say "
----- Cheers, Sean -- View this message in context: http://forum.world.st/recover-lost-changes-tp4804929p4805162.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Am 11.02.2015 18:18 schrieb "Nicolai Hess" <nicolaihess@web.de>:
I remember at such case, missing comments after file in. I think we fixed
it in 4.0 and back ported it too.
14377 <https://pharo.fogbugz.com/default.asp?14377> FileOut creates invalid comment entries for classes with class side methods And 14405 for 3.0
Am 11.02.2015 17:47 schrieb "Sean P. DeNigris" <sean@clipperadams.com>:
Hartmut wrote
I also lost class comments on file-out / file-in .
I can not reproduce this in the lastest update (#30862). What image update version do you have? You can find out via WorldMenu->System->About
Also, when you say "
----- Cheers, Sean -- View this message in context: http://forum.world.st/recover-lost-changes-tp4804929p4805162.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Sean P. DeNigris wrote
I can not reproduce this...
Okay, I see. It only happens when Nautilus (the browser) is on the class-side. Looking deeper, there is in general a flaw in Nautilus - at least in announcement handling - because it doesn't take class vs. metaclass into account. I started fixing it, but don't have time now. The basics for anyone that's interested: selected class could be a class, metaclass, or nil, so there needs to be a nil guard first, then something like selectedClass theNonMetaClass = aClass. Browsing (scoped to Nautilus) senders of #selectedClass is a good start. HTH ----- Cheers, Sean -- View this message in context: http://forum.world.st/recover-lost-changes-tp4804929p4805177.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
thanks sean. I need to get back hacking in Pharo for real. Stef Le 11/2/15 18:58, Sean P. DeNigris a écrit :
Sean P. DeNigris wrote
I can not reproduce this... Okay, I see. It only happens when Nautilus (the browser) is on the class-side. Looking deeper, there is in general a flaw in Nautilus - at least in announcement handling - because it doesn't take class vs. metaclass into account. I started fixing it, but don't have time now.
The basics for anyone that's interested: selected class could be a class, metaclass, or nil, so there needs to be a nil guard first, then something like selectedClass theNonMetaClass = aClass. Browsing (scoped to Nautilus) senders of #selectedClass is a good start. HTH
----- Cheers, Sean -- View this message in context: http://forum.world.st/recover-lost-changes-tp4804929p4805177.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hartmut wrote
Working with Pharo 3.0 I noticed for a while that I could not recover class definitions (do it's) from the "Recent Changes".
Now fixed in latest Pharo 3.0 and 4.0. Thank you Marcus :) ----- Cheers, Sean -- View this message in context: http://forum.world.st/recover-lost-changes-tp4804929p4805928.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (6)
-
Hartmut -
Martin Bähr -
Nicolai Hess -
Norbert Hartl -
Sean P. DeNigris -
stepharo