![]() |
#166 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2020
Device: Kobo H₂O
|
Hello @frostschutz
I used four years (!!!) your mod AutoShelf and in firmware 4.22.15190 it stopped working (maybe due to dosfstools updated). Please update the mod! It's a shame if you abandon it. |
![]() |
![]() |
![]() |
#167 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Jun 2020
Device: Aura One
|
Quote:
Also stopped working ![]() |
|
![]() |
![]() |
![]() |
#168 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Thanks for the report. Kobo updated their version of Busybox, which now complained about a syntax error in the autoshelf script. Please try the 20200701 version and see if it works now.
Regarding other new features of recent firmware updates (SeriesID column) I haven't had the time to take a closer look at it yet, so this is a maintenance only release. NOTE: Unfortunately as it turns out, the 20200701 is likewise broken on older firmwares. So only use it if you have the latest firmware, otherwise stick to older version. I'll have to find a solution that works for both... Last edited by frostschutz; 07-01-2020 at 06:39 AM. |
![]() |
![]() |
![]() |
#169 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2020
Device: Kobo H₂O
|
Quote:
Version 20200701 works halfway. That is, there is no picture, but the series appeared (Mark7). It would be great if the pictures on / off came back, as it is uncomfortable and embarrassing. Especially those who have not encountered this and simply do not understand that the mod works ... |
|
![]() |
![]() |
![]() |
#170 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
Yes, there are no pictures on / off, but the mod works. Just deja vu.
Quote:
Code:
SET SeriesID='$(escape "$series")', Series='$(escape "$series")', SeriesNumber='$(escape "$number")' |
|
![]() |
![]() |
![]() |
#171 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
20200701b version fixes the firmware compatibility issue, now works for 4.6 - 4.22.15190 firmware
I'm very clueless why the image does not show since it's fine on my 1st gen H2O, and fbink should support either device... Do either of you have telnet access and can test if the supplied version of fbink is operational at all? Code:
/usr/local/AutoShelf/fbink hello world if that works then it should be another error in my script but I have no idea right now what it could be if it doesn't work then I guess I'm compiling fbink wrong somehow... |
![]() |
![]() |
![]() |
#172 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
Quote:
The picture has appeared. Everything is working. Tested version 20200701. |
|
![]() |
![]() |
![]() |
#173 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Thanks, so it's definitely an issue with my fbink binary... which for some reason, only seems to work for me *scratches head*
edit: I'm an idiot? the executable bit is missing ![]() with any luck, sorted in 20200701c version Last edited by frostschutz; 07-01-2020 at 07:39 AM. |
![]() |
![]() |
![]() |
#174 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
Quote:
When the series names contain Cyrillic, the database writes all sorts of nonsense and crashed. I crashed sqlite with ~3500 books, but it was my fault, I did not backup ![]() @frostschutz, correct it please. Previously, everything worked just fine. And when I tested on a small amount, I did not think to check the Cyrillic alphabet. Yes, and did not expect this, frankly. |
|
![]() |
![]() |
![]() |
#175 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
OK, this is a bug in busybox shell. Old version of busybox returned string length in bytes, now it returns string length in characters. However, when using substring indexing, it still expects a byte offset, which is now impossible to determine. Given the wrong byte offset, it ends up cutting into multibyte characters and mangling them.
It worked fine in the old busybox (using bytes everywhere), works fine in Bash (using characters everywhere), doesn't work in current busybox (mixed bytes and characters). It works fine for ascii only files and folders, as characters and bytes are identical there. To fix, I'll have to rewrite without relying on the shell string manipulation functions. |
![]() |
![]() |
![]() |
#176 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
The whole point of the program is lost, for those who use not ASCII.
Last edited by Semwize; 07-02-2020 at 05:53 PM. |
![]() |
![]() |
![]() |
#177 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@frostschutz: Huh. I can confirm this with a bb built against its own i18n code (as Kobo's libc has broken locales).
(Haven't checked how Kobo's bb is built, as the repos still haven't been updated, and they don't build the bbconfig applet). I'll check with a bb built against libc, for shit'n giggles, since I do fix the locales on my devices... (But it does work with ZSH + libc + fixed locales; it counts codepoints). Code:
┌─(ROOT@dahlia:pts/0)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐ └─(0.06:22%:20:11:91%:#)── BLAH="héhé" && echo ${#BLAH} && echo ${BLAH:2} && echo ${BLAH:3} ──(Wed, Jul 01)─┘ 4 hé é Last edited by NiLuJe; 07-01-2020 at 02:11 PM. |
![]() |
![]() |
![]() |
#178 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yep, works w/ libc routines:
Code:
[root@dahlia root]# BLAH="héhé" && echo ${#BLAH} && echo ${BLAH:2} && echo ${BLAH:3} 4 �hé hé [root@dahlia root]# ./busybox_locales ash [admin@dahlia root]# BLAH="héhé" && echo ${#BLAH} && echo ${BLAH:2} && echo ${BLAH:3} 6 �hé hé ![]() |
![]() |
![]() |
![]() |
#179 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
An easier workaround is a busybox built with its own unicode handling, but w/ CONFIG_FEATURE_CHECK_UNICODE_IN_ENV enabled, and launched without an UTF-8 locale in LANG/LC_ALL.
Code:
[root@dahlia root]# ./busybox_env ash [admin@dahlia root]# BLAH="héhé" && echo ${#BLAH} && echo ${BLAH:2} && echo ${BLAH:3} 6 �hé hé |
![]() |
![]() |
![]() |
#180 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
I have found a workaround, but ran into some other issues too, so update will have to wait until tomorrow or day after.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Beta for BB? | FF2 | Amazon Kindle | 2 | 05-28-2011 10:21 AM |
Development Signing up for the beta | glen | enTourage Archive | 16 | 04-06-2011 04:33 PM |
Beta Beta Test of Major New Features | Starson17 | Calibre | 45 | 05-17-2010 10:55 AM |
0.6 out of beta? | Nate the great | Calibre | 3 | 07-17-2009 02:45 AM |