04-09-2019, 10:02 AM | #16 |
creator of calibre
Posts: 44,312
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@davidfor: Thanks. Hopefully there aren't a lot of plugins that use their own private beautifulsoup modules.
|
04-09-2019, 10:55 AM | #17 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
... but there is still a ton more work to do. At the moment, the GUI doesn't start at all and there are over a hundred failures in the testsuite alone... but it's a start, and it means we can now easily test calibre. If anyone has the spare time and knowledge, please feel free to help with the port. In order to experiment with python3, you will need to compile it from source. You will need to be running linux, and you will need to install all the usual build-from-source dependencies, as listed here: https://github.com/kovidgoyal/build-...s/sources.json Except for each PyPI dependency, you will want to install using python3 instead of python2. Then, simply run the bootstrap process listed at https://github.com/kovidgoyal/calibr...TALL.rst#build Except instead of using python2, use python3, and furthermore, you must set the environment variable CALIBRE_PY3_PORT. So, Code:
CALIBRE_PY3_PORT=1 python3 setup.py bootstrap For Arch Linux users, the "calibre-git" package in the AUR has a good description of the build process, and a list of dependencies -- simply swap out "python-" for each "python2-*" dependency. Last edited by eschwartz; 04-10-2019 at 01:05 AM. |
|
Advert | |
|
04-09-2019, 02:15 PM | #18 |
Grand Sorcerer
Posts: 6,329
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
04-09-2019, 03:00 PM | #19 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
This no longer exists in bs4. |
|
04-09-2019, 03:04 PM | #20 |
Grand Sorcerer
Posts: 6,329
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Yes, I've seen it, and the plugin works removing that part. And that means that more plugins can be affected, even if they are using python 2.
Last edited by Terisa de morgan; 04-09-2019 at 04:13 PM. |
Advert | |
|
04-09-2019, 09:08 PM | #21 |
creator of calibre
Posts: 44,312
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes plugins that happen to sue beautifulsoup in ways tat are incompatible with bs4 will be affected. They can should update their code to be bs4 compatible.
|
04-10-2019, 12:19 AM | #22 |
Grand Sorcerer
Posts: 6,329
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
There is a problem with the CountPages plugin, and it looks like it's related with the jobs. It doesn't calculate the number of pages (Adobe method) and the calibre debug log is:
Spoiler:
|
04-10-2019, 03:09 AM | #23 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The error above is when the book is being unpacked. I don't think the plugin is doing anything strange there. |
|
04-10-2019, 09:53 AM | #24 |
Grand Sorcerer
Posts: 6,329
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Not the plugin but calibre itself. I'll have to debug it a bit more, because it happens with all my ebooks, it's not something random. And it's 3.40.3 on Windows 10.
|
04-10-2019, 10:13 AM | #25 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
04-10-2019, 10:54 AM | #26 |
Grand Sorcerer
Posts: 6,329
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
04-10-2019, 11:24 AM | #27 |
a toy panda
Posts: 2,567
Karma: 26020474
Join Date: Mar 2014
Location: Onboard the Queen Anne's Revenge
Device: Various Android dvices
|
I got this when I started the beta (calibre-3.40.3-x86_64):
|
04-10-2019, 09:32 PM | #28 |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Comments field is behaving weirdly for me in the beta. The <br> tags in comments are getting duplicated on all book records.
The following is from the exact same library. Note, I don't actually have a new line character [\n] in the Calibre library comments. Just added it here for readability. Calibre Portable 3.40.1 (Windows 7 x86 and x86-64) Code:
<p class="description">Published: 2016-10-31 Updated: 2019-02-03 Chapters: 71/? Words: 171444 <br> <br><b>Summary</b> <br>"But you, Lord Snow, you'll be fighting their battles forever." Ser Alliser Thorne <br> <br>Every time he died his last in that life he awoke again in another at the exact moment of Ghost's birth.</p> Calibre Portable 3.40.3 (Windows 7 x86 and x86-64) Code:
<p class="description">Published: 2016-10-31 Updated: 2019-02-03 Chapters: 71/? Words: 171444 <br> <br> <br> <br><b>Summary</b> <br> <br>"But you, Lord Snow, you'll be fighting their battles forever." Ser Alliser Thorne <br> <br> <br> <br>Every time he died his last in that life he awoke again in another at the exact moment of Ghost's birth.</p> |
04-10-2019, 11:34 PM | #29 |
creator of calibre
Posts: 44,312
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@PandaThePanda, that's weird but I will add some code to ensure it does not happen. Can you run calibre in debug mode and post the log, that popup indicates that downloading the latest version is failing for you, I'd like to know why.
|
04-10-2019, 11:53 PM | #30 |
creator of calibre
Posts: 44,312
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@ilovejedd: I tried pasting the provided HTML into the comments field for a book (source view of edit metadata dialog) then clicked OK. Then tried opening the edit metadata dialog again, there were no extra <br>s. Can you provide some info on how you are getting them?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Beta testers for calibre 3.0 needed | kovidgoyal | Calibre | 598 | 07-09-2017 10:26 PM |
Beta testers needed | kovidgoyal | Calibre | 54 | 05-20-2016 12:34 PM |
Windows beta testers needed | kovidgoyal | Calibre | 19 | 02-08-2016 04:38 PM |
Beta testers for calibre 2.0 needed | kovidgoyal | Calibre | 142 | 05-08-2015 04:44 AM |
Arc Updated Jelly Bean release - Beta testers needed | kobo-adrian | Kobo Tablets | 19 | 05-23-2013 09:32 PM |