Cannot edit book

Bug #1747887 reported by Ra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

In Calibre I select a book, right click on it and then click on "Edit book" from the pop up menu.
The editor opens and the following error message is displayed. Then the editor closes automatically:

calibre 3.16 Portable embedded-python: True is64bit: False
Windows-10-10.0.16299-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.16299')
Python 2.7.12+
Windows: ('10', '10.0.16299', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Prince PDF (1, 4, 2)
Traceback (most recent call last):
  File "site.py", line 101, in main
  File "site.py", line 78, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
  File "site-packages\calibre\gui_launch.py", line 89, in gui_ebook_edit
  File "site-packages\calibre\gui2\tweak_book\main.py", line 48, in gui_main
  File "site-packages\calibre\gui2\tweak_book\main.py", line 82, in _run
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 301, in open_book
  File "site-packages\calibre\ptempfile.py", line 218, in PersistentTemporaryDirectory
  File "site-packages\calibre\ptempfile.py", line 170, in _make_dir
  File "tempfile.py", line 339, in mkdtemp
WindowsError: [Error 3] The system cannot find the path specified: u'D:\\data\\programmi\\Calibre Portable\\Calibre Settings\\caches\\calibre-ew-n5n1kh'

Revision history for this message
Ra (raffamaiden) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1747887

Presumably the folder D:\data\programmi\Calibre Portable\Calibre Settings
does not exist, create it and you will be fine. Or re-install calibre
protable, which should create it for you automatically.

 status invalid

Changed in calibre:
status: New → Invalid
Revision history for this message
Ra (raffamaiden) wrote :

Instead the folder D:\data\programmi\Calibre Portable\Calibre Settings exists, and reinstalling calibre portable did not fix the problem

Revision history for this message
Ra (raffamaiden) wrote :

It turned out that creating the folder D:\data\programmi\Calibre Portable\Calibre Settings\caches solve the problem.
But im my opinion calibre, and not the user, should create it during installation, which it does not.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: Invalid → Fix Released
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.