I have had a similar problem since I installed version 8.0 of Calibre. After version 8.xx, books could be transferred and appeared in both the device section of Calibre and on my Kobo. The only problem was that when attempting to open a book in the device section of Calibre, I received the following message:
calibre, version 8.2.1
ERROR: Error: Error communicating with device
stat: path should be string, bytes, os.PathLike or integer, not BufferedReader
Traceback (most recent call last):
File "calibre\gui2\device.py", line 111, in run
File "calibre\gui2\device.py", line 713, in _view_book
File "calibre\devices\kobo\driver.py", line 765, in get_file
File "shutil.py", line 235, in copyfile
File "shutil.py", line 212, in _samefile
File "genericpath.py", line 100, in samefile
TypeError: stat: path should be string, bytes, os.PathLike or integer, not BufferedReader
The solution was to do what DNSB suggested in post #3226 above. I removed the checkmark from the "Use Kobo viewer for EPUB books" in the KoboTouch driver and this disabled the sending of keypub.epub. Calibre now just sends epubs to the device section of Calibre and to my Kobo so that I can now open the books in the device section as well as in Kobo.
|