[AG-TECH] Using CVS

Ivan R. Judson judson at mcs.anl.gov
Tue Jul 13 08:28:05 CDT 2004


I just fixed the two instances of this in VenueClient.py and checked them
into cvs.

Please let me know if this fixes the problems.

--Ivan

PS -- Back to getting cvs instructions done. 

> -----Original Message-----
> From: Christoph Willing [mailto:willing at itee.uq.edu.au] 
> Sent: Monday, July 12, 2004 7:14 PM
> To: Ivan R. Judson
> Cc: 'AG-TECH'
> Subject: RE: [AG-TECH] Using CVS
> 
> On Mon, 2004-07-12 at 23:11, Ivan R. Judson wrote:
> >  
> > This is cleanup. We're passing arguments around more clearly now, 
> > intead of relying on magic calls into the global ether. I 
> think this 
> > is fixed in the latest cvs, no?
> > 
> 
> Ivan,
> 
> This error only appeared _after_ the cleanup & change to 
> wxPython-2.5.1.5. I just did another build (including cvs 
> checkout) and this problem remains. This latest build uses 
> python2.3, wxPython-2.5.1.5 and AccessGrid-20040713_083537.
> 
> Interestingly, the move away from "magic calls into the global ether"
> seems to be exactly what is being complained about in the last line of
> stdout:
> line 297, in __StartWebService
>      self.sm = AGServiceManager(self.server, app)
>  NameError: global name 'app' is not defined
> 
> 
> chris
> 
> 
> > 
> > > -----Original Message-----
> > > From: Christoph Willing [mailto:willing at itee.uq.edu.au]
> > > Sent: Sunday, July 11, 2004 5:49 PM
> > > To: Ivan R. Judson
> > > Cc: 'AG Dev'; AG-TECH
> > > Subject: Re: [AG-TECH] Using CVS
> > > 
> > > On Wed, 2004-07-07 at 22:57, Ivan R. Judson wrote:
> > > > Just a heads up, if you are using the AGTk from CVS, 
> you'll have 
> > > > to use wxPython/wxWidgets version 2.5 as of yesterday's 
> cvs commits.
> > > 
> > > 
> > > A new problem with this change (found independently in both 
> > > Slackware & Fedora builds): at startup, VenueClient's 
> progress bar 
> > > almost completes but the whole program crashes before main UI 
> > > appears (using wxPythonGTK-2.5.1.5).
> > > 
> > > Below are outputs from VenueClient.log & stdout.
> > > 
> > > =====
> > > >From stdout:
> > > ag at v1:~$ VenueClient.py --personalNode bound to port  11000 
> > > Traceback (most recent call last):
> > >   File "/usr/bin/VenueClient.py", line 107, in ?
> > >     main()
> > >   File "/usr/bin/VenueClient.py", line 84, in main
> > >     progressCB=startupDialog.UpdateOneStep, app=app)
> > >   File
> > > "/usr/lib/python2.3/site-packages/AccessGrid/VenueClient.py",
> > > line 119, in __init__
> > >     self.__StartWebService(pnode, port)
> > >   File
> > > "/usr/lib/python2.3/site-packages/AccessGrid/VenueClient.py",
> > > line 297, in __StartWebService
> > >     self.sm = AGServiceManager(self.server, app)
> > > NameError: global name 'app' is not defined ag at v1:~$
> > > 
> > > 
> > > =====
> > > >From .AccessGrid/Logs/VenueClient.log:
> > > 07/12/2004 08:24:22 AM 16384 ProxyGen     ProxyGen.py:567 
> > > DEBUG Using GT24 proxy code
> > > 07/12/2004 08:24:23 AM 16384 Toolkit     Toolkit.py:79 DEBUG 
> > > Initializing AG Toolkit version 2.2
> > > 07/12/2004 08:24:24 AM 16384 Platform     Config.py:931 INFO  
> > > registering file type .agpkg with gnome
> > > 07/12/2004 08:24:24 AM 16384 Platform     Config.py:931 INFO  
> > > registering file type .vv2d with gnome
> > > 07/12/2004 08:24:24 AM 16384 Platform     Config.py:337 DEBUG 
> > > retrieved local IP address 130.102.78.242
> > > 07/12/2004 08:24:24 AM 16384 CertificateManager     
> > > CertificateManager.py:261 DEBUG Opened repository 
> > > /home/ag/.AccessGrid/Config/certRepo
> > > 07/12/2004 08:24:24 AM 16384 CertificateManager     
> > > CertificateManager.py:727 DEBUG Configuring standard environment
> > > 07/12/2004 08:24:24 AM 16384 CertificateManager     
> > > CertificateManager.py:793 DEBUG Using default identity /O=Access 
> > > Grid/OU=agdev-ca.mcs.anl.gov/OU=vislab.usyd.edu.au/CN=Christop
> > > h Willing
> > > 07/12/2004 08:24:24 AM 16384 CertificateManager     
> > > CertificateManager.py:864 DEBUG Initializing environment 
> with proxy 
> > > cert for /O=Access 
> > > Grid/OU=agdev-ca.mcs.anl.gov/OU=vislab.usyd.edu.au/CN=Christop
> > > h Willing
> > > 07/12/2004 08:24:24 AM 16384 CertificateManager     
> > > CertificateManager.py:883 DEBUG Configuring for user proxy issued 
> > > from /O=Access 
> > > Grid/OU=agdev-ca.mcs.anl.gov/OU=vislab.usyd.edu.au/CN=Christop
> > > h Willing
> > > 07/12/2004 08:24:24 AM 16384 CertificateManager     
> > > CertificateManager.py:886 DEBUG Proxy /tmp/x509up_u1000 
> will expire 
> > > 11/28/2004 04:37:29 AM
> > > 07/12/2004 08:24:24 AM 16384 VenueClient     
> > > VenueClient.py:292 DEBUG __StartWebService: venueclient: 
> > > https://130.102.78.242:11000/VenueClient
> > > 
> 
> 
> -- 
> Chris Willing                     Phone: +61 7 3365 8350
> QPSF Access Grid Manager          willing at itee.uq.edu.au
> University of Queensland
> 
> 




More information about the ag-tech mailing list