Are you sure you are importing qtgui from pyside? Looks like your module is 
using it but cannot find the import statement

Sent from my iPhone

> On Jul 8, 2016, at 5:12 PM, John Mangia <j...@johnmangia.com> wrote:
> 
> I have a module I wrote that I'm trying to get nuke to recognize.  This 
> module uses the nuke module and several other nuke modules to create a panel 
> with some UI items.  For some reason, when I try to test it using the 
> following in the script editor:
> 
> nuke.pluginAddPath('X:\path\to\myModule')
> import myModule
> 
> I get an error: NameError: name 'QtGui' is not defined
> 
> Pasting the python script for the module works fine but doesn't allow me to 
> access some of the submodules I have (database, etc.)
> 
> What's the best way to solve this issue?
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to