Ah, of course... thanks MYK
At 10:54 AM 5/20/2005, Susanne Lefvert wrote: >It is not the VenueIW call that fails it is the self.currentVenue.Enter() >call. If you look in the API the enter call should include a client profile: > >Enter(self, profile) > >Susanne > > > >On Fri, 20 May 2005 [email protected] wrote: > > > I was using the example listed here: > > > http://www-unix.mcs.anl.gov/fl/research/accessgrid/documentation/developer/examples/GetClients.py > > > > To try to create a Venue object thus: > > def ChangeCurrentVenue(self, venuedesc = None): > > if venuedesc == None: > > if self.isInVenue: > > self.currentvenue.Exit() > > else: > > self.currentvenue = VenueIW(venuedesc.GetURI()) > > self.currentvenue.Enter() > > self.isInVenue=1 > > > > and I get the following error > > > > VenueManagement.py", line 920, in ChangeCurrentVenue > > self.currentvenue.Enter() > > TypeError: Enter() takes exactly 2 arguments (1 given) > > > > So I looked at the VenueIW API which states: > > __init__(self, url, faultHandler) > > > > In the example at the link above all I had to do was this: > > > > venue = VenueIW(url) > > > > I've got a basic idea of what the faultHandler should do, but I'm not sure > > what it should be, an object? a string? a callback function? > > > > I can't seem to find any other examples of using the VenueIW > > interface. Why does it work with the example and not with my code? > > > > Thanx, > > > > Michael Miller > > System Engineer > > Video Technology Services > > Persistent Infrastructure Directorate > > National Center for Supercomputing Applications > > University of Illinois - UC > > 217-649-0747 > > > > "If you're clear in your vision and trust the people in your team with > > clear objectives, they will invariably do their best to achieve everything > > desired, and usually deliver everything you could have hoped for and even > > more." -Paul Debevec > > > >

