MantisBT - VCMI
View Issue Details
0000598VCMIOtherpublic2010-08-11 11:082011-05-31 09:32
anonymous 
Ivan 
normalminoralways
closedfixed 
PCLinux Ubuntu10.?
 
0.84 
0000598: Missing file?
I've successfully built vcmi 8.2 for linux. Starting vcmiclient aborts with:

vcmiclient: ../hch/CBuildingHandler.cpp:150: void CBuildingHandler::loadBuildings(): Assertion `etp.is_open()' failed.

The code lines are:

//loading ERMU to picture
std::ifstream etp(DATA_DIR "/config/ERMU_to_picture.txt");

assert(etp.is_open());

I've not found a file matching ERMU_to_picture.txt, ermu_to_picture.txt or Ermu_to_picture.txt. Neither in the original windows install nor in the linux copy of it.
just start vcmiclient on linux
No tags attached.
Issue History
2010-08-11 11:08anonymousNew Issue
2010-08-11 12:01IvanNote Added: 0001301
2010-08-13 05:33WarmongerStatusnew => confirmed
2010-08-18 14:33IvanNote Added: 0001324
2010-11-22 17:37ZamolxisStatusconfirmed => assigned
2010-11-22 17:37ZamolxisAssigned To => Ivan
2010-11-22 17:38ZamolxisNote Added: 0001452
2010-11-22 22:23IvanNote Added: 0001456
2011-02-28 15:17IvanNote Added: 0001560
2011-02-28 15:17IvanStatusassigned => resolved
2011-02-28 15:17IvanFixed in Version => 0.89
2011-02-28 15:17IvanResolutionopen => fixed
2011-05-31 09:32ZamolxisStatusresolved => closed

Notes
(0001301)
Ivan   
2010-08-11 12:01   
This file was added after 0.82 release so it not present in latest release. You can take this file from /config folder in the source code or here:
https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk/config/ERMU_to_picture.txt [^]

I'll edit linux readme soon to prevent such issues in future.
(0001324)
Ivan   
2010-08-18 14:33   
Readme is correct - creating link will solve all issues like this.
ln -f /PATH/TO/SOURCE/config /PATH/TO/VCMI/DATA/
(0001452)
Zamolxis   
2010-11-22 17:38   
@Ivan: does the above mean we can move this to Resolved?
(0001456)
Ivan   
2010-11-22 22:23   
Missed this one. Will fix readme soon.
(0001560)
Ivan   
2011-02-28 15:17   
Fixed in rev 2008