FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

FIFE 0.4.0 has been released on 15th of January, 2017!

Author Topic: Editor crash after update to 0.3.3r3  (Read 2106 times)

Katherine1

  • Newbie
  • Posts: 2
    • View Profile
Editor crash after update to 0.3.3r3
« on: April 26, 2012, 09:57:27 am »

I recently updated fife, and now the map editor crashes on start up. The window only appears for a moment before the whole program crashes. The previous version worked. What's going on with this?

OS: Arch Linux x86_64
Using fife AUR package and the 0.3.3r3 tools downloaded from the site.

terminal output from editor
Code: [Select]
Using the FIFE python module found here:  /usr/lib/python2.7/site-packages/fife
Controller:LOG:================== Engine initialize start =================
Controller:LOG:Time manager created
Controller:LOG:Creating VFS
Controller:LOG:Adding root directory to VFS
Controller:LOG:Adding zip provider to VFS
Controller:LOG:Engine pre-init done
Controller:LOG:Creating event manager
Controller:LOG:Creating resource managers
Controller:LOG:Creating render backend
Controller:LOG:OpenGL Render backend created
Controller:LOG:Initializing render backend
Controller:LOG:Querying device capabilities
Controller:LOG:Creating main screen
Controller:LOG:Main screen created
Controller:LOG:Creating sound manager
Controller:LOG:Creating renderers
Controller:LOG:Creating model
Controller:LOG:Adding pathers to model
Controller:LOG:Adding grid prototypes to model
Controller:LOG:Engine intialized
Traceback (most recent call last):
  File "run.py", line 38, in <module>
    app.run()
  File "/usr/lib/python2.7/site-packages/fife/extensions/basicapplication.py", line 197, in run
    retval = self.mainLoop()
  File "/usr/lib/python2.7/site-packages/fife/extensions/basicapplication.py", line 219, in mainLoop
    self._pump()
  File "/home/****/Applications/fife/editor/scripts/editor.py", line 454, in _pump
    self._initGui()
  File "/home/****/Applications/fife/editor/scripts/editor.py", line 120, in _initGui
    MainWindow.initGui(self, screen_width, screen_height)
  File "/home/****/Applications/fife/editor/scripts/gui/mainwindow.py", line 69, in initGui
    self._toolbar = ToolBar(title=u"Toolbar", button_style=0)
  File "/home/****/Applications/fife/editor/scripts/gui/toolbar.py", line 49, in __init__
    super(ToolBar, self).__init__(resizable=False, *args, **kwargs)
  File "/home/****/Applications/fife/editor/scripts/gui/panel.py", line 34, in __init__
    widgets.Window.__init__(self, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'resizable'
Logged

prock

  • Developer
  • Full Member
  • *
  • Posts: 236
    • View Profile
Re: Editor crash after update to 0.3.3r3
« Reply #1 on: April 26, 2012, 12:29:57 pm »

Hmm interesting.  It might be that the old version of FIFE is kicking around.  You may have to go into your python site-packages directory and delete fife manually and try re-installing it.   Let me know how that goes.
Logged

Katherine1

  • Newbie
  • Posts: 2
    • View Profile
Re: Editor crash after update to 0.3.3r3
« Reply #2 on: April 26, 2012, 12:33:29 pm »

I already tried uninstalling and running "find / -iname fife" It didn't return anything other than the folder the tools are in in my home directory. ( I ran find as root, so it did search the entire system )

EDIT: I did this again anyway, in case I had missed something with find. I didn't but after reinstalling, the editor started working. I have no clue what changed in the second reinstall, but now it works.

Is there anyway I can change the vertical size of the editor? My monitor is 1366x768 and the editor is going off the bottom of the screen.
« Last Edit: April 26, 2012, 12:56:47 pm by Katherine1 »
Logged

prock

  • Developer
  • Full Member
  • *
  • Posts: 236
    • View Profile
Re: Editor crash after update to 0.3.3r3
« Reply #3 on: April 26, 2012, 04:42:39 pm »

Look in the ~/.fife/editor/settings.xml file.  Modify the screen resolution there.
Logged