Hi Jane,
I am curoius if you commented out your import globals for any reason. We have a python script that we are having trouble getting working on 4.x which work in 3.x. It has many imports and we have narrowed down the problem that when zenoss runs the scripts from the event command there is some envinonmental problems as many of import like Globals is not found. The same script runs fine on as the zenoss from the cmd line