[solved] 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
sv75
Posts: 24
Joined: December 9th, 2008, 9:42 am

[solved] 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT

Post by sv75 »

Ubuntu 10.04, 1.9.5 compiled from source by cmake . && make.
Game exits immediately just after installing.
seva@ubuntu:~$ rm -rf ~/.local/share/wesnoth ~/.config/wesnoth
seva@ubuntu:~$ wesnoth
Battle for Wesnoth v1.9.5
Started on Sun Apr 3 00:25:33 2011

20110403 00:25:33 error filesystem: Could not open '/home/seva/.config/wesnoth/preferences' for reading.

Data directory: /usr/local/share/wesnoth
User configuration directory: /home/seva/.config/wesnoth
User data directory: /home/seva/.local/share/wesnoth/1.9
Cache directory: /home/seva/.cache/wesnoth
20110403 00:25:33 warning font: Failed opening font file 'Junicode-Regular.ttf': No such file or directory
Checking video mode: 1024x768x32...
setting mode to 1024x768x32
20110403 00:25:33 error config: Macro/file 'GUI__FONT_COLOUR_ENABLED__DEFAULT' is missing at gui/default/widget/tooltip_default.cfg:41 included from gui/default.cfg:30 included from gui/default/widget/tooltip_default.cfg:57 included from gui/default.cfg:30
Last edited by sv75 on April 3rd, 2011, 11:53 am, edited 1 time in total.
segate
Posts: 1
Joined: April 7th, 2009, 2:07 pm

Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e

Post by segate »

same error on win7 64bit.
I've downloaded and put 'Junicode-Regular.ttf' into fonts folder,and still can't open the game.
User avatar
Crendgrim
Moderator Emeritus
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e

Post by Crendgrim »

sv75 wrote: seva@ubuntu:~$ rm -rf ~/.local/share/wesnoth [b]~/.config/wesnoth[/b]
[...]
20110403 00:25:33 error filesystem: Could not open '[b]/home/seva/.config/wesnoth/preferences[/b]' for reading.
How should Wesnoth be able to read a file you just deleted? :o
Besides, I'm not sure whether you really need to run "make" after running "cmake" - isn't "make" only part of the not-anymore-supported Autotools?


Crend
UMC Story Images — Story images for your campaign!
User avatar
ivanovic
Lord of Translations
Posts: 1149
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e

Post by ivanovic »

Crendgrim wrote:
sv75 wrote: seva@ubuntu:~$ rm -rf ~/.local/share/wesnoth [b]~/.config/wesnoth[/b]
[...]
20110403 00:25:33 error filesystem: Could not open '[b]/home/seva/.config/wesnoth/preferences[/b]' for reading.
How should Wesnoth be able to read a file you just deleted? :o
Besides, I'm not sure whether you really need to run "make" after running "cmake" - isn't "make" only part of the not-anymore-supported Autotools?
Of course you have to run make afterwards!

The only relevant (and critical) message is the *last* one. The stuff about the font as well as the config dir are irrelevant and normal/expected. The other one really sounds strange. Are you sure that you have not edited your sources data dir? And have you removed your old installation before running "make install"? That is: in the source tarball the term GUI__FONT_COLOUR_ENABLED__DEFAULT is not used, so something is really wrong.
sv75
Posts: 24
Joined: December 9th, 2008, 9:42 am

Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e

Post by sv75 »

Crendgrim wrote:
sv75 wrote: '/home/seva/.config/wesnoth/preferences' for reading.[/tt]
How should Wesnoth be able to read a file you just deleted? :o
I have deleted preferences just to be sure bug is still there.

Wesnoth can run just fine without preferences file, of course.
sv75
Posts: 24
Joined: December 9th, 2008, 9:42 am

Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e

Post by sv75 »

ivanovic wrote:And have you removed your old installation before running "make install"?
Problem solved: either I forgot to say `make uninstall` in old svn 1.9.x sources or it didt not worked as expected. Removing /usr/local/share/wesnoth and then reinstalling helps.

Sorry for inconvenience.
Last edited by sv75 on April 3rd, 2011, 12:04 pm, edited 1 time in total.
User avatar
Crendgrim
Moderator Emeritus
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e

Post by Crendgrim »

ivanovic wrote:
Crendgrim wrote: How should Wesnoth be able to read a file you just deleted? :o
Besides, I'm not sure whether you really need to run "make" after running "cmake" - isn't "make" only part of the not-anymore-supported Autotools?
Of course you have to run make afterwards!
Good to know, thanks.
Now it's obvious why cmake never worked for me... :P


Crend
UMC Story Images — Story images for your campaign!
User avatar
tr0ll
Posts: 551
Joined: June 11th, 2006, 8:13 pm
Location: canada

Re: [solved] 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAUL

Post by tr0ll »

i also see that
warning font: Failed opening font file 'Junicode-Regular.ttf': No such file or directory
but the game loads ok. is the font an optional component and where should it go?
User avatar
Espreon
Inactive Developer
Posts: 630
Joined: June 9th, 2007, 4:08 am

Re: [solved] 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAUL

Post by Espreon »

tr0ll wrote:i also see that
warning font: Failed opening font file 'Junicode-Regular.ttf': No such file or directory
but the game loads ok. is the font an optional component and where should it go?
It's optional if you don't want to play in Old English (in the fuþorc). If you really want to suppress that warning, put it in Wesnoth's "fonts" directory.
Post Reply