Package Details: kraft 0.95-1

Git Clone URL: (read-only, click to copy)
Package Base: kraft
Description: A program suitable for all trades or crafts
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: t-8ch
Last Packager: t-8ch
Votes: 9
Popularity: 0.000007
First Submitted: 2007-03-08 08:57
Last Updated: 2020-08-28 18:03

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

t-8ch commented on 2014-05-15 19:49

Thanks for reporting. I couldn't reproduce the bug with the locale when building under LC_ALL=C.
I patched around the other bug and will it send upstream later.

snassar commented on 2014-05-14 10:03

In following up on compiling Kraft on Arch through the Arch User Repository (AUR) I encountered the following issues:

Kraft seems to depends on ctemplate 2.2 and not 2.3 but the package in AUR is 2.3

ctemplate refused to build until I exported LC_ALL to a UTF8 locale, for example: export LC_ALL='en_US.utf8'

Kraft would refuse to build because it is calling a deprecated and removed member "ReloadIfChanged" - See texttemplate.cpp at line 150

Once I edited tmpl->ReloadIfChanged(); to tmpl->ReloadAllIfChanged(); Kraft built successfully and seems to run just fine.

snassar commented on 2014-05-14 09:50

A patch is needed to do the following:

Edit texttemplate.cpp at line 150 and change ReloadIfChanged to ReloadAllIfChanged

Then kraft can use ctemplate 2.3

snassar commented on 2014-05-14 09:23

Kraft 0.54 cannot build with ctemplate 2.3 since since the deprecated Template::SetEscapedValueAndShowSection() and Template::ReloadIfChanged() were removed.

Glorfindel commented on 2013-09-25 15:38

Last version (on sep 22th, 2013) isn't 0.51?
Best regards.

alieno commented on 2011-11-10 16:29

kraft need python-pypdf to print document

t-8ch commented on 2011-09-26 10:48

We could try continue to solve this via email/xmpp.
You can find my mail address on my aur page.
Yours seems pretty invalid :-)
It would also be better for exchanging files (we don't want python code with wrong spaces)

Anonymous comment on 2011-09-26 09:46

Hi t-8ch, thank you for looking into it. I changed the python line to python2 as you suggested at sourceforge, now it dies a few hundred lines later with:

kraft(23423)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
File "/usr/share/apps/kraft/tools/", line 334
raise ValueError, "Not enough space"
SyntaxError: invalid syntax

there is plenty of space available in /tmp, $home & /

t-8ch commented on 2011-09-26 08:00

After checking the source tarball from the PKGBUILD and checking out revision 1255683 from kdesvn it seems like the problem is exactly the one mentioned in the error text:
Indentation is always done using <Tab>, except on line 169 where it are spaces(which is fatal in python).
You can check this by marking tabs in a special way (check your editor docs) or change the width of tabs.

You can fix it by opening the file in question as root and changing simply the spaces at the beginning of line 169 to 4 tabs.
I'll also comment on sourceforge.

Anonymous comment on 2011-09-25 22:22

Document / Pdf creation fails with:

File "/usr/share/apps/kraft/tools/", line 169
elif node.localName=='blockSpan':
TabError: inconsistent use of tabs and spaces in indentation

The authors think the problem the problem is not coming with kraft.

- >

Since everything installed here comes from arch's repos, I was wandering if anyone else is experiencing this or can offer some advice.