Package Details: kraft 0.59-1

Git Clone URL: https://aur.archlinux.org/kraft.git (read-only)
Package Base: kraft
Description: A program suitable for all trades or crafts
Upstream URL: http://www.volle-kraft-voraus.de/
Licenses: GPL
Submitter: None
Maintainer: t-8ch
Last Packager: t-8ch
Votes: 8
Popularity: 0.001794
First Submitted: 2007-03-08 08:57
Last Updated: 2015-10-01 19:03

Dependencies (7)

Required by (0)

Sources (2)

Latest Comments

tuxflo commented on 2015-11-03 08:38

@t-8ch it is working with the manual downloaded package but not with the one of the PKGBUILD. Maybe a sourceforge issue?

t-8ch commented on 2015-10-28 22:33

@tuxflo: Please try to remove the old source and download it again. For me everything works fine. Maybe your source archive was corrupt.

tuxflo commented on 2015-10-28 22:00

not able to install because of sha256sum. If I enter the correct one (or even SKIP) the installer quits with:
: line 19: cd: /tmp/.../aur-kraft/src/kraft-0.59: No such file or directory

t-8ch commented on 2014-05-16 16:57

I have removed a workaround which I thought to be unnecessary due to my other error.

I reported this 2.5 years ago. It is a python syntax change. By now the all distros should be using compatible versions of python, so reporting it again might be good.

Readded the workaround for the time being (the sed invocation in the PKGBUILD)

piedro commented on 2014-05-16 10:51

can't print documents, seems like "erml2pdf.py" doesn't start,
same issue is reported in the mailgroup,

any idea?
p.

piedro commented on 2014-05-16 10:40

seems some paths are a bit messed up, you have to edit the PKGBUILD to make it work - some places ${pkgname}-${pkgver} is missing ...

thx still for doing this,
p.

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

Hello!
Last version (on sep 22th, 2013) isn't 0.51?
http://volle-kraft-voraus.de/Main/Releases
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/erml2pdf.py", 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/erml2pdf.py", 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.

- > http://sourceforge.net/tracker/?func=detail&atid=747132&aid=3316397&group_id=140662

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

ilpianista commented on 2010-11-10 17:41

disowned and adopted, but I does not use this package. Free to adopt!