Ticket #496 (closed defect: fixed)
Map editor is broken for latest trunk
| Reported by: | mvbarracuda | Owned by: | FIFE |
|---|---|---|---|
| Priority: | high | Milestone: | Proposal |
| Component: | tools/editor | Version: | trunk |
| Severity: | normal | Keywords: | map editor, broken, light branch |
| Cc: | Blocked By: | ||
| Blocking: | Time planned: | ||
| Time remaining: | Time spent: |
Description
The FIFE map editor can't be fired up anymore on my system with the latest trunk. I've reverted back to revision 3490, before the light branch was merged into trunk, and the editor started just fine. So it's likely that the light branch changes broke it.
Error message with latest trunk
Using the FIFE python module found here: ..\..\engine\python\fife
Updating settings.xml to the default, it is missing the entry: Lighting for module FIFE
Traceback (most recent call last):
File "E:\FIFE\tools\editor\run.py", line 36, in <module>
from scripts.editor import Editor
File "E:\FIFE\tools\editor\scripts\editor.py", line 56, in <module>
from gui.mapeditor import MapEditor
File "E:\FIFE\tools\editor\scripts\gui\mapeditor.py", line 51, in <module>
from scripts.mapcontroller import MapController
File "E:\FIFE\tools\editor\scripts\mapcontroller.py", line 37, in <module>
TDS = Setting(app_name="editor")
File "..\..\engine\python\fife\extensions\fife_settings.py", line 158, in __init__
self._initDefaultSettingEntries()
File "..\..\engine\python\fife\extensions\fife_settings.py", line 175, in _initDefaultSettingEntries
requiresrestart=True)
File "..\..\engine\python\fife\extensions\fife_settings.py", line 197, in createAndAddEntry
self.addEntry(entry)
File "..\..\engine\python\fife\extensions\fife_settings.py", line 212, in addEntry
self.setDefaults()
File "..\..\engine\python\fife\extensions\fife_settings.py", line 367, in setDefaults
self.fillWidgets()
File "..\..\engine\python\fife\extensions\fife_settings.py", line 298, in fillWidgets
widget = self.OptionsDlg.findChildByName(entry.settingwidgetname)
AttributeError: 'NoneType' object has no attribute 'findChildByName'
Change History
Note: See
TracTickets for help on using
tickets.

Fixed with [3493]