[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-17 Thread da...@totallyobjects.com
YesSent from my Huawei tablet Original Message Subject: [Pharo-users] Re: Problem with Dictionary and AssociationsFrom: Guillermo Polito To: Any question about pharo is welcome CC: Hi David,do you use the Pharo Launcher?G.> El 16 feb 2021, a las 20:51, David Pennington escribió:> >

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-17 Thread Guillermo Polito
Hi David, do you use the Pharo Launcher? G. > El 16 feb 2021, a las 20:51, David Pennington > escribió: > > Thank you, where do I get Pharo 9? > >> On 16 Feb 2021, at 19:44, Stéphane Ducasse wrote: >> >> Hello David, >> >> We just sent an update and a blog post to get the new VM and insta

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-16 Thread David Pennington
Thank you, where do I get Pharo 9? > On 16 Feb 2021, at 19:44, Stéphane Ducasse wrote: > > Hello David, > > We just sent an update and a blog post to get the new VM and install it. > So let us know. I think that Pharo will be a lot snappier because Rosetta is > slowing Pharo a lot. > > S >

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-16 Thread Stéphane Ducasse
Hello David, We just sent an update and a blog post to get the new VM and install it. So let us know. I think that Pharo will be a lot snappier because Rosetta is slowing Pharo a lot. S PS: we have access to our building one day a week and this is an exception because normally we should be

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-14 Thread Stéphane Ducasse
l make it superb. >>>>> >>>>> Many thanks for your help in this. >>>>> >>>>> David >>>>> TotallyObjects >>>>> http://www.totallyobjects <http://www.totallyobjects/>.com >>>>> >

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread David Pennington
>.com >>>> >>>> Your suggestion worked perfectly - I truncate the file and it parses >>>> >>>>> On 11 Feb 2021, at 17:07, >>>> <mailto:pe...@pbkresearch.co.uk>> >>>> <mailto:pe...@pbkresearch.co.uk>> wro

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread Stéphane Ducasse
>>>> >>>>> David >>>>> TotallyObjects >>>>> http://www.totallyobjects <http://www.totallyobjects/>.com >>>>> >>>>> Your suggestion worked perfectly - I truncate the file and it parses >>>>> >>

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread Stéphane Ducasse
t;>>> parenthesis. They should not be there if it is displaying a dictionary. >>>> Evidently the variable 'aDict' is in fact an association whose key is the >>>> dictionary and whose value is nil. >>>> >>>> I can't see whe

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread David Pennington
021, at 17:07, >>>> <mailto:pe...@pbkresearch.co.uk>> >>>> <mailto:pe...@pbkresearch.co.uk>> wrote: >>>>> >>>>> David >>>>> I think you are misreading the debugger display. The bit you are missing >>>>> is

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread Stéphane Ducasse
e misreading the debugger display. The bit you are missing >>>> is the last few characters in the evaluation display, after the closing >>>> parenthesis. They should not be there if it is displaying a dictionary. >>>> Evidently the variable 'aDict' i

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread David Pennington
an association whose key is the >>> dictionary and whose value is nil. >>> >>> I can't see where it goes from there, but I think you need to look more >>> closely at the preceding line, FAOEntry>>getEntryObjectFrom:, and see what >>> e

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread Stéphane Ducasse
at >> exactly it does with the junk in your .dat file. >> >> HTH >> >> Peter Kenny >> >> >> -Original Message- >> From: David Pennington > <mailto:da...@totallyobjects.com>> >> Sent: 11 February 2021 16:46 >>

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread peter
David Glad to have helped, but it was really Sven who diagnosed why the file was messed up. Peter From: David Pennington Sent: 11 February 2021 19:38 To: Any question about pharo is welcome Subject: [Pharo-users] Re: Problem with Dictionary and Associations Hi there Peter I

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread David Pennington
;getEntryObjectFrom:, and see what > exactly it does with the junk in your .dat file. > > HTH > > Peter Kenny > > > -Original Message- > From: David Pennington > Sent: 11 February 2021 16:46 > To: Any question about pharo is welcome > Subject: [Pharo

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread Sven Van Caekenberghe
e what > exactly it does with the junk in your .dat file. > > HTH > > Peter Kenny > > > -Original Message- > From: David Pennington > Sent: 11 February 2021 16:46 > To: Any question about pharo is welcome > Subject: [Pharo-users] Re: Problem with Di

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread peter
sage- From: David Pennington Sent: 11 February 2021 16:46 To: Any question about pharo is welcome Subject: [Pharo-users] Re: Problem with Dictionary and Associations Thank you for that but it doesn’t resolve my problem. Why does the stack move to an Association when doing the access to the

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread David Pennington
Thank you for that but it doesn’t resolve my problem. Why does the stack move to an Association when doing the access to the dictionary? It is the Association indexing that fails as it won’t allow #entryAmount as a key. If I inspect the following code (STON fromString: result ) in the line ^ sel

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread Sven Van Caekenberghe
I can parse the file data you provided: STON fromString: '{#entryName:''Housekeeping'',#entryDate:Date[''2021-02-25Z''],#transactionID:''2021022501'',#entryAmount:-400/1s8,#entryCategory:''Housekeeping'',#entryDescription:''Housekeeping'',#match:nil}ousekeeping'',#match:nil}' "a Dictionary(#en

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread David Pennington
Yes but I can’t see any resolution on GitHub > On 11 Feb 2021, at 15:36, hogoww wrote: > > Are you on Pharo 8? > I think I encountered this bug not so long ago. > From your screenshot, it look like it > https://github.com/pharo-project/pharo/issues/8411 >

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread hogoww
Are you on Pharo 8? I think I encountered this bug not so long ago. From your screenshot, it look like it https://github.com/pharo-project/pharo/issues/8411? Pierre On 11/02/2021 16:33, David Pennington wrote: I attach a couple of screen shots and a file containing the item that I am trying

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-10 Thread Sven Van Caekenberghe
Hi David, > On 10 Feb 2021, at 19:18, da...@totallyobjects.com wrote: > > I am using STON to objects out to disk. Up to two days ago, I was reading > them in as Dictionaries and converting to objects from there. All of a sudden > yesterday morning, I got an error saying that the association is