[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-13 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

Alexander Semke  changed:

   What|Removed |Added

   Version Fixed In||2.5
 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #32 from Alexander Semke  ---
(In reply to Łukasz from comment #31)
> I removed file ~/.local/share/kxmlgui5/labplot2/labplot2ui.rc , then I have
> started LabPlot and it runs properly and opens file. And it draws my
> functions properly!
great :-)

It looks like you're studying different interpolation functions for your data.
In LabPlot we also have a lot of functionality for fitting and interpolating
the data with several methods. Maybe this is also something that you're
interested in.

I'll close this ticket now with "FIXED" since the original problem is solved in
the 2.5 version. Don't hesitate to report any new bugs you encounter. In case
you have some questions related to the usage of the application itself you can
also ask on the kde-edu mailing list.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-13 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #31 from Łukasz  ---
(In reply to Alexander Semke from comment #30)
> (In reply to Łukasz from comment #29)
> > Created attachment 109825 [details]
> > output of gdb while opening a file 2
> The crash is because of the missing rc-file. Though I cannot reproduce it
> and according to the code it shouldn't crash actually in such a case, but
> it's definitely because of the missing rc-file. According to your
> grep_output file, the rc-file is successfully found. I'm a bit confused now
> to be hones. So, we need to go one step back...
> 
> Can you please do a 'make uninstall' and make sure you don't have any
> rc-files left anyware. Check your folders
> /home/panlukasz/.local/share/kxmlgui5/labplot2 and
> /usr/local/share/kxmlgui5/labplot2/. After this do a 'make install' and
> start labplot again. If a warning comes again, please collect the the output
> of strace and grep and you did before.

Success!!!

I removed file ~/.local/share/kxmlgui5/labplot2/labplot2ui.rc , then I have
started LabPlot and it runs properly and opens file. And it draws my functions
properly!

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-13 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #30 from Alexander Semke  ---
(In reply to Łukasz from comment #29)
> Created attachment 109825 [details]
> output of gdb while opening a file 2
The crash is because of the missing rc-file. Though I cannot reproduce it and
according to the code it shouldn't crash actually in such a case, but it's
definitely because of the missing rc-file. According to your grep_output file,
the rc-file is successfully found. I'm a bit confused now to be hones. So, we
need to go one step back...

Can you please do a 'make uninstall' and make sure you don't have any rc-files
left anyware. Check your folders /home/panlukasz/.local/share/kxmlgui5/labplot2
and /usr/local/share/kxmlgui5/labplot2/. After this do a 'make install' and
start labplot again. If a warning comes again, please collect the the output of
strace and grep and you did before.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-12 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #29 from Łukasz  ---
Created attachment 109825
  --> https://bugs.kde.org/attachment.cgi?id=109825=edit
output of gdb while opening a file 2

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-12 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #28 from Łukasz  ---
Still complains about labplot2ui.rc in the beginning, then crashes when I open
file, either using dialog window or by dragging and dropping.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-12 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #27 from Łukasz  ---
It crashed also when I opened a file using dialog window. But I will try once
again.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-12 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #26 from Alexander Semke  ---
(In reply to Łukasz from comment #25)
> Created attachment 109823 [details]
> Output of gdb while opening a file
Thanks. It looks like you drag your lml file onto the application. I
pushed a small change now. Can you pull the code and try again. Does it still
crash for you if you drop the file?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-12 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #25 from Łukasz  ---
Created attachment 109823
  --> https://bugs.kde.org/attachment.cgi?id=109823=edit
Output of gdb while opening a file

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-12 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #24 from Alexander Semke  ---
(In reply to Łukasz from comment #23)
> Created attachment 109816 [details]
> Example of file which causes crash
I cannot reproduce the crash. You files loads correctly. Can you please attach
the crash dump?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-12 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #23 from Łukasz  ---
Created attachment 109816
  --> https://bugs.kde.org/attachment.cgi?id=109816=edit
Example of file which causes crash

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-11 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #22 from Alexander Semke  ---
(In reply to Łukasz from comment #20)
> Now it still complains, but at least main window appears. But when I try to
> open my lml file, it crashes.

Ok. The rc-file is found now. The new crash is because of something in your
lml-file causes some troubles for LabPlot. Can you please attach the project
file?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-11 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #21 from Łukasz  ---
Created attachment 109807
  --> https://bugs.kde.org/attachment.cgi?id=109807=edit
grep output

Output of grep labplot2ui.rc log.txt

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-11 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #20 from Łukasz  ---
(In reply to Alexander Semke from comment #19)
> (In reply to Łukasz from comment #18)
> > Now LabPlot runs, but complains that it can't find labplot2ui.rc file. Thay
> > happens regardless whether I install in /usr/ or in /usr/local/ .
> 
> Can you please pull the current code once more and try again? If you still
> have the problem, please do 'strace -o log.txt labplot2' and paste the
> output of 'grep labplot2ui.rc log.txt' here.

Now it still complains, but at least main window appears. But when I try to
open my lml file, it crashes.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-11 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #19 from Alexander Semke  ---
(In reply to Łukasz from comment #18)
> Now LabPlot runs, but complains that it can't find labplot2ui.rc file. Thay
> happens regardless whether I install in /usr/ or in /usr/local/ .

Can you please pull the current code once more and try again? If you still have
the problem, please do 'strace -o log.txt labplot2' and paste the output of
'grep labplot2ui.rc log.txt' here.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-11 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #18 from Łukasz  ---
Now LabPlot runs, but complains that it can't find labplot2ui.rc file. Thay
happens regardless whether I install in /usr/ or in /usr/local/ .

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-08 Thread Stefan Gerlach
https://bugs.kde.org/show_bug.cgi?id=388646

Stefan Gerlach  changed:

   What|Removed |Added

 CC||stefan.gerlach@uni-konstanz
   ||.de

--- Comment #17 from Stefan Gerlach  ---
I installed the current code on Arch Linux using the "compile" script and "make
install". This installs into /usr and everything works as expected, i.e. i
can't reproduce the crash.
Can you try to install into /usr?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #16 from Christoph Feck  ---
If you are installing into a separate directory, please make sure it is known
in the various search paths that libraries expect. I am not sure if the list is
up-to-date, but
https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source should have
the variables documented, see section "Set up the runtime environment".

-- 
You are receiving this mail because:
You are watching all bug changes.


[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #15 from Alexander Semke  ---
(In reply to Łukasz from comment #14)
> > What is location of labplot2.rc file on your computer?
> 
> I don't have such file, only these files with .rc extensions:
> /usr/local/share/kxmlgui5/labplot2/labplot2ui.rc
> /usr/local/share/labplot2/labplot2ui.rc
> (I have looked for them in install manifest.)
Yes, I meant this file.

> 
> I'm sorry for problems I generate.
No problem. Thank you. We'll try to reproduce this problem on Arch Linux on our
side.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #14 from Łukasz  ---
(In reply to Alexander Semke from comment #13)
> (In reply to Łukasz from comment #12)
> > Created attachment 109728 [details]
> > backtrace
> > 
> > I have used backtrace command, more output in attached file.
> 
> Thank you a lot for the help to nail down the problem!
> 
> Can you install the debug symbols for Qt and attache the backtrace once more?

I have tried, but can't do that. In Arch GNU/Linux we don't have debugging
symbols in packages. I have tried this repo:
https://wiki.archlinux.org/index.php/Unofficial_user_repositories#qt-debug ,
but there are problems with PGP keys. I can't go further, I'm sorry.
Alternatively I would have to recompile many Qt packages, and I'm not
sufficiently skilled to do that.

> What is location of labplot2.rc file on your computer?

I don't have such file, only these files with .rc extensions:
/usr/local/share/kxmlgui5/labplot2/labplot2ui.rc
/usr/local/share/labplot2/labplot2ui.rc
(I have looked for them in install manifest.)

I'm sorry for problems I generate.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #13 from Alexander Semke  ---
(In reply to Łukasz from comment #12)
> Created attachment 109728 [details]
> backtrace
> 
> I have used backtrace command, more output in attached file.

Thank you a lot for the help to nail down the problem!

Can you install the debug symbols for Qt and attache the backtrace once more?

What is location of labplot2.rc file on your computer?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #12 from Łukasz  ---
Created attachment 109728
  --> https://bugs.kde.org/attachment.cgi?id=109728=edit
backtrace

I have used backtrace command, more output in attached file.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #11 from Alexander Semke  ---
(In reply to Łukasz from comment #10)
> Created attachment 109727 [details]
> gdb output
> 
> Yes, I have compiled with DebugFull build type and run in gdb. Results in
> attachment.

Once you're in gdb and observe the crash, can you please send the output of bt
to get the full backtrace?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #10 from Łukasz  ---
Created attachment 109727
  --> https://bugs.kde.org/attachment.cgi?id=109727=edit
gdb output

Yes, I have compiled with DebugFull build type and run in gdb. Results in
attachment.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #9 from Alexander Semke  ---
(In reply to Łukasz from comment #7)
> 
> Yes, I have successfully installed the program and segfault occured, when I
> ran it.

do you have any debug output?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #8 from Łukasz  ---
I have installed in /usr/local/

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #7 from Łukasz  ---
(In reply to Alexander Semke from comment #6)
> (In reply to Łukasz from comment #5)
> > LabPlot compiles, but I have segmentation fault, when I execute the program.
> 
> did you do 'make install'?

Yes, I have successfully installed the program and segfault occured, when I ran
it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #6 from Alexander Semke  ---
(In reply to Łukasz from comment #5)
> LabPlot compiles, but I have segmentation fault, when I execute the program.

did you do 'make install'?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #5 from Łukasz  ---
LabPlot compiles, but I have segmentation fault, when I execute the program.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #4 from Łukasz  ---
(In reply to Alexander Semke from comment #2)
> we had couple of fixes in this area done for the 2.5 version of LabPlot. I
> just checked you file with the current code and everything looks ok. We
> didn't resease 2.5 yet, will be done soon. Would it be feasible for you to
> compile the current code and try again?

Yes, I will try to compile and give feedback.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #3 from Alexander Semke  ---
P.S.: your second curve results in huge values for y (-10^66, 10^67). It's
better maybe to rescale you variable via x -> x/14.1615840479. After the
rescaling the interesting part of the curve is in the region x \in (2, 3).

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #2 from Alexander Semke  ---
we had couple of fixes in this area done for the 2.5 version of LabPlot. I just
checked you file with the current code and everything looks ok. We didn't
resease 2.5 yet, will be done soon. Would it be feasible for you to compile the
current code and try again?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

Łukasz  changed:

   What|Removed |Added

 CC||ftefrjbhfvas...@o2.pl

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 388646] LabPlot sometimes doesn't plot functions, plots flat line instead

2018-01-07 Thread Łukasz
https://bugs.kde.org/show_bug.cgi?id=388646

--- Comment #1 from Łukasz  ---
Created attachment 109723
  --> https://bugs.kde.org/attachment.cgi?id=109723=edit
LabPlot output

-- 
You are receiving this mail because:
You are watching all bug changes.