GSchuemann / Hearts-snap

MIT License
1 stars 0 forks source link

Crashes immediatly on start, due to conflicting font configs (Manjarao and probably Fedora) #1

Open MiguelH815 opened 4 years ago

MiguelH815 commented 4 years ago

Just downloaded Hearts from snap repository ( QT hearts on MX linux- where it worked perfectly) and it doesn't open at all. In my limited experience this usually means some part is missing. Thanx for any help- I like your version better than the old Gnome Hearts.

Michael Hennessey

GSchuemann commented 4 years ago

When you run 'hearts' in the command line, which output do you get? I also only packaged this application original dev is Reascator7.

MiguelH815 commented 4 years ago

I don't use the terminal commonly to open apts and don't know the commands in Linux, I tried apt open and open apt but these aren't valid commands. I only know a few like list and cd and sudo.

MiguelH815 commented 4 years ago

I know it is lame, but with XCFE, Mate and KDE- I didn't need the command like I did when you needed it for graphics cards on Ubuntu. I am 72 now and rambling.

GSchuemann commented 4 years ago

Press Ctrl+Alt+T and type hearts, press ENTER. Then copy and paste the output that you get here. I need that to know, what the issue is.

MiguelH815 commented 4 years ago

Command line basically says command not found

MiguelH815 commented 4 years ago

Trying to find command line on line. NO luck yet - Arch doesnot seem to have the documentation available in Ubuntu- tried manual and online sources for arch but no luck yet!

GSchuemann commented 4 years ago

Ummm, if it says command not found that basically means it is not installed, can you paste the output of snap info hearts here?

I also believe that you mess some things up. There aren't really distribution specific commands, except for the package management. Ubuntu uses apt, and manjara uses pacman. You can find documentation for pacman by either googling it or typing man pacman into a command line. However none of this matters, since this uses snap. Which is available on both systems. And you can read the Ubuntu documentation for that, if you want to, it should apply to Manjaro. However please don't try commands randomly without any idea what you are doing, you can break your system, by doing that,

MiguelH815 commented 4 years ago

George I am sorry, I am an idiot - I removed hearts when it didn't open. Here is the output of the commands:

hearts Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed Fontconfig warning: FcPattern object weight does not accept value [40 210) Segmentation fault (core dumped)

On 9/14/20 7:00 AM, Miguel wrote:

name: hearts summary: The classic hearts card game. Orignally written by https://github.com/Rescator7 publisher: bsr (bsr-software) store-url: https://snapcraft.io/hearts contact: https://github.com/GeorgScheumann/Hearts-snap/issues license: unset description: | The classic hearts card game. Orignally written by https://github.com/Rescator7 snap-id: gfDjn7STGr3rNGdAZvZzrEjq6QzQvKdq channels: latest/stable: 1.5.3 2020-08-10 (2) 69MB - latest/candidate: ↑
latest/beta: 1.5.3 2020-08-05 (2) 69MB - latest/edge: 1.5.3 2020-08-05 (1) 69MB devmode

On 9/14/20 10:58 AM, GeorgScheumann wrote:

Ummm, if it says command not found that basically means it is not installed, can you paste the output of snap info hearts here?

I also believe that you mess some things up. There aren't really distribution specific commands, except for the package management. Ubuntu uses apt, and manjara uses packman. You can find documentation for pacman by either googling it or typing man pacman into a command line. However none of this matters, since this uses snap. Which is available on both systems. And you can read the Ubuntu documentation for that, if you want to, it should apply to Manjaro. However please don't try commands randomly without any idea what you are doing, you can break your system, by doing that,

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

GSchuemann commented 4 years ago

You can try to clean your fontconfig with:

sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -r

And then try to start it again.

MiguelH815 commented 4 years ago

I can't copy the command because I get a box that says using sudo may be dangerous and then the terminal goes away. I've tried restarting and that doesn't help. When I type it in I get: [miguel@miguel-ms7c35 ~]$ sudo rm /var/cache/fontconfig/ rm ~/.cache/fontconfig/ fc-cache -r [sudo] password for miguel: rm: cannot remove '/var/cache/fontconfig/*': No such file or directory rm: cannot remove 'rm': No such file or directory rm: cannot remove 'fc-cache': No such file or directory

GSchuemann commented 4 years ago

Sorry I guess, I should have made it more clear that these are actually 3 commands. Anyway you executed command 1 & 2 by luck, so you just need to run fc-cache -r and then see if hearts runs after that.

GSchuemann commented 4 years ago

@MiguelH815 was that able to fix the issue?

I am leaving this open, till it gets fixed in the snap project, further information on this issue see here.

GSchuemann commented 3 years ago

I released a new version of the snap, you can try to update with sudo snap refresh hearts and see if the issue still persists.