Jesse James schrieb: > The job runner loads the module, then invokes the function with its > parameters. > It works great unless the module it tries to load contains this: > > import model > > if it does, I get this: > Traceback (most recent call last): > File "C:\Projects\VOR\tg\vor\jobs.py", line 210, in runJob > module = __import__(modname)
Maybe you should just check sys.modules to see if the 'model' module is already imported? Just a guess. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

