Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plasma 6 support #233

Open
Dan-Sun opened this issue Mar 27, 2024 · 5 comments
Open

Plasma 6 support #233

Dan-Sun opened this issue Mar 27, 2024 · 5 comments

Comments

@Dan-Sun
Copy link

Dan-Sun commented Mar 27, 2024

Hey

Since plasma 6 is available kraft doesn't connect to akonadi anymore. So no contacts will be listed. Not a big issue but maybe something related to plasma 6 or just on my side?

I saw that the copyright is 2004. 20 years of Kraft! Unbelievable! Thanks for such a loooong time, still being there for it.

@dragotin
Copy link
Owner

Yes, I will look into porting to Qt6 soonish

@dragotin
Copy link
Owner

Also Port Grantlee -> KTextTemplate

@Dan-Sun
Copy link
Author

Dan-Sun commented Aug 17, 2024

KTextTemplate instead of weasyprint?

When I run Kraft on an updated Arch Linux system, I'm unable to print documents.
Is there maybe a simple solution for this issue?

❯ kraft
Setting additional Locale path: "/usr/bin/../share/locale"
Found this stylefile:  "/usr/share/kraft/styles/docdigestview.css"
Found this stylefile:  "/usr/share/kraft/styles/catalogview.css"
Found this stylefile:  "/usr/share/kraft/styles/systemview.css"
III (QSize(64, 64))
III (QSize(64, 64))
III (QSize(64, 64))
Akonadi broken:  "The Akonadi server protocol version differs from the protocol version used by this application.\nIf you recently updated your system please log out and back in to make sure all applications use the correct protocol version."
Akonadi broken:  "The Akonadi server protocol version differs from the protocol version used by this application.\nIf you recently updated your system please log out and back in to make sure all applications use the correct protocol version."
Akonadi broken:  "The Akonadi server protocol version differs from the protocol version used by this application.\nIf you recently updated your system please log out and back in to make sure all applications use the correct protocol version."
Loading template source file:  "/usr/share/kraft/views/systemviewdetails.thtml"
Akonadi broken:  "The Akonadi server protocol version differs from the protocol version used by this application.\nIf you recently updated your system please log out and back in to make sure all applications use the correct protocol version."
Returning tool path ("python3", "/usr/share/kraft/tools/erml2pdf.py")
Returning tool path "/usr/bin/iconv" for "iconv"
Returning tool path "/usr/bin/weasyprint" for "weasyprint"
org.kde.pim.akonadicore: Protocol version mismatch. Server version is newer ( 65 ) than ours ( 63 ). If you updated your system recently please restart all KDE PIM applications.
org.kde.pim.akonadicore: Job error:  "The protocol version of the Akonadi server is incompatible. Make sure you have a compatible version installed. (Protocol version mismatch. Server version is newer (65) than ours (63). If you updated your system recently please restart all KDE PIM applications.)" for collection: QVector()
Querying archdocs for document ident  "575-2024"
Loading template source file:  "/usr/share/kraft/views/docdigest.thtml"
Querying archdocs for document ident  "575-2024"
Querying archdocs for document ident  "575-2024"
Querying archdocs for document ident  "575-2024"
Template File: "/usr/share/kraft/reports/quote.html"
Using this template:  "/usr/share/kraft/reports/quote.html"
org.kde.pim.akonadicore: Protocol version mismatch. Server version is newer ( 65 ) than ours ( 63 ). If you updated your system recently please restart all KDE PIM applications.
org.kde.pim.akonadicore: Job error:  "The protocol version of the Akonadi server is incompatible. Make sure you have a compatible version installed. (Protocol version mismatch. Server version is newer (65) than ours (63). If you updated your system recently please restart all KDE PIM applications.)" for collection: QVector()

I have another non-updated laptop that I run kraft on as well. So that's the solution for me atm :)

@dragotin
Copy link
Owner

dragotin commented Oct 7, 2024

No, not instead of weasyprint, but instead of grantlee, which is the current template engine. Using KTextTemplate instead will happen with the porting to qt6/KF6.

The logfile above shows a different problem: Obviously your kraft version was linked with an incompatible version of Akonadi - probably the latest Akonadi version. That will also only be fixed with kraft going to KF6. So, please stay tuned.

@Dan-Sun
Copy link
Author

Dan-Sun commented Nov 4, 2024

Hey @dragotin

I also had to update the laptop. So I need to look for another solution to print quotes, invoices etc.
Which Linux is the best for Kraft? Is it Opensuse? Or can I also change the AppImage to my current setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants