Hello, I'm having an unusual problem with my workspaces. I'musing Squeak 5.2 on a windows machine. If I enter an expression in a workspace and then 'print it' all works fine However if I try to preform an action, e.g. Transcript show: 'hello' or 'x:= 1' in the workspace and then 'do it' either by Alt -d or by menu action. I get an exception Message not Understood Undefinedbject >># selectionInterval The rot seems to be Parser>>variable My hunch is that one of the methods was getting an ill-defied interval i.e (lo to: hi) with lo >=hi, but I have not been able to confirm this in all cases. I haven't seen any similar reports, so I suspect its not a system issue. Any thoughts on what I might be doing wrong? thanks, David |
Hi David. You are using (a fresh) Squeak 5.2 #18232? Can you share a screenshot of the issue (workspace + debugger)? What are your favourite preferences you set up in a Squeak image? Best, Marcel
|
H Marcel, My imageisn't #18232 it is #18229;here are the full details from About Squeak Squeak5.2-18229-64bit-201810190412-Windows\djd-dev-64bit.image Squeak5.2 latest update: #18229 Current Change Set: Unnamed Image format 68021 (64 bit) I attach a screenshot. Its a window shot rather than a squeak. Whilst I can take one I was unsure how to output a screenshot from within squeak itself . Preferences. I'm unsure which might be relevant. Compiler: allow underscore assignment/selectors; allow block argument assignment Tools:uesUnified Message Labels is set though I'm unclear that this is relevant If you can narrow down to a category I can report all settings. I don't have many change sets installed, the only relevant one might be the Whisker Browser, On Thu, Nov 14, 2019 at 8:42 AM Marcel Taeumel <[hidden email]> wrote:
-- David Duke Professor of Computer Science School of Computing University of Leeds UK Screenshot (1).png (1M) Download Attachment |
Hi David,
could you select the signature of the #correctVariable:interval: method and press <cmd>m to browse its implementation? Your screenshot reveals that your implementation of this method is not equal to that one Squeak 5.2 was delivered with. If you browse the implementation, you can see an annotation bar below the code. Check out whether the method is put into an extension category (that begins with an asterisk). Could you send us a screenshot of this browser window? I guess you installed any package that overrides this method.
Best, Christoph Von: Squeak-dev <[hidden email]> im Auftrag von David Duke <[hidden email]>
Gesendet: Donnerstag, 14. November 2019 11:21:24 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] workspace issue H Marcel,
My imageisn't #18232 it is #18229;here are the full details from About Squeak
Squeak5.2-18229-64bit-201810190412-Windows\djd-dev-64bit.image
Squeak5.2 latest update: #18229 Current Change Set: Unnamed Image format 68021 (64 bit) I attach a screenshot. Its a window shot rather than a squeak. Whilst I can take one
I was unsure how to output a screenshot from within squeak itself .
Preferences. I'm unsure which might be relevant.
Compiler: allow underscore assignment/selectors; allow block argument assignment
Tools:uesUnified Message Labels is set though I'm unclear that this is relevant
If you can narrow down to a category I can report all settings.
I don't have many change sets installed, the only relevant one might be the Whisker Browser,
On Thu, Nov 14, 2019 at 8:42 AM Marcel Taeumel <[hidden email]> wrote:
-- David Duke
Professor of Computer Science
School of Computing University of Leeds UK
Carpe Squeak!
|
screenshot attached. The method appears to be in *morphicwrappers-error correction and I had indeed installed Morphic-Wrappers. Is this my problem then? thanks David On Thu, Nov 14, 2019 at 11:43 AM Thiede, Christoph <[hidden email]> wrote:
-- David Duke Professor of Computer Science School of Computing University of Leeds UK Screenshot (4).png (750K) Download Attachment |
It looks like this. I don't know about this package, but maybe you could contact the developer (community) and ask for an update (assuming you already installed the latest version).
I don't know which modifications Morphic-Wrappers apply to this method, but you could revert the latest version that is not in an extension category (by using the "versions" button) and see if everything you need works. You could even try to re-apply the Morphic-Wrappers changes to the latest official version. :-)
Best, Christoph Von: Squeak-dev <[hidden email]> im Auftrag von David Duke <[hidden email]>
Gesendet: Donnerstag, 14. November 2019 15:43:09 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] workspace issue screenshot attached.
The method appears to be in *morphicwrappers-error correction
and I had indeed installed Morphic-Wrappers. Is this my problem then?
thanks
David
On Thu, Nov 14, 2019 at 11:43 AM Thiede, Christoph <[hidden email]> wrote:
-- David Duke
Professor of Computer Science
School of Computing University of Leeds UK
Carpe Squeak!
|
In reply to this post by David Duke
> On 2019-11-14, at 6:43 AM, David Duke <[hidden email]> wrote: > > screenshot attached. > The method appears to be in *morphicwrappers-error correction > > and I had indeed installed Morphic-Wrappers. Is this my problem then? It's fairly old code - as evidenced by the fact that you had to permit underscore assignments. I see that the MathMorphs package got updated for 5.1 in 2014 (http://wiki.squeak.org/squeak/1195) *but* the latest version of MorphicWrappers pointed to still has that same version of the correctVariable:interval: method. The (relatively) good news is that this suggests a change since 5.1 has made the stuff actually go wrong, so the search space is a bit more manageable. The less good news is that the method got massively refactored in 2009 and the prior version to that from 2005 was already very different to the copy in MorphicWrappers-edc.3 So we'd need to look at the full history and find the version just prior to 11/4/2000 to work out what change was intended and make whatever equivalent change to the current version. Or better yet, we get the attention of the folks that last took care of the MathMorphs and hope they can sort it out ;-) tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Useful random insult:- Puts a finger in his ear so the draft through his head isn't annoying. |
Changing the subject line.
Can anyone provide status of MathMorphs and Morphic Wrappers on current Squeak? Have there been any recent updates? Edgar has included Morphic Wrappers in his FunSqueak5dot2alpha image, so it certainly can be done: squeakros.org/FunSqueak5dot2alpha.zip I don't think that Edgar plans to do further maintenance on this, so it would be great if some other interested folks can help. Dave On Thu, Nov 14, 2019 at 10:20:35AM -0800, tim Rowledge wrote: > > > > On 2019-11-14, at 6:43 AM, David Duke <[hidden email]> wrote: > > > > screenshot attached. > > The method appears to be in *morphicwrappers-error correction > > > > and I had indeed installed Morphic-Wrappers. Is this my problem then? > > It's fairly old code - as evidenced by the fact that you had to permit underscore assignments. I see that the MathMorphs package got updated for 5.1 in 2014 (http://wiki.squeak.org/squeak/1195) *but* the latest version of MorphicWrappers pointed to still has that same version of the correctVariable:interval: method. > > The (relatively) good news is that this suggests a change since 5.1 has made the stuff actually go wrong, so the search space is a bit more manageable. The less good news is that the method got massively refactored in 2009 and the prior version to that from 2005 was already very different to the copy in MorphicWrappers-edc.3 So we'd need to look at the full history and find the version just prior to 11/4/2000 to work out what change was intended and make whatever equivalent change to the current version. > > Or better yet, we get the attention of the folks that last took care of the MathMorphs and hope they can sort it out ;-) > > tim > -- > tim Rowledge; [hidden email]; http://www.rowledge.org/tim > Useful random insult:- Puts a finger in his ear so the draft through his head isn't annoying. > > > |
In reply to this post by timrowledge
Hmmm... a first step could be to correctly mark the overrides as overrides. There are so many extensions to the base system that it's hard to figure out the problematic ones like the one in Parser. In the MathMorphsRevival repository in squeaksource.com, the versions are all quite old: MorphicWrappers-edc.3 ... 4 December 2007, 9:27:41 am Functions-zz.4 ... 17 November 2006, 7:47:23 am This suggests that the code still considers Squeak 3.7 or 3.8. Not 5.1. Best, Marcel
|
In reply to this post by David T. Lewis
It would be great if somebody could add me to this project: It's code base is still for Squeak 3.7 or 3.8. We were just lucky that it has been working so far. Way too many overrides to the base system. Best, Marcel
|
In reply to this post by David T. Lewis
Thanks to all for your replies and help - great community. I'd be happy to help out too by revisiting the MorpicWrappers implementation, But I'm still getting back up to speed with squeak , and need to understand to have a better understanding of the core system and workflow, that will come with time - but the offer is there. David On Thu, Nov 14, 2019 at 8:48 PM David T. Lewis <[hidden email]> wrote: Changing the subject line. -- David Duke Professor of Computer Science School of Computing University of Leeds UK |
Free forum by Nabble | Edit this page |