Hi Hilaire, 

that’s not enough information… where it hangs? (when you get the debugger after 
cmd+.)?

Esteban

> On 21 Feb 2017, at 21:52, Hilaire <hila...@drgeo.eu> wrote:
> 
> Hi,
> 
> Trying to play with multiple repo, it occurs Voyage hangs the image with
> the script bellow:
> 
> | orga repo1 repo2|
> repo1 := VOMongoRepository host: 'localhost' database: 'test1'.
> repo2 := VOMongoRepository host: 'localhost' database: 'test2'.
> orga := CGOrganisation new name: 'Pharo'; id: 0; yourself.
> repo1 save: orga.
> repo2 save: (CGUser new id: 0; name: 'Hilaire'; organisation: orga;
> yourself).
> repo1 reset.
> repo2 reset.
> repo1 := repo2 := nil.
> repo1 := VOMongoRepository host: 'localhost' database: 'test1'.
> (repo1 selectAll: CGOrganisation) inspect.  "<- HANG here"
> 
> 
> The initial save is properly done in the MongoDB, I can see its content
> from the Mongo shell.
> 
> 
> Looking at the Mong log, there are connexion in and out:
> 
> Tue Feb 21 21:44:39.016 [conn508568] end connection 127.0.0.1:34469 (20
> connections now open)
> Tue Feb 21 21:44:39.016 [initandlisten] connection accepted from
> 127.0.0.1:34470 #508569 (21 connections now open)
> Tue Feb 21 21:44:39.016 [conn508569] end connection 127.0.0.1:34470 (20
> connections now open)
> Tue Feb 21 21:44:39.017 [initandlisten] connection accepted from
> 127.0.0.1:34471 #508570 (21 connections now open)
> Tue Feb 21 21:44:39.017 [conn508570] end connection 127.0.0.1:34471 (20
> connections now open)
> Tue Feb 21 21:44:39.017 [initandlisten] connection accepted from
> 127.0.0.1:34472 #508571 (21 connections now open)
> Tue Feb 21 21:44:39.018 [conn508571] end connection 127.0.0.1:34472 (20
> connections now open)
> Tue Feb 21 21:44:39.018 [initandlisten] connection accepted from
> 127.0.0.1:34473 #508572 (21 connections now open)
> Tue Feb 21 21:44:39.018 [conn508572] end connection 127.0.0.1:34473 (20
> connections now open)
> Tue Feb 21 21:44:39.018 [initandlisten] connection accepted from
> 127.0.0.1:34474 #508573 (21 connections now open)
> Tue Feb 21 21:44:39.019 [conn508573] end connection 127.0.0.1:34474 (20
> connections now open)
> 
> 
> Luckily, I can get back image control with Alt+[.]
> 
> What's wrong?
> 
> Thanks
> 
> Hilaire
> 
> 
> -- 
> Dr. Geo
> http://drgeo.eu
> 
> 


Reply via email to