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)

Rob1n 2010-11-29 19:06

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by xxxxts (Post 885700)
I get this error before crashing (PR 1.3);

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 45, in _cmd_run_gui
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 429, in loadData
langName = self._getLangName(langId)
AttributeError: 'NoneType' object has no attribute 'lower'

I really miss this - how do I get it working again???

I've just uploaded a new version which should fix this error. It suggests that your dictionary is using an unrecognised language though, so I think you'll still get an error message - this one should provide the necessary information for me to add in the new language data though.

Aranel 2010-11-29 22:19

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by Rob1n (Post 726041)
Can you try running it from X Terminal (python /opt/AutoCompleteEditor/AutoCompleteEditor.py) and see whether it gives any useful error messages? I'll have a look at adding multi-language support (I did have a brief look recently but the obvious methods weren't working), but I don't know why it wouldn't just display in English.

Oops, sorry I forgot this thread entirely. Here's the error output, on latest version:

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 17, in <module>
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 321, in loadData
self._dict = ACEFile()
ValueError: unknown locale: tr_CY

Rob1n 2010-11-29 22:52

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by Aranel (Post 885858)
Oops, sorry I forgot this thread entirely. Here's the error output, on latest version:

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 17, in <module>
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 321, in loadData
self._dict = ACEFile()
ValueError: unknown locale: tr_CY

Are you sure that's the latest version? The line numbers and function names are way off from the current version. Anyway, it looks like you're using an unrecognised locale - that's presumably Turkish/Cyprus? I guess it should fall back to the base language (Turkish) in that case - I'll put up a new version tomorrow to fix this one.

xxxxts 2010-11-30 00:00

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by Rob1n (Post 885726)
I've just uploaded a new version which should fix this error. It suggests that your dictionary is using an unrecognised language though, so I think you'll still get an error message - this one should provide the necessary information for me to add in the new language data though.

I have upgraded and now I get this error:

Code:

An unknown dictionary ID has been found.
Please contact
        Robin Hill <maemo@robinhill.me.uk>
with:
        - the ID: 13357
        - the dictionary language you have selected (from Settings/Text input)

I purchased my N900 in NYC from the flagship store and I am using US English, I do not have any other languages installed to the best of my knowledge.

Rob1n 2010-11-30 09:28

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by xxxxts (Post 885908)
I have upgraded and now I get this error:

Code:

An unknown dictionary ID has been found.
Please contact
        Robin Hill <maemo@robinhill.me.uk>
with:
        - the ID: 13357
        - the dictionary language you have selected (from Settings/Text input)

I purchased my N900 in NYC from the flagship store and I am using US English, I do not have any other languages installed to the best of my knowledge.

I can certainly add that ID, but it seems a little odd that a new ID should suddenly be used for US English. Can you try following the instructions here and see whether you still get the same error with a new dictionary? If so, I'll add the new ID, otherwise it looks like your dictionary file is corrupt somehow. Even with the above error, it should show you the list of dictionary terms - do these look okay?

Rob1n 2010-11-30 09:45

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by Rob1n (Post 885883)
Are you sure that's the latest version? The line numbers and function names are way off from the current version. Anyway, it looks like you're using an unrecognised locale - that's presumably Turkish/Cyprus? I guess it should fall back to the base language (Turkish) in that case - I'll put up a new version tomorrow to fix this one.

Version 0.0.15 uploaded now, which should fix this issue.

xxxxts 2010-11-30 11:05

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by Rob1n (Post 886082)
I can certainly add that ID, but it seems a little odd that a new ID should suddenly be used for US English. Can you try following the instructions here and see whether you still get the same error with a new dictionary? If so, I'll add the new ID, otherwise it looks like your dictionary file is corrupt somehow. Even with the above error, it should show you the list of dictionary terms - do these look okay?

I think I fixed it by deleting my dictionary file and just typing in some misspelled words into Notes and exiting, then it created a new dictionary file and all is working just fine now.

xperto 2010-11-30 19:20

Re: [ANNOUNCE] Auto-Complete Editor
 
i just updated. but as before after the app loads i cant see anywords..

xperto 2010-11-30 19:36

Re: [ANNOUNCE] Auto-Complete Editor
 
it say
An unknown dictionary ID has been found.
Please contact
Robin Hill <maemo@robinhill.me.uk>
with:
-the ID: 1121
-the dictionary language you habe selected (from Setting/Text input)

anyhelp?

Rob1n 2010-11-30 21:19

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by xperto (Post 886440)
it say
An unknown dictionary ID has been found.
Please contact
Robin Hill <maemo@robinhill.me.uk>
with:
-the ID: 1121
-the dictionary language you habe selected (from Setting/Text input)

anyhelp?

Can you try following the instructions here to create a clean dictionary and check whether you still get the same error. If so, let me know what dictionary language you have selected (from Setting/Text input) and I'll add it into a new version.

qole 2010-12-03 03:33

Re: [ANNOUNCE] Auto-Complete Editor
 
Thank you, Rob1n, for this great app. It is so nice to clean out the dozens of misspellings and, er, "bad words" that had accumulated in my autocomplete dictionary.

nubsis 2010-12-03 06:48

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by xperto (Post 886440)
it say
An unknown dictionary ID has been found.
Please contact
Robin Hill <maemo@robinhill.me.uk>
with:
-the ID: 1121
-the dictionary language you habe selected (from Setting/Text input)

anyhelp?

Quote:

Originally Posted by Rob1n (Post 886486)
Can you try following the instructions here to create a clean dictionary and check whether you still get the same error. If so, let me know what dictionary language you have selected (from Setting/Text input) and I'll add it into a new version.

Just a thought, couldn't you get the dictionary used in the message error message you generate in the same way you get the ID?

Rob1n 2010-12-03 08:48

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by nubsis (Post 888140)
Just a thought, couldn't you get the dictionary used in the message error message you generate in the same way you get the ID?

The ID is stored in the personal dictionary file, whereas the dictionary language is set on a system-wide basis. I guess I could look to see whether there's any way to get the system to report the dictionary language though.

EDIT: Oh, and the dictionary language corresponding to the ID may not even be the current one - the dictionary file can hold multiple language dictionaries.

Palmin 2010-12-04 21:21

Re: [ANNOUNCE] Auto-Complete Editor
 
hi eweryone. I used most of my evning trying to solv this. program does not start. it comes up with error "list index out of range". Installed and uninstalled. apt-get cleaned, apt-get autoremoved. delete the folder that still was there !?! in OPT folder. installed agein. "list index out of range". How can I fix this?

Palmin 2010-12-04 21:25

Re: [ANNOUNCE] Auto-Complete Editor
 
This is the full error msg..

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 45, in _cmd_run_gui
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 420, in loadData
self._dict = ACEFile()
IndexError: list index out of range

jurop88 2010-12-05 05:01

Re: [ANNOUNCE] Auto-Complete Editor
 
same error for me here

ivgalvez 2010-12-05 09:21

Re: [ANNOUNCE] Auto-Complete Editor
 
I also have the same error. It was working until last update.

Rob1n 2010-12-05 14:02

Re: [ANNOUNCE] Auto-Complete Editor
 
Thanks - my fault, there's a typo in the last update. I've just uploaded a new version, so it should be available shortly.

Aranel 2010-12-21 23:28

Re: [ANNOUNCE] Auto-Complete Editor
 
Got the latest version from Extras Devel:

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 45, in _cmd_run_gui
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 420, in loadData
self._dict = ACEFile()
ValueError: unknown locale: tr_CY


Still doesnt work for me.

Rob1n 2010-12-22 09:02

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by Aranel (Post 901705)
Got the latest version from Extras Devel:

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 45, in _cmd_run_gui
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 420, in loadData
self._dict = ACEFile()
ValueError: unknown locale: tr_CY


Still doesnt work for me.

My apologies - I'd forgotten to change the name used in a function call when I renamed the function. I've just uploaded a new version now.

arvind 2010-12-22 09:25

Re: [ANNOUNCE] Auto-Complete Editor
 
hi
Abso fantastic program. How do I delete misspelled words of virtual keyboard?

Rob1n 2010-12-22 09:47

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by arvind (Post 901900)
hi
Abso fantastic program. How do I delete misspelled words of virtual keyboard?

Do they not show up in the editor? If not, then I'll have to have a play around with the virtual keyboard and see where it's storing things.

arvind 2010-12-22 09:57

Re: [ANNOUNCE] Auto-Complete Editor
 
virtual keyboard and physical keyboard words, when using with MicroB; Are not shown in the editor; i.e. when i type via virtual/physical keyboard for google or other sites.
when I type a google querry, misspelled words keeps appearing. I guess N900 Auto complete stores words in diff folders for diff programs !

Rob1n 2010-12-22 11:03

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by arvind (Post 901926)
virtual keyboard and physical keyboard words, when using with MicroB; Are not shown in the editor; i.e. when i type via virtual/physical keyboard for google or other sites.
when I type a google querry, misspelled words keeps appearing. I guess N900 Auto complete stores words in diff folders for diff programs !

Is this just in microB? I'm pretty sure that's using the standard Firefox auto-completion rather than the OS version. As far as I've been able to tell, all apps using the Maemo auto-completion use the same dictionary.

arvind 2010-12-22 13:35

Re: [ANNOUNCE] Auto-Complete Editor
 
I just deleted all the words in both dictionaries i.e. Eng (UK, USA) and reboot my device, now old misspelled words do not appear. Thanks :)

lsolano 2011-01-03 04:23

Re: [ANNOUNCE] Auto-Complete Editor
 
Thanks for developing this app, very useful !

arvind 2011-01-15 23:08

Re: [ANNOUNCE] Auto-Complete Editor
 
Hmm.. Again I started having same prob of misspelled word keep appearing usng both virtual/physical keyboards in all applications.
1. Firstly, I deleted ALL the words from both the activated dictionaries (Eng UK & US)
2. I saved the dictionaries. I thought this way it will stop the appearance of misspelled words. But I was wrong, now it seems those misspelled words does not show in Auto Complete program for me to delete them; yet they appear while typing it out. :(
Any solution? Thanks in advance.

Rob1n 2011-01-16 11:08

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by arvind (Post 921201)
Hmm.. Again I started having same prob of misspelled word keep appearing usng both virtual/physical keyboards in all applications.
1. Firstly, I deleted ALL the words from both the activated dictionaries (Eng UK & US)
2. I saved the dictionaries. I thought this way it will stop the appearance of misspelled words. But I was wrong, now it seems those misspelled words does not show in Auto Complete program for me to delete them; yet they appear while typing it out. :(
Any solution? Thanks in advance.

Is Auto Complete Editor still showing the dictionaries as empty? The only thing I can suggest to try is removing the dictionary history file:
Code:

rm /home/user/.osso/dictionaries/.used.dictionary
killall hildon-input-method

That file hasn't been used for auto-completion in my testing though (I think it's just used for prioritising which words to suggest).

arvind 2011-01-16 20:52

Re: [ANNOUNCE] Auto-Complete Editor
 
Quote:

Originally Posted by Rob1n (Post 921446)
Is Auto Complete Editor still showing the dictionaries as empty? The only thing I can suggest to try is removing the dictionary history file:
Code:

rm /home/user/.osso/dictionaries/.used.dictionary
killall hildon-input-method

That file hasn't been used for auto-completion in my testing though (I think it's just used for prioritising which words to suggest).

Wow ! You are a genius :)
I used filebox to delete the .used dictionary file and I rebooted the phone and Voila, all the misspelled words vanished.
Thanks bro :)

xxxxts 2011-09-18 15:53

Re: [ANNOUNCE] Auto-Complete Editor
 
Auto complete Editor seems to be broken for me... :( Help.

nicolai 2011-09-18 18:51

Re: [ANNOUNCE] Auto-Complete Editor
 
It is working for me. What does not work?
And have you tried to start it from within xterm?


All times are GMT. The time now is 08:18.

vBulletin® Version 3.8.8