Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 06-27-2024, 11:54 AM   #1
javP
Junior Member
javP began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2024
Device: Kindle
Is WSL required on linux?

I just installed Calibre (7.12.0) on Kubuntu 24.04 according to the instructions on the page https://calibre-ebook.com/download_linux. In general it works fine, but when trying to open the book folder it does nothing. I see that it tries to open something called wslview. If I run it in the terminal I get an error message saying "WSL Interopability is disabled. Please enable it before using WSL."

I clarify that I do not have Windows with WSL. I only have Kubuntu. I also tried with the Calibre version available in the Ubuntu repositories, but the same thing happens.

Will anyone know how I can correct this?

Thanks.
javP is offline   Reply With Quote
Old 06-27-2024, 11:58 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you are using wayland, switch back to x11 and you will likely be fine. You can also try setting the CALIBRE_NO_NATIVE_FILEDIALOGS environment variable to prevent calibre using the system file dialogs as descibed here: https://manual.calibre-ebook.com/cus...ment-variables
kovidgoyal is offline   Reply With Quote
Advert
Old 06-27-2024, 06:13 PM   #3
javP
Junior Member
javP began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2024
Device: Kindle
Hello kovidgoyal, thanks for your answer. I am using X11 already. I tried the environment variable, but it doesn't worked:

javP@laptop:~$ env CALIBRE_NO_NATIVE_FILEDIALOGS=1 calibre
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
WSL Interopability is disabled. Please enable it before using WSL.
grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
[error] WSL Interoperability is disabled. Please enable it before using WSL.
/usr/bin/wslview: line 216: /mnt/c/Windows/System32/reg.exe: No such file or directory
/usr/bin/wslview: line 308: [: -ge: unary operator expected
[error] This protocol is not supported before version 1903.
javP is offline   Reply With Quote
Old 06-27-2024, 06:15 PM   #4
javP
Junior Member
javP began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2024
Device: Kindle
I also noticed that it has the same problem if I try to open a pdf file. I have no problem with epub files.

Last edited by javP; 06-27-2024 at 06:15 PM. Reason: correction
javP is offline   Reply With Quote
Old 06-27-2024, 06:32 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,046
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
sudo apt purge wslu

Some packages (gimp-help-en) problematically require it as a dependency.

If you need gimp-help-en, then you may need to install a small text-based browser to satisfy the xdg www-browser requirement (that gimp-help needs) that the snap Firefox doesn't seem to. Hence why wslview gets installed to fulfill the www-browser need. Problems abound on this one.

Last edited by DiapDealer; 06-27-2024 at 07:18 PM.
DiapDealer is online now   Reply With Quote
Advert
Old 06-27-2024, 07:00 PM   #6
javP
Junior Member
javP began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2024
Device: Kindle
Hello DiapDealer. You're right, that was the problem. Thank you so much!!!
javP is offline   Reply With Quote
Reply

Tags
calibre, folder, wsl


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Elipsa 2E Sync Required - to download required handwriting recognition resources Lee3 Kobo Reader 17 10-09-2024 02:46 PM
Calibre on WSL, .note.ABI-tag "bug" ratinox Calibre 25 05-09-2024 04:10 PM
Accessing Calibre Database in WSL MontyJ Library Management 2 08-17-2023 11:21 AM
Native A KUAL extension. Linux Deploy: chrooted GNU/Linux for modern Kindle zaoqi Kindle Developer's Corner 12 03-14-2020 12:41 PM
Calibre on Ubuntu on Windows (WSL) botmtl Development 5 12-15-2016 03:05 PM


All times are GMT -4. The time now is 01:49 PM.


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