Latest Posts

Topic: crash on startup

jigaboo
Avatar
Topic Opener
Joined: 2016-12-05, 23:20
Posts: 5
Ranking
Just found this site
Posted at: 2016-12-05, 23:25

Caught exception (of type '17ImageLoadingError') in outermost handler! The exception said: [/build/widelands-0Z2Df1/widelands-19/src/graphic/image_io.h:42] Error loading images/logos/wl-ico-128.png: Unsupported image format

This should not happen. Please file a bug report on version build-19(Release). and remember to specify your operating system. currently using ubuntu

Edited: 2016-12-05, 23:36

Top Quote
Tibor

Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2016-12-05, 23:45

Hi,

thanks for reporting the issue. Can you provide also version of ubuntu and the way how you installed the game?


Top Quote
jigaboo
Avatar
Topic Opener
Joined: 2016-12-05, 23:20
Posts: 5
Ranking
Just found this site
Posted at: 2016-12-05, 23:53

Ubuntu 16.04.1 LTS and i used the apt method the game ran a couple of days ago not sure what broke it


Top Quote
Tibor

Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2016-12-06, 00:15

Did you update your system lately? Or to be exact - can an update be culprit?


Top Quote
jigaboo
Avatar
Topic Opener
Joined: 2016-12-05, 23:20
Posts: 5
Ranking
Just found this site
Posted at: 2016-12-06, 02:07

quite possibly i updated SDL2 recently


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-12-06, 08:27

The path of the image is suspect - it shouldn't start with /build

On my Ubuntu, the path for the PPA install is:

/usr/share/games/widelands/data/images/logos


Busy indexing nil values

Top Quote
jigaboo
Avatar
Topic Opener
Joined: 2016-12-05, 23:20
Posts: 5
Ranking
Just found this site
Posted at: 2016-12-06, 23:16

any ideas on what i can do? i have reinstalled it


Top Quote
Tibor

Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2016-12-06, 23:23

I would help you but I am arch linux user. But if you are adventurous, you can compile it from source - it is easier than it sounds, see here: https://wl.widelands.org/wiki/Building%20Widelands/

Install dependencies for ubuntu and then follow this section: https://wl.widelands.org/wiki/Building%20Widelands/#building-widelands-with-compile-script-fastest-way


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-12-07, 12:08

I must admit that I have no idea what is wrong here - there shouldn't be a build directory at all unless you are compiling yourself, and it shouldn't be located in / anyway. And there are some random characters in the map.

You could try compiling yourself, maybe you will have better luck with that. For the last release:

$ sudo apt install bzr cmake g++ gcc gettext libboost-dev libboost-regex-dev libboost-test-dev libglew-dev libpng-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev python zlib1g-dev ninja-build 
$ bzr branch lp:widelands/build19 widelands
$ cd widelands
$ ./compile.sh -r -w

For a debug build, you can replace the last line with:

$ ./compile.sh -w

-w omits some stuff that we're using for the website, which you don't need.

Then start widelands with

$ ./widelands

Busy indexing nil values

Top Quote
jigaboo
Avatar
Topic Opener
Joined: 2016-12-05, 23:20
Posts: 5
Ranking
Just found this site
Posted at: 2016-12-08, 00:57

did that and it threw out this terminate called after throwing an instance of 'ImageLoadingError' what(): [../src/graphic/image_io.h:42] Error loading images/logos/wl-ico-128.png: Unsupported image format Aborted (core dumped) any idea? just checked the logo and the picture is perfectly fine

Edited: 2016-12-08, 01:03

Top Quote