#38 NameError: global name 'os' is not defined

closed-fixed
None
5
2004-12-28
2004-12-17
Anonymous
No

PyUt v1.4a1 - 2004-10-06

When I Export to Python file:

Traceback (most recent call last):
File "D:\Python\PyUt\AppFrame.py", line 1558, in OnExport
obj.doExport()
File "D:\Python\PyUt\plugins\PyutIoPlugin.py", line
248, in doExport
self.write(self.__oglObjects)
File "D:\Python\PyUt\plugins\IoPython.py", line 556,
in write
directory=self._askForDirectoryExport()
File "D:\Python\PyUt\plugins\PyutPlugin.py", line
117, in _askForDirectoryExport
dir.SetPath(os.getcwd())
NameError: global name 'os' is not defined

Discussion

  • Cédric Dutoit
    Cédric Dutoit
    2004-12-28

    • assigned_to: nobody --> dutoitc
    • status: open --> closed-fixed
     
  • Cédric Dutoit
    Cédric Dutoit
    2004-12-28

    Logged In: YES
    user_id=64541

    Fixed in CVS