On 02/12/2006, at 5:26 AM, Jim Miller wrote: > Thanks, > That seems to work. I need to have the Venue Client running before > I click the link, else I get an error something like Cannot launch > VenueClient.py > > It is not that big of a deal though. Works great if I have the > client running.
Thats what the "venueClient._IsValid()" used to be for in AG2 i.e. it would check whether a VenueClient was actually running or not (and cause one to be started up if necessary). However the "venueClient._IsValid" doesn't work in AG3 and leaving that line in results in an attempt to launch a new VenueClient whether its needed or not, causing a new error if one is already running. You could take your pick of which behaviour you prefer; either leave that line in if you'll always be starting out with no VenueClient running already, or leave that line out if you're happy to always have a VenueClient running already. Maybe a bugzilla report will result in a working VenueClient._IsValid () in the next release? chris > Christoph Willing wrote: >> On 01/12/2006, at 2:58 AM, Jim Miller wrote: >>> I am getting an error launching a venue from the scheduler within >>> windows. >>> >>> Traceback (most recent call last): >>> File "C:\Program Files\AGTk-3\bin\GoToVenue3.py", line 10, in ? >>> from AccessGrid.VenueClient import VenueClientIW >>> ImportError: cannot import name VenueClientIW >>> >>> Does anyone know of a fix? >> Jim, >> Change that line to: >> from AccessGrid.interfaces.VenueClient_client import >> VenueClientIW >> You'll also need to comment out or remove the line (around line >> 77) which reads: >> venueClient._IsValid() >> (that change may not be a totally good thing to do, but at least >> lets the app run) >> chris >> Christoph Willing +61 7 3365 8350 >> QCIF Access Grid Manager >> University of Queensland Christoph Willing +61 7 3365 8350 QCIF Access Grid Manager University of Queensland