12-26-2018, 12:21 PM | #16 |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
I've looked at the installation instructions and setting up WeasyPrint is not exactly easy, because of the many dependencies. OTOH, Prince requires only a single binary. This doesn't make WeasyPrint a good candidate for a plugin.
|
01-09-2019, 12:48 PM | #17 |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2018
Device: none
|
PRINCE PDF
Hello,
I'm reaching out about a similar issue with the Prince PDF plug-in. I am a MAC OS user. I downloaded the Prince PDF plug-in and the prince installation file. I am having trouble installing the Prince file. When I open it to install it simply expands to a folder, and within that folder there is an install file (install.sh). When I open this, it simply opens a text file with a lot of code. Do you know if this is supposed to happen? You mention in the plug-in section for Prince PDF on this forum that we need to "Make sure to install prince in the default location." Where is the default location? I'm wondering if this is related to my issue using prince pdf on Sigil. After doing this I tried to use the Prince PDF plug-in in Sigil and it's giving me this response: Status: failed prince not found: /usr/local/bin/prince I have prince in my files but it's not detecting it. Can you help me with this issue? |
Advert | |
|
01-09-2019, 03:23 PM | #18 | |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
For detailed instructions see the Prince PDF website. Note that you'll need to replace to prince-9.0-macosx with prince-12.4-macosx. For example: Code:
tar xzf prince-12.4-macosx.tar.gz cd prince-12.4-macosx |
|
04-01-2019, 07:31 PM | #19 |
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Hi Doitsu;
Would it be possible to modify your "plugin.py" file so the path to Prince.exe is able to be different from the standar location? TIA Rubén |
04-02-2019, 02:27 AM | #20 | |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
"prince_path" : "D:\\Program Files (x86)\\Prince\\engine\\bin\\prince.exe", Note also that you'll have to use double backslashes (\\) in Windows paths. |
|
Advert | |
|
04-02-2019, 08:05 AM | #21 | |
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
04-02-2019, 08:33 AM | #22 | |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
{ "prince_path" : "D:\\Program Files (x86)\\Prince\\engine\\bin\\prince.exe" } For example: Code:
{
"prince_path" : "D:\\Program Files (x86)\\Prince\\engine\\bin\\prince.exe",
"cpdf": true
}
|
|
04-02-2019, 09:26 AM | #23 | |
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
12-20-2019, 05:42 AM | #24 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Sigil 1.0.
I have to adapt the output to create my custom 9×12 size. It was easy three years ago, Now I find it difficult... Life goes like that. Can we select a preference which tells the plugin to follow the Sigil structure every time? (furthermore, it seems we have no choice on this regard because it can only work this way) Edit: Done. Would have been quicker if I did not throw away the epub.css file... Happily save exists. Last edited by roger64; 12-20-2019 at 08:14 AM. Reason: Edit |
02-10-2020, 11:04 PM | #25 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2020
Device: Kobo
|
permission denied error
Hello,
I am trying to run PrincePDF with Sigil. When I run the plugin It seems to be OK but I get a "permission denied" error in the last leg of the process (see below) I run Linux Mint. Thanks ... prince: used font: Times New Roman, Italic prince: /home/xxx/Desktop/xxx.pdf: error: can't open output file: Permission denied prince: Finished: failure Return code: 1 Prince failed! |
02-11-2020, 02:25 AM | #26 | |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
"output_dir": "/home/xxx/Desktop/" |
|
02-11-2020, 10:32 AM | #27 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2020
Device: Kobo
|
Quote:
It fixed my problem instantly. Thank you very much. Great Sigil plugin |
|
09-26-2020, 11:42 AM | #28 |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2020
Device: PC
|
Error
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 |
09-26-2020, 11:56 AM | #29 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2020
Device: PC
|
Quote:
|
|
02-04-2021, 02:55 PM | #30 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2021
Device: Inkpad X Pro
|
epub to pdf converted book does not contain the cover
Hi,
I am new to this. I am trying to convert my ebooks (which I own and purchased) from epub to pdf. The ebooks are actually DRM free, they are ebooks from raywenderlich but I would like to read them on my pdf e-reader (Quaderno). For this I have installed Calibre and Sigil and the Prince PDF plugin and conversion went fine, actually better than I have expected, except the pdf does not have a cover. Now, the original book when I open in iBooks it does have a cover. But when I open it in ebook-viewer it does not have a cover. So, what is wrong here? Thanks |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF Export fails | KRead123 | Calibre | 2 | 05-19-2016 05:56 AM |
pdf metadata export | devils_add | Library Management | 4 | 05-09-2014 02:46 AM |
Request Batch export annotated pdf | gotmilt | enTourage eDGe | 2 | 11-18-2011 04:57 PM |
pdf import/export and notes | nettomb | Sony Reader | 0 | 04-03-2011 08:42 PM |
PRS-650 Export pdf with highlights? | zoobiliezoo | Sony Reader | 0 | 10-28-2010 01:11 AM |