LittleLui / Krosswords

A Crosswords Game for the Kindle Touch
5 stars 2 forks source link

program gives error #1

Open yahalom opened 12 years ago

yahalom commented 12 years ago

I followed the installation procedure, copied the latest keystore to its place and restart but still I get an error from kindle: "the item you attempted to open is incompatible with this kindle". my kindle is jail broken version 5.1.

LittleLui commented 12 years ago

Sorry for the inconvenience, Krosswords hasn't yet been updated to be compatible with Kindle 5.1. I'll notify you when I get around to doing so.

yahalom commented 12 years ago

No Worries

Whatever you do is appreciated. One cannot complain about gifts :-)

Thanks and keep hacking

Yahalom

-----Original Message----- From: LittleLui [mailto:reply@reply.github.com] Sent: Friday, June 08, 2012 11:15 PM To: yahalom Subject: Re: [Krosswords] program gives error (#1)

Sorry for the inconvenience, Krosswords hasn't yet been updated to be compatible with Kindle 5.1. I'll notify you when I get around to doing so.


Reply to this email directly or view it on GitHub: https://github.com/LittleLui/Krosswords/issues/1#issuecomment-6208842

LittleLui commented 12 years ago

I've updated the software, download from here. Regards, LittleLui

yahalom commented 12 years ago

Thanks for the update. I still get the same error.

Yahalom

-----Original Message----- From: LittleLui [mailto:reply@reply.github.com] Sent: Sunday, June 10, 2012 8:26 PM To: yahalom Subject: Re: [Krosswords] program gives error (#1)

I've updated the software, download from here. Regards, LittleLui


Reply to this email directly or view it on GitHub: https://github.com/LittleLui/Krosswords/issues/1#issuecomment-6228885

LittleLui commented 12 years ago

Weird, works on mine (also jailbroken 5.1). Are you sure you got the right file, maybe you could try re-downloading once more? If that doesn't help I'll have to try to find out what went wrong (however I won't get around to that for a few days due to a business trip).

yahalom commented 12 years ago

I downloaded again, removed the previous krosswords and restarted. Then I copied the new download and restarted. Still same error. I did copy the developer key as suggested. Anyway I can debug it with xterm or other tool?

Have a successful business trip.

Yahalom

-----Original Message----- From: LittleLui [mailto:reply@reply.github.com] Sent: Monday, June 11, 2012 5:38 PM To: yahalom Subject: Re: [Krosswords] program gives error (#1)

Weird, works on mine (also jailbroken 5.1). Are you sure you got the right file, maybe you could try re-downloading once more? If that doesn't help I'll have to try to find out what went wrong (however I won't get around to that for a few days due to a business trip).


Reply to this email directly or view it on GitHub: https://github.com/LittleLui/Krosswords/issues/1#issuecomment-6242679

LittleLui commented 12 years ago

Hi again, sorry for the long delay. Could you send me the output written to /var/log/messages on the kindle while you try to launch? Most convenient way to capture this seems to be: ssh to the kindle, tail -f /var/log/messages, then hit enter a few times to separate old from new and launch the app on the kindle itself. Once the error message is on the kindle screen, ctrl-c to kill off the tail and then just copy/paste out of the xterm.

Also, what is the md5sum of the installed azw2? md5sum is available on the kindle itself, so most reliable way is probably to run it there.

yahalom commented 12 years ago

Welcome back

I did not set ssh access on my kindle so I used the launch xtrem.

I send you the full messages log. I run krosswords and upon failure I launched the xterm and copied the log.

The md5sum is: 2f72ceb005a69746e43e1dbc3c47e28f documents/krosswords.azw2

Thanks for your time

Yahalom

-----Original Message----- From: LittleLui [mailto:reply@reply.github.com] Sent: Wednesday, July 11, 2012 2:32 AM To: yahalom Subject: Re: [Krosswords] program gives error (#1)

Hi again, sorry for the long delay. Could you send me the output written to /var/log/messages on the kindle while you try to launch? Most convenient way to capture this seems to be: ssh to the kindle, tail -f /var/log/messages, then hit enter a few times to separate old from new and launch the app on the kindle itself. Once the error message is on the kindle screen, ctrl-c to kill off the tail and then just copy/paste out of the xterm.

Also, what is the md5sum of the installed azw2? md5sum is available on the kindle itself, so most reliable way is probably to run it there.


Reply to this email directly or view it on GitHub: https://github.com/LittleLui/Krosswords/issues/1#issuecomment-6889180

LittleLui commented 12 years ago

Okay, the md5sum is definitely for the older version. Please re-download from https://github.com/downloads/LittleLui/Krosswords/krosswords-5.1.azw2, md5sum should be cee4cffb742462b46f226b1529f60a2a.

yahalom commented 12 years ago

Ooooops.. now it works. I have no idea how this happened as I am sure I uploaded the latest version..........

Sorry...

I download few puzzles and tried to work with them but the gui does not responds well. I am unable to open the keyboard. The maximum I managed is for the keyboard to appear for half a second and then disappear. Am I missing something?

Is there a possibility to add other puzzle sources (if they exist)?

thanks for your help.

Yahalom

-----Original Message----- From: LittleLui [mailto:reply@reply.github.com] Sent: Wednesday, July 11, 2012 2:17 PM To: yahalom Subject: Re: [Krosswords] program gives error (#1)

Okay, the md5sum is definitely for the older version. Please re-download from https://github.com/downloads/LittleLui/Krosswords/krosswords-5.1.azw2, md5sum should be cee4cffb742462b46f226b1529f60a2a.


Reply to this email directly or view it on GitHub: https://github.com/LittleLui/Krosswords/issues/1#issuecomment-6901177

LittleLui commented 12 years ago

The lack of responsivenss is weird. If a puzzle is open, it should react nicely to touching letter-spaces on the playing board, swiping on the playing board (to allow selecting a word-space on the playing board when touching the first letter would be ambiguous), touching a hint and swiping in the hints (to switch between pages of hints).

But in good IT tradition, before we do any more diagnosis work: could you restart your kindle and see if the problem persists? :)

Currently only two puzzle sources are available, they can be chosen in the settings (which should have appeared automatically on first start and are reachable via the menu). If you know a particular source that you want added, just make a new issue for it and I'll look into it.

yahalom commented 12 years ago

Indeed restart fixed it. Funny how all IT machines have the same habits.

If I have a nice puzzle source I will let you know. I was thinking of something easier for kids as the kindle is mostly used by my son.

Thanks

Yahalom

-----Original Message----- From: LittleLui [mailto:reply@reply.github.com] Sent: Wednesday, July 11, 2012 2:59 PM To: yahalom Subject: Re: [Krosswords] program gives error (#1)

The lack of responsivenss is weird. If a puzzle is open, it should react nicely to touching letter-spaces on the playing board, swiping on the playing board (to allow selecting a word-space on the playing board when touching the first letter would be ambiguous), touching a hint and swiping in the hints (to switch between pages of hints).

But in good IT tradition, before we do any more diagnosis work: could you restart your kindle and see if the problem persists? :)

Currently only two puzzle sources are available, they can be chosen in the settings (which should have appeared automatically on first start and are reachable via the menu). If you know a particular source that you want added, just make a new issue for it and I'll look into it.


Reply to this email directly or view it on GitHub: https://github.com/LittleLui/Krosswords/issues/1#issuecomment-6901973

yahalom commented 12 years ago

Hi

I was looking around for crosswords sources but I was not clear how the API works. What is the type of crossword source you need in order for it to work?

I also saw that think.com has crosswords for kids so this source can be easily integrated (I think).

Thanks

Yahalom

-----Original Message----- From: LittleLui [mailto:reply@reply.github.com] Sent: Wednesday, July 11, 2012 2:59 PM To: yahalom Subject: Re: [Krosswords] program gives error (#1)

The lack of responsivenss is weird. If a puzzle is open, it should react nicely to touching letter-spaces on the playing board, swiping on the playing board (to allow selecting a word-space on the playing board when touching the first letter would be ambiguous), touching a hint and swiping in the hints (to switch between pages of hints).

But in good IT tradition, before we do any more diagnosis work: could you restart your kindle and see if the problem persists? :)

Currently only two puzzle sources are available, they can be chosen in the settings (which should have appeared automatically on first start and are reachable via the menu). If you know a particular source that you want added, just make a new issue for it and I'll look into it.


Reply to this email directly or view it on GitHub: https://github.com/LittleLui/Krosswords/issues/1#issuecomment-6901973

LittleLui commented 12 years ago

There's really no special needs - there needs to be a way to get at the crossword field and the hints, and optionally the solution, preferrably via HTTP. The one from think.com that I integrated used some relatively standard format (PUZ), so anything using that format should be relatively straightforward. The derstandard.at however only had the fields as images, so I wrote a little image analysis algorithm for that. So feel free to suggest, I'll certainly have a look. Worst case might be that I ask for a little bribe to acutally implement it. ;)

If you want to have a go yourself, you're of course more than welcome. You'd need to implement the Fetcher interface. Fetching is a two-step process, where at first FetchAvailablePuzzleIds is called and only catalog entries (PuzzleListEntry) have to be returned (so just an ID and a title, really. No actual puzzle data yet). Thus, the catalog can be quickly populated with data. The actual fetching and parsing of the puzzle data has to happen in the fetchPuzzle (and, if your source provides solutions) fetchSolution methods, which will be called for each puzzle separately.

For the actual data format that the puzzles need to be parsed into, have a look at the Puzzle class. You really just instantiate it with the dimensions and then add all the words one after another.

yahalom commented 12 years ago

Hi

There are few puz format puzzles on the web. I saw http://www.macnamarasband.com/dlpuz.html and a multi pointer like http://www.fleetingimage.com/wij/xyzzy/nyt-links.html and http://www.crosswordfiend.com/blog/download/ Non puz format like http://www.xwordapp.com/puzzles/

Maybe the best was to be able to have the possibility to load any puz you like by giving the puz url or allow to load puz files to a specific folder in the /mnt/us folder so the crossword can load them. Just ideas, nothing that I will bribe for :-)

As for programming it myself, well I avoided java for so many years so starting now when I am ending my programming career would be a shame ;-)

Thanks for the goodwill

Yahalom

-----Original Message----- From: LittleLui [mailto:reply@reply.github.com] Sent: Sunday, July 15, 2012 4:05 AM To: yahalom Subject: Re: [Krosswords] program gives error (#1)

There's really no special needs - there needs to be a way to get at the crossword field and the hints, and optionally the solution, preferrably via HTTP. The one from think.com that I integrated used some relatively standard format (PUZ), so anything using that format should be relatively straightforward. The derstandard.at however only had the fields as images, so I wrote a little image analysis algorithm for that. So feel free to suggest, I'll certainly have a look. Worst case might be that I ask for a little bribe to acutally implement it. ;)

If you want to have a go yourself, you're of course more than welcome. You'd need to implement the Fetcher interface. Fetching is a two-step process, where at first FetchAvailablePuzzleIds is called and only catalog entries (PuzzleListEntry) have to be returned (so just an ID and a title, really. No actual puzzle data yet). Thus, the catalog can be quickly populated with data. The actual fetching and parsing of the puzzle data has to happen in the fetchPuzzle (and, if your source provides solutions) fetchSolution methods, which will be called for each puzzle separately.

For the actual data format that the puzzles need to be parsed into, have a look at the Puzzle class. You really just instantiate it with the dimensions and then add all the words one after another.


Reply to this email directly or view it on GitHub: https://github.com/LittleLui/Krosswords/issues/1#issuecomment-6987217