|
|
#1 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,360
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Building from source silently fails
On Windows 10 Home, I run Calibre from source using this batch file:
Code:
@ECHO OFF set CALIBRE_DEVELOP_FROM=D:\Documents\git\calibre\src "c:\Program Files\calibre2\calibre-debug" -g Here are things I've tried: - Using Sourcetree to pull the latest code. There was one change about a libstemmer. - Double-checking that Calibre was not silently running in the background. - Switched to a test library in case it was something involving the recent composite column recursion fixes. - Since I'm not sure how to run without plugins with source, temporarily moving my plugins folder outside of Calibre's appdata folder. (in fact, according to last-accessed dates, it doesn't even touch anything in appdata) - Rebooting again. Regular Calibre runs fine, but there's a bugfix I use that's currently in source. Any suggestions? Last edited by ownedbycats; 06-29-2021 at 09:50 PM. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open the console window first and then run the bat file inside it, you will hopefully get an actual error message then.
|
|
|
|
|
|
#3 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,360
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Here's the error:
Code:
calibre 5.22.1* [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "D:\Documents\git\calibre\src\calibre\debug.py", line 264, in main
calibre(['calibre'] + args[1:])
File "D:\Documents\git\calibre\src\calibre\gui_launch.py", line 60, in calibre
print_basic_debug_info()
File "D:\Documents\git\calibre\src\calibre\debug.py", line 208, in print_basic_debug_info
from calibre.customize.ui import has_external_plugins, initialized_plugins
File "D:\Documents\git\calibre\src\calibre\customize\ui.py", line 18, in <module>
from calibre.customize.builtins import plugins as builtin_plugins
File "D:\Documents\git\calibre\src\calibre\customize\builtins.py", line 752, in <module>
from calibre.devices.smart_device_app.driver import SMART_DEVICE_APP
File "D:\Documents\git\calibre\src\calibre\devices\smart_device_app\driver.py", line 2051, in <module>
from zeroconf import (
ImportError: cannot import name '_LOCAL_TRAILER' from 'zeroconf' (c:\Program Files\calibre2\app\bin\python-lib.bypy.frozen\zeroconf\__init__.pyc)
Last edited by ownedbycats; 06-30-2021 at 12:23 AM. |
|
|
|
|
|
#4 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,360
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
According to https://github.com/kovidgoyal/calibr..._app/driver.py the file was updated 3 days ago with a comment about zeroconf. I will see if I can figure out how to selectively revert that in my copy.
|
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Install the beta from: https://download.calibre-ebook.com/betas/
it has the updated zeroconf |
|
|
|
|
|
#6 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,360
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Now it's working. Thank you
|
|
|
|
|
|
#7 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,360
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also, the beta includes the composite recursion fix. So I can just use the beta for now.
|
|
|
|
|
|
#8 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 90156
Join Date: Jul 2017
Device: Nook Glowlight, Sony DPT-CP1
|
Interesting, just got the same error after updating to 5.23 — I guess I have my answer, too, but I would think it was intended to have the updated zeroconf included. Right?
|
|
|
|
|
|
#9 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It does have the updated zeroconf included.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to download 04/21 update - fails silently :( | AB9239 | enTourage Archive | 4 | 04-25-2010 09:46 PM |
| PRS-600 Accessing the display via /dev/fb fails silently... any ideas why? | Xaphiosis | Sony Reader Dev Corner | 10 | 04-22-2010 08:15 AM |
| Building Calibre from source | al35 | Calibre | 3 | 03-24-2010 03:22 PM |
| Attempt to add 1187 ebooks in one folder fails silently | earthq | Calibre | 1 | 06-12-2009 01:20 AM |
| ComicLRF fails silently from Gui | Cold | Calibre | 1 | 11-07-2008 04:16 PM |