mimiller at ncsa.uiuc.edu mimiller at ncsa.uiuc.edu
Fri May 20 10:42:25 CDT 2005

I was using the example listed here:

To try to create a Venue object thus:
     def ChangeCurrentVenue(self, venuedesc = None):
         if venuedesc == None:
             if self.isInVenue:
             self.currentvenue = VenueIW(venuedesc.GetURI())

and I get the following error

VenueManagement.py", line 920, in ChangeCurrentVenue
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?


Michael Miller
System Engineer
Video Technology Services
Persistent Infrastructure Directorate
National Center for Supercomputing Applications
University of Illinois - UC

"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 

More information about the ag-tech mailing list