Administrator
|
I'm porting UbiquiTalk to Squeak 4.1 and running into a problem. I've been talking to Noury Bouraqadi about it and am posting the progress here in case anyone has any input. I'm attaching a screenshot, and can provide the images, but right now the load process is not documented.Screen_shot_2010-08-30_at_August_30%2C_2010_10.57.55_AM.png
Noury, thanks for the reply. I loaded it in Squeak 4.1 and copied the image. Now I have two images running side-by-side. What happens is that the first one to be started sees itself in the host list. When the second one is started, the first one reports the error I told you about below, while the second one doesn't see either host. I've attached a screenshot. The only clue that I have is that RSTBroker>>objectFor:ifRemote: has a comment that says "answer a proxy if the reference points to other VM, otherwise answer the 'real' object" This sounds wrong because I still want a remote object even if it's another image on the same VM, don't I? p.s. 42 out of 43 tests are passing (except UTMulticastSocketTest>>testTimeToLive) On Aug 30, 2010, at 8:34 AM, Noury Bouraqadi wrote: On 29 août 2010, at 22:15, sean@clipperadams.com wrote: Quoted from: http://forum.world.st/Inter-image-communication-tp2320723p2337967.html Hey, in preparation to port to Pharo, I loaded UbiquiTalk in Squeak 4.1. It appears (per the GUI) to be running on two images, but when I turn on ubiquitalk in the second image via the gui, I get an error message: RSTObjectNotFound: host2 from RSTBroker>>objectFor: aRemoteObjectID ifRemote: aSelector Any ideas? Noury
Cheers,
Sean |
Hi Sean,
Each images should use a different port. For instance, you can put 6667 ou 7777 in the second image. Regards, Guillaume On Mon, 30 Aug 2010 08:00:11 -0700 (PDT), "Sean P. DeNigris" <[hidden email]> wrote: > I'm porting UbiquiTalk to Squeak 4.1 and running into a problem. I've been > talking to Noury Bouraqadi about it and am posting the progress here in > case > anyone has any input. I'm attaching a screenshot, and can provide the > images, but right now the load process is not documented. > http://forum.world.st/file/n2400261/Screen_shot_2010-08-30_at_August_30%2C_2010_10.57.55_AM.png > Screen_shot_2010-08-30_at_August_30%2C_2010_10.57.55_AM.png > > Noury, thanks for the reply. I loaded it in Squeak 4.1 and copied the > image. Now I have two images running side-by-side. What happens is that > the first one to be started sees itself in the host list. When the second > one is started, the first one reports the error I told you about below, > while the second one doesn't see either host. I've attached a screenshot. > The only clue that I have is that RSTBroker>>objectFor:ifRemote: has a > comment that says "answer a proxy if the reference points to other VM, > otherwise answer the 'real' object" This sounds wrong because I still want > a remote object even if it's another image on the same VM, don't I? > > p.s. 42 out of 43 tests are passing (except > UTMulticastSocketTest>>testTimeToLive) > > On Aug 30, 2010, at 8:34 AM, Noury Bouraqadi wrote: > > Noury Bouraqadi-2 wrote: >> >> Hi Sean, >> >> I'm not sure to understand your problem. So, I'll try to clarify some >> stuff, hoping it'll cover what you need. >> >> To use UbiquiTalk you're supposed to have multiple images running. >> Each image named host, should have a different name or should be running >> on a different device. >> >> On every UbiquiTalk hosts gui, you can see the other images (hosts) on >> the >> network. >> When you click on a host name, you'll get the list of available servers. >> >> We didn't try UbiquiTalk with Squeak 4. So, I'm unsure whether it works >> properly. >> > > On 29 août 2010, at 22:15, [hidden email] wrote: > > > Noury Bouraqadi-2 wrote: >> >> Yes. But, we need an appropriate set of tools. We (Douai's team) >> developed >> a few tools a while ago as part of the UbiquiTalk project. We had a >> remote-workspace working quite fine. >> > Quoted from: > http://forum.world.st/Inter-image-communication-tp2320723p2337967.html > > Hey, in preparation to port to Pharo, I loaded UbiquiTalk in Squeak 4.1. > It > appears (per the GUI) to be running on two images, but when I turn on > ubiquitalk in the second image via the gui, I get an error message: > > RSTObjectNotFound: host2 > > from RSTBroker>>objectFor: aRemoteObjectID ifRemote: aSelector > > Any ideas? > > Noury > > > -- Guillaume GRONDIN (Dr) Ph.D in Computer Science =========================================== Ecole des Mines de Douai - Dept. I.A. 941, rue Charles Bourseul BP 10838 - 59508 Douai Cedex, France Tél : (+33) (0) 3 27 71 24 53 Fax : (+33) (0) 3 27 71 29 17 Email: [hidden email] http://vst.ensm-douai.fr/grondin/ |
except the images are running on different devices ;-)
Guillaume On Mon, 30 Aug 2010 17:10:49 +0200, Guillaume Grondin <[hidden email]> wrote: > Hi Sean, > > Each images should use a different port. > For instance, you can put 6667 ou 7777 in the second image. > > Regards, > Guillaume > > On Mon, 30 Aug 2010 08:00:11 -0700 (PDT), "Sean P. DeNigris" > <[hidden email]> wrote: >> I'm porting UbiquiTalk to Squeak 4.1 and running into a problem. I've > been >> talking to Noury Bouraqadi about it and am posting the progress here in >> case >> anyone has any input. I'm attaching a screenshot, and can provide the >> images, but right now the load process is not documented. >> > >> Screen_shot_2010-08-30_at_August_30%2C_2010_10.57.55_AM.png >> >> Noury, thanks for the reply. I loaded it in Squeak 4.1 and copied the >> image. Now I have two images running side-by-side. What happens is that >> the first one to be started sees itself in the host list. When the > second >> one is started, the first one reports the error I told you about below, >> while the second one doesn't see either host. I've attached a > screenshot. >> The only clue that I have is that RSTBroker>>objectFor:ifRemote: has a >> comment that says "answer a proxy if the reference points to other VM, >> otherwise answer the 'real' object" This sounds wrong because I still > want >> a remote object even if it's another image on the same VM, don't I? >> >> p.s. 42 out of 43 tests are passing (except >> UTMulticastSocketTest>>testTimeToLive) >> >> On Aug 30, 2010, at 8:34 AM, Noury Bouraqadi wrote: >> >> Noury Bouraqadi-2 wrote: >>> >>> Hi Sean, >>> >>> I'm not sure to understand your problem. So, I'll try to clarify some >>> stuff, hoping it'll cover what you need. >>> >>> To use UbiquiTalk you're supposed to have multiple images running. >>> Each image named host, should have a different name or should be >>> on a different device. >>> >>> On every UbiquiTalk hosts gui, you can see the other images (hosts) on >>> the >>> network. >>> When you click on a host name, you'll get the list of available servers. >>> >>> We didn't try UbiquiTalk with Squeak 4. So, I'm unsure whether it works >>> properly. >>> >> >> On 29 août 2010, at 22:15, [hidden email] wrote: >> >> >> Noury Bouraqadi-2 wrote: >>> >>> Yes. But, we need an appropriate set of tools. We (Douai's team) >>> developed >>> a few tools a while ago as part of the UbiquiTalk project. We had a >>> remote-workspace working quite fine. >>> >> Quoted from: >> http://forum.world.st/Inter-image-communication-tp2320723p2337967.html >> >> Hey, in preparation to port to Pharo, I loaded UbiquiTalk in Squeak 4.1. >> It >> appears (per the GUI) to be running on two images, but when I turn on >> ubiquitalk in the second image via the gui, I get an error message: >> >> RSTObjectNotFound: host2 >> >> from RSTBroker>>objectFor: aRemoteObjectID ifRemote: aSelector >> >> Any ideas? >> >> Noury >> >> >> > -- Guillaume GRONDIN (Dr) Ph.D in Computer Science =========================================== Ecole des Mines de Douai - Dept. I.A. 941, rue Charles Bourseul BP 10838 - 59508 Douai Cedex, France Tél : (+33) (0) 3 27 71 24 53 Fax : (+33) (0) 3 27 71 29 17 Email: [hidden email] http://vst.ensm-douai.fr/grondin/ |
In reply to this post by Sean P. DeNigris
On 8/30/10, Sean P. DeNigris <[hidden email]> wrote:
> > I'm porting UbiquiTalk to Squeak 4.1 and running into a problem. I've been > talking to Noury Bouraqadi about it and am posting the progress here in case > anyone has any input. I'm attaching a screenshot, and can provide the > images, but right now the load process is not documented. > http://forum.world.st/file/n2400261/Screen_shot_2010-08-30_at_August_30%2C_2010_10.57.55_AM.png > Screen_shot_2010-08-30_at_August_30%2C_2010_10.57.55_AM.png Looks neat Is this the project you are going for? http://vst.ensm-douai.fr/UbiquiTalk Hannes UbiquiTalk is an open P2P platform that supports automatic peer discovery without requiring any infrastructure. Hence, UbiquiTalk can be used either within a network infrastructure or an adhoc network (e.g. Wifi). .... UbiquiTalk has been implemented on top of Squeak. It relies on rST (Remote Smalltalk) for remote message sending. Regarding host discovery, We used IP Group Multicast. Therefore, UbiquiTalk can be used through the Internet. |
Administrator
|
In reply to this post by Guillaume Grondin
Okay, we're getting there. Now the first image started shows both hosts and I can "run" the "Remote Workspace" service. But, when I doit in the "Remote Workspace," the code is run on the local image. The second image shows nothing in the host list still. The code to load successfully in 4.1 is: Then DoIt: UTHostMainGUI openInWindow. I'm thinking from what I've read in the process that maybe it's not intended to be used for two images on the same computer. Is that correct? Sean
Cheers,
Sean |
Administrator
|
The updated rST and UbiquiTalk versions now live in their main repos (thanks to Noury for access). The installation script is now:
Installer ss project: 'KomHttpServer'; install: 'DynamicBindings'; install: 'KomServices'. Installer ss project: 'rST'; install: 'rST'. Installer ss project: 'Keymapping'; install: 'PTabBarMorph'. Installer ss project: 'OSProcess'; install: 'OSProcess'. Installer ss project: 'UbiquiTalk'; install: 'UbiquiTalk-Utilities'; install: 'UbiquiTalk-Kernel'; "depends on utilities" install: 'UbiquiTalk-Cache'; "depends on kernel" install: 'UbiquiTalk-GUI'; "depends on kernel" install: 'UbiquiTalk-Plugins'; "depends on kernel" install: 'UbiquiTalk-PDA'; install: 'UbiquiTalk-Property Editors'; install: 'UbiquiTalk-Tests'; install: 'UTAllServices'. Sean p.s. I'm still not sure how functional it is, but it loads
Cheers,
Sean |
Free forum by Nabble | Edit this page |