ChrisOelmueller/uh-issues — Issue #31: Editor doesn't find tile graphics
Author: ChrisOelmueller
Created: 2012-02-27 00:49:26+00:00
State: open

For some reason the editor is unable to find tile graphics on some systems. The following is the log up to the point where it throws the exception (the file exists; the exception is thrown if you just start the editor -- you don't get to do anything before it):
{{{
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
Controller:LOG:Destructing engine
Controller:LOG:================== Engine destructed ==================
Using the FIFE python module found here: D:\Tools\Python27\lib\site-packages\fife
Importing plugin: CameraEdit
Importing plugin: HistoryManager
Importing plugin: LayerTool
Importing plugin: LightEdit
Importing plugin: ObjectEdit
Importing plugin: ObjectSelector
Importing plugin: UHMapLoader
Importing plugin: UHMapSaver
Importing plugin: UHObjectLoader
loading UH ground tiles...
Invalid plugin: UHObjectLoader
Traceback (most recent call last):
File "D:\UnknownHorizons\fife/tools/editor\scripts\plugin.py", line 74, in __init__
plugin.enable()
File "D:\UnknownHorizons\unknown-horizons\editor\plugins\UHObjectLoader.py", line 65, in enable
self._loadObjects()
File "D:\UnknownHorizons\unknown-horizons\editor\plugins\UHObjectLoader.py", line 109, in _loadObjects
self._loadGroundTiles()
File "D:\UnknownHorizons\unknown-horizons\editor\plugins\UHObjectLoader.py", line 128, in _loadGroundTiles
str(rotation) + ':shift:center+0,bottom+8')
File "D:\UnknownHorizons\unknown-horizons\horizons\util\sqliteanimationloader.py", line 64, in loadResource
img = horizons.main.fife.imagemanager.load(file)
File "D:\Tools\Python27\lib\site-packages\fife\fife.py", line 6458, in load
return _fife.ImageManager_load(self, *args)
RuntimeError: _[NotFound]_ , Something was searched, but not found :: D:\UnknownHorizons\unknown-horizons\content\gfx\base\moderate\ts_beach0\straight\225\0.png
}}}