View Single Post
Old 09-26-2020, 11:56 AM   #29
Sonotoki
Junior Member
Sonotoki began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2020
Device: PC
Quote:
Originally Posted by Sonotoki View Post
Hello everyone!
I've installed all the prerequisites (Python 3x, PrincePdf, cpdf.exe to the Windows folder), but there's error when launching the plugin:
Code:
Status: failed

Traceback (most recent call last):
  File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 142, in launch
    self.exitcode = target_script.run(container)
  File "C:\Users\Sonotoki\AppData\Local\sigil-ebook\sigil\plugins\PrincePDF\plugin.py", line 115, in run
    if not os.path.isfile(prince_path):
  File "genericpath.py", line 30, in isfile
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Error: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Ahh! I'm really sorry, my bad! I thought that I don't need to set the path of PrincePDF, since it's installed properly, but when I wrote the path in PrincePDF.json, then everything worked out ))
Sonotoki is offline   Reply With Quote