<div dir="auto"><div dir="ltr"><div>Chris, <br></div><div><br></div><div>Thanks for solving that so quickly.<br></div><div>I wanted to use Magma to get an idea on how an Object Database is working. But now, it seems that I overestimated myself: the documentation I found on Magma is not enough for me to get going. It feels like I miss some basic knowledge to really understand what you are writing. Or maybe there's just 35 years of Cobol programming that get in the way...</div><br><div>Are there 'standard' texts on object databases in general, that could help me?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">Edwin</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op zo 11 sep. 2022 om 00:42 schreef Chris Muller <<a href="mailto:ma.chris.m@gmail.com" target="_blank" rel="noreferrer">ma.chris.m@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Edwin,<br>
<br>
Ah, thanks for posting that.  It's not a memory issue, it's actually a<br>
bug with some new code I put in a few months ago that only occurs when<br>
not running on Linux.  I just fixed it.  Sorry about that!  However, I<br>
should let you know that Magma runs best on Linux, and is moving<br>
toward being only officially supported on Linux.<br>
<br>
I also just updated the SqueakMap entry, so the above fix will be<br>
there in future installs.  You don't have to start in a new image.<br>
You can either select version 1.65 in SqueakMap (with Installed<br>
checked, and all other checkboxes unchecked) and Install it on top of<br>
what you have (that is safe and won't create any bloat), or, you can<br>
simply load the one package with the fix, Ma-Core-cmm.338 in HTTP<br>
repository <a href="http://www.squeaksource.com/MaBase" rel="noreferrer noreferrer" target="_blank">http://www.squeaksource.com/MaBase</a> .<br>
<br>
Sorry again for the inconvenience, with the above fix I think you're<br>
ready to get going with Magma.  If any other questions or issues,<br>
please don't hesitate to let me know!<br>
<br>
On Sat, Sep 10, 2022 at 5:18 AM Edwin Ancaer <<a href="mailto:eancaer@gmail.com" target="_blank" rel="noreferrer">eancaer@gmail.com</a>> wrote:<br>
><br>
> Chris,<br>
><br>
> It looks like a memory problem.<br>
><br>
> I''l have to find some time to remove an old windows partition.<br>
><br>
><br>
> -- The full stack ---<br>
> SmallInteger(Object)>>doesNotUnderstand: #isByteString<br>
> ByteString(String)>>compare:with:collated:<br>
> ByteString(String)>><=<br>
> ByteSymbol(SequenceableCollection)>>at:ifAbsent:<br>
> MaComputer>>meminfo:ifAbsent:<br>
> MaComputer>>systemMemoryAvailable<br>
> SmalltalkImage>>imageMemoryAvailable<br>
> MaComputer>>isLowOnMemory<br>
> MaObjectRepository>>freeSomeSpaceIfNecessary:<br>
> [] in [] in MagmaRepositoryController>>processRequest:<br>
> BlockClosure>>ensure:<br>
> Mutex>>critical:<br>
> MagmaRepositoryController>>requestCritical:<br>
> [] in MagmaRepositoryController>>processRequest:<br>
> BlockClosure>>on:do:<br>
> MagmaRepositoryController>>processRequest:<br>
> MagmaRepositoryController>>value:<br>
> [] in MaLocalRequestServer(MaRequestServer)>>processRequest:<br>
> BlockClosure>>on:do:<br>
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>
> MaLocalRequestServer(MaRequestServer)>>processRequest:<br>
> MaLocalServerLink>>submit:<br>
> [] in [] in [] in MagmaSession>>submit:to:<br>
> [] in [] in BlockClosure>>maOn:do:on:do:on:do:<br>
> BlockClosure>>on:do:<br>
> [] in BlockClosure>>maOn:do:on:do:on:do:<br>
> [] in [] in BlockClosure>>maOn:do:on:do:<br>
> BlockClosure>>on:do:<br>
> [] in BlockClosure>>maOn:do:on:do:<br>
> BlockClosure>>on:do:<br>
> BlockClosure>>maOn:do:on:do:<br>
> BlockClosure>>maOn:do:on:do:on:do:<br>
> [] in [] in MagmaSession>>submit:to:<br>
> BlockClosure>>ensure:<br>
> CursorWithMask(Cursor)>>showWhile:<br>
> [] in MagmaSession>>submit:to:<br>
> Mutex>>critical:<br>
> MagmaSession>>submit:to:<br>
> [] in MagmaSession>>submit:<br>
> BlockClosure>>on:do:<br>
> MagmaSession>>submit:<br>
> MagmaSession>>primConnect<br>
> [] in MagmaSession>>connect:<br>
> BlockClosure>>ensure:<br>
> Mutex>>critical:<br>
> MagmaSession>>connect:<br>
> MagmaRepositoryController>>connect<br>
> MagmaRepositoryController>>createRepositoryAt:<br>
> MagmaRepositoryController class>>create:<br>
> MagmaRepositoryController class>>create:root:<br>
> UndefinedObject>>DoIt<br>
> Compiler>>evaluateCue:ifFail:<br>
> Compiler>>evaluateCue:ifFail:logged:<br>
> Compiler>>evaluate:in:to:environment:notifying:ifFail:logged:<br>
> [] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:<br>
> BlockClosure>>on:do:<br>
> SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:<br>
> SmalltalkEditor(TextEditor)>>evaluateSelection<br>
> SmalltalkEditor(TextEditor)>>doIt<br>
> SmalltalkEditor(TextEditor)>>doIt:<br>
> SmalltalkEditor(TextEditor)>>dispatchOnKeyboardEvent:<br>
> SmalltalkEditor(TextEditor)>>keyStroke:<br>
> -- and more not shown --<br>
><br>
> Thanks,<br>
><br>
> Edwin<br>
> *;<br>
><br>
><br>
> Op za 10 sep. 2022 om 04:45 schreef Chris Muller <<a href="mailto:asqueaker@gmail.com" target="_blank" rel="noreferrer">asqueaker@gmail.com</a>>:<br>
>><br>
>> Hi Edwin,<br>
>><br>
>> That's weird, this looks strangely familiar, but can't remember what it was.<br>
>><br>
>> Please turn on debug<br>
>><br>
>>    MagmaPreferences debug: true.<br>
>><br>
>> and then try creating your database again.  This will cause it to stop<br>
>> in the server code wherever the problem is.  If you'll post that stack<br>
>> here, I can help.<br>
>><br>
>> I'm quite curious, thanks.<br>
>><br>
>>  - Chris<br>
>><br>
>><br>
>> On Fri, Sep 9, 2022 at 10:32 AM Edwin Ancaer <<a href="mailto:eancaer@gmail.com" target="_blank" rel="noreferrer">eancaer@gmail.com</a>> wrote:<br>
>> ><br>
>> ><br>
>> > Hello,<br>
>> ><br>
>> > Should I be able to install Magma in Squeak 5.3?<br>
>> ><br>
>> > Image<br>
>> > -----<br>
>> > /usr/home/edwin/Smalltalk53/magma.image<br>
>> > Squeak5.3<br>
>> > latest update: #19481<br>
>> > Current Change Set: HomeProject<br>
>> > Image format 68021 (64 bit)<br>
>> ><br>
>> > Virtual Machine<br>
>> > ---------------<br>
>> > /usr/home/edwin/Smalltalk53/opensmalltalk-vm/building/linux64x64/squeak.cog.spur/build/squeak<br>
>> > Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3142]<br>
>> > Unix built on Aug 15 2022 13:47:05 Compiler: FreeBSD Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)<br>
>> > platform sources revision VM: 202201220125 edwin@ottopedi:/usr/home/edwin/Smalltalk53/opensmalltalk-vm Date: Fri Jan 21 17:25:16 2022 CommitHash: 0df6348be Plugins: 202201220125 edwin@ottopedi:/usr/home/edwin/Smalltalk53/opensmalltalk-vm<br>
>> ><br>
>> > I used SqueaKmap to install VERSION 1.65 tests of Magma and then, following <a href="https://wiki.squeak.org/squeak/2689" rel="noreferrer noreferrer" target="_blank">https://wiki.squeak.org/squeak/2689</a>, executed<br>
>> ><br>
>> >  MagmaRepositoryController<br>
>> >     create: '/home/edwin/MyMagmaFolder'<br>
>> >     root: PDAPerson new.<br>
>> ><br>
>> > and got the message: MessageNotUnderstood: SmallInteger>>isByteString, as in the added screenshot.<br>
>> ><br>
>> > Can this be my image/VM that cause this problem?<br>
>> ><br>
>> > Kind regards,<br>
>> ><br>
>> > Edwin Ancaer<br>
>> ><br>
>><br>
</blockquote></div></div>