Chris,
Thanks, that worked. I have been playing around with saving and retrieving objects.
First, I can not get the example of the swiki to create indexes to work right. I first committed an OrderedCollection of objects. Then, I needed to commit another set of different objects. I noticed that I had to read the whole collection first, add to it, then recommit the whole collection again. Is this the 'correct' way to do this? Or is there a way to just commit the different objects to the repository? BTW, I am not using MagmaCollection to do this. The amount of objects I have persisting is pretty small.
Thanks for all your help! Keith
On Wed, Apr 16, 2008 at 10:18 PM, Chris Muller asqueaker@gmail.com wrote:
Ah, ok, it looks like you actually have an open repository (which maintains its own "__system" session. So try this:
MagmaRepositoryController initialize
To get back to a totally "clean state" you may also wish to do:
MagmaSession cleanUp
which will clean up any stray MagmaSessions you had lying around.
On Tue, Apr 15, 2008 at 9:32 PM, Dr Keith A. Morneau
keith.morneau@gmail.com wrote:
Hi Chris,
Thanks for the quick response. I tried that and I still have the problem. This is what I get -
closing Magma repository /Users/kmorneau/Desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/squeakvm/MyMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. opening Magma repository /Users/kmorneau/Desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/Desktop/SqueakVM/myMagma as __system... connection established. opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/squeakvm/MyMagma connecting to local-link to /Users/kmorneau/desktop/squeakvm/MyMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group
Thanks, Keith
On Tue, Apr 15, 2008 at 9:26 PM, Chris Muller asqueaker@gmail.com wrote:
Hi Keith, try:
MagmaSession disconnectAndCloseAllConnectedSessions
- Chris
On Tue, Apr 15, 2008 at 9:16 PM, Dr Keith A. Morneau keith.morneau@gmail.com wrote:
Hello everyone,
I am a newbie to Magma. I have a problem that I need help with. I have not closed open connections properly and now I have Squeak every time I save and reboot the image Magma restarts the connections again. I have the image telling me that is opening the magma connection 4 times. I have no idea how to clean this up and I need to.
I am connecting with the single user mode. I hope this makes sense.
Thanks for any help.
Keith _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
--
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Hi Keith, normal Smalltalk collections such as Bag or OrderedCollection are stored in contiguous ByteArray records, read and written wholly. If this is a problem, a MagmaCollection should be used. For more information:
http://wiki.squeak.org/squeak/2639
Regards, Chris
On Thu, Apr 17, 2008 at 5:43 AM, Dr Keith A. Morneau keith.morneau@gmail.com wrote:
Chris,
Thanks, that worked. I have been playing around with saving and retrieving objects.
First, I can not get the example of the swiki to create indexes to work right. I first committed an OrderedCollection of objects. Then, I needed to commit another set of different objects. I noticed that I had to read the whole collection first, add to it, then recommit the whole collection again. Is this the 'correct' way to do this? Or is there a way to just commit the different objects to the repository? BTW, I am not using MagmaCollection to do this. The amount of objects I have persisting is pretty small.
Thanks for all your help! Keith
On Wed, Apr 16, 2008 at 10:18 PM, Chris Muller asqueaker@gmail.com wrote:
Ah, ok, it looks like you actually have an open repository (which maintains its own "__system" session. So try this:
MagmaRepositoryController initialize
To get back to a totally "clean state" you may also wish to do:
MagmaSession cleanUp
which will clean up any stray MagmaSessions you had lying around.
On Tue, Apr 15, 2008 at 9:32 PM, Dr Keith A. Morneau
keith.morneau@gmail.com wrote:
Hi Chris,
Thanks for the quick response. I tried that and I still have the problem. This is what I get -
closing Magma repository /Users/kmorneau/Desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/squeakvm/MyMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. opening Magma repository /Users/kmorneau/Desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/Desktop/SqueakVM/myMagma as __system... connection established. opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/squeakvm/MyMagma connecting to local-link to /Users/kmorneau/desktop/squeakvm/MyMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group
Thanks, Keith
On Tue, Apr 15, 2008 at 9:26 PM, Chris Muller asqueaker@gmail.com wrote:
Hi Keith, try:
MagmaSession disconnectAndCloseAllConnectedSessions
- Chris
On Tue, Apr 15, 2008 at 9:16 PM, Dr Keith A. Morneau keith.morneau@gmail.com wrote:
Hello everyone,
I am a newbie to Magma. I have a problem that I need help with. I have not closed open connections properly and now I have Squeak every time I save and reboot the image Magma restarts the connections again. I have the image telling me that is opening the magma connection 4 times. I have no idea how to clean this up and I need to.
I am connecting with the single user mode. I hope this makes sense.
Thanks for any help.
Keith _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
--
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
I forgot mention, also, a large LinkedList would of course also be more efficient than a OrderedCollection with respect to rapid-fire updates..
On Fri, Apr 18, 2008 at 8:25 PM, Chris Muller asqueaker@gmail.com wrote:
Hi Keith, normal Smalltalk collections such as Bag or OrderedCollection are stored in contiguous ByteArray records, read and written wholly. If this is a problem, a MagmaCollection should be used. For more information:
http://wiki.squeak.org/squeak/2639
Regards, Chris
On Thu, Apr 17, 2008 at 5:43 AM, Dr Keith A. Morneau
keith.morneau@gmail.com wrote:
Chris,
Thanks, that worked. I have been playing around with saving and retrieving objects.
First, I can not get the example of the swiki to create indexes to work right. I first committed an OrderedCollection of objects. Then, I needed to commit another set of different objects. I noticed that I had to read the whole collection first, add to it, then recommit the whole collection again. Is this the 'correct' way to do this? Or is there a way to just commit the different objects to the repository? BTW, I am not using MagmaCollection to do this. The amount of objects I have persisting is pretty small.
Thanks for all your help! Keith
On Wed, Apr 16, 2008 at 10:18 PM, Chris Muller asqueaker@gmail.com wrote:
Ah, ok, it looks like you actually have an open repository (which maintains its own "__system" session. So try this:
MagmaRepositoryController initialize
To get back to a totally "clean state" you may also wish to do:
MagmaSession cleanUp
which will clean up any stray MagmaSessions you had lying around.
On Tue, Apr 15, 2008 at 9:32 PM, Dr Keith A. Morneau
keith.morneau@gmail.com wrote:
Hi Chris,
Thanks for the quick response. I tried that and I still have the problem. This is what I get -
closing Magma repository /Users/kmorneau/Desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/squeakvm/MyMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. closing Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma. Will reopen on next startup. opening Magma repository /Users/kmorneau/Desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/Desktop/SqueakVM/myMagma as __system... connection established. opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/squeakvm/MyMagma connecting to local-link to /Users/kmorneau/desktop/squeakvm/MyMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group opening Magma repository /Users/kmorneau/desktop/SqueakVM/myMagma connecting to local-link to /Users/kmorneau/desktop/SqueakVM/myMagma as __system... connection established. End of recovery group
Thanks, Keith
On Tue, Apr 15, 2008 at 9:26 PM, Chris Muller asqueaker@gmail.com wrote:
Hi Keith, try:
MagmaSession disconnectAndCloseAllConnectedSessions
- Chris
On Tue, Apr 15, 2008 at 9:16 PM, Dr Keith A. Morneau keith.morneau@gmail.com wrote:
Hello everyone,
I am a newbie to Magma. I have a problem that I need help with. I have not closed open connections properly and now I have Squeak every time I save and reboot the image Magma restarts the connections again. I have the image telling me that is opening the magma connection 4 times. I have no idea how to clean this up and I need to.
I am connecting with the single user mode. I hope this makes sense.
Thanks for any help.
Keith _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
--
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
magma@lists.squeakfoundation.org