Notices


Reply
Thread Tools
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#31
I've just uploaded version 0.0.3 to the autobuilder, so it should be in extras-devel shortly. The changes are:
  • Information popup when the file has been saved.
  • Uses multi-selection instead of extended selection (just tap to select each additional value, no using ctrl or shift)

Additionally, there's now an extra byte read from the header (and written out when the file is saved). This should fix the loading error several people have had (and thanks to those who've sent me a copy of their dictionary files). I've still no idea what this byte signifies - it's obviously not static but as nothing else is different, it also doesn't seem too important.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#32
I still have the same error with the new version or do I have to reboot after the installation?

Last edited by DaSilva; 2010-06-12 at 21:16.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#33
Originally Posted by DaSilva View Post
I still have the same error with the new version or do I have to reboot after the installation?
Thanks for sending me your file. Unfortunately it's in a totally different format Would it be possible for you to follow the instructions here and send me copies of the dictionary file after adding 1, 2, and 3 terms? I really need some extra data to figure out where the key fields are in this format.
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#34
I could do that but I thought that it would be more useful to send you a "real" file.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#35
Originally Posted by DaSilva View Post
I could do that but I thought that it would be more useful to send you a "real" file.
It is, yes, but I now need several files with different numbers of terms, so I can see where the changes are happening. As I said, your file is in an entirely different format (with a 32-byte header instead of the normal 16-byte header), so it's not just a case of reading in an extra byte or two (which is all that I've needed to do to get the other files working).
 
Posts: 39 | Thanked: 12 times | Joined on Feb 2010 @ Russia, Moscow
#36
Hi,
after installation I got this error:

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 17, in <module>
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 165, in loadData
self._dict = ACEFile()
File "/opt/AutoCompleteEditor/ACE_file.py", line 39, in __init__
self.read()
File "/opt/AutoCompleteEditor/ACE_file.py", line 149, in read
raise ACEFileReadException('Entry count mismatch')
ACEFileReadException: 'Error reading dictionary: Entry count mismatch'

After I moved my .personal.dictionary and typed a few words in Notes app. the application started OK but it doesn't display cyrillics in the right encoding, so I couldn't tell one Russian word from another.
I attached the newly created file just in case. Let me know if the original file could be of use.
personal.dictionary.gz
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#37
Originally Posted by Oleg View Post
Hi,
after installation I got this error:

Traceback (most recent call last):
File "/opt/AutoCompleteEditor/AutoCompleteEditor.py", line 17, in <module>
w.loadData()
File "/opt/AutoCompleteEditor/ACE_gui.py", line 165, in loadData
self._dict = ACEFile()
File "/opt/AutoCompleteEditor/ACE_file.py", line 39, in __init__
self.read()
File "/opt/AutoCompleteEditor/ACE_file.py", line 149, in read
raise ACEFileReadException('Entry count mismatch')
ACEFileReadException: 'Error reading dictionary: Entry count mismatch'

After I moved my .personal.dictionary and typed a few words in Notes app. the application started OK but it doesn't display cyrillics in the right encoding, so I couldn't tell one Russian word from another.
I attached the newly created file just in case. Let me know if the original file could be of use.
Attachment 11050
Thanks for that. The format looks standard at least, so I just need to look at how to decode the data into cyrillic. I'm not sure why your original one came up with the mismatch error though - perhaps you could post that as well & I'll have a look. It may be I need to relax some of the checks.
 
Tomaszd's Avatar
Posts: 284 | Thanked: 498 times | Joined on Jun 2009 @ Poland
#38
Please use XB-Maemo-Display-Name field in debian/control to beautify the name (e.g. Auto-Complete Editor). I had a surprisingly hard time finding this app after reading its name in the thread title.
__________________
Do you like Extra Decoders Support? Consider donating to support the project.
 

The Following User Says Thank You to Tomaszd For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#39
Originally Posted by Tomaszd View Post
Please use XB-Maemo-Display-Name field in debian/control to beautify the name (e.g. Auto-Complete Editor). I had a surprisingly hard time finding this app after reading its name in the thread title.
Sorry, I've been using py2deb, which seems to be missing any way to set this field. I'll switch to editing the debian files directly in future.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#40
Woohoo! I've had a bit of a breakthrough

The dictionary file can actually hold multiple dictionaries (if you change the dictionary used in Settings). That explains some of the differing file formats I've been sent.

This is going to mean a fair bit of reorganisation/redesign needed, and I still need to figure out how to decode the dictionary language ID to a language name (and text codec).
 

The Following 3 Users Say Thank You to Rob1n For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:06.