[AG-TECH] Problem with run BridgeServer in AG3.0.2
Christoph Willing
willing at vislab.uq.edu.au
Thu Mar 1 17:42:51 CST 2007
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-diaz at 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:eddy at uniandes.edu.co]
> Enviado el: Martes, 20 de Febrero de 2007 09:05 a.m.
> Para: Christoph Willing
> CC: Eddy Diaz; ag-tech at mcs.anl.gov
> Asunto: Re: [AG-TECH] Problem with run BridgeServer in AG3.0.2
>
> Hi Christoph
>
> I tried with this
>
> [eddy at 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 at 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 at 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-diaz at 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-diaz at 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
More information about the ag-tech
mailing list