Ticket #646 (closed defect: invalid)

Opened 3 years ago

Last modified 23 months ago

Keyerror while saving a new map

Reported by: Kilian] Owned by: FIFE
Priority: high Milestone: 0.3.4
Component: tools/editor Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Time planned:
Time remaining: Time spent:

Description

I get this error while trying to save a new created (Unknown Horizons) map. I tested with head and r3830, its both times the same error.

 File "/home/kili/Repositories/FIFE/trunk/engine/python/fife/extensions/fife_timer.py", line 125, in updateEvent
    self._callback()
 File "/home/kili/Repositories/FIFE/trunk/engine/python/fife/extensions/pychan/tools.py", line 83, in real_callback
    callback(*args,**kwargs)
 File "/home/kili/Repositories/FIFE/trunk/engine/python/fife/extensions/pychan/events.py", line 164, in delayed_f
    f( event )
 File "/home/kili/Repositories/FIFE/trunk/engine/python/fife/extensions/pychan/events.py", line 327, in captured_f
    tools.applyOnlySuitable(self_ref().callbacks[group_name][event_name],event=event,widget=self_ref().widget_ref())
 File "/home/kili/Repositories/FIFE/trunk/engine/python/fife/extensions/pychan/tools.py", line 60, in applyOnlySuitable
    return func(*args,**kwargs)
 File "/home/kili/Repositories/FIFE/trunk/tools/editor/scripts/gui/action.py", line 53, in activate
    activated.send(sender=self)
 File "/home/kili/Repositories/FIFE/trunk/tools/editor/scripts/events/signal.py", line 186, in send
    response = pychan.tools.applyOnlySuitable(receiver, signal=self, sender=sender, **named)
 File "/home/kili/Repositories/FIFE/trunk/engine/python/fife/extensions/pychan/tools.py", line 60, in applyOnlySuitable
    return func(*args,**kwargs)
 File "/home/kili/Repositories/FIFE/trunk/tools/editor/scripts/gui/filemanager.py", line 208, in save
    mapview.save()
 File "/home/kili/Repositories/FIFE/trunk/tools/editor/scripts/mapview.py", line 130, in save
    savers.saveMapFile(curname, self._editor.getEngine(), self._map, importList=self.importlist)
 File "/home/kili/Repositories/FIFE/trunk/engine/python/fife/extensions/savers.py", line 48, in saveMapFile
    map_saver = mapFileMapping[extension[1:]](path, engine, map, importList)
 KeyError: ''

Change History

comment:1 Changed 23 months ago by prock

  • Status changed from new to closed
  • Resolution set to invalid

I cannot re-produce this problem. Closing this for now. Will re-open if I can identify a way to re-produce.

Note: See TracTickets for help on using tickets.