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.
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 jeff@rogerthedog.com 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 Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
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 jeff@rogerthedog.com 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 Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
magma@lists.squeakfoundation.org