gnome-hearts failure

Bug #123623 reported by John Yates
36
Affects Status Importance Assigned to Milestone
gnome-hearts
Invalid
High
gnome-hearts (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gnome-hearts

               gnome-hearts

** ERROR **: file hearts.c: line 859 (load_card_styles): assertion failed: (directory != NULL)
aborting...
Trace/breakpoint trap (core dumped)

reverting to gnome-cards-data_2.19.2-0ubuntu1_all.deb fixes problem

Revision history for this message
Tristan Cragnolini (tri-cragno) wrote :

 Thanks for taking the time to report this bug and helping to make Ubuntu better. However, your crash report is missing. Could you please add the crash report that you received? It will be found in '/var/crash/', with a name like : "_usr_bin_gnome-hearts.1000.crash". This will allow us to better troubleshoot your bug. Thanks in advance.

Changed in gnome-hearts:
assignee: nobody → tri-cragno
status: New → Incomplete
Revision history for this message
Tristan Cragnolini (tri-cragno) wrote :

ok i can confirm this bug, i will fill a bug report upstream.

Changed in gnome-hearts:
status: Incomplete → Confirmed
Revision history for this message
Tristan Cragnolini (tri-cragno) wrote :
Changed in hearts:
status: Unknown → Confirmed
Revision history for this message
Tristan Cragnolini (tri-cragno) wrote :

The comment from the person in charge of this bug upstream:
"This is not a bug in gnome-hearts but a bug in the Ubuntu patches. The
assertion fails because /usr/share/gnome-games-common/cards/ cannot be opened."

Revision history for this message
Sander Marechal (s-marechal) wrote :

I'll elaborate a bit. gnome-hearts upstream carries it's own cards graphics in /usr/share/pixmaps/gnome-hearts/cards/. For debian this was changed. gnome-games-data was split in gnome-games-data and gnome-cards-data and gnome-hearts depends on gnome-cards-data. These cards are located in /usr/share/pixmaps/gnome-games-common/cards/. The 01_gnome-cards-data.patch in debian's gnome-hearts changes the standard path to look in there.

Your problem is that Ubuntu's gnome-cards-data is borked. It doesn't contain any cards. I believe this is caused because Ubuntu packages GNOME themselves instead of taking Debian's packages. There are two possible fixes:

* Reassign this bug to gnome-games and fix your gnome-cards-data package. This is annoying because you package gnome's gnome-games and not debian's gnome-games.

or

* Don't use debian's gnome-hearts but package gnome-hearts directly from upstream (from me at www.jejik.com) and make sure that you drop all patches that are in the Debian package. I have suggested this before on previous bugs and it's the best solution IMHO. Debian's gnome-hearts works with Debian's GNOME. If you don't use Debian's GNOME then don't use Debian's gnome-hearts.

Changed in hearts:
status: Confirmed → Invalid
Changed in gnome-hearts:
assignee: tri-cragno → nobody
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Nigel Cundy (nigel-cundy) wrote :

A simple (but inelegant) workaround is to create a symbolic link to the right place

cd /usr/share/pixmaps/
sudo ln -s ../gnome-games-common/ .

Revision history for this message
Rafaël Carré (funman-videolan) wrote :

the cards are in gnome-games-common/cards not in pixmaps/gnome-games-common/cards

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

gnome-hearts (0.2-1ubuntu1) hardy; urgency=low

  * Merge from debian unstable, remaining changes:
    - Dropped ubuntu patch, fixed upstream
    - Dropped 01_gnome_cards_data.patch, as we take our gnome from upstream,
      not from debian. (LP: #123623)

gnome-hearts (0.2-1) unstable; urgency=low

  [ Sander Marechal ]
  * New upstream release. Closes: #425670, #420861.
    - Big rewrite of the C code
    - Uses Python instead of Lua for AI scripts
    - Many bugfixes and translation updates
  * Dependency on Lua replaced with Python
  * Recreated 01_gnome_cards_data.patch for the new upstream source

  [ Josselin Mouette ]
  * 02_fix_pythondir.patch: install the private python modules in a
    private directory.
  * Call dh_pysupport; build-depend on python-support 0.4.
  * Don't hardcode the 2.4 version of python.
  * 03_shared_link.patch: link to python dynamically.
  * 01_gnome_cards_data.patch:
    + Fix the path to the cards in gnome-cards-data.
    + Don't remove the picture, it's useless to do it in the patch.

gnome-hearts (0.1.3-4) unstable; urgency=low

  * 01_gnome_cards_data.patch: use the new path for cards.
  * Depend on gnome-cards-data 2.20.

 -- Sarah Hobbs <email address hidden> Thu, 01 Nov 2007 18:42:02 +1100

Changed in gnome-hearts:
status: Triaged → Fix Released
Changed in hearts:
importance: Unknown → High
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

Bug attachments

Remote bug watches

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