Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 157961 - kig (part of kdeedu) does not have python scripting support
kig (part of kdeedu) does not have python scripting support
Product: Fedora
Classification: Fedora
Component: kdeedu (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Depends On:
  Show dependency treegraph
Reported: 2005-05-17 10:22 EDT by Maurizio Paolini
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-18 10:53:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Maurizio Paolini 2005-05-17 10:22:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.6) Gecko/20040510

Description of problem:
kig does not have python scripting support enabled (no "script" button and
no python-script object in Objects->Other menu).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. start kig
2. press Objects menu, then Other
3. an entry "python script" should be present

Actual Results:  No python scripting possible

Expected Results:  both a button and a menu entry for python scripting

Additional info:

During compile time there is a check for the presence of the libboost libraries,
necessary for the python scripting support in kig.
In the present case presumably the problem is due to an incompatibility between
the installed boost libraries:
and the compatibility compiler:
(note that kde does not compile with gcc 4.0.0)

as a counter-proof, kig was successfully compiled (with python scripting)
using gcc version 3.4.2; a proof of concept rpm was then created that can
be tested under FC4T3.  Such rpm can be found at
in the same place you can also find a "compat-gcc-c++-34..." package
that contains the 3.4.2 gcc compiler + libstdc++ necessary to compile kig.
The corresponding "src.rpm" however is fake and also contains only the
executables of the compiler: I do not have the skill to produce a proper
Comment 1 Maurizio Paolini 2005-05-24 04:08:20 EDT
It turns out that kde for FC4 was actually compiled with gcc 4.0.0; the 
check in "./configure" of kde to blacklist gcc4.0.0 was probably not yet 
included at the time when the tarball for FC4 was prepared.  Python 
scripting was intentionally disabled at ./configure time by including the 
option "--disable-kig-python-scripting" for some reason. 
A quick check using the latest "subversion" version of kig compiled 
with gcc 4.0.0 (after removal of the blacklisting) with scripting enabled 
produced an executable that is apparently OK.  I also checked the python 
scripting a bit. 
So it seems that the "--disable-kig-python-scripting" flag could be 
removed from the ./configure! 
Comment 2 Ngo Than 2005-05-25 06:05:09 EDT
The reason ,why i disabled it temporary, is a compiler issue in the last time.
It's now too late for FC4, But i will surely enable it in next KDE-3.4.1 (FC4
Comment 3 Maurizio Paolini 2005-06-22 04:41:06 EDT
(In reply to comment #2) 
> The reason ,why i disabled it temporary, is a compiler issue in the last 
> It's now too late for FC4, But i will surely enable it in next KDE-3.4.1 
> update)  
I just tried the latest update for FC4 (kdeedu-3.4.1), but the problem 
is still there! 
Is there a specific reason for disabling python scripting? 
Comment 4 Ngo Than 2005-07-18 10:20:19 EDT
it seems that boost is needed to be fixed for building kig with python scripting
support on x86_64 plattform
Comment 5 Ngo Than 2005-07-18 10:21:40 EDT
I will try to build it in rawhide this week.
Comment 6 Ngo Than 2005-07-18 10:53:08 EDT
It's now fixed in kdeedu-3.4.1-2 and will be available in rawhide tomorrow.
For FC4 update, i'm still waiting for KDE-3.4.2 release.

Note You need to log in before you can comment on or make changes to this bug.