Author Topic: GUI not opening on OSX machines: NameError: name 'Work' is not defined  (Read 4262 times)

SwabbyNat

  • Newbie
  • *
  • Posts: 1
This just started cropping up in the past few days, first on one machine, so i started to manage the farm from another machine, but it then started coming up there too.

Its now stuck like this on 5 machines where i can no longer open the GUI at all. I've restarted all workers and the supervisor but its still the same.

This is Qube 6.0.2 running on OSX 10.6.5 machines.

I get this error in a popup:

<
Qube Error
An unexpected error has occurred during execution of the main script.

NameError: name 'Work' is not defined.

[open console] [terminate]
>

I open the console and get this feedback:

1/22/11 11:33:58 AM   com.apple.launchd.peruser.501[174]   ([0x0-0x19019].org.pythonmac.unspecified.qube[1499]) Exited with exit code: 255
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]   INFO: QubeGUI executable: /Applications/pfx/qube/qube.app/Contents/Resources/qube.py
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]   INFO: Starting Qube
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]   INFO: loading preferences from /Users/admin/Library/Preferences//qube/qube_guiPreferences.conf
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]   Qube location (default): /Applications/pfx/qube
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]   Traceback (most recent call last):
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "/Applications/pfx/qube/qube.app/Contents/Resources/__boot__.py", line 158, in <module>
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]       _run('qube.py')
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "/Applications/pfx/qube/qube.app/Contents/Resources/__boot__.py", line 134, in _run
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]       execfile(path, globals(), globals())
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "/Applications/pfx/qube/qube.app/Contents/Resources/qube.py", line 2674, in <module>
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]       app = MyApp(redirect=False, showsplash=(options.showsplash and options.showGUI), launchGUI=options.showGUI, savePrefsOnExit=options.showGUI, startingSupervisor=options.supervisor, serverThreadsNum=options.serverthreads)
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "/Applications/pfx/qube/qube.app/Contents/Resources/qube.py", line 2234, in __init__
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]       wx.App.__init__(self, *args, **kwargs)
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "wx/_core.pyc", line 7757, in __init__
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "wx/_core.pyc", line 7354, in _BootstrapApp
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "/Applications/pfx/qube/qube.app/Contents/Resources/qube.py", line 2248, in OnInit
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]       qbPrefs.preferences.load()
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "qbPrefs.pyc", line 121, in load
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]     File "<string>", line 7, in <module>
1/22/11 11:35:08 AM   [0x0-0x1a01a].org.pythonmac.unspecified.qube[2073]   NameError: name 'Work' is not defined
1/22/11 11:35:08 AM   qube[2073]   qube Error
1/22/11 11:35:08 AM   qube[2073]   qube Error
An unexpected error has occurred during execution of the main script

NameError: name 'Work' is not defined

Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
Re: GUI not opening on OSX machines: NameError: name 'Work' is not defined
« Reply #1 on: January 24, 2011, 05:39:00 PM »
This issue with the preferences loading has been identified and fixed.  Please download the latest version of the QubeGUI 6.0 version (currently 6.0.4) to address this issue.

   ftp://ftp.pipelinefx.com/pub/qubegui/6.0.4/

As an immediate alternative to downloading the most current version, you can remove your QubeGUI preferences file  to have it successfully launch.