[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    Re: Catastrophic failure in KSudoku
From:       Ian Wadham <iandw.au () gmail ! com>
Date:       2019-03-19 3:52:48
Message-ID: 43D0B737-1ED8-40A0-AEE8-5C90CB6CC3AC () gmail ! com
[Download RAW message or body]



> On 19 Mar 2019, at 2:24 pm, Jeremy Whiting <jpwhiting@kde.org> wrote:
> 
> I'll see what I can figure out. no problem. Albert are you building with \
> kdesrc-build ? or manually? I'm using kdesrc-build buliding into /usr/local. Until \
> this morning libkdegames didn't build because I was missing libsndfile, after \
> adding that I'm seeing the same failure described by Duncan in the bug. I'll debug \
> it tomorrow and see what's causing it.

The variants that fail are all those whose rules are defined by XML files in \
ksudoku/src/shapes — and only those variants. The failure point in KSudoku appears \
to be exactly where it calls the loadCustomShape method in the sudoku::Serializer \
code. See details in  https://bugs.kde.org/show_bug.cgi?id=405422#c3

My guess is that some newer version of XML parsing libraries dislikes KSudoku's XML \
files or possibly that some changed XML version or DOCTYPE has got into the act.

Ian W.

> BR,
> Jeremy
> 
> On Mon, Mar 18, 2019 at 4:52 PM Albert Astals Cid <aacid@kde.org> wrote:
> El dilluns, 18 de març de 2019, a les 20:44:06 CET, Jeremy Whiting va escriure:
> > Yep, same thing happens here. Aztec -> Generate A Puzzle shows a dialog box
> > that says "
> > 
> > Unable to generate a puzzle of the chosen variant; please try another."
> > with a build I just did.
> 
> Weird, works just fine for me.
> 
> Jeremy guess it's on you to debug it :/
> 
> Cheers,
> Albert
> 
> > 
> > 
> > BR,
> > 
> > Jeremy
> > 
> > On Thu, Mar 14, 2019 at 9:24 PM Ian Wadham <iandw.au@gmail.com> wrote:
> > 
> > > It appears that KSudoku is failing catastrophically. Only the most vanilla
> > > puzzle types can be selected
> > > (i.e.  Classic Sudoku nxn and Roxdoku nxnxn). All others fail to create
> > > their data-structures from XML
> > > files and so fail to generate a puzzle and display it (e.g. XSudoku,
> > > Killer Sudoku, Aztec, Samurai
> > > and many more).
> > > 
> > > For more details, please see https://bugs.kde.org/show_bug.cgi?id=405422,
> > > especially comment #3.
> > > 
> > > This was reported by Duncan, who builds KF5 and apps from live-git and has
> > > just noticed the problem
> > > appearing in the last week or two --- more recently than any changes in
> > > the KSudoku source.
> > > 
> > > Please can someone who has access to builds and executables of the latest
> > > development (HEAD)
> > > KSudoku code check if they can reproduce this error? You just need to run
> > > KSudoku, select Aztec
> > > puzzle-type (for example) and click on "Generate A Puzzle".
> > > 
> > > Thanks in advance,
> > > Ian Wadham.
> > > 
> > > 
> > 
> 
> 
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic