Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-31-2024, 04:46 PM   #46
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,443
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
There is something going on with QT. (W10 C 7.17.100) on 1 of my older PC.
I thought my editor was fully working (the viewer was not),

But I went to use the split icon at the bottom of the Preview. Nope, No green lines (the split point).

Went back to 7.16 on that PC
theducks is online now   Reply With Quote
Old 09-01-2024, 04:09 AM   #47
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Quote:
Originally Posted by DNSB View Post
The editor issue makes me wonder if you are having an issue with QT and your graphics driver. Have you updated the driver to the most recent? If so, there are some environment variables that can disable some QT features such as not using the GPU which might be helpful.
I use Sway and Calibre is one of the few Qt apps I use.

I suspect it has to do with the launched subprocess environment.

I made an shell script as an Ace wrapper so it is called from Calibre plugin and I see errors when Node tries to use SSL like if it needed some environment info is not retrieving.

It is a not big deal for me Ace is not working since I already saw with EPUBCheck that half my books don't pass it, which neither is a big deal.

Just interested in see why it doesn't work

I tried to install the official Calibre Gentoo ebuild which is also up-to-date (it was stuck in version 4 and that's why I decided to start using the official version) and brings a Qt update but the compilation is crashing.







Sent from my 22081212UG using Tapatalk
jospalau is offline   Reply With Quote
Old 09-01-2024, 06:10 AM   #48
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,402
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jospalau View Post
I use Sway and Calibre is one of the few Qt apps I use.

I suspect it has to do with the launched subprocess environment.

I made an shell script as an Ace wrapper so it is called from Calibre plugin and I see errors when Node tries to use SSL like if it needed some environment info is not retrieving.

It is a not big deal for me Ace is not working since I already saw with EPUBCheck that half my books don't pass it, which neither is a big deal.

Just interested in see why it doesn't work

I tried to install the official Calibre Gentoo ebuild which is also up-to-date (it was stuck in version 4 and that's why I decided to start using the official version) and brings a Qt update but the compilation is crashing.







Sent from my 22081212UG using Tapatalk
A Linux repository is like an outhouse. It's full of crap.
JSWolf is offline   Reply With Quote
Old 09-01-2024, 10:32 AM   #49
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Quote:
Originally Posted by JSWolf View Post
A Linux repository is like an outhouse. It's full of crap.
Well, it is the official one as I wrote

In any case, the official Calibre installation has been running really good for the last 2 years. I update it when it needs to, every 2 weeks, and it works really good.

I don't connect devices to it since I export my files to a folder an synchronize with Rsync so that way my Kobo does not break, although I think it has been fixed.

Last edited by jospalau; 09-01-2024 at 10:34 AM.
jospalau is offline   Reply With Quote
Old 09-01-2024, 02:30 PM   #50
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,524
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jospalau View Post
I don't connect devices to it since I export my files to a folder an synchronize with Rsync so that way my Kobo does not break, although I think it has been fixed.
The issue with the database corruption has indeed been fixed for the issue where the database was not fully closed before the USB connection was enabled.

I did play with compiling calibre on Linux but gave up since the bleeping distributions gave such a dog's breakfast of Python, QT, etc. versions that I ended up having to include the versions used by Kovid Goyal for the official version which meant there was no benefit other than the learning experience.

Last edited by DNSB; 09-01-2024 at 02:33 PM.
DNSB is offline   Reply With Quote
Old 09-01-2024, 04:08 PM   #51
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,402
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jospalau View Post
Well, it is the official one as I wrote

In any case, the official Calibre installation has been running really good for the last 2 years. I update it when it needs to, every 2 weeks, and it works really good.

I don't connect devices to it since I export my files to a folder an synchronize with Rsync so that way my Kobo does not break, although I think it has been fixed.
The database issue has been fixed. Files are no longer left open. You need to have the latest firmware.

Also, by using calibre to put your books on your Kobo, you can have the full metadata and you can use Kobo Utilities to back up the database and store reading positions and Reading List to auto-send the books you want to your Kobo and to keep track of what books are on your Kobo.
JSWolf is offline   Reply With Quote
Old 09-01-2024, 05:00 PM   #52
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Quote:
Originally Posted by JSWolf View Post
The database issue has been fixed. Files are no longer left open. You need to have the latest firmware.

Also, by using calibre to put your books on your Kobo, you can have the full metadata and you can use Kobo Utilities to back up the database and store reading positions and Reading List to auto-send the books you want to your Kobo and to keep track of what books are on your Kobo.
The only device I connect to Calibre is the PocketBook Era just to have the metadata file so I can sync it to Kobo devices after converting internal paths.

So it is valid for all my devices.

Rsync mirrors all books one way so what it is in the server is in any device when syncing. That way I know I have the same books in any device. Quicker than connecting/disconnecting and quirks than can happen like the database issue (now solved)

Sent from my 22081212UG using Tapatalk
jospalau is offline   Reply With Quote
Old 09-01-2024, 07:37 PM   #53
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by jospalau View Post
I installed and tried the plugin today. It works really good with EpubCheck which is enough for me, thanks. But unfortunately not with Ace. Same error as commented previously.

I use Gentoo and Ace runs fine from the command line. It seems Node is crashing for some reason when executed from the plugin, not sure why.
I tested it under Ubuntu a long time ago and it worked just fine. Never tried other distros.
The FileNotFoundError generally means that ACE failed to create the report. It can happen for a few reasons:

1) Do you have writing permissions to the folder chosen? Does the EPUBCheck option work in this same folder?
2) Have you tried updating Node.Js to the latest version?
3) Is Node in your path? That may solve the problem.

Last edited by thiago.eec; 09-01-2024 at 07:39 PM.
thiago.eec is offline   Reply With Quote
Old 09-02-2024, 04:24 AM   #54
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Writing folder is in /home/myuser and the process runs run under my username, so it has. EPUBCheck is good generating the 1000 reports.

I am in 22.4.1 nodejs version. I am updating now to 22.7.0. I will give a go later today

Since node is in /usr/bin yet it is, but in any case /usr/bin/ace is a symlink:
'/usr/bin/ace' -> '/lib64/node_modules/@daisy/ace/bin/ace.js'

And ace.js has as a header:
#!/usr/bin/env node

Node is launched for sure but it crashes leaving no trace. Ace works properly in comand line.
jospalau is offline   Reply With Quote
Old 09-02-2024, 08:16 AM   #55
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Sorry. I really have no idea of what is going on. As last resort, I would ask you to try changing the folder where you are saving the reports. Maybe there is something blocking you to write to that folder.

Also, does any other users can run it on other linux distros? @DNSB? @PeterT?
thiago.eec is offline   Reply With Quote
Old 09-02-2024, 12:48 PM   #56
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
I ran the plugin after redirecting the error output in popen() and I get this error:
node: OpenSSL configuration error:
40901F5C7D7F0000:error:80000014:system library:BIO_new_file:Not a directory:crypto/bio/bss_file.c:67:calling fopen(/dev/null/openssl.cnf, rb)

After this works:
os.environ["OPENSSL_CONF"] = "/etc/ssl/openssl.cnf"


It may be another libssl library not finding the configuration like this one:
$ ldd /opt/calibre/plugins/tls/libqopensslbackend.so | grep -i ssl
ldd: warning: you do not have execution permission for `/opt/calibre/plugins/tls/libqopensslbackend.so'
libssl.so.3 => /opt/calibre/plugins/tls/../../lib/libssl.so.3 (0x00007f4a14f83000)

Not big deal in any case since half my books won't pass the tests
jospalau is offline   Reply With Quote
Old 09-02-2024, 12:52 PM   #57
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by jospalau View Post
After this works:
os.environ["OPENSSL_CONF"] = "/etc/ssl/openssl.cnf"
Just to be sure: now it works?
thiago.eec is offline   Reply With Quote
Old 09-02-2024, 01:08 PM   #58
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Quote:
Originally Posted by thiago.eec View Post
Just to be sure: now it works?
Yes, definitely that was the problem. But if someone else can report if it works with the official Calibre installation....

I any case, later when qt gets compiled I will test with the Gentoo official Calibre package which I suspect it may work.
jospalau is offline   Reply With Quote
Old 09-02-2024, 01:32 PM   #59
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
With the official Gentoo Calibre installation, 7.17. Calibre whole crashes after running the plugin also with EPUBCheck. Editor plugins work fine.

It also crashes the other Calibre official

I can't see the plugin window now, so something was updated:
[42896.196303] traps: Thread-6 (do_ch[1058709] general protection fault ip:7f9f4d1d08d0 sp:7fff0578d790 error:0 in libQt6Widgets.so.6[1d08d0,7f9f4d16e000+457000]

Last edited by jospalau; 09-02-2024 at 02:00 PM.
jospalau is offline   Reply With Quote
Old 09-03-2024, 08:23 AM   #60
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Since it worked before and the plugin hasn't changed, it really is something particular to your system. I just don't know what.

Last edited by thiago.eec; 09-03-2024 at 09:04 AM.
thiago.eec is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 1207 Yesterday 09:39 PM
[GUI Plugin] ScrambleEbook: Getting help with copyrighted books jackie_w Plugins 38 05-19-2022 06:23 AM
[GUI Plugin] Quality Check Trie title avec "de la " Doum Assistance 4 01-18-2021 11:50 AM
How to get a list of books corresponding to the selected tag in the GUI plugin? esvorontsov Development 6 09-29-2015 11:06 AM


All times are GMT -4. The time now is 03:32 AM.


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