(!)tools.c/load_absolute_file() can't open file /home/shirish/.tlkgames/powermanga.conf (No such file or directory)

Bug #306305 reported by Shirish Agarwal
2
Affects Status Importance Assigned to Milestone
powermanga (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: powermanga

Hi all,
 I start powermanga on Intrepid and the game plays and everything, but this is what it shows.

$ powermanga
couldn't find/open config directory '/home/shirish/.tlkgames'
attempting to create it... ok
(!)tools.c/load_absolute_file() can't open file /home/shirish/.tlkgames/powermanga.conf (No such file or directory)
(!)config_file.c/configfile_load() lisp_read_file(/home/shirish/.tlkgames/powermanga.conf) failed!
(!)menu_sections.c/high_scores_load_file() /var/games/powermanga/powermanga.hi file is empty!
(!)menu_sections.c/high_score_save() open (/var/games/powermanga/powermanga.hi) return: Permission denied

I see two issues here :-

a. It shouldn't need to give that, if there isn't a .conf file it should make a .conf file in .tlkgames or preferebly in .config (as per free desktop specification .

b. It be putting those scores in the .tlkgames directory and not in /var/games/powermanga.hi

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: powermanga 0.90-dfsg-1
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_IN
SourcePackage: powermanga
Uname: Linux 2.6.27-10-generic i686

Tags: apport-bug
Revision history for this message
Shirish Agarwal (shirishag75) wrote :
Revision history for this message
bubux (bruno-tlk) wrote :

If the configuration file is not found, an error message is displayed AND a new generic configuration file (/.tlkgames/powermanga.conf) is created. This bug is INVALID.

Why put the scores file in the ".tlkgames directory"? This practice is not standard with FSH. Any variable data relating to games in "/usr" should be placed into "/var/games" directory. See http://www.pathname.com/fhs/pub/fhs-2.3.html#VARGAMESVARIABLEGAMEDATA
Scores must be shared by all users. This bug is also INVALID.

Please close this bug.

Changed in powermanga (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for powermanga (Ubuntu) because there has been no activity for 60 days.]

Changed in powermanga (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.