Cannot chose file to get the books from

Bug #2043273 reported by Amaia Goni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

When trying to add a book to Calibre using the Add a Book button, it fails to open the location where the books are stored, and then this appears:

calibre, version 4.23.0
ERROR: Excepción no considerada: <b>Exception</b>:File dialog failed (return code -1073741819):

calibre 4.23 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 2.7.16+
Windows: ('10', '10.0.22621', 'SP0', u'Multiprocessor Free')
Interface language: es
Successfully initialized third party plugins: DeDRM (6, 3, 4)
Traceback (most recent call last):
  File "site-packages\calibre\gui2\preferences\adding.py", line 93, in choose_aa_path
  File "site-packages\calibre\gui2\win_file_dialogs.py", line 240, in choose_dir
  File "site-packages\calibre\gui2\win_file_dialogs.py", line 208, in run_file_dialog
Exception: File dialog failed (return code -1073741819):

If I try to establish the route at Preferences, it gives the same error.

Calibre version: 4.23 [64 bit]
Operating system: Windows 11

Tags: file import
Revision history for this message
Kovid Goyal (kovid) wrote :

Something on your computer, most likely the anti-virus, is blocking the calibre
helper process for file dialogs (calibre-file-dialog.exe). Disable the
antivirus or add an exception for calibre-file-dialog.exe and you should be
fine. Alternatively, you can tell calibre to not use native file dialogs, which
avoids the helper process, by setting the CALIBRE_NO_NATIVE_FILEDIALOGS
environment variable to 1 as described here:
https://manual.calibre-ebook.com/customize.html#environment-variables

Changed in calibre:
status: New → Invalid
Revision history for this message
Amaia Goni (agonigar) wrote :

Thanks Kovid, it was my computer! Followed your instructions and now everything is running fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.