Page 1 of 1

Exception message: 'NoneType' object has no attribute 'updat

Posted: Wed Mar 04, 2015 23:21
by eazrael
Hi,

did I something wrong, or is this a bug?
  • Installed prereq packages listed in CEED wiki page
  • Cloned hg repository & fetched data files
  • run setup.py install
  • started ceed-gui
  • created new project, changed no paths
  • Created new layout, after closing file dialog this exception turns up:

    Code: Select all

    Exception message: 'NoneType' object has no attribute 'updateFromWidget'

    Traceback:
    ========================
      File "/home/eazrael/dev/ceed/ceed/mainwindow.py", line 1132, in slot_newLayoutDialog
        autoSuffix = True)

      File "/home/eazrael/dev/ceed/ceed/mainwindow.py", line 1126, in slot_newFileDialog
        self.openEditorTab(fileName)

      File "/home/eazrael/dev/ceed/ceed/mainwindow.py", line 812, in openEditorTab
        editor = self.createEditorForFile(absolutePath)

      File "/home/eazrael/dev/ceed/ceed/mainwindow.py", line 770, in createEditorForFile
        ret.initialise(self)

      File "/home/eazrael/dev/ceed/ceed/editors/layout/__init__.py", line 78, in initialise
        self.visual.initialise(root)

      File "/home/eazrael/dev/ceed/ceed/editors/layout/visual.py", line 1330, in initialise
        self.setRootWidget(rootWidget)

      File "/home/eazrael/dev/ceed/ceed/editors/layout/visual.py", line 1355, in setRootWidget
        self.setRootWidgetManipulator(None)

      File "/home/eazrael/dev/ceed/ceed/editors/layout/visual.py", line 1339, in setRootWidgetManipulator
        self.scene.setRootWidgetManipulator(manipulator)

      File "/home/eazrael/dev/ceed/ceed/editors/layout/visual.py", line 876, in setRootWidgetManipulator
        self.rootManipulator.updateFromWidget(True)

    Versions:
    ========================
    CEED revision: unknown
    CEED version: 0.8.1
    HW architecture: ('64bit', 'ELF')
    HW type: x86_64
    HW processor: x86_64
    OS type: Linux
    OS release: 3.13.0-45-generic
    OS version: #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015
    OS Linux: ('Ubuntu', '14.04', 'trusty')
    SW Python: 2.7.6 (default, Mar 22 2014, 22:59:56)
    [GCC 4.8.2]
    SW PySide: 1.2.1
    SW Qt: 4.8.6
    SW PyCEGUI: N/A
    GL bindings version: 3.0.2
    GL version: 3.0 Mesa 10.6.0-devel (git-da20bf0 2015-03-02 trusty-oibaf-ppa)
    GL vendor: X.Org
    GL renderer: Gallium 0.4 on AMD ARUBA
    GL extensions:
        - GL_ARB_multisample,
    [..]

    The created file has 0 bytes.
I am not sure if that is a bug or if missed something in the documentation. Can make this a bug report at bitbucket if confirmed as bug. Both hg branches show the same issue.

Re: Exception message: 'NoneType' object has no attribute 'u

Posted: Thu Mar 05, 2015 20:16
by Ident
What CEGUI and CEED versions do you use?

Re: Exception message: 'NoneType' object has no attribute 'u

Posted: Thu Mar 05, 2015 20:41
by eazrael
CEED: Both mercurial branches from bitbucket, state as of yesterday.
CEGUI: 0.8.4, sorry for forgetting. You ask because of "SW PyCEGUI: N/A"?

Re: Exception message: 'NoneType' object has no attribute 'u

Posted: Thu Mar 05, 2015 21:48
by Ident
I was asking because I wasn't sure if the log gives me the right info.

And yeah, i can reproduce this exact issue on Windows. This must be new. Could you please create an issue on the issue tracker for this? Martin is made aware of it, he will probably then fix it soon.