[Tutor] Classes in multiple files - code included

Steven D'Aprano steve at pearwood.info
Thu Apr 4 03:58:09 CEST 2013


On 04/04/13 12:47, Phil wrote:

> And this is the error message;
>
> "global name 'Ui_satListDialog' is not defined"

On its own, that is almost useless.

Python gives you more debugging information than that: it gives you a complete traceback, which includes the actual line of code causing the problem. We don't even know which file gives the error, let alone which line of code!

When you try to run the program, you will get an error. Please copy and paste the *complete* traceback, starting with the line "Traceback (most recent call last)" all the way to the bottom. It will show you which file contains the error, what type of error it is, and which line fails.


Thank you.




-- 
Steven


More information about the Tutor mailing list