Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Gnome Hearts will not Open
sctvguy1
 Posted: Nov 14 2014, 06:04 AM
Quote Post


SLF Member
***

Group: Members
Posts: 59
Member No.: 2601
Joined: 8-July 13









I downloaded the gnome hearts from Fedora 12 repo, and it installed well. When I tried to open it, it started to open then closed immediately. I do not know the reason for this. It installed without any problems, but then it did not want to open. The version is 0.3.4

--------------------
"What do you mean there's no movie?"
PMEmail PosterUsers WebsiteAOL
^
helikaon
 Posted: Nov 14 2014, 09:13 AM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









QUOTE (sctvguy1 @ Nov 14 2014, 06:04 AM)
I downloaded the gnome hearts from Fedora 12 repo, and it installed well.  When I tried to open it, it started to open then closed immediately.  I do not know the reason for this.  It installed without any problems, but then it did not want to open.  The version is 0.3.4


Hi there fellow gamer! :]
i'm not sure about the reason of the problem, as the prob. descr. is a generic one.

What i'd do:
- try to run the binary directly from CLI and see what output is written to the terminal after it crashes and inspect the errors

- also, what you can do is to download *src.rpm (source package) from fedora sources and recompile it on your machine using 'rpmbuild' command

cheers,

--------------------
PMEmail Poster
^
joka
 Posted: Nov 14 2014, 06:24 PM
Quote Post


SLF Geek
****

Group: Members
Posts: 172
Member No.: 107
Joined: 28-April 11









I had built a gnome-hearts RPM for SL/CentOS 6 last year - though I don't support in my repos:

You can download/install it from here:

http://www.jokasrepo.de/el6/archive/x86_64/repoview/gnome-hearts.html

or for 32-bit: http://www.jokasrepo.de/el6/archive/i386/repoview/gnome-hearts.html

It should have no dependencies to other 3rd party repos. So you can install it by following the link.
On SL 6.5 with GNOME desktop, I have no problems with opening it.



PM
^
sctvguy1
 Posted: Nov 15 2014, 06:47 PM
Quote Post


SLF Member
***

Group: Members
Posts: 59
Member No.: 2601
Joined: 8-July 13









QUOTE (joka @ Nov 14 2014, 12:24 PM)
I had built a gnome-hearts RPM for SL/CentOS 6 last year - though I don't support in my repos:

You can download/install it from here:

http://www.jokasrepo.de/el6/archive/x86_64/repoview/gnome-hearts.html

or for 32-bit: http://www.jokasrepo.de/el6/archive/i386/repoview/gnome-hearts.html

It should have no dependencies to other 3rd party repos. So you can install it by following the link.
On SL 6.5 with GNOME desktop, I have no problems with opening it.


joka,
I am still trying to open hearts, but when I try from the command line, I get this message:

[sctvguy1@localhost ~]$ gnome-hearts
**
ERROR:preimage.c:51:preimage_new_from_file: code should not be reached
**Error**: Couldn't recognize the image file format for file '/usr/share/pixmaps/gnome-hearts/cards/dondorf.svg'Aborted

It tries to open, then closes right away. I do not know how to fix this.

--------------------
"What do you mean there's no movie?"
PMEmail PosterUsers WebsiteAOL
^
helikaon
 Posted: Nov 15 2014, 10:10 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









Hi,
i think, that to make sure it will run, you can try to rebuild the src package from eg. fedora 18.

I did it, it is fast and it runs just fine.

1. i downloaded src.rpm (you might download from diff. mirror)
src.rpm gnome-hearts fc18

2. saved to ~/Downloads and ran:
CODE

rpmbuild --rebuild gnome-hearts-0.3-11.fc18.src.rpm


3. had to install for dependencies (rpmbuild erred without it):
CODE

yum install python-devel intltool


4. then install package
CODE

yum localinstall /home/lang/rpmbuild/RPMS/x86_64/gnome-hearts-0.3-11.el6.x86_64.rpm


done
Note:
- point 1 and 2 do as regular user, 3 and 4 as root.
- also you might need to install more deps then me - you will see, the 'rpmbuild' command will tell you what it needs..
- oh, uninstall nonfunctional gnome-hearts rpm prior installing the rebuilt one

cheers,

This post has been edited by helikaon: Nov 15 2014, 10:12 PM

--------------------
PMEmail Poster
^
sctvguy1
 Posted: Nov 16 2014, 03:31 AM
Quote Post


SLF Member
***

Group: Members
Posts: 59
Member No.: 2601
Joined: 8-July 13









QUOTE (helikaon @ Nov 15 2014, 04:10 PM)
Hi,
i think, that to make sure it will run, you can try to rebuild the src package from eg. fedora 18.

I did it, it is fast and it runs just fine.

1. i downloaded src.rpm (you might download from diff. mirror)
src.rpm gnome-hearts fc18

2. saved to ~/Downloads and ran:
CODE

rpmbuild --rebuild gnome-hearts-0.3-11.fc18.src.rpm


3. had to install for dependencies (rpmbuild erred without it):
CODE

yum install python-devel intltool


4. then install package
CODE

yum localinstall /home/lang/rpmbuild/RPMS/x86_64/gnome-hearts-0.3-11.el6.x86_64.rpm


done
Note:
- point 1 and 2 do as regular user, 3 and 4 as root. 
- also you might need to install more deps then me  - you will see, the 'rpmbuild' command will tell you what it needs..
- oh, uninstall nonfunctional gnome-hearts rpm prior installing the rebuilt one

cheers,




helikaon,
I did everything that you asked. I am getting the same results as before. I tried running it from the CL and got the exact same message I had before:

ERROR:preimage.c:51:preimage_new_from_file: code should not be reached
**Error**: Couldn't recognize the image file format for file '/usr/share/pixmaps/gnome-hearts/cards/dondorf.svg'Aborted

I do not know what the heck to do? I had hearts running once before on 6.5, the same file! Now, nothing!

--------------------
"What do you mean there's no movie?"
PMEmail PosterUsers WebsiteAOL
^
helikaon
 Posted: Nov 16 2014, 10:59 AM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









Hi,
so it is something your OS installation lack (while mine got it) and the gnome-hearts is not checking it's dep upon install.

I stumbled on one forum mention of "librsvg" that is needed in correlation with your error.

I checked my OS:
CODE

[root@orionis install_ruzne]# yum --enablerepo=* list all | grep -i librsvg
librsvg2.x86_64                        2.26.0-14.el6            @sl-security
librsvg2.i686                          2.26.0-14.el6            sl-security
librsvg2-debuginfo.i686                2.26.0-14.el6            sl-debuginfo
librsvg2-debuginfo.x86_64              2.26.0-14.el6            sl-debuginfo
librsvg2-devel.i686                    2.26.0-14.el6            sl-security
librsvg2-devel.x86_64                  2.26.0-14.el6            sl-security


and you can see i have it installed ("librsvg2.x86_64") from sl-security repo.
Can you check / install (if not having it)?

cheers,

--------------------
PMEmail Poster
^
joka
 Posted: Nov 16 2014, 01:19 PM
Quote Post


SLF Geek
****

Group: Members
Posts: 172
Member No.: 107
Joined: 28-April 11









My version of gnome-hearts has also survived the update from SL 6.5 to 6.6.
i had built it in a mock environment. So the dependencies should be safe.
Therefore I assume something went wrong during your update to SL 6.6.

librsvg is not linked to gnome-hearts.
Try the command:
CODE
ldd /usr/bin/gnome-hearts


and compare it with my result:

http://justpaste.it/i0cs

PM
^
helikaon
 Posted: Nov 18 2014, 11:25 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









Any result on this?
I'm curious ... smile.gif

--------------------
PMEmail Poster
^
sctvguy1
 Posted: Nov 26 2014, 08:13 AM
Quote Post


SLF Member
***

Group: Members
Posts: 59
Member No.: 2601
Joined: 8-July 13









QUOTE (helikaon @ Nov 15 2014, 04:10 PM)
Hi,
i think, that to make sure it will run, you can try to rebuild the src package from eg. fedora 18.

I did it, it is fast and it runs just fine.

1. i downloaded src.rpm (you might download from diff. mirror)
src.rpm gnome-hearts fc18

2. saved to ~/Downloads and ran:
CODE

rpmbuild --rebuild gnome-hearts-0.3-11.fc18.src.rpm


3. had to install for dependencies (rpmbuild erred without it):
CODE

yum install python-devel intltool


4. then install package
CODE

yum localinstall /home/lang/rpmbuild/RPMS/x86_64/gnome-hearts-0.3-11.el6.x86_64.rpm


done
Note:
- point 1 and 2 do as regular user, 3 and 4 as root. 
- also you might need to install more deps then me  - you will see, the 'rpmbuild' command will tell you what it needs..
- oh, uninstall nonfunctional gnome-hearts rpm prior installing the rebuilt one

cheers,



I followed your lead, had to to the 32bit route, however, and now I have hearts installed! Thanks!

--------------------
"What do you mean there's no movie?"
PMEmail PosterUsers WebsiteAOL
^
sctvguy1
 Posted: Nov 26 2014, 08:15 AM
Quote Post


SLF Member
***

Group: Members
Posts: 59
Member No.: 2601
Joined: 8-July 13









Thanks to helikaon and his scripts and help, I finally got hearts installed. I did, however, have to change it for 32bit instead of 64.
Again, thanks for helping with, what some people, would call trivial stuff!

--------------------
"What do you mean there's no movie?"
PMEmail PosterUsers WebsiteAOL
^
helikaon
 Posted: Nov 26 2014, 08:59 AM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









QUOTE (sctvguy1 @ Nov 26 2014, 08:13 AM)
I followed your lead, had to to the 32bit route, however, and now I have hearts installed!  Thanks!


Hi there!
i'm glad you got it done, it's always pleasure to see a fellow linux (happy) gamer :]

cheers! :]

--------------------
PMEmail Poster
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll