Sudoku Programmers Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in          Games  Calendar

Log in to check your private messagesLog in to check your private messages   

How do I report a bug in Simple Sudoku?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving sudoku
View previous topic :: View next topic  
Author Message
SLK001

Joined: 06 Nov 2006
Posts: 12
:

Items
PostPosted: Tue Nov 07, 2006 7:09 pm    Post subject: How do I report a bug in Simple Sudoku? Reply with quote

I have encountered a bug in Angus Johnson's Simple Sudoku program. It is even in the latest version. I don't know where to post the bug.

I have a screenshot of the error (~100k) that clearly shows the error, but I don't have an image hosting site.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Tue Nov 07, 2006 9:34 pm    Post subject: Re: How do I report a bug in Simple Sudoku? Reply with quote

SLK001 wrote:
I have encountered a bug in Angus Johnson's Simple Sudoku program. It is even in the latest version. I don't know where to post the bug.

You can contact me by clicking the "pm" button (for private messages) below this post.

Quote:
I have a screenshot of the error (~100k) that clearly shows the error, but I don't have an image hosting site.

http://tinypic.com/
Back to top
View user's profile Send private message Visit poster's website
SLK001

Joined: 06 Nov 2006
Posts: 12
:

Items
PostPosted: Thu Nov 09, 2006 2:40 pm    Post subject: Reply with quote

If this link is successful, here's a picture of the bug in action. This is a screenshot taken immediately after trying to exclude the number "8" from column 4, row 1. After failing the exclusion of the "8", the number "8" was selected as the proper value for that square. This also resulted in an INVALID MOVE. So, you have the situation where a square is neither "NOT-AN-8" nor is it an "8", which is an impossible situation.

http://server6.theimagehosting.com/image.php?img=BAD_LOGIC.jpg
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Thu Nov 09, 2006 9:12 pm    Post subject: Reply with quote

SLK001 wrote:
If this link is successful, here's a picture of the bug in action.


OK, you'll also need you to copy from Simple Sudoku and paste here (ie text format) the starting grid.
Back to top
View user's profile Send private message Visit poster's website
SLK001

Joined: 06 Nov 2006
Posts: 12
:

Items
PostPosted: Thu Nov 16, 2006 4:04 pm    Post subject: Reply with quote

I've managed to capture another "incident".

A picture of the error is here:

http://server6.theimagehosting.com/image.php?img=ERROR.915.jpg

The solution to the puzzle is here:

http://server6.theimagehosting.com/image.php?img=SOLUTION.cd8.jpg


The starting puzzle is here:

http://server6.theimagehosting.com/image.php?img=INITIAL.jpg
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Thu Nov 16, 2006 10:06 pm    Post subject: Reply with quote

SLK001 wrote:
A picture of the error is here:

What were you trying to do, remove a candidate or assign a value to a cell? It's not clear from the image.
Back to top
View user's profile Send private message Visit poster's website
SLK001

Joined: 06 Nov 2006
Posts: 12
:

Items
PostPosted: Fri Nov 17, 2006 2:58 pm    Post subject: Reply with quote

For this one, I tried to remove a "2" from that cell. Once the "INVALID MOVE" disappeared from the screen, I tried to assign the value of "2" to that cell. This also gave an "INVALID MOVE".
Back to top
View user's profile Send private message
daj95376

Joined: 05 Feb 2006
Posts: 349
:

Items
PostPosted: Fri Nov 17, 2006 6:31 pm    Post subject: Reply with quote

I hope it's okay for me to join in on this thread. If not, then ignore my comments.

1) The SOLUTION image you posted shows a <6> as the solution for that cell. So, you should not be surprised that you received an error message when you tried to set it to <2>.

2) Your Blue-Green coloring is incorrect, but that should not affected your removing <2> from the cell. When I recreated your situation and tried removing the <2>, all went okay.

3) There are times when I choose select when I meant to choose remove ... and visa-versa. There are also times when the mouse moves past my choice and I end up choosing the wrong item in the list. Is it possible that either of these might have happened to you?

Bottom Line: I could not recreate your problem.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Fri Nov 17, 2006 10:08 pm    Post subject: Reply with quote

I also can't recreate this problem. However, I'm not suggesting there isn't one, because evidently for you at least there is.

I guess we need to know the steps you took up to the point you encountered this issue. Have you saved the puzzle at this point? If so, please post here the contents of the saved file (it's in text format so it'll be easy to copy and paste here).
Back to top
View user's profile Send private message Visit poster's website
SLK001

Joined: 06 Nov 2006
Posts: 12
:

Items
PostPosted: Mon Nov 20, 2006 4:10 pm    Post subject: Reply with quote

daj95376 wrote:

1) The SOLUTION image you posted shows a <6> as the solution for that cell. So, you should not be surprised that you received an error message when you tried to set it to <2>.


Yes, I know, but if I receive an INVALID MOVE trying to remove the "2", then logic says that the cell IS a "2". However, in this case, both were false (an invalid condidtion).

daj95376 wrote:

3) There are times when I choose select when I meant to choose remove ... and visa-versa. There are also times when the mouse moves past my choice and I end up choosing the wrong item in the list. Is it possible that either of these might have happened to you?


This is what I first thought was happening. However, using ALT "2", or using the RIGHT BUTTON menu popup and selecting "EXCLUDE 2", or using EDIT > EXCLUDE CANDIDATES > EXCLUDE 2 all resulting in an INVALID MOVE.

I have been capturing my games using CAMSTUDIO to try to show the entire path to the error. Unfortunately, with CAMSTUDIO running behind the game, the error will not surface (without CS running, the error is quite common). Can the code be somewhat hardware dependent? I have an true Intel P4 and I am running W2kPRO.

I'll try to gather more data.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Mon Nov 20, 2006 9:38 pm    Post subject: Reply with quote

SLK001 wrote:
I have been capturing my games using CAMSTUDIO to try to show the entire path to the error.


You don't need to do that. Just save the puzzle at the point you run into this problem and Simple Sudoku will save all the steps you've taken up to that point too. Then all you need to do is copy and paste the contents of the saved *.ss file (open it with notepad.exe) into a reply here.
Back to top
View user's profile Send private message Visit poster's website
SLK001

Joined: 06 Nov 2006
Posts: 12
:

Items
PostPosted: Mon Dec 04, 2006 2:05 pm    Post subject: Reply with quote

A new error:

http://server6.theimagehosting.com/image.php?img=NEW_ERROR.jpg

The puzzle:

Code:
 *-----------*
 |..3|.1.|75.|
 |...|...|.3.|
 |7..|342|.9.|
 |---+---+---|
 |.18|5..|...|
 |.3.|...|.1.|
 |...|..3|28.|
 |---+---+---|
 |.9.|451|..6|
 |.2.|...|...|
 |.56|.9.|3..|
 *-----------*

I481
I567
I608
I612
I543
I752
I673
I353
I145
I205
I346
I467
I447
I801
E71004
E69004
I268
E09008
E00008
I496
I196
I241
I156
I366
E00004
E09004
E11004
E53004
E38004
E27004
I474
I651
I091
I455
I425
I715
I539
I699
I334
I414
Back to top
View user's profile Send private message
daj95376

Joined: 05 Feb 2006
Posts: 349
:

Items
PostPosted: Mon Dec 04, 2006 5:06 pm    Post subject: Reply with quote

Code:
 *-----------*
 |..3|.1.|75.|
 |...|...|.3.|
 |7..|342|.9.|
 |---+---+---|
 |.18|5..|...|
 |.3.|...|.1.|
 |...|..3|28.|
 |---+---+---|
 |.9.|451|..6|
 |.2.|...|...|
 |.56|.9.|3..|
 *-----------*

# your moves plus ...
E03009
 
 *--------------------------------------------------*
 | 29   48   3    | 68   1    689  | 7    5    24   |
 | 1    48   29   | 789  78   5    | 6    3    24   |
 | 7    6    5    | 3    4    2    | 1    9    8    |
 |----------------+----------------+----------------|
 | 29   1    8    | 5    27   79   | 4    6    3    |
 | 6    3    29   | 89   28   4    | 5    1    7    |
 | 5    7    4    | 1    6    3    | 2    8    9    |
 |----------------+----------------+----------------|
 | 3    9    7    | 4    5    1    | 8    2    6    |
 | 48   2    1    | 678  3    678  | 9    47   5    |
 | 48   5    6    | 2    9    78   | 3    47   1    |
 *--------------------------------------------------*

No problem removing the <9> with my version of the solver.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Mon Dec 04, 2006 9:54 pm    Post subject: Reply with quote

daj95376 wrote:
No problem removing the <9> with my version of the solver.

Likewise, I have no problem removing the 9. All I can suggest is you download another copy of the program and reinstall it.

http://www.angusj.com/sudoku

Also, and completely unrelated to your problem - I'm curious about some of your solving logic. Eg What was the logic behind assigning 1 in the bottom right corner?
Back to top
View user's profile Send private message Visit poster's website
SLK001

Joined: 06 Nov 2006
Posts: 12
:

Items
PostPosted: Mon Dec 04, 2006 10:46 pm    Post subject: Reply with quote

I've done that. Both the current version (as of last month) and the previous (?) version exhibit this. This error seems to be dependent on the order that the colors are "put down". In the past, when I have received this error (and knowing that the "INVALID MOVE" was really not invalid), I just reversed the colors. In otherwords, I replaced the "blues" with "greens" and vice versa. This allowed the number to be removed.

For this particular "error", all I did was clear the colors, go to the "1"s, then hit Alt-9 over that cell.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving sudoku All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Sudoku Programmers topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron