Bug 251223
Summary: | gnome-sudoku not saving high scores, generated puzzles, state of current game | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Catalin Francu <cata> | ||||
Component: | gnome-games | Assignee: | Ray Strode [halfline] <rstrode> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8 | CC: | ian, p.van.egdom, redhat-bugzilla, triage | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-06-02 18:07:44 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Catalin Francu
2007-08-07 20:29:28 UTC
Created attachment 160851 [details]
Contents of ~/.gconf/apps/gnome-sudoku/%gconf.xml
It seems to have: DATA_DIR = ~/.gnome2/gnome-sudoku/ save_to_dir=os.path.join(DATA_DIR,'games/') game_loc = os.path.join(save_to_dir, "game%s"%game_number) saver.pickle_game(self, game_loc) So it seems like it's supposed to be saving games in ~/.gnome2/gnome-sudoku Interesting. ~/.gnome2 exists in the user's account, but ~/.gnome2/gnome-sudoku does not. I ran gnome-sudoku from the command line to see what it does and it prints all sorts of errors: [daria@voronet ~]$ gnome-sudoku Unable to load puzzles: <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/home/daria/.gnome2/gnome-sudoku/generated_puzzles' [daria@voronet ~]$ mkdir ~/.gnome2/gnome-sudoku [daria@voronet ~]$ gnome-sudoku Unable to load puzzles: <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/home/daria/.gnome2/gnome-sudoku/generated_puzzles' [daria@voronet ~]$ mkdir .gnome2/gnome-sudoku/games [daria@voronet ~]$ touch .gnome2/gnome-sudoku/generated_puzzles [daria@voronet ~]$ gnome-sudoku Unable to load puzzles: <type 'exceptions.EOFError'>: Gnome-sudoku itself does not seem to create the files if they are not already there. gnome-sudoku -v prints a bunch of extra information, but it isn't relevant. Also, it's strange that the "Resume old game" option is missing from the File menu altogether. Now that you have the directories made, can you still reproduce the problem? Yes, the problem is still there. If I only create the directories, gnome-sudoku still complains about a missing files: [daria@voronet ~]$ gnome-sudoku Unable to load puzzles: <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/home/daria/.gnome2/gnome-sudoku/generated_puzzles' If in addition I also create an empty file generated_puzzles, gnome-sudoku complains about (probably) a bad file format: [daria@voronet ~]$ touch .gnome2/gnome-sudoku/generated_puzzles [daria@voronet ~]$ gnome-sudoku Unable to load puzzles: <type 'exceptions.EOFError'>: Then if I generate some puzzles and exit gnome-sudoku, the file generated_puzzles still has zero length. The menu option "File->Resume old game", which the manual section 3.1 document, is absent altogether, regardless of what I do. I am running F8Test2 with Gnome-Games 2.20.0.1-1.F8 and the same problem is reoccuring. Problem still exists, gnome-games-2.20.3-1.fc8 I'm currently taking a look to see if it's a problem with upstream or us. This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists. Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs: http://docs.fedoraproject.org/release-notes/ The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping As already stated in comment #7 the problem still exists in the current F8 update. Please could maintainer or reporter change version to 8. Adding an upstream bz reference - looks like it *might* be fixed in Gnome 2.22 / F9 (not verified). changed version to 8. i'll see what it does in F9. Looks good in F9 to me. Thank you for the bug report. Closing bug as per comment #11. If you still experience this problem after updating to our latest Fedora release, reopen this bug against that version if this bug exists there. |