QtiPlot crashed when chossing Pyhton as default scripting language

Bug #1415067 reported by Hemza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtiplot (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed qtiplot and worked on it for a while. Changing the Default scripting language to Pyhton in Preferences, I end with this problem... It does not work any more, even i tried the following from terminal:

$ qtiplot
qtiplot: /build/buildd/sip4-4.15.5/siplib/siplib.c:11982: sip_api_enable_autoconversion: Assertion `(((td)->td_flags & 0x0007) == 0x0000)' failed.
Aborted (core dumped)

$ qtiplot --default
qtiplot: /build/buildd/sip4-4.15.5/siplib/siplib.c:11982: sip_api_enable_autoconversion: Assertion `(((td)->td_flags & 0x0007) == 0x0000)' failed.
Aborted (core dumped)

Also I tried to rienstall it
$ sudo apt-get purge qtiplot
$ sudo apt-get autoremove
$ sudo apt-get install

but the same result.

I found the attaqcched file in /var/crash/

I run LinuxMint (Maya) based on ubuntu 12.04 x64

qtiplot:
  Installed: 0.9.8.8-3
  Candidate: 0.9.8.8-3
  Version table:
 *** 0.9.8.8-3 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

----------------------------------------------------------------------
EDIT: The problem is in Python scripting support. Changing this line:
- ScriptingLang=Python
+ ScriptingLang=muParser
in $HOME/.config/ProIndependent/QtiPlot.config, and QtiPlot will start properly, the bug still persist with pyhton

Revision history for this message
Hemza (hemza-m) wrote :
Revision history for this message
Hemza (hemza-m) wrote :

I found the source of the problem. It is in the scripting language option.
When I choose the ScriptingLang=Python I end with the previousely reported behaviour,
So I looked for the qtiplot config file in my home directory (/home/yam/.config/ProIndependent/QtiPlot.config, which is not obvious because th lack of documentation) and changed the ScriptingLang=muParser (line 18). Now it work properly.
However the bug still persist with pyhton. I think I should change this bug repot to "QtiPlot crashed when chossing Pyhton as default scripting language"

description: updated
summary: - qtiplot did not start
+ QtiPlot crashed when chossing Pyhton as default scripting language
Hemza (hemza-m)
description: updated
Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 1415067] Re: QtiPlot crashed when chossing Pyhton as default scripting language

Thanks, it looks like it needs to be rebuilt against the newest SIP,
it expects one version but is getting another...
I'll check whether it's mixed up in ubuntu or in Mint

For now, please try the following test package to see if I fixed it:
$ sudo apt-add-repository ppa:showard314/qtiplot-ppa
$ sudo apt-get update
$ sudo apt-get upgrade

will install the test version, qtiplot - 0.9.8.8-4~26~ubuntu12.04.1

It should be built in an hour or so, please test it out and let me
know how it works, thanks

Revision history for this message
Scott Howard (showard314) wrote :

also, could you please run:
$ apport-collect 1415067

Thank you!

Revision history for this message
Hemza (hemza-m) wrote :

Sorry for delay ... I add your ppa and upgrade qtiplot but the problem
persist with python as the scripting language.
Is there any one there get this problem.

On 29 January 2015 at 17:42, Scott Howard <email address hidden> wrote:

> also, could you please run:
> $ apport-collect 1415067
>
> Thank you!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1415067
>
> Title:
> QtiPlot crashed when chossing Pyhton as default scripting language
>
> Status in qtiplot package in Ubuntu:
> New
>
> Bug description:
> I installed qtiplot and worked on it for a while. Changing the Default
> scripting language to Pyhton in Preferences, I end with this
> problem... It does not work any more, even i tried the following from
> terminal:
>
> $ qtiplot
> qtiplot: /build/buildd/sip4-4.15.5/siplib/siplib.c:11982:
> sip_api_enable_autoconversion: Assertion `(((td)->td_flags & 0x0007) ==
> 0x0000)' failed.
> Aborted (core dumped)
>
> $ qtiplot --default
> qtiplot: /build/buildd/sip4-4.15.5/siplib/siplib.c:11982:
> sip_api_enable_autoconversion: Assertion `(((td)->td_flags & 0x0007) ==
> 0x0000)' failed.
> Aborted (core dumped)
>
> Also I tried to rienstall it
> $ sudo apt-get purge qtiplot
> $ sudo apt-get autoremove
> $ sudo apt-get install
>
> but the same result.
>
> I found the attaqcched file in /var/crash/
>
> I run LinuxMint (Maya) based on ubuntu 12.04 x64
>
> qtiplot:
> Installed: 0.9.8.8-3
> Candidate: 0.9.8.8-3
> Version table:
> *** 0.9.8.8-3 0
> 500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64
> Packages
> 100 /var/lib/dpkg/status
>
> ----------------------------------------------------------------------
> EDIT: The problem is in Python scripting support. Changing this line:
> - ScriptingLang=Python
> + ScriptingLang=muParser
> in $HOME/.config/ProIndependent/QtiPlot.config, and QtiPlot will start
> properly, the bug still persist with pyhton
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/qtiplot/+bug/1415067/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.