[AG-DEV] New Installs - Multiple Issues
Christoph Willing
c.willing at uq.edu.au
Tue Sep 23 07:36:43 CDT 2008
On 23/09/2008, at 8:26 AM, Christoph Willing wrote:
>
> On 23/09/2008, at 1:50 AM, Zimmerman, Todd wrote:
>
>> Hey All,
>>
>> I've recently moved from Simon Fraser University (SFU) to the
>> University of
>> British Columbia - Okanagan (UBC-O) (note the new email address -
>> please
>> update your address books!!)
>
>
> Todd,
>
> Good luck in the new position!
>
> A quick hack for one of the problems is below.
>
>
>> and have been attempting to install AG on my
>> new workstation and laptop....
>>
>> With AG 3.2b I've been unsuccessful on both the Mac laptop and the XP
>> desktop. Both error out when attempting to launch the VenueClient
>> with:
>>
>> 09/18/08 17:32:44 -1602760800 Toolkit VenueClient3.py:233
>> ERROR Error in
>> VenueClient main
>> Traceback (most recent call last):
>> File
>> "/Applications/AccessGrid3.app/Contents/Resources/bin/
>> VenueClient3.py",
>> line 136, in main
>> nodeConfigName=nodeConfig)
>> File
>> "/Applications/AccessGrid3.app/Contents/Resources/lib/python2.5/
>> site-package
>> s/AccessGrid3/AccessGrid/VenueClient.py",
>> line 266, in __init__
>> if int(self.preferences.GetPreference(Preferences.MULTICAST)):
>> ValueError: invalid literal for int() with base 10: 'False'
>
>
> I've seen this myself but not had time to look properly. In the
> meantime, this quick hack will allow the VenueClient to start again
> - I don't think it really addresses the underlying problem though -
>
> In the VenueClient.py mentioned in the traceback above, change the
> line:
> if int(self.preferences.GetPreference(Preferences.MULTICAST)):
> to
> if self.preferences.GetPreference(Preferences.MULTICAST):
>
>
> I suspect the real cause is some incorrect setting in the
> preferences gui.
Actually, I think there's a better workaround (no immediate code
changes). Check the multicast entry in your ~/.AccessGrid3/Config/
preferences file. It will probably be set to False if you're setup to
use a bridge by default. Change this to a 0 (zero). Similarly, change
it to a 1 if it was set to True.
chris
>> Since there is no AG3.1 for Leopard I've currently abandoned
>> install. On
>> the XP box, I reverted to AG3.1; however, I'm having issues with that
>> install getting the bridges from Argonne. Here is a log snippet:
>>
>> 09/22/08 08:19:09 1696 VenueClient venueclient.py:365 DEBUG
>> get bridges
>> from registry
>> 09/22/08 08:19:09 1696 VenueClient venueclient.py:371 DEBUG
>> Trying
>> bridge registry: http://www.accessgrid.org/registry/peers.txt
>> 09/22/08 08:19:09 1696 VenueClient preferences.py:188 DEBUG
>> Preferences.LoadPreferences: open file
>> 09/22/08 08:19:15 1696 RegistryClient registryclient.py:66
>> ERROR Failed
>> to connect to registry vv3.mcs.anl.gov:8030 <http://
>> vv3.mcs.anl.gov:8030>
>> Traceback (most recent call last):
>> File
>> "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Registry
>> \RegistryClien
>> t.py", line 61, in _connectToRegistry
>> if self.PingRegistryPeer(tmpServerProxy) > -1:
>> File
>> "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Registry
>> \RegistryClien
>> t.py", line 78, in PingRegistryPeer
>> startTime = serverProxy.Ping(time.time())
>> File "C:\Python24\lib\xmlrpclib.py", line 1096, in __call__
>> return self.__send(self.__name, args)
>> File "C:\Python24\lib\xmlrpclib.py", line 1383, in __request
>> verbose=self.__verbose
>> File "C:\Python24\lib\xmlrpclib.py", line 1131, in request
>> errcode, errmsg, headers = h.getreply()
>> File "C:\Python24\lib\httplib.py", line 1137, in getreply
>> response = self._conn.getresponse()
>> File "C:\Python24\lib\httplib.py", line 866, in getresponse
>> response.begin()
>> File "C:\Python24\lib\httplib.py", line 336, in begin
>> version, status, reason = self._read_status()
>> File "C:\Python24\lib\httplib.py", line 294, in _read_status
>> line = self.fp.readline()
>> File "C:\Python24\lib\socket.py", line 317, in readline
>> data = recv(1)
>> timeout: timed out
>> 09/22/08 08:19:15 1696 RegistryClient registryclient.py:70
>> INFO No
>> bridge registry peers reachable
>> 09/22/08 08:19:15 1696 VenueClient venueclient.py:388 ERROR
>> LoadBridges:
>> Can not connect to bridge registry
>> http://www.accessgrid.org/registry/peers.txt
>> Traceback (most recent call last):
>> File
>> "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid
>> \VenueClient.py", line
>> 375, in LoadBridges
>> bridgeList = self.registryClient.LookupBridge()
>> File
>> "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Registry
>> \RegistryClien
>> t.py", line 135, in LookupBridge
>> bridges = self.serverProxy.LookupBridge()
>> AttributeError: 'NoneType' object has no attribute 'LookupBridge'
>> 09/22/08 08:19:15 1696 VenueClient venueclient.py:371 DEBUG
>> Trying
>> bridge registry: http://www.ap-accessgrid.org/registry/peers.txt
>> 09/22/08 08:19:15 1696 VenueClient preferences.py:188 DEBUG
>> Preferences.LoadPreferences: open file
>> 09/22/08 08:19:18 1696 VenueClient venueclient.py:397 DEBUG
>> connect to
>> bridge
>> 09/22/08 08:19:18 1696 VenueClient venueclient.py:401 DEBUG
>> exiting
>> loadbridges
>>
>>
>> You'll note that it successfully finds the bridges from
>> http://www.ap-accessgrid.org/registry/peers.txt but not from
>> http://www.accessgrid.org/registry/peers.txt. I've tested from my
>> original
>> AG install at SFU again and it appears to be connecting properly -
>> so I'm
>> assuming this is a local client issue; however I'm at a loss for
>> where to
>> start. It doesn't seem to be firewall related since it connects
>> to the AP
>> registry etc.
>
>
>
> I've seen this problem too (on Linux) - sometimes not even being
> able to connect to a bridge on the same local network. I'm sorry
> thats no help to you, but does establish that its not just your
> problem.
>
>
> chris
>
>
>>
>> Any thoughts/advice on either of these issues would be helpful.
>>
>> Cheers,
>>
>> Todd
>>
>
>
> Christoph Willing +617 3365 8350
> QCIF Access Grid Manager
> University of Queensland
>
>
>
>
Christoph Willing +617 3365 8350
QCIF Access Grid Manager
University of Queensland
More information about the ag-dev
mailing list