[kpat] [Bug 438779] Kpat golf game quits when near end of game

2023-02-28 Thread Stephan Kulow
https://bugs.kde.org/show_bug.cgi?id=438779

Stephan Kulow  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #18 from Stephan Kulow  ---
The backtrace does not give enough informations, but let's assume this is fixed
in later revisions of the solver

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-22 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #17 from Brian Kaye  ---
The package libblack-hole-solver1l 1.10.1-2.fc34  is installed on my system but
the package black-hole-solver is not.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-21 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #16 from Brian Kaye  ---
The game is simple. Most games cannot be won. All you do is play cards from the
draw pile and make sequences up or down regardless of suit. be careful for the
boundary cards (kings and aces).

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-21 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438779

Albert Astals Cid  changed:

   What|Removed |Added

 CC||shlo...@shlomifish.org

--- Comment #15 from Albert Astals Cid  ---
ok, at least that makes sense :)

I still can't reproduce the crash but i don't know how to play Gold so that
isn't really surprising.

Adding Shlomi let's see if he has an idea of what may be wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-21 Thread Rex Dieter
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #14 from Rex Dieter  ---
I can confirm kpat is build with black-hole-solver support, from build.log in
question:

...
-- Checking for module 'libblack-hole-solver'
--   Found libblack-hole-solver, version 1.10.1
...

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-20 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #13 from Brian Kaye  ---
If you run strings against /usr/bin/kpat

you see 

black_hole_solver_create
black_hole_solver_enable_rank_reachability_prune
black_hole_solver_enable_wrap_ranks
black_hole_solver_enable_place_queens_on_kings
black_hole_solver_config_setup
black_hole_solver_read_board
black_hole_solver_setup
black_hole_solver_set_max_iters_limit
black_hole_solver_run
black_hole_solver_init_solution_moves
black_hole_solver_get_next_move
black_hole_solver_free

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438779

Albert Astals Cid  changed:

   What|Removed |Added

 CC||ngomp...@gmail.com,
   ||rdie...@gmail.com
 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #12 from Albert Astals Cid  ---
Rex, Neal, can you confirm if fedora kpat pacakges are built with
black-hole-solver or not?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438779

Albert Astals Cid  changed:

   What|Removed |Added

   Platform|RedHat RPMs |Fedora RPMs

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-20 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #11 from Brian Kaye  ---
I  am running Fedora Core 34. Everything up to date for the most part. I run an
old version of Firefox( and an up to date one), and an up to date Waterfox. My
machine is a Lenovo P50 laptop with 48G of memory, a 4K screen, a 512G Samsung
SSD and a 512K hard drive.

Using grub2 I multi-boot Fedora with Windows 10, gparted, Kubuntu, and Lenovo
Diagnostics which I use rarely. I upgrade from one version of Fedora to another
using dnf system-upgrade. The kde packages are up to date as far as the fedora
Red Hat distribution is concerned.

Where does that error message come from since I do not have the
black-hole-solver installed?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #10 from Albert Astals Cid  ---
Ok.

Could you please give some more info about your setup?

You mention redhat rpms but i don't think RHEL ships KDE packages anymore, or
does it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-20 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #9 from Brian Kaye  ---
"flatpak list" gives null output as root or normal user.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #8 from Albert Astals Cid  ---
> I do not remember ever installing the black-hole-solver either with flatpak 
> or dnf.

I meant you may have installed kpat with flatpak?

Can you confirm kpat is or is not listed in the output of 
$ flatpak list
?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-19 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #7 from Brian Kaye  ---
I do see that error message when I run from the application menu. It shows up
in the system journal as per the initial post. In the case of running from the
application menu the error occurs after the first time I run golf. When run
from a terminal it fails after the second. 

I do not remember ever installing the black-hole-solver either with flatpak or
dnf.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-19 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #6 from Albert Astals Cid  ---
> The black-hole-solver is not installed on my system. It is available 
> (black-hole-solver.x86_64  1.10.1-2.fc34). So the solver I am using must be 
> built in. 

That's not possible, that "Error reading the board at line" only happens when
using the black-hole-solver.

Would it be possible that you have multiple kpat installed? i.e distribution vs
flatpak? that would maybe explain why you see the error happening when
launching from one place and not from the other?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-19 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #5 from Brian Kaye  ---
The black-hole-solver is not installed on my system. It is available
(black-hole-solver.x86_64  1.10.1-2.fc34). So the solver I am using must be
built in.  Ran from the command line again. First game worked second game
number 1661658864 failed. Got the error message "Error reading the board at
line No. 2!". This message occurs with every failure. I did a number of undos
during this game.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-19 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #4 from Albert Astals Cid  ---
> Can't tell game number after kpat quits. Its not just the game that quits, 
> its all of kpat.

I understand that, but you can check the game number before?

> How do I tell which version of the solver being used?

You'll have to ask your distribution for that, in my distribution it's 
$ pacman -Q black-hole-solver 
black-hole-solver 1.10.1-1

I don't think starting from command line or not should matter, what's happening
is that the solver gets confused and explodes, so it's really related to the
game number + moves you've made

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-18 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #3 from Brian Kaye  ---
Tried starting kpat from a Konsole session and running golf game. Played 5 or 6
games winning some. No failure. Then tried starting from the Application Menu
and the first game I tried quit as per the bug description. The command that
gets run is "kpat -qwindowtitle %c %u". Tried running without the
"-qwindowtitle". No change. Tried running in terminal from the Application
Menu. It still failed.

Tried adding "--gametype golf" to the Application Menu and it did NOT fail the
one time I tried it.

Tried without "--gametype golf" and ran golf as the first game from the
Application Menu and it did NOT fail. But when I tried a second game of golf it
DID fail.

More confusing still

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-18 Thread Brian Kaye
https://bugs.kde.org/show_bug.cgi?id=438779

--- Comment #2 from Brian Kaye  ---
Can't tell game number after kpat quits. Its not just the game that quits, its
all of kpat.

How do I tell which version of the solver being used? There is no obvious
add-on. I have tried once without the solver and it still happened. Maybe it
comes in kf5-kcoreaddons.x86_64  version  5.82.0

Another error message when kpat is started:

kf.coreaddons: "2365-1307-background" is too large to be cached.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kpat] [Bug 438779] Kpat golf game quits when near end of game

2021-06-17 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=438779

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 CC||aa...@kde.org
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Albert Astals Cid  ---
Which black-hole-solver version are you using?

Could you give us a game number when this happens?

-- 
You are receiving this mail because:
You are watching all bug changes.