01-08-2021, 06:20 PM | #3226 |
Zealot
Posts: 139
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
|
I've never been able to log into my Wallabag server. The server settings in KOReader are the same ones I've been using to access the Wallabag page in a browser window on my computer or in my phone app. I'm running my own Wallabag instance on my web server. Could that be a factor?
The toast messages I get are "Could not login to Wallabag server." and "Communication with server failed." |
01-08-2021, 06:30 PM | #3227 |
Wizard
Posts: 1,613
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
I'm not sure why that one doesn't include the error code.
https://github.com/koreader/koreader.../main.lua#L591 You could try quickly replacing that line with this so we know what the server's saying: [code] text = "Response code: "..code, }) Given your other message, it'll probably be something like 401 unauthorized though. Could you double check the wallabag settings in a text editor on your PC? That's in /mnt/onboard/.adds/koreader/settings/wallabag.lua. |
Advert | |
|
01-08-2021, 07:14 PM | #3228 | |
Zealot
Posts: 139
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
|
Quote:
EDIT: I had a typo related to copying and pasting the code you provided into main.lua. I fixed it in the KOReader editor and now Wallabag is still present in the menu. But I get the same error messages I was getting to begin with. I'm not getting the toast that I'd have anticipated with Code:
text = "Response code: "..code, }) Last edited by mirage; 01-09-2021 at 12:58 PM. |
|
01-09-2021, 01:45 PM | #3229 |
Zealot
Posts: 139
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
|
I got this working for reasons I don't really understand.
Since the code in main.lua that was displaying the two error message toasts I was getting were in lines 390 and 603, I commented the original code out of those lines and replaced it with your suggested Code:
text = "Response code: "..code, }) |
01-09-2021, 04:42 PM | #3230 |
Wizard
Posts: 1,613
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
There must've been a communication issue then. Did you try something else like Wikipedia at the time?
|
Advert | |
|
01-09-2021, 05:23 PM | #3231 |
Zealot
Posts: 139
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
|
I don't remember if, in the past, I've tried other online connections after Wallabag had failed. But I have successfully connected to sources like Wikipedia before while I'd never succeeded in connecting to Wallabag after at least 25-30 tries over the last 6 months or so.
Works now, though. I'll see if it keeps working after the next update of KOReader overwrites my edits to main.lua. Right now, I'm on the current nightly. I'll update in the next couple of days and will see what happens. |
01-29-2021, 01:43 AM | #3232 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Mar 2015
Device: Kobo Aura H2o
|
Dictionary font
What controls the dictionary font?
I played around with frontend/ui/font.lua to use more serif fonts, and the dictionary popup was using serif fonts. Then I downloaded the gcide dictionary, and that pops up with a sans-serif font (while the other dictionary still uses serif). I poked around looking for something to control the font, with no luck. (The gcide dictionary uses some html-style markup while my older dictionary doesn't, but I didn't find any font directives in gcide.) Is there a way to have the dictionaries all use a serif font? Thanks, Jay |
01-29-2021, 05:24 AM | #3233 | |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Default css code is in https://github.com/koreader/koreader....lua#L739-L754 Last edited by pazos; 01-29-2021 at 05:27 AM. |
|
01-29-2021, 06:25 PM | #3234 |
Diligent dilettante
Posts: 3,416
Karma: 48736498
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra H2O
|
I'm loving the autoturn function, just brilliant! Is there a way to assign a screen tap to pause it? Currently, if I tap the screen, it advances a page, and I have to long press to bring up a menu (any menu) to pause the autoturn. Being able to tap the screen to pause would be very handy.
|
01-29-2021, 06:58 PM | #3235 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I don't *think* it's currently wired into Dispatcher/Gestures, so that would probably make a great FR on GitHub .
|
01-29-2021, 07:00 PM | #3236 | |
Enthusiast
Posts: 32
Karma: 10
Join Date: Mar 2015
Device: Kobo Aura H2o
|
Quote:
I hadn't updated Koreader for a while, since it seemed to do everything already, but now it seems to do more! For example, I don't think it would download dictionaries before, but now it will (that's how I came across the gcide font puzzle). Amazing program. |
|
01-30-2021, 05:57 AM | #3237 |
Diligent dilettante
Posts: 3,416
Karma: 48736498
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra H2O
|
|
01-30-2021, 06:26 AM | #3238 |
Diligent dilettante
Posts: 3,416
Karma: 48736498
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra H2O
|
I have not installed a dictionary on a KOReader, and want to make sure I have this right. Do I copy all the files shown in the attached screenshot into the adds\koreader\data\dict\ directory? And after that, do I simply restart KOReader?
|
01-30-2021, 09:10 AM | #3239 |
Resident Curmudgeon
Posts: 73,877
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Turn on WiFi and use the dictionary download. It's under the magnifying glass icon in Dictionary settings.
|
01-30-2021, 12:45 PM | #3240 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Each dictionary in a dedicated folder in there would be better to keep things tidy, but, essentially, yes.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1269 | 02-27-2024 11:49 AM |
Touch Using two Kobos | tkavan | Kobo Reader | 4 | 06-23-2017 02:47 AM |
2 kobos at once | tsarinaerika | Kobo Reader | 14 | 06-03-2013 04:13 AM |
Syncing between two Kobos | fx3000se | Kobo Reader | 4 | 01-24-2013 02:10 PM |
2 kobos 1 account | retired05 | Kobo Reader | 9 | 05-05-2012 08:25 AM |