Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2020, 03:01 PM   #31
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Regard_39 View Post
Okay, you got me back on track.
Unfortunately, I'm getting an error message.

I thought the Allow searches on Extra dictionaries: yes line (kobopatch.yaml) would do the trick...
That's a warning, not an error. It will show even if you already have the patch installed.
geek1011 is offline   Reply With Quote
Old 03-15-2020, 03:03 PM   #32
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 731
Karma: 7000000
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
Quote:
Originally Posted by geek1011 View Post
Can you enable the `sync` category for logging in developer options, install the dictionary, perform a sync, and send me the log files (specifically the part about the dictionary sync command)? It should contain a line like "dicthtml... marked as read-only.. skipping".

Also, after running dictutil, see if the read-only checkbox is set in the file properties.
You answerd so soon

Now I will do it, thank'you.
ps67 is offline   Reply With Quote
Old 03-15-2020, 03:25 PM   #33
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 731
Karma: 7000000
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
In the file dictionary the read-only checkbox was set.
Now I have again the standard dictionary, there is an enourmous file called "syslog-2020.03.15-20.12.10" in the .kobo directory but I cant find anything about skipping synchronization dictionaries in there.

Sorry if I post the complete file but I don't know what I should do otherwise.
Attached Files
File Type: txt syslog.txt (403.2 KB, 197 views)

Last edited by ps67; 03-15-2020 at 07:05 PM.
ps67 is offline   Reply With Quote
Old 03-15-2020, 05:18 PM   #34
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Any chance you could edit that message and attach the log as a file, rather than inline?

That message causes Tapatalk to crash.
PeterT is offline   Reply With Quote
Old 03-15-2020, 07:06 PM   #35
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 731
Karma: 7000000
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
Quote:
Originally Posted by PeterT View Post
Any chance you could edit that message and attach the log as a file, rather than inline?

That message causes Tapatalk to crash.
Done, sorry.
ps67 is offline   Reply With Quote
Old 03-15-2020, 07:53 PM   #36
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by ps67 View Post
Done, sorry.
Not to worry. Thanks
PeterT is offline   Reply With Quote
Old 03-16-2020, 10:03 AM   #37
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by ps67 View Post
In the file dictionary the read-only checkbox was set.
Now I have again the standard dictionary, there is an enourmous file called "syslog-2020.03.15-20.12.10" in the .kobo directory but I cant find anything about skipping synchronization dictionaries in there.

Sorry if I post the complete file but I don't know what I should do otherwise.
I can't seem to find anything useful in that log either.

Semwize, would it be possible for you to try overriding a dictionary on Windows and see if you can reproduce this issue?
geek1011 is offline   Reply With Quote
Old 03-16-2020, 05:13 PM   #38
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 731
Karma: 7000000
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
Another failed proof and another (useless?) syslog. I tried using powershell and downloading again the file but, of course nothing.

But IMHO the issue is not in dictutil but in the fact that in my Kobo the read-only flag has no effect. Of course You are more experienced, but I think so because it did not work even the manual read-only flagging both with Linux and Windows10.

Or may be the file? I downloaded from here https://www.mobileread.com/forums/sh...d.php?t=196931
and the dictionary is the Italian dictionary. Or may be the Aura One firmware? I am on the last firmware.

Thank You again.

Ok we aren't still in 2022...
Attached Files
File Type: txt syslog-16-mar-2022.txt (495.0 KB, 179 views)

Last edited by ps67; 03-16-2020 at 05:20 PM.
ps67 is offline   Reply With Quote
Old 03-18-2020, 09:46 AM   #39
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
Can somebody explain me, what happened with dictionary on latest firmware.
All my dictionary's was lost the desciption and now I see onli prefix, like tu, ru, es.
Does any way to back dictionary name, like En_Biology.

P.S. thanks of dictutil, it allow install dict by macos. Without it impossible to change file permission on external drive.
Vetchy is offline   Reply With Quote
Old 03-18-2020, 11:24 AM   #40
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by Vetchy View Post
Can somebody explain me, what happened with dictionary on latest firmware.
The long description for each dictionary was stored in the "Dictionary" table within the Kobo database. From fw 4.20.xxxxx this table is no longer used so, unfortunately, no long description.
jackie_w is offline   Reply With Quote
Old 03-18-2020, 06:03 PM   #41
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
For anyone having issues with read-only overridden dictionaries being overwritten, use this temporary patch for now (4.20.14622):

Code:
Never sync dictionaries:
- Enabled: no
- ReplaceBytes: {Offset: 0x6108B0, FindH: 0CD5, ReplaceH: 0CE0} #permissions
- ReplaceBytesNOP: {Offset: 0x61089A, FindH: FFF68DAE} #size
- ReplaceBytesNOP: {Offset: 0x610878, FindH: 3FF49EAE} #isSynced
And a multi-version one (4.20.14601+) (kobopatch v0.15.0+):
Code:
Never sync dictionaries:
- Enabled: no
- BaseAddress:  {Sym: "SyncDictionariesCommand::prepareDownloadList()"}
- ReplaceBytes: {Offset: 1048, FindH: 0CD5,     ReplaceH: 0CE0}         #permissions
- ReplaceBytes: {Offset: 1026, FindH: FFF68DAE, ReplaceInstNOP: true}   #size
- ReplaceBytes: {Offset:  992, FindH: 3FF49EAE, ReplaceInstNOP: true}   #isSynced
I think I've almost figured out why this is happening.

Thanks to Alanon for helping to debug this!
geek1011 is offline   Reply With Quote
Old 03-19-2020, 08:24 AM   #42
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 731
Karma: 7000000
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
Quote:
Originally Posted by geek1011 View Post
For anyone having issues with read-only overridden dictionaries being overwritten, use this temporary patch for now (4.20.14622):

Code:
Never sync dictionaries:
- Enabled: no
- ReplaceBytes: {Offset: 0x6108B0, FindH: 0CD5, ReplaceH: 0CE0} #permissions
- ReplaceBytesNOP: {Offset: 0x61089A, FindH: FFF68DAE} #size
- ReplaceBytesNOP: {Offset: 0x610878, FindH: 3FF49EAE} #isSynced
And a multi-version one (4.20.14601+) (kobopatch v0.15.0+):
Code:
Never sync dictionaries:
- Enabled: no
- BaseAddress:  {Sym: "SyncDictionariesCommand::prepareDownloadList()"}
- ReplaceBytes: {Offset: 1048, FindH: 0CD5,     ReplaceH: 0CE0}         #permissions
- ReplaceBytes: {Offset: 1026, FindH: FFF68DAE, ReplaceInstNOP: true}   #size
- ReplaceBytes: {Offset:  992, FindH: 3FF49EAE, ReplaceInstNOP: true}   #isSynced
I think I've almost figured out why this is happening.

Thanks to Alanon for helping to debug this!
I will do it ASAP. Thank You.
Does it go in the file src/libnickel.so.1.0.0.yaml?

Edit: it works

Last edited by ps67; 03-20-2020 at 10:40 AM. Reason: It works
ps67 is offline   Reply With Quote
Old 03-22-2020, 06:31 AM   #43
Taner
Junior Member
Taner began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2017
Device: Kobo Aura One
dictgen working perfect for me. Just one questions how -c, --crypt string is working ? Do i need some other apps to encrypt work ? (Using windows)
Taner is offline   Reply With Quote
Old 03-22-2020, 11:34 AM   #44
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Taner View Post
dictgen working perfect for me. Just one questions how -c, --crypt string is working ? Do i need some other apps to encrypt work ? (Using windows)
That option isn't necessary for normal usage, and won't really be documented. If you have to know, the format is method:key, and the only method currently implemented is aes. This option encrypts the dicthtml files in the dictzip. But, if you don't have a valid key, it's of no use to you.
geek1011 is offline   Reply With Quote
Old 03-23-2020, 04:55 PM   #45
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
In response to a request by Owl_, I've made a Babylon BGL converter: https://pgaskin.net/dictutil/examples/bgl-convert.html.
geek1011 is offline   Reply With Quote
Reply

Tags
dictgen, dicthtml, dictionaries, dictionary, dictutil


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding new dictionaries to kobo. Robik Kobo Developer's Corner 61 12-19-2023 04:30 PM
Useful Related Tools Threads BetterRed Related Tools 4 01-28-2022 05:03 PM
Mini Sync Problems on 3 different Kobo Minis (related to software update?) jpottle Kobo Reader 2 06-20-2013 12:57 PM
Copy/Move books between libraries using command line tools jameszh Library Management 3 02-15-2011 09:02 AM
MSD (BBeB dictionaries) tools ? Papi LRF 0 12-20-2010 04:07 AM


All times are GMT -4. The time now is 02:34 AM.


MobileRead.com is a privately owned, operated and funded community.