|
|
Hi all,
Magma newbie... In the help docs, to connect locally it says: myMagmaSession := MagmaSession openLocal: 'c:\myMagmaFolder\myRepository.magma'. As an experiment if I select: MagmaSession openLocal: 'c:\myMagmaFolder\myRepository.magma'. and print it, I get an error 'Could not open _open in use?' The directory is there but with no myRepsitory.magma file. If I create the file and try again Pharo freezes and I have to kill the task in the Windows Task Manager. What am I doing wrong? Pharo 1.1.1 Not sure which version of Magma I have. |
|
Facundo Vozzi |
|
|
Hi Jeff,
You need create the repository before you can connect to it. Try: MagmaRepositoryController create: 'c:\myMagmaFolder' root: Dictionary new.
(MagmaSession openLocal: 'c:\myMagmaFolder') connectAs: 'user' "inspect it" See you, FV On Fri, Feb 18, 2011 at 1:46 AM, Jeff Gray <[hidden email]> wrote:
_______________________________________________ Magma mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/magma |
|
Chris Muller-3 |
|
|
In reply to this post by Jeff Gray
The temporary file named "_open" is just an empty file created when
repository is opened, deleted when it's closed. This is to prevent multiple OS processes from opening the same repository. You may delete the _open file if it is truly not open by any Squeak VM's. - Chris On Thu, Feb 17, 2011 at 10:46 PM, Jeff Gray <[hidden email]> wrote: > > Hi all, > Magma newbie... > > In the help docs, to connect locally it says: > myMagmaSession := MagmaSession openLocal: > 'c:\myMagmaFolder\myRepository.magma'. > > As an experiment if I select: > MagmaSession openLocal: 'c:\myMagmaFolder\myRepository.magma'. > and print it, I get an error 'Could not open _open in use?' > > The directory is there but with no myRepsitory.magma file. > If I create the file and try again Pharo freezes and I have to kill the task > in the Windows Task Manager. > > What am I doing wrong? > Pharo 1.1.1 > Not sure which version of Magma I have. > > -- > View this message in context: http://forum.world.st/Can-t-connect-to-local-machine-tp3312050p3312050.html > Sent from the Magma mailing list archive at Nabble.com. > _______________________________________________ > Magma mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/magma > Magma mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/magma |
| Powered by Nabble | See how NAML generates this page |