Bug#1033879: widelands: Clicking options in Widelands cause the program to quit with an exception (file not found)

waxhead waxhead at dirtcellar.net
Mon Apr 3 18:06:50 BST 2023


Done - see below. As expected the font file does not exist in my system.
I can probably (re-) install it, but I would rather help fix the problem 
unless the issue is (for some reason) only on my system in the whole 
world :)

Tobias Frost wrote:
> Control: tags -1 moreinfo
> 
> Hi waxhead,
> 
> thanks for the report!
> 
> Unfortunatly I cannot reproduce the issue…
> The font should be pulled in, by the package culmus-fancy, through dependency.
> 
> 
> Can you do on a console:
> 
> namei /usr/share/games/widelands/data/i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf

f: 
/usr/share/games/widelands/data/i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
  d /
  d usr
  d share
  d games
  d widelands
  d data
  d i18n
  d fonts
  d Culmus
    TaameyFrankCLM-Medium.ttf - No such file or directory

> 
> dpkg -l 'widelands*'

Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-============================================
ii  widelands      2:1.1-2      amd64        fantasy real-time strategy game
ii  widelands-data 2:1.1-2      all          fantasy real-time strategy 
game (data files)

> dpkg -l culmus-fancy

Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Architecture Description
+++-==============-==============-============-=================================
ii  culmus-fancy   0.0.20140315-1 all          Type1 Fancy Hebrew Fonts 
for X11

> 
> and let me know the output.
> 
> (You can also retry re-installing culmus-fancy ans see if that improves things.)
> 
> 
> Cheers,
> tobi
> 
> 
> 
> On Mon, Apr 03, 2023 at 02:11:30PM +0200, waxhead wrote:
>> Package: widelands
>> Version: 2:1.1-2
>> Severity: important
>> X-Debbugs-Cc: waxhead at dirtcellar.net
>>
>> Dear Maintainer,
>>
>> *** Reporter, please consider answering these questions, where appropriate ***
>>
>>     * What led up to the situation?
>>
>> Started up widelands (version 1.1 Release), clicked the option button. This is the output
>>
>> [00:00:08.059 real] WARNING: Font file not found. Falling back to sans: Culmus/TaameyFrankCLM-Medium.ttf
>> [00:00:08.059 real] WARNING: LayeredFileSystem: Could not load file: could not find file or directory: i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
>> [00:00:08.059 real] WARNING: I have tried the following path(s):
>> [00:00:08.059 real] WARNING:     /home/waxhead/.local/share/widelands/i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
>> [00:00:08.059 real] WARNING:     /usr/share/games/widelands/data/i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
>> [00:00:08.059 real] WARNING:     /home/waxhead/i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
>>
>> Caught exception (of type '17FileNotFoundError') in outermost handler!
>> The exception said: LayeredFileSystem: Could not load file: could not find file or directory: i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
>> I have tried the following path(s):
>>      /home/waxhead/.local/share/widelands/i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
>>      /usr/share/games/widelands/data/i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
>>      /home/waxhead/i18n/fonts/Culmus/TaameyFrankCLM-Medium.ttf
>>
>> This should not happen. Please file a bug report on version 1.1 Release.
>> and remember to specify your operating system.
>>
>> [00:00:08.098 real] INFO: SoundHandler: Closing 1 time, 44100 Hz, format 32784, 2 channels
>> [00:00:08.098 real] INFO: SoundHandler: SDL_AUDIODRIVER pulseaudio
>>
>>
>>     * What exactly did you do (or not do) that was effective (or
>>       ineffective)?
>>
>> I did not try to copy a font to any of the locations. I expect widelands to depend on the required font.
>>
>>     * What was the outcome of this action?
>>
>> Not much since I did not do anything
>>
>>     * What outcome did you expect instead?
>>
>> I expect widelands to be supplied with the needed fonts.
>>
>> *** End of the template - remove these template lines ***
>>
>>
>> -- System Information:
>> Debian Release: 12.0
>>    APT prefers testing-security
>>    APT policy: (500, 'testing-security'), (500, 'testing')
>> Architecture: amd64 (x86_64)
>> Foreign Architectures: i386
>>
>> Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
>> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
>> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
>> Shell: /bin/sh linked to /usr/bin/dash
>> Init: systemd (via /run/systemd/system)
>> LSM: AppArmor: enabled
>>
>> Versions of packages widelands depends on:
>> ii  libc6                2.36-8
>> ii  libgcc-s1            12.2.0-14
>> ii  libglew2.2           2.2.0-4+b1
>> ii  libglx0              1.6.0-1
>> ii  libicu72             72.1-3
>> ii  libminizip1          1.1-8+b1
>> ii  libopengl0           1.6.0-1
>> ii  libpng16-16          1.6.39-2
>> ii  libsdl2-2.0-0        2.26.4+dfsg-1
>> ii  libsdl2-image-2.0-0  2.6.3+dfsg-1
>> ii  libsdl2-mixer-2.0-0  2.6.2+dfsg-2
>> ii  libsdl2-ttf-2.0-0    2.20.1+dfsg-2
>> ii  libstdc++6           12.2.0-14
>> ii  widelands-data       2:1.1-2
>>
>> widelands recommends no packages.
>>
>> widelands suggests no packages.
>>
>> -- no debconf information
>>



More information about the Pkg-games-devel mailing list