<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.mcs.anl.gov/accessgrid/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.mcs.anl.gov/accessgrid/"
          maintainer="webmaster@mcs.anl.gov"
>

    <bug>
          <bug_id>1712</bug_id>
          
          <creation_ts>2007-09-10 06:50</creation_ts>
          <short_desc>VenueClient blocked when no registry found</short_desc>
          <delta_ts>2010-03-30 11:19:16</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Virtual Venues Client Software</product>
          <component>Client UI</component>
          <version>3.1 beta 1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>3.2</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Braitmaier">braitmaier@hlrs.de</reporter>
          <assigned_to name="Thomas D. Uram">turam@mcs.anl.gov</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who name="Michael Braitmaier">braitmaier@hlrs.de</who>
            <bug_when>2007-09-10 06:50:10</bug_when>
            <thetext>When the VenueClient doesn&apos;t find any regsitry client at all, due to not being able to find a &quot;peers.txt&quot; at any location. The variable self.registryClient is not defined in the method LoadBridges() of the VenueClient object. This can be overcome by properly initializing it with &quot;None&quot; at the beginning. The following patch resolves this problem.

Index: AccessGrid/VenueClient.py
===================================================================
RCS file: /cvs/fl/AccessGrid/AccessGrid/VenueClient.py,v
retrieving revision 1.347
diff -u -r1.347 VenueClient.py
--- AccessGrid/VenueClient.py	25 May 2007 16:30:03 -0000	1.347
+++ AccessGrid/VenueClient.py	5 Sep 2007 12:42:10 -0000
@@ -360,6 +360,7 @@
         self.bridges = self.preferences.GetBridges()
         
         # Get bridges from registry
+	 self.registryClient = None
         for registryUrl in self.registryUrls:
             try:
                 log.debug(&quot;Trying bridge registry: %s&quot; % registryUrl)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Thomas D. Uram">turam@mcs.anl.gov</who>
            <bug_when>2010-03-25 17:32:32</bug_when>
            <thetext>Check this patch and include if possible.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Thomas D. Uram">turam@mcs.anl.gov</who>
            <bug_when>2010-03-30 11:19:16</bug_when>
            <thetext>self.registryClient is being initialized in VenueClient.__init__. This will resolve the problem as stated in the bug report.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>