Christoph, I tried with:
C:\Archivos de programa\AGTk-3\bin>Bridge3.py --name="Prueba" --location="Bogota, Colombia" --qbexec="C:\Archivos de programa\AGTk-3\bin\QuickBridge.exe" Traceback (most recent call last): File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 187, in ? main() File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 182, in main bridgeServer = QuickBridgeServer(name=options.name, location=options.locatio n, listenPort=options.listenPort, qbexec=options.qbexec, portRange=options.portRange, registryUrl=options.registryUrl) File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 47, in __init__ self._RegisterWithRegistry() File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 84, in _RegisterWithRegistry self.validSecs = self.registryClient.RegisterBridge(self.bridgeDescription) File "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\Registry\RegistryCl ient.py", line 56, in RegisterBridge return self.serverProxy.RegisterBridge(registeredServerInfo) AttributeError: 'NoneType' object has no attribute 'RegisterBridge' Then I tried with my own registry C:\Python23\Lib\site-packages\AccessGrid3\AccessGrid\Registry>RegistryPeer.p y --port=8030 --peerListUrl=http://ag-mox.uniandes.edu.co/accessgrid/peers.txt Traceback (most recent call last): File "C:\Python23\Lib\site-packages\AccessGrid3\AccessGrid\Registry\RegistryPeer. py", line 9, in ? from AccessGrid.AGXMLRPCServer import AsyncAGXMLRPCServer ImportError: No module named AccessGrid.AGXMLRPCServer I fix the problem adding at the beginning of the file RegistryPeer.py this lines import agversion agversion.select(3) Then I ran the registry again C:\Python23\Lib\site-packages\AccessGrid3\AccessGrid\Registry>RegistryPeer.p y --port=8030 --peerListUrl=http://ag-mox.uniandes.edu.co/accessgrid/peers.txt Traceback (most recent call last): File "C:\Python23\Lib\site-packages\AccessGrid3\AccessGrid\Registry\RegistryPeer. py", line 185, in ? r = RegistryPeer(peerListUrl=options.peerListUrl, port=options.port) File "C:\Python23\Lib\site-packages\AccessGrid3\AccessGrid\Registry\RegistryPeer. py", line 150, in __init__ RegistryBase.__init__(self, port, peerListUrl) File "C:\Python23\Lib\site-packages\AccessGrid3\AccessGrid\Registry\RegistryPeer. py", line 44, in __init__ self._readPeerList(url=self.peerListUrl) File "C:\Python23\Lib\site-packages\AccessGrid3\AccessGrid\Registry\RegistryPeer. py", line 59, in _readPeerList raise Exception ("Error: this peer " + localPeerName + " is not listed in the master list. The current registry requires all peers to know about each other.") Exception: Error: this peer aquel:8030 is not listed in the master list. The current registry requires all peers to know about each other. Thanks. Eddy Johel Diaz Murcia edd-d...@uniandes.edu.co Estudiante de Maestría Murcia en Ingeniería de Sistemas y computación Asistente graduado del Grupo IMAGINE Universidad de los Andes Carrera 1 N° 18A-10 Bloque W, Bogotá, Colombia Laboratorio de Informática Gráfica Teléfono: +57(1) 339 4949 Extensión 3462 -----Mensaje original----- De: Christoph Willing [mailto:will...@vislab.uq.edu.au] Enviado el: Jueves, 01 de Marzo de 2007 06:43 p.m. Para: Eddy Diaz CC: ag-t...@mcs.anl.gov Asunto: Re: [AG-TECH] Problem with run BridgeServer in AG3.0.2 On 02/03/2007, at 12:35 PM, Eddy Diaz wrote: > Hi, now I try in Windows XP with several options, and I try with my > own > registry too. > I have the same Problem. Eddy, Try quoting the name, same as you did for location i.e. -- name="Prueba" .... Also, I just noticed that you sometimes used --registryUrl=https:// aquel.uniandes.edu.co:8000/Venues/default, which is incorrect - you need something like --registryUrl=http://ag-mox.uniandes.edu.co/ accessgrid/peers.txt (as you previously tried). So, I think what you need for Linux is: Bridge --name="Prueba" --registryUrl=http://ag- mox.uniandes.edu.co/accessgrid/peers.txt --location="Bogota, Columbia" where the peers.txt file should contain the name:port of the the machine running your registry; at the moment, that appears to be aquel.uniandes.edu.co:8030 - that machine needs to be running RegistryPeer.py with --port=8030 (thats the default anyway) and -- peerListUrl=http://ag-mox.uniandes.edu.co/accessgrid/peers.txt (whatever you specified for --registryUrl for Bridge) chris > C:\Archivos de programa\AGTk-3\bin>Bridge3.py --name=Prueba > --location="Bogota, > Colombia" --qbexec="C:\Archivos de programa\AGTk-3\bin > \QuickBridge.exe" > > Traceback (most recent call last): > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 187, in ? > main() > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 182, in > main > bridgeServer = QuickBridgeServer(name=options.name, > location=options.locatio > n, listenPort=options.listenPort, qbexec=options.qbexec, > portRange=options.portRange, registryUrl=options.registryUrl) > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 47, in > __init__ > self._RegisterWithRegistry() > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 84, in > _RegisterWithRegistry > self.validSecs = self.registryClient.RegisterBridge > (self.bridgeDescription) > File > "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\Registry > \RegistryClien > t.py", line 56, in RegisterBridge > return self.serverProxy.RegisterBridge(registeredServerInfo) > AttributeError: 'NoneType' object has no attribute 'RegisterBridge' > > > C:\Archivos de programa\AGTk-3\bin>Bridge3.py --name=Prueba > --registryUrl=http://ag-mox.uniandes.edu.co/accessgrid/peers.txt > --location="Bogota, Colombia" --qbexec="C:\Archivos de > programa\AGTk-3\bin\QuickBridge.exe" > > Traceback (most recent call last): > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 187, in ? > main() > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 182, in > main > bridgeServer = QuickBridgeServer(name=options.name, > location=options.location, listenPort=options.listenPort, > qbexec=options.qbexec, portRange=options.portRange, > registryUrl=options.registryUrl) > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 47, in > __init__ > self._RegisterWithRegistry() > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 84, in > _RegisterWithRegistry > self.validSecs = self.registryClient.RegisterBridge > (self.bridgeDescription) > File > "C:\Python23\lib\sitepackages\AccessGrid3\AccessGrid\Registry > \RegistryCl > ient.py", line 56, in RegisterBridge > return self.serverProxy.RegisterBridge(registeredServerInfo) > AttributeError: 'NoneType' object has no attribute 'RegisterBridge' > > Eddy Johel Diaz Murcia edd-d...@uniandes.edu.co > Estudiante de Maestría Murcia en Ingeniería de Sistemas y computación > Asistente graduado del Grupo IMAGINE Universidad de los Andes > Carrera 1 N° 18A-10 Bloque W, Bogotá, Colombia > Laboratorio de Informática Gráfica Teléfono: +57(1) 339 4949 > Extensión 3462 > > -----Mensaje original----- > De: Eddy Diaz [mailto:e...@uniandes.edu.co] > Enviado el: Martes, 20 de Febrero de 2007 09:05 a.m. > Para: Christoph Willing > CC: Eddy Diaz; ag-t...@mcs.anl.gov > Asunto: Re: [AG-TECH] Problem with run BridgeServer in AG3.0.2 > > Hi Christoph > > I tried with this > > [eddy@aquel ~]$ > Bridge --name=Prueba --url=https://aquel.uniandes.edu.co:8000/ > Venues/default > --location="Bogota, > Colombia" > usage: Bridge [options] > Bridge: error: no such option: --url > > Then I tried with this > > [eddy@aquel ~]$ > Bridge --name=Prueba > --registryUrl=https://aquel.uniandes.edu.co:8000/Venues/default > --location="Bogota, > Colombia" > Traceback (most recent call last): > File "/usr/bin/Bridge", line 187, in ? > main() > File "/usr/bin/Bridge", line 182, in main > bridgeServer = QuickBridgeServer(name=options.name, > location=options.location, listenPort=options.listenPort, > qbexec=options.qbexec, portRange=options.portRange, > registryUrl=options.registryUrl) > File "/usr/bin/Bridge", line 47, in __init__ > self._RegisterWithRegistry() > File "/usr/bin/Bridge", line 84, in _RegisterWithRegistry > self.validSecs = > self.registryClient.RegisterBridge(self.bridgeDescription) > File > "/usr/lib/python2.4/site-packages/AccessGrid3/AccessGrid/Registry/ > RegistryCl > ient.py", > line 108, in RegisterBridge > return self.serverProxy.RegisterBridge(registeredServerInfo) > AttributeError: 'NoneType' object has no attribute 'RegisterBridge' > > The options provided by my bridge are: > > [eddy@aquel ~]$ Bridge > Error: No name specified > usage: Bridge [options] > options: > -h, --help show this help message and exit > -p LISTENPORT, --listenPort=LISTENPORT > Port to listen on. > -u REGISTRYURL, --registryUrl=REGISTRYURL > Url to the registry. Bridge will register > with it. > -r PORTRANGE, --portRange=PORTRANGE > Minimum and maximum port, space-separated. > -q QBEXEC, --qbexec=QBEXEC > Location of QuickBridge executable. > -n NAME, --name=NAME Name. > -l LOCATION, --location=LOCATION > Location. > > El Monday 19 February 2007 20:02:25 Christoph Willing escribió: >> On 20/02/2007, at 2:51 PM, Eddy Diaz wrote: >>> I'm trying to run a bridge in Fedora core 6 and AccessGrid 3.0.2 >>> but an error appears. >>> >>> $ Bridge --name=Prueba --location=https://aquel.uniandes.edu.co: >>> 8000/Venues/default >> >> Eddy, >> >> The --location option is for a descriptive string, not the server >> url. You should run with something like: >> Bridge --name=Prueba > --url=https://aquel.uniandes.edu.co:8000/Venues/ >> default --location="Bogota, Colombia" >> >> chris >> >>> Traceback (most recent call last): >>> File "/usr/bin/Bridge", line 187, in ? >>> main() >>> File "/usr/bin/Bridge", line 182, in main >>> bridgeServer = QuickBridgeServer(name=options.name, >>> location=options.location, listenPort=options.listenPort, >>> qbexec=options.qbexec, portRange=options.portRange, >>> registryUrl=options.registryUrl) >>> File "/usr/bin/Bridge", line 47, in __init__ >>> self._RegisterWithRegistry() >>> File "/usr/bin/Bridge", line 84, in _RegisterWithRegistry >>> self.validSecs = self.registryClient.RegisterBridge >>> (self.bridgeDescription) >>> File "/usr/lib/python2.4/site-packages/AccessGrid3/AccessGrid/ >>> Registry/RegistryClient.py", line 107, in RegisterBridge >>> return self.serverProxy.RegisterBridge(registeredServerInfo) >>> AttributeError: 'NoneType' object has no attribute 'RegisterBridge' >>> >>> >>> >>> Eddy Johel Diaz edd-d...@uniandes.edu.co >>> >>> Estudiante de Maestría Murcia en Ingeniería de Sistemas y >>> computación >>> >>> Asistente graduado del Grupo IMAGINE Universidad de los Andes >>> >>> Carrera 1 N° 18A-10 Bloque W, Bogotá, Colombia >>> >>> Laboratorio de Informática Gráfica Teléfono: +57(1) 339 4949 >>> Extensión 3462 >> >> Christoph Willing +61 7 3365 8350 >> QCIF Access Grid Manager >> University of Queensland > > > > -- > Eddy Johel Diaz > edd-d...@uniandes.edu.co > Estudiante de Maestría en Ingeniería de Sistemas y computación > Asistente graduado del Grupo IMAGINE > Universidad de los Andes > Carrera 1 Nro 18A-10 Bloque W, Bogotá, Colombia > Laboratorio de Informática Gráfica > Teléfono: +57(1) 339 4949 Extensión 3462 > Christoph Willing +61 7 3365 8350 QCIF Access Grid Manager University of Queensland