Closed helenelax closed 3 years ago
Can you please test again in a new app session (see https://www.qownnotes.org/getting-started/cli-parameters.html), you have a lot of scripts installed...
[10:50:58] [warning] QPageSetupDialog: Cannot be used on non-native printers
do you get a page setup dialog when you try to export a pdf?
I already found the culprit, it will be fixed in the next release. Meanwhile a new settings session should work. Thank you for reporting!
There now is a new release, could you please test it and report if it works for you?
Hello, I have just installed version 21.2.5 and I can export the text and the preview to PDF. That's good!
Le 25/02/2021 à 16:21, Patrizio Bekerle a écrit :
There now is a new release, could you please test it and report if it works for you?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/2062#issuecomment-785980698, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFJYNUWQNQBEPN6W6FWZDTAZTGLANCNFSM4YGGGEUQ.
Great, thank you for testing!
Expected behaviour
When I export a note in PDF, text or preview, I get a PDF document. Same for printing in a file
Actual behaviour
The generated PDF is a blank page
Steps to reproduce
QOwnNotes - version 21.2.3 - Launchpad PPA - build 813 Ubuntu 20.04.2
Relevant log output in the Log panel
Expand
``` [10:50:58] [warning] QPageSetupDialog: Cannot be used on non-native printers [10:50:58] [warning] /usr/share/icons/Faba/16x16/actions/dialog-ok.svg:112: Could not resolve property: #linearGradient4205 [10:51:00] [warning] /usr/share/icons/Faba/16x16/actions/dialog-ok.svg:112: Could not resolve property: #linearGradient4205 ```Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `jeu. févr. 25 10:51:59 2021` **Version**: `21.2.3` **Build date**: `Feb 19 2021` **Build number**: `813` **Platform**: `linux` **Operating System**: `Ubuntu 20.04.2 LTS` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `Launchpad PPA` **Qt Version (build)**: `5.12.8` **Qt Version (runtime)**: `5.12.8` **Portable mode**: `no` **Settings path / key**: `/home/laxenair/.config/PBE/QOwnNotes.conf` **Application database path**: `/home/laxenair/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `fr_FR` **Locale (interface)**: *empty* **Primary screen resolution**: `1920x1080` **Screen resolution(s)**: `1920x1080, 1366x768` **Icon theme**: `Moka` **Notes in current note folder**: `642` **Calendar items**: `0` **Enabled scripts**: `5` ## Server Info **serverUrl**: `https://acloud.zaclys.com` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `19.0.3.1` **appVersion**: *empty* ## Spellchecking **Enabled**: `true` **Selected language**: `auto` **Language codes**: `en_US, fr, fr_BE, fr_CA, fr_CH, fr_FR, fr_LU, fr_MC` **Language names**: `American English (United States), français, français (Belgique), français canadien (Canada), français suisse (Suisse), français (France), français (Luxembourg), français (Monaco)` **Application dictionaries path**: `/home/laxenair/.local/share/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `3` ### Note folder `par défaut` **id**: `1` **isCurrent**: `no` **activeTagId**: `125` **localPath**: `/home/laxenair/Nextcloud/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/home/laxenair/Nextcloud/Notes/notes.sqlite` ### Note folder `par défaut` **id**: `2` **isCurrent**: `no` **activeTagId**: `-1` **localPath**: `/home/laxenair/Nextcloud_a/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/home/laxenair/Nextcloud_a/Notes/notes.sqlite` ### Note folder `par défaut` **id**: `3` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `/home/laxenair/Nextcloud_a/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/home/laxenair/Nextcloud_a/Notes/notes.sqlite` ## Cloud connections ### Cloud connection `Zaclys` **id**: `1` **isCurrent**: `yes` **serverUrl**: `https://acloud.zaclys.com` **username**: `18367` ## Enabled scripts ### Script `Custom user interface styling` **id**: `1` **path**: `/home/laxenair/.local/share/PBE/QOwnNotes/scripts/custom-stylesheet/custom-stylesheet.qml` **variablesJson**: ``` { "customStylesheet": "QTreeWidget#noteTreeWidget {font-family: Roboto; font-size: 14px;}" } ``` **identifier**: `custom-stylesheet` **version**: `0.0.1` **minAppVersion**: `17.05.7` ### Script `Insert Table of Contents (TOC)` **id**: `2` **path**: `/home/laxenair/.local/share/PBE/QOwnNotes/scripts/insert-toc/insert-toc.qml` **variablesJson**: *empty* **identifier**: `insert-toc` **version**: `0.0.3` **minAppVersion**: `17.06.2` ### Script `Checkbox preview and export` **id**: `3` **path**: `/home/laxenair/.local/share/PBE/QOwnNotes/scripts/export-checkboxes/export-checkboxes.qml` **variablesJson**: *empty* **identifier**: `export-checkboxes` **version**: `0.0.4` **minAppVersion**: `20.6.0` ### Script `Custom note preview styling` **id**: `4` **path**: `/home/laxenair/.local/share/PBE/QOwnNotes/scripts/preview-styling/preview-styling.qml` **variablesJson**: ``` { "customStylesheet": "body {\n margin: 0 auto;\n background-color:white;\n font-family:serif;\t\n color: #333333; \n max-width: 800px;\n padding: 30px;\n font-size: 18px;\n}\n\n\np {\n font-size: 14px;\n line-height: 120%;\n max-width: 960px;\n font-weight: 400;\n color: #333333;\n}\n\nh1, h2, h3, h4, h5, h6 {\n color: #111111;\n font-weight:bold;\n margin-bottom:25px;\n background-color:white;\n border-bottom: 1px solid #CCCCCC;\n}\n\nh2, h3, h4, h5, h6 p {\n margin-bottom: 10px;\n margin-top: 15px;\n padding: 0;\n}\n\nh1 {\n margin-bottom: 10px;\n font-size:28px;\n padding: 0;\n font-variant:small-caps;\n}\n\nh2 {\n font-size:24px;\n margin: 24px 0 6px; \n border-bottom: 1px solid #CCCCCC;\n}\n\nh3 {\n font-size:22px;\n}\n\nh4 {\n font-size:20px;\n font-variant:small-caps;\n}\n\nh5 {\n font-size:18px;\n}\n\nh6 {\n font-size:18px;\n font-style:italic;\n font-color:#3366ff;\n}\n\na {\n color: orange;\n margin: 0;\n padding: 0;\n vertical-align: baseline;\n}\n\na:hover {\n text-decoration: blink;\n color: green;\n}\n\na:visited {\n color: purple;\n}\n\nul, ol {\n padding: 0;\n margin: 0px 0px 0px 10px;\n}\n\nul {\n list-style-type: square;\n list-style-position: inside;\n}\n\nli {\n line-height:120%; \n}\n\nli ul, li ul {\n margin-left: 24px;\n}\n\npre {\n padding: 0px 24px;\n max-width: 800px;\n white-space: pre-wrap;\n}\n\ncode {\n font-family: Consolas, Monaco, Andale Mono, monospace;\n line-height: 1.5;\n font-size: 13px;\n}\n\naside {\n display: block;\n float: right;\n width: 390px;\n}\n\nblockquote {\n border-left:.5em solid #eee;\n padding: 0 1em;\n margin-left:0;\n max-width: 476px;\n font-style:italic;\n \n}\n\nblockquote cite {\n font-size:14px;\n line-height:20px;\n color:#bfbfbf;\n margin-left:20px;\n}\n\nblockquote cite:before {\n content: '\\2014 \\00A0';\n}\n\nblockquote p { \n color: #666;\n max-width: 460px;\n}\n\nhr {\n width: 540px;\n text-align: left;\n margin: 0 auto 0 0;\n color: #999;\n}" } ``` **identifier**: `preview-styling` **version**: `0.0.5` **minAppVersion**: `20.6.0` ### Script `Indent/unindent line` **id**: `5` **path**: `/home/laxenair/.local/share/PBE/QOwnNotes/scripts/indent-line/indent-line.qml` **variablesJson**: ``` { "indent_spaces_number": 4 } ``` **identifier**: `indent-line` **version**: `1.0.0` **minAppVersion**: `19.03.2` ## Settings **AboutDialog/geometry** (QByteArray): `