Klondike never available in AisleRiot Solitaire

Bug #406830 reported by George Roberts
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
language-pack-gnome-en (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gnome-games

I've used Ubuntu since Hardy, and I've installed Hardy, Intrepid and Jaunty on several different computers. None of these installations ever had the Klondike version of patience available in AisleRiot Solitaire. I've tried Xubuntu several times as well; and that always had it available.

Ubuntu 9.04
Release: 9.04

gnome-games:
  Installed: 1:2.26.1-0ubuntu2
  Candidate: 1:2.26.1-0ubuntu2
  Version table:
 *** 1:2.26.1-0ubuntu2 0
        500 http://gb.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Expect: Open AisleRiot Solitaire, select 'Select Game', find Klondike in the list.
What happens: No Klondike in the list.

Revision history for this message
Claudio Moretti (flyingstar16) wrote :

I've been using Ubuntu since Dapper (6.06) and Klondike was available in every version.
Can you make a screenshot of the K named games in AisleRiot? (to show that you cannot choose Klondike)

Changed in gnome-games (Ubuntu):
status: New → Incomplete
Revision history for this message
George Roberts (g-roberts0) wrote :

There you go, I'd have thought we could at least rule out my eyes as the problem ;)

Additional confirmation comes from typing sol -v klondike in terminal, opens a Canfield game; which is the default.

It's always puzzled me that I seem to be the only one affected by this...

klondike.scm is present in /usr/share/gnome-games/aisleriot/games

Revision history for this message
Sebastien Bacher (seb128) wrote :

not confirming klondike is correctly listed there, do you get the same issue with an another user account too?

Changed in gnome-games (Ubuntu):
importance: Undecided → Low
Revision history for this message
George Roberts (g-roberts0) wrote :

Game is still unavailable in another user account.

Revision history for this message
Claudio Moretti (flyingstar16) wrote :

What happens if you try to invoke in a terminal "sol -v klondike"?
Does it give any error?

Revision history for this message
George Roberts (g-roberts0) wrote :

No error, just opens Canfield game

Revision history for this message
Claudio Moretti (flyingstar16) wrote :

Whoa, that's quite the strangest behaviour I have ever seen..
Can you post the output of "ls -l /usr/share/gnome-games/aisleriot/games/" and "head /usr/share/gnome-games/aisleriot/games/klondike.scm"?

Also, can you try (if you never had) "apt-get purge gnome-games" and "apt-get install gnome-games"?

Revision history for this message
George Roberts (g-roberts0) wrote :
Download full text (6.0 KiB)

Purging and reinstalling doesn't fix it

george@humdrum:~$ ls -l /usr/share/gnome-games/aisleriot/games/
total 816
-rw-r--r-- 1 root root 5769 2009-04-14 22:02 accordion.scm
-rw-r--r-- 1 root root 8560 2009-04-14 22:02 agnes.scm
-rw-r--r-- 1 root root 2477 2009-04-14 22:02 athena.scm
-rw-r--r-- 1 root root 3848 2009-04-14 22:02 auld_lang_syne.scm
-rw-r--r-- 1 root root 1598 2009-04-14 22:02 aunt_mary.scm
-rw-r--r-- 1 root root 8592 2009-04-14 22:02 backbone.scm
-rw-r--r-- 1 root root 6149 2009-04-14 22:02 bakers_dozen.scm
-rw-r--r-- 1 root root 1165 2009-04-14 22:02 bakers_game.scm
-rw-r--r-- 1 root root 5604 2009-04-14 22:02 beleaguered_castle.scm
-rw-r--r-- 1 root root 4156 2009-04-14 22:02 block_ten.scm
-rw-r--r-- 1 root root 7859 2009-04-14 22:02 bristol.scm
-rw-r--r-- 1 root root 6932 2009-04-14 22:02 camelot.scm
-rw-r--r-- 1 root root 9037 2009-04-14 22:02 canfield.scm
-rw-r--r-- 1 root root 5871 2009-04-14 22:02 carpet.scm
-rw-r--r-- 1 root root 8110 2009-04-14 22:02 chessboard.scm
-rw-r--r-- 1 root root 7966 2009-04-14 22:02 clock.scm
-rw-r--r-- 1 root root 2766 2009-04-14 22:02 cover.scm
-rw-r--r-- 1 root root 6391 2009-04-14 22:02 cruel.scm
-rw-r--r-- 1 root root 9738 2009-04-14 22:02 diamond_mine.scm
-rw-r--r-- 1 root root 4600 2009-04-14 22:02 doublets.scm
-rw-r--r-- 1 root root 10924 2009-04-14 22:02 eagle_wing.scm
-rw-r--r-- 1 root root 7257 2009-04-14 22:02 easthaven.scm
-rw-r--r-- 1 root root 7984 2009-04-14 22:02 eight_off.scm
-rw-r--r-- 1 root root 8981 2009-04-14 22:02 elevator.scm
-rw-r--r-- 1 root root 6478 2009-04-14 22:02 escalator.scm
-rw-r--r-- 1 root root 5863 2009-04-14 22:02 first_law.scm
-rw-r--r-- 1 root root 6376 2009-04-14 22:02 fortress.scm
-rw-r--r-- 1 root root 4946 2009-04-14 22:02 fortunes.scm
-rw-r--r-- 1 root root 14035 2009-04-14 22:02 forty_thieves.scm
-rw-r--r-- 1 root root 3430 2009-04-14 22:02 fourteen.scm
-rw-r--r-- 1 root root 35082 2009-04-14 22:02 freecell.scm
-rw-r--r-- 1 root root 9424 2009-04-14 22:02 gaps.scm
-rw-r--r-- 1 root root 8284 2009-04-14 22:02 gay_gordons.scm
-rw-r--r-- 1 root root 11074 2009-04-14 22:02 glenwood.scm
-rw-r--r-- 1 root root 1864 2009-04-14 22:02 gold_mine.scm
-rw-r--r-- 1 root root 4455 2009-04-14 22:02 golf.scm
-rw-r--r-- 1 root root 10694 2009-04-14 22:02 gypsy.scm
-rw-r--r-- 1 root root 3822 2009-04-14 22:02 helsinki.scm
-rw-r--r-- 1 root root 4117 2009-04-14 22:02 hopscotch.scm
-rw-r--r-- 1 root root 3415 2009-04-14 22:02 isabel.scm
-rw-r--r-- 1 root root 3391 2009-04-14 22:02 jamestown.scm
-rw-r--r-- 1 root root 11339 2009-04-14 22:02 jumbo.scm
-rw-r--r-- 1 root root 10160 2009-04-14 22:02 kansas.scm
-rw-r--r-- 1 root root 9247 2009-04-14 22:02 king_albert.scm
-rw-r--r-- 1 root root 7533 2009-04-14 22:02 kings_audience.scm
-rw-r--r-- 1 george george 9362 2009-04-14 22:02 klondike.scm
-rw-r--r-- 1 root root 9362 2009-04-14 22:02 klondike.scm~
-rw-r--r-- 1 root root 6354 2009-04-14 22:02 labyrinth.scm
-rw-r--r-- 1 root root 12207 2009...

Read more...

Revision history for this message
George Roberts (g-roberts0) wrote :

I'm pretty sure the klondike.scm double entry in the list is a result of my experimenting with editing the file, I deleted the edited file when it didn't work and replaced it with a backup of the original.

Revision history for this message
Claudio Moretti (flyingstar16) wrote :

Seems a backup file (note the ~ at the end of the filename); the only thing I can tell you is to fix permissions to the file (chown root\: klondike.scm) but I don't think this will fix it...
Seems a problem with your PC, I'm completely astonished...

Changed in gnome-games (Ubuntu):
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you run "strace -e stat64 sol -v klondike 2>&1 | grep scm" and copy the log there?

Revision history for this message
George Roberts (g-roberts0) wrote :

As I said though, this has been the case on every system I've installed ubuntu on, even a fresh installation

Revision history for this message
George Roberts (g-roberts0) wrote :

george@humdrum:~$ strace -e stat64 sol -v klondike 2>&1 | grep scm
stat64("/usr/share/guile/site/init.scm", 0xbfc41fa4) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/1.8/init.scm", 0xbfc41fa4) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/init.scm", 0xbfc41fa4) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/site/ice-9/boot-9.scm", 0xbfc41f84) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/1.8/ice-9/boot-9.scm", {st_mode=S_IFREG|0644, st_size=104124, ...}) = 0
stat64("/usr/share/guile/site/ice-9/r4rs.scm", 0xbfc41e54) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/1.8/ice-9/r4rs.scm", {st_mode=S_IFREG|0644, st_size=8623, ...}) = 0
stat64("/usr/share/guile/site/ice-9/posix.scm", 0xbfc41e54) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/1.8/ice-9/posix.scm", {st_mode=S_IFREG|0644, st_size=2585, ...}) = 0
stat64("/usr/share/guile/site/ice-9/networking.scm", 0xbfc41e54) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/1.8/ice-9/networking.scm", {st_mode=S_IFREG|0644, st_size=3029, ...}) = 0
stat64("/usr/share/guile/site/ice-9/deprecated.scm", 0xbfc41e54) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/1.8/ice-9/deprecated.scm", {st_mode=S_IFREG|0644, st_size=6159, ...}) = 0
stat64("/usr/share/gnome-games/aisleriot/games/sol.scm", {st_mode=S_IFREG|0644, st_size=22014, ...}) = 0
stat64("/usr/share/guile/site/ice-9/format.scm", 0xbfc40bb4) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/1.8/ice-9/format.scm", {st_mode=S_IFREG|0644, st_size=57714, ...}) = 0
stat64("/usr/share/guile/site/ice-9/and-let-star.scm", 0xbfc3fa34) = -1 ENOENT (No such file or directory)
stat64("/usr/share/guile/1.8/ice-9/and-let-star.scm", {st_mode=S_IFREG|0644, st_size=1703, ...}) = 0
stat64("/usr/share/gnome-games/aisleriot/games/klondike.scm", {st_mode=S_IFREG|0644, st_size=9362, ...}) = 0

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you take a screenshot showing the bug?

Revision history for this message
George Roberts (g-roberts0) wrote :

what more could I take a screenshot of other than what I already have?

Revision history for this message
Claudio Moretti (flyingstar16) wrote :

I think Sebastien didn't notice it: http://launchpadlibrarian.net/29712509/Screenshot.png

Revision history for this message
Sebastien Bacher (seb128) wrote :

right I'm reading comments via email and didn't notice this one, what locale do you use?

Revision history for this message
George Roberts (g-roberts0) wrote :

English (United Kingdom)

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you get the issue using a C locale?

Revision history for this message
George Roberts (g-roberts0) wrote :

How do I use a C locale?

Revision history for this message
Sebastien Bacher (seb128) wrote :

run LC_ALL=C sol

Revision history for this message
George Roberts (g-roberts0) wrote :

That works!
Another interesting thing is that the true problem before was not that Klondike was unavailable, Canfield was the game that was missing! I've noticed now [comparing the two] that AisleRiot was opening what it called "Canfield" but the game is actually Klondike that is operating. With that C locale trick; Klondike and Canfield are both listed as selectable games and Canfield is different to what was brought up before [as I said, actually Klondike].

So we've isolated it to a locale problem.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Canfield is the en_GB name for Klondike

Revision history for this message
Sebastien Bacher (seb128) wrote :

ie in the en_GB translation

msgid "Klondike"
msgstr "Canfield"

affects: gnome-games (Ubuntu) → language-pack-gnome-en (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

reassigning to the correct language pack translations

Revision history for this message
George Roberts (g-roberts0) wrote :

Are you saying Canfield is the correct name for Klondike in en_GB?
If so; where is Canfield [as named in C locale] in en_GB?

Revision history for this message
Sebastien Bacher (seb128) wrote :

no, I'm saying that they are mixing names there

Revision history for this message
George Roberts (g-roberts0) wrote :

I've figured this out with help from
http://en.wikipedia.org/wiki/Canfield
and
https://bugs.launchpad.net/bugs/408412

There's actually no bug here, as wikipedia explains; Klondike is called Canfield in British English. That's why Klondike is unavailable in this locale and selecting Canfield gives you the actual game of Klondike.
If you want to play Canfield [US], you select 'Demon' which is the British name for Canfield.

This was confusing!

Changed in language-pack-gnome-en (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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