all the mahjongg accomplishments crash on the nexus7 due to mahjongg not being installed

Bug #1079508 reported by Matt Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Desktop Accomplishments
Fix Committed
Low
Matt Fischer
ubuntu-nexus7
Fix Committed
Low
Matt Fischer

Bug Description

SInce mahjongg is not installed, all the mahjongg accomplishments scripts crash, bringing up about 10 annoying error dialogs, Here are all the crash reports:

-rw------- 1 ubuntu whoopsie 10119 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-bridges.py.1000.crash
-rw------- 1 ubuntu whoopsie 10151 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-cloud.py.1000.crash
-rw------- 1 ubuntu whoopsie 10140 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-confounding.py.1000.crash
-rw------- 1 ubuntu whoopsie 10046 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-difficult.py.1000.crash
-rw------- 1 ubuntu whoopsie 10198 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-dragon.py.1000.crash
-rw------- 1 ubuntu whoopsie 10230 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-easy.py.1000.crash
-rw------- 1 ubuntu whoopsie 10116 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-master.py.1000.crash
-rw------- 1 ubuntu whoopsie 10077 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-pyramid.py.1000.crash
-rw------- 1 ubuntu whoopsie 10129 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-tictactoe.py.1000.crash
-rw------- 1 ubuntu whoopsie 10124 Nov 16 03:25 _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-ziggurat.py.1000.crash
ubuntu@nexus7-265143b8:/var/crash$ vi _usr_share_accomplishments_scripts_ubuntu-desktop_gaming_mahjongg-ziggurat.py.1000.crash

One example (they're all the same):
Traceback:
 Traceback (most recent call last):
   File "/usr/share/accomplishments/scripts/ubuntu-desktop/gaming/mahjongg-ziggurat.py", line 4, in <module>
     fileSize = os.path.getsize(filePath)
   File "/usr/lib/python2.7/genericpath.py", line 49, in getsize
     return os.stat(filename).st_size
 OSError: [Errno 2] No such file or directory: '/var/games/mahjongg.ziggurat.scores'

Related branches

Matt Fischer (mfisch)
Changed in ubuntu-desktop-accomplishments:
assignee: nobody → Matt Fischer (mfisch)
Changed in ubuntu-nexus7:
assignee: nobody → Matt Fischer (mfisch)
Changed in ubuntu-desktop-accomplishments:
status: Triaged → In Progress
Matt Fischer (mfisch)
Changed in ubuntu-desktop-accomplishments:
status: In Progress → Fix Committed
Changed in ubuntu-nexus7:
status: New → Fix Committed
importance: Undecided → Wishlist
importance: Wishlist → Low
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.