<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>100292</bug_id>
          
          <creation_ts>2005-02-26 03:41:58 +0000</creation_ts>
          <short_desc>KIG crashes with sine-curve.kig due to an assert failing</short_desc>
          <delta_ts>2005-04-14 18:12:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kig</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henrique Pinto">henrique.pinto</reporter>
          <assigned_to name="Pino Toscano">pino</assigned_to>
          <cc>devriese</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>318510</commentid>
    <comment_count>0</comment_count>
    <who name="Henrique Pinto">henrique.pinto</who>
    <bug_when>2005-02-26 03:41:58 +0000</bug_when>
    <thetext>Version:           v0.9.1 (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.3.4
OS:                Linux (i586) release 2.4.26

If I try to load kdeedu/kig/examples/sine-curve.kig, the program exits due to an assert failing. The console output is:

kig: /home/tawhaki/KDE/src/kdeedu/kig/misc/object_hierarchy.cc:538: ObjectHierarchy::ObjectHierarchy(const QDomElement&amp;): Assertion `type&apos; failed.

This probably happens because I haven&apos;t enabled the Python scripting support. Yet it would be nice if Kig could show a nice messagebox telling that an error occurred instead of crashing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>318520</commentid>
    <comment_count>1</comment_count>
    <who name="Dominique Devriese">devriese</who>
    <bug_when>2005-02-26 04:26:58 +0000</bug_when>
    <thetext>Henrique Pinto writes:

&gt; If I try to load kdeedu/kig/examples/sine-curve.kig, the program
&gt; exits due to an assert failing. The console output is:

&gt; kig: /home/tawhaki/KDE/src/kdeedu/kig/misc/object_hierarchy.cc:538:
&gt; ObjectHierarchy::ObjectHierarchy(const QDomElement&amp;): Assertion
&gt; `type&apos; failed.

&gt; This probably happens because I haven&apos;t enabled the Python scripting
&gt; support. Yet it would be nice if Kig could show a nice messagebox
&gt; telling that an error occurred instead of crashing.

Hm, I thought I fixed this some time ago..  I&apos;ll check..

cheers
domi

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>318521</commentid>
    <comment_count>2</comment_count>
    <who name="Dominique Devriese">devriese</who>
    <bug_when>2005-02-26 04:35:25 +0000</bug_when>
    <thetext>Dominique Devriese writes:

&gt; Henrique Pinto writes:

&gt;&gt; If I try to load kdeedu/kig/examples/sine-curve.kig, the program
&gt;&gt; exits due to an assert failing. The console output is:

&gt;&gt; kig: /home/tawhaki/KDE/src/kdeedu/kig/misc/object_hierarchy.cc:538:
&gt;&gt; ObjectHierarchy::ObjectHierarchy(const QDomElement&amp;): Assertion
&gt;&gt; `type&apos; failed.

&gt;&gt; This probably happens because I haven&apos;t enabled the Python
&gt;&gt; scripting support. Yet it would be nice if Kig could show a nice
&gt;&gt; messagebox telling that an error occurred instead of crashing.

&gt; Hm, I thought I fixed this some time ago..  I&apos;ll check..

Strange, when I simulate this on my system, by changing Python*Type to
Appel*Type ( this should be identical to your situation ), it shows a
nice detailedError() dialog with in the details box &quot;This Kig file
uses an object of type &quot;AppelCompileType&quot;, which this Kig version does
not support.Perhaps you have compiled Kig without support for this
object type,or perhaps you are using an older Kig version.&quot;  When did
you last update and recompile your Kig checkout ?  If the problem
persists, I&apos;ll try to recompile without python to replicate your
situation more exactly..

cheers
domi

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>318583</commentid>
    <comment_count>3</comment_count>
    <who name="Henrique Pinto">henrique.pinto</who>
    <bug_when>2005-02-26 13:29:15 +0000</bug_when>
    <thetext>Hi!

Em Sáb 26 Fev 2005 00:35, Dominique Devriese escreveu:
&gt; When did you last update and recompile your Kig checkout ?

30 minutes ago. The problem still persists. Please let me know if I can do 
something to help.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>318666</commentid>
    <comment_count>4</comment_count>
    <who name="Dominique Devriese">devriese</who>
    <bug_when>2005-02-26 20:10:57 +0000</bug_when>
    <thetext>Henrique Pinto writes:

&gt; Hi!

&gt; Em S</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334533</commentid>
    <comment_count>5</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2005-04-14 18:04:27 +0000</bug_when>
    <thetext>CVS commit by pino: 

Fixing bug 100292: KIG crashes with sine-curve.kig due to an assert failing.

I&apos;m going to backport it soon, since it doesn&apos;t modify any string.

CCBUG: 100292


  M +9 -15     filters/native-filter.cc   1.37
  M +1 -1      misc/lists.cc   1.25
  M +33 -31    misc/object_hierarchy.cc   1.26
  M +11 -3     misc/object_hierarchy.h   1.15
  M +61 -44    objects/object_imp_factory.cc   1.11
  M +1 -1      objects/object_imp_factory.h   1.5
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334537</commentid>
    <comment_count>6</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2005-04-14 18:12:14 +0000</bug_when>
    <thetext>CVS commit by pino: 

Backport fix for bug 100292: KIG crashes with sine-curve.kig due to an assert failing.

BUG: 100292


  M +9 -15     filters/native-filter.cc   1.36.2.1
  M +1 -1      misc/lists.cc   1.24.2.1
  M +33 -31    misc/object_hierarchy.cc   1.25.2.1
  M +11 -3     misc/object_hierarchy.h   1.14.2.1
  M +61 -44    objects/object_imp_factory.cc   1.10.2.1
  M +1 -1      objects/object_imp_factory.h   1.4.2.1
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>