# Error: 'myTool' object has no attribute 'event' # with pyside tool dev in maya

there are problems with reloading modules that contain QtGuis. After a certain number of reloads, the GUI will fail to load and you’ll strange error messages about winevents.

the only workaround is to restart maya each time you need to reload the GUI module.

Covered in detail on this thread.