dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
58 stars 18 forks source link

Plasma 6 support #233

Open Dan-Sun opened 6 months ago

Dan-Sun commented 6 months ago

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 commented 6 months ago

Yes, I will look into porting to Qt6 soonish

dragotin commented 2 months ago

Also Port Grantlee -> KTextTemplate

Dan-Sun commented 1 month ago

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 :)