maybe just make the code os-independent.
i can run the program, but it gets me the following error, and no level image is shown:
Traceback (most recent call last):
File "/home/flyingsheep/bin/wogeditor/src/wogeditor.py", line 498, in editLevel
self.open_level_view_by_name( level_name )
File "/home/flyingsheep/bin/wogeditor/src/wogeditor.py", line 511, in open_level_view_by_name
self._addLevelGraphicView( level_world )
File "/home/flyingsheep/bin/wogeditor/src/wogeditor.py", line 515, in _addLevelGraphicView
level_view = levelview.LevelGraphicView( level_world, self.view_actions )
File "/home/flyingsheep/bin/wogeditor/src/levelview.py", line 923, in __init__
self.refreshFromModel()
File "/home/flyingsheep/bin/wogeditor/src/levelview.py", line 1183, in refreshFromModel
self._on_selection_change( self.__world.selected_elements, set(), set() )
File "/home/flyingsheep/bin/wogeditor/src/levelview.py", line 1127, in _on_selection_change
if element in selection:
TypeError: list objects are unhashable
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you think you might make an editor for mac.
maybe just make the code os-independent.
i can run the program, but it gets me the following error, and no level image is shown:
Traceback (most recent call last):
File "/home/flyingsheep/bin/wogeditor/src/wogeditor.py", line 498, in editLevel
self.open_level_view_by_name( level_name )
File "/home/flyingsheep/bin/wogeditor/src/wogeditor.py", line 511, in open_level_view_by_name
self._addLevelGraphicView( level_world )
File "/home/flyingsheep/bin/wogeditor/src/wogeditor.py", line 515, in _addLevelGraphicView
level_view = levelview.LevelGraphicView( level_world, self.view_actions )
File "/home/flyingsheep/bin/wogeditor/src/levelview.py", line 923, in __init__
self.refreshFromModel()
File "/home/flyingsheep/bin/wogeditor/src/levelview.py", line 1183, in refreshFromModel
self._on_selection_change( self.__world.selected_elements, set(), set() )
File "/home/flyingsheep/bin/wogeditor/src/levelview.py", line 1127, in _on_selection_change
if element in selection:
TypeError: list objects are unhashable