![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2022
Device: Windows11
|
![]()
After setting the environment variable CALIBRE_DEVELOP_FROM for building calibre on Windows, ebook-viewer crashes on starting.
|
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2022
Device: Windows11
|
calibre-debug -w
$ calibre-debug -w
QPA platform: windows devicePixelRatio: 1.25 logicalDpi: 96.0 x 96.0 physicalDpi: 113.41395348837209 x 113.12164948453608 ApplicationPaletteChange event ignored Using calibre Qt style: True ApplicationPaletteChange event received qt.webenginecontext: GL Type: desktop Surface Type: OpenGL Surface Profile: CompatibilityProfile Surface Version: 4.6 QSG RHI Backend: OpenGL Using Supported QSG Backend: yes Using Software Dynamic GL: no Using Multithreaded OpenGL: yes Init Parameters: * application-name calibre * browser-subprocess-path B:\Programs\Calibre Portable\Calibre\app\bin\QtWebEngineProcess.exe * create-default-gl-context * disable-es3-gl-context * disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetc h,WebOTP,WebPayments,WebUSB,PictureInPicture * disable-speech-api * enable-features NetworkServiceInProcess,TracingServiceInProcess * enable-threaded-compositing * in-process-gpu * use-gl desktop [9140:2012:0927/133225.982:ERROR:tcp_socket_win.cc(354)] bind() returned an error: ͨ��ÿ���� �ֵ�ַ(Э��/�����ַ/�˿�)ֻ����ʹ��һ�Ρ� (0x2740) [9140:2012:0927/133225.993:ERROR:devtools_http_handler.cc(298)] Cannot start http server for devtools. Compiling viewer code... |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,095
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Something is preventing Qt webengine from opening a socket for its developer tools. Try disabling your antivirus/add an exception for QtWebEngineProcess.exe to it
|
![]() |
![]() |
![]() |
#4 | ||
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2022
Device: Windows11
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2022
Device: Windows11
|
Event Viewer
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,095
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
webengine is used to compile the rapydscript code, presumably something on your machine is interfering with it. Usual suspects are antivirus/firewall/etc. etc.
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2022
Device: Windows11
|
I have exited all antivirus/firewall softwares,but still crash.
Crash occurs at calibre/gui2/viewer/main.py def run_gui(app, opts, args, internal_book_data, listener=None): ... app.exec() qapplication exec() crashes |
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2022
Device: Windows11
|
I tried it on a clean Win11/Win10 VM, and the ebook-viewer still crashed after setting CALIBRE_DEVELOP_FROM and turning off Windows Security Center, but it worked fine on Ubuntu VM, it was weird.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building calibre for Windows | shizhihai | Development | 3 | 12-11-2021 01:12 AM |
Calibre crashes when opening ebooks with external viewer | Chemist1 | Library Management | 13 | 03-01-2020 01:35 PM |
Windows 10 1903 Calibre crashes | brichlin | Devices | 7 | 08-22-2019 01:34 PM |
Calibre Ebook Viewer Crashes | Cajun | Calibre | 3 | 02-19-2016 08:37 AM |
Calibre crashes in windows on startup | Jamz | Calibre | 12 | 09-17-2010 02:58 PM |