maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Auto-Complete Editor (https://talk.maemo.org/showthread.php?t=55884)

maddler 2010-06-11 23:34

Re: [ANNOUNCE] Auto-Complete Editor
 
1 Attachment(s)
Ok, at last I was able to make the app start. Not it just complains about the file not being in any known format, but it the correctly shows content.

File attached. Just le me know if you need anything else.

Laughing Man 2010-06-12 01:17

Re: [ANNOUNCE] Auto-Complete Editor
 
Same issue as maddler, though I only got to it because I went ahead despite the warning message about the file not being in any known format. Which then resulted in the python error maddler had. Deleting it resulted in the same issue. Let me know if you want mine too.

youngcalihottie 2010-06-12 01:33

Re: [ANNOUNCE] Auto-Complete Editor
 
it seemed to work great on first use. but then i noticed it didnt really delete all the stuff i deleted. so i tried to go back to the app and then got all the same errors as everyone else. maybe upon deleting its not properly recalculating the number of entries remain? i think i saw somewhere that you said the number is stored. i used ctrl to delete many at a time. maybe it only reduced the number by 1 when i hit delete?

edit:
also when i was done deleting stuff, i hit save and nothing seemed to happen. i figured it just happened quickly since its just text. but maybe it didnt really save? because all my wrong words still existed even after rebooting first then typing text. i hit save many times since nothing seemed to happen. could that have messed up the word count? it would be nice to get a maemo note 'Auto Complete Dictionary Saved' or something like that.

oh another thing... when scrolling down the list, it would keep highlighing words above the point where i let go of the sreen to stop scrolling. it was annoying. i had to basically do one page of words at a time because of this.

thanks for the app it will be so useful once you get things worked out. i didnt even realize all the misspellings i had!!!!!

Rob1n 2010-06-12 16:01

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by maddler (Post 711450)
Ok, at last I was able to make the app start. Not it just complains about the file not being in any known format, but it the correctly shows content.

File attached. Just le me know if you need anything else.

Many thanks for that. Looks like you've got a 3F instead of 03 in the header - I wonder what that signifies :confused:

The rest of it looks the same as mine though, so I guess I'll just make note of the value and write it back out when saving (in case it's important somehow).

Rob1n 2010-06-12 16:03

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by Laughing Man (Post 711519)
Same issue as maddler, though I only got to it because I went ahead despite the warning message about the file not being in any known format. Which then resulted in the python error maddler had. Deleting it resulted in the same issue. Let me know if you want mine too.

If you could do, yes please - the more examples I have, the better the chance of actually figuring out what the format is.

qwerty12 2010-06-12 16:05

Re: [ANNOUNCE] Auto-Complete Editor
 
I don't know if you know this, apologies if you do, but it seems like there's a limit imposed by HIM on how many words can be stored:
Quote:

Originally Posted by syslog
Jun 12 11:50:23 Nokia-N900 hildon-input-method[1373]: GLIB MESSAGE default - Adding of word failed, enlarging Personal dictionary
Jun 12 11:50:23 Nokia-N900 hildon-input-method[1373]: GLIB WARNING ** default - The dictionary limit reached ... aborting


Rob1n 2010-06-12 16:19

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by youngcalihottie (Post 711529)
it seemed to work great on first use. but then i noticed it didnt really delete all the stuff i deleted. so i tried to go back to the app and then got all the same errors as everyone else. maybe upon deleting its not properly recalculating the number of entries remain? i think i saw somewhere that you said the number is stored. i used ctrl to delete many at a time. maybe it only reduced the number by 1 when i hit delete?

No, it does a count of the entries at the end, so there's no risk of that being the issue. Can you send me a copy of the file that's giving you the errors?

Quote:

Originally Posted by youngcalihottie (Post 711529)
also when i was done deleting stuff, i hit save and nothing seemed to happen. i figured it just happened quickly since its just text. but maybe it didnt really save? because all my wrong words still existed even after rebooting first then typing text. i hit save many times since nothing seemed to happen. could that have messed up the word count? it would be nice to get a maemo note 'Auto Complete Dictionary Saved' or something like that.

I'll look into adding that - thanks for the suggestion.

Quote:

Originally Posted by youngcalihottie (Post 711529)
oh another thing... when scrolling down the list, it would keep highlighing words above the point where i let go of the sreen to stop scrolling. it was annoying. i had to basically do one page of words at a time because of this.

That must be a problem with the multi-select functionality - I'll have a look at whether there's anything I can do to tweak that.

Rob1n 2010-06-12 16:24

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by qwerty12 (Post 712100)
I don't know if you know this, apologies if you do, but it seems like there's a limit imposed by HIM on how many words can be stored:

I knew there must be a limit - there's only 2 bytes for the number of entries, so logically there's a 65k limit on entries. If I'm right about the one byte for the file size, then there's also a 64k limit on the that (hmm - perhaps there's only 2 bytes for the padding offset then - there doesn't seem a lot of point in having 3 bytes if the maximum will fit in 2).

I'll have a play around with generating a very large dictionary and see whether I can hit the upper limits (and whether they help tell me anything about the format).

andrew_85 2010-06-12 16:32

Re: [ANNOUNCE] Auto-Complete Editor
 
i also got an error

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 17, in <module>
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 157, in loadData
self._dict = ACEFile()
File "/opt/AutoCompleteEditor/ACE_file.py", line 34, in __init__
self.read()
File "/opt/AutoCompleteEditor/ACE_file.py", line 139,

what should i do??

Rob1n 2010-06-12 17:19

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by andrew_85 (Post 712144)
i also got an error

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 17, in <module>
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 157, in loadData
self._dict = ACEFile()
File "/opt/AutoCompleteEditor/ACE_file.py", line 34, in __init__
self.read()
File "/opt/AutoCompleteEditor/ACE_file.py", line 139,

what should i do??

Please see this message for how to generate a clean dictionary file. If you can then attach it to a message here, I'll take a look at why it's failing.


All times are GMT. The time now is 07:00.

vBulletin® Version 3.8.8