View Single Post
Old 05-15-2024, 09:23 AM   #58
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,572
Karma: 79436804
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by Ghostcat View Post
OK. I'll have a look. I'm surprised that it compiles if a definition is missing.

EDIT: Won't these be added by the

import os

from calibre.devices.kobo.driver
statement?
Sigh; no. The code for those functions were added to the Kobo driver in the 7.9 release. They are NOT present in any form in standard python, or in calibre at the 3.48 level.

Also, python would report a run time error when it tried to execute any of that code.
PeterT is offline   Reply With Quote