Once more: Qt Terminal (no output)

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Once more: Qt Terminal (no output)

Philipp K. Janert

I can now build and run gnuplot5 rc1 with Qt,
but when I try to use the qt terminal, I do
not get an output window. I also do not seem
to get an error message - just nothing happens.

I have no problem using either wxt or x11.

Is this known behavior?


Here is the output from "show version long":

        G N U P L O T
        Version 5.0 patchlevel rc1    last modified 2014-05-16

        Copyright (C) 1986-1993, 1998, 2004, 2007-2014
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        mailing list:     [hidden email]
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')
Compile options:
-READLINE  +LIBREADLINE  +HISTORY  
-BACKWARDS_COMPATIBILITY  +BINARY_DATA  
+GD_PNG  +GD_JPEG  +GD_TTF  +GD_GIF  +ANIMATION  
-USE_CWDRC  +X11  +X11_POLYGON  +MULTIBYTE  +X11_EXTERNAL +USE_MOUSE
        +HIDDEN3D_QUADTREE +DATASTRINGS  +HISTOGRAMS  +OBJECTS
        +STRINGVARS  +MACROS  +THIN_SPLINES  +IMAGE  +USER_LINETYPES
        +STATS +EXTERNAL_FUNCTIONS

GNUPLOT_DRIVER_DIR =
"/home/janert/Gnuplot-Workspace/gnuplot-5rc1/staging/libexec/gnuplot/5.0"
GNUPLOT_PS_DIR     =
"/home/janert/Gnuplot-Workspace/gnuplot-5rc1/staging/share/gnuplot/5.0/PostScript"
HELPFILE           =
"/home/janert/Gnuplot-Workspace/gnuplot-5rc1/staging/share/gnuplot/5.0/gnuplot.gih"


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Ethan Merritt
On Sunday, 15 June 2014 04:47:14 PM Philipp K. Janert wrote:
>
> I can now build and run gnuplot5 rc1 with Qt,
> but when I try to use the qt terminal, I do
> not get an output window. I also do not seem
> to get an error message - just nothing happens.
>
> I have no problem using either wxt or x11.
>
> Is this known behavior?

Nope.

If you run "top" or "ps" in another terminal do you see gnuplot_qt?
Do you see any evidence of font-config or some other system utility
eating up time?

        Ethan


>
>
> Here is the output from "show version long":
>
>         G N U P L O T
>         Version 5.0 patchlevel rc1    last modified 2014-05-16
>
>         Copyright (C) 1986-1993, 1998, 2004, 2007-2014
>         Thomas Williams, Colin Kelley and many others
>
>         gnuplot home:     http://www.gnuplot.info
>         mailing list:     [hidden email]
>         faq, bugs, etc:   type "help FAQ"
>         immediate help:   type "help"  (plot window: hit 'h')
> Compile options:
> -READLINE  +LIBREADLINE  +HISTORY  
> -BACKWARDS_COMPATIBILITY  +BINARY_DATA  
> +GD_PNG  +GD_JPEG  +GD_TTF  +GD_GIF  +ANIMATION  
> -USE_CWDRC  +X11  +X11_POLYGON  +MULTIBYTE  +X11_EXTERNAL +USE_MOUSE
>         +HIDDEN3D_QUADTREE +DATASTRINGS  +HISTOGRAMS  +OBJECTS
>         +STRINGVARS  +MACROS  +THIN_SPLINES  +IMAGE  +USER_LINETYPES
>         +STATS +EXTERNAL_FUNCTIONS
>
> GNUPLOT_DRIVER_DIR =
> "/home/janert/Gnuplot-Workspace/gnuplot-5rc1/staging/libexec/gnuplot/5.0"
> GNUPLOT_PS_DIR     =
> "/home/janert/Gnuplot-Workspace/gnuplot-5rc1/staging/share/gnuplot/5.0/PostScript"
> HELPFILE           =
> "/home/janert/Gnuplot-Workspace/gnuplot-5rc1/staging/share/gnuplot/5.0/gnuplot.gih"
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> gnuplot-beta mailing list
> [hidden email]
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

--
mail:   Biomolecular Structure Center,  K-428 Health Sciences Bldg
        MS 357742,   University of Washington, Seattle 98195-7742

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Philipp K. Janert
On Sun, 15 Jun 2014 16:55:26 -0700
Ethan Merritt <[hidden email]> wrote:

> On Sunday, 15 June 2014 04:47:14 PM Philipp K. Janert wrote:
> >
> > I can now build and run gnuplot5 rc1 with Qt,
> > but when I try to use the qt terminal, I do
> > not get an output window. I also do not seem
> > to get an error message - just nothing happens.
> >
> > I have no problem using either wxt or x11.
> >
> > Is this known behavior?
>
> Nope.
>
> If you run "top" or "ps" in another terminal do you see gnuplot_qt?
> Do you see any evidence of font-config or some other system utility
> eating up time?

Both gnuplot and gnuplot_qt are running
(according to ps), but neither is consuming
significant resources (according to top).

My window manager is iceWM (for what it's
worth).

The gnuplot "output" is sent to "STDOUT".

"show terminal" says:
        terminal type is qt 0 font "Sans,9"

Anything I should try to get more info?

>
> Ethan
>

[snip]

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Dmitri A. Sergatskov



On Sun, Jun 15, 2014 at 8:18 PM, Philipp K. Janert <[hidden email]> wrote:


Anything I should try to get more info?


​Could you send the output of

 ldd /usr/local/bin/gnuplot

​(assuming this is where you install gnuplot)

Dmitri.
--


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Philipp K. Janert

> >
> > Anything I should try to get more info?
> >
> >
> ​Could you send the output of
>
> ​
>  ldd /usr/local/bin/gnuplot
>
> ​(assuming this is where you install gnuplot)
>
> Dmitri.

Below...


        linux-vdso.so.1 =>  (0x00007fffd51fe000)
        libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6
        (0x00007f1dcfb52000) libgd.so.3
        => /usr/lib/x86_64-linux-gnu/libgd.so.3 (0x00007f1dcf8e7000)
        libwx_gtk2u_core-2.8.so.0
        => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
        (0x00007f1dcf305000) libwx_baseu-2.8.so.0
        => /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
        (0x00007f1dcefb9000) libpangocairo-1.0.so.0
        => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
        (0x00007f1dcedac000) libpango-1.0.so.0
        => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
        (0x00007f1dceb5f000) libcairo.so.2
        => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f1dce856000)
        libgobject-2.0.so.0
        => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
        (0x00007f1dce605000) libglib-2.0.so.0
        => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f1dce303000)
        libQt5Network.so.5
        => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
        (0x00007f1dcdfc1000) libQt5Gui.so.5
        => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
        (0x00007f1dcd9f4000) libQt5Core.so.5
        => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
        (0x00007f1dcd3e0000) libdl.so.2
        => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1dcd1dc000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
        (0x00007f1dcced8000) libm.so.6
        => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1dccbd3000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
        (0x00007f1dcc9bd000) libpthread.so.0
        => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1dcc7a0000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
        (0x00007f1dcc3d7000) libtinfo.so.5
        => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f1dcc1ae000)
        libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8
        (0x00007f1dcbf59000) libz.so.1
        => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1dcbd3f000)
        libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0
        (0x00007f1dcbb19000) libfreetype.so.6
        => /usr/lib/x86_64-linux-gnu/libfreetype.so.6
        (0x00007f1dcb877000) libfontconfig.so.1
        => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
        (0x00007f1dcb63a000) libXpm.so.4
        => /usr/lib/x86_64-linux-gnu/libXpm.so.4 (0x00007f1dcb428000)
        libvpx.so.1 => /usr/lib/x86_64-linux-gnu/libvpx.so.1
        (0x00007f1dcb194000) libtiff.so.5
        => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f1dcaf21000)
        libgtk-x11-2.0.so.0
        => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
        (0x00007f1dca8e5000) libgdk-x11-2.0.so.0
        => /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
        (0x00007f1dca633000) libgdk_pixbuf-2.0.so.0
        => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
        (0x00007f1dca412000) libXinerama.so.1
        => /usr/lib/x86_64-linux-gnu/libXinerama.so.1
        (0x00007f1dca20f000) libXxf86vm.so.1
        => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
        (0x00007f1dca009000) libSM.so.6
        => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f1dc9e00000)
        libpangoft2-1.0.so.0
        => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
        (0x00007f1dc9beb000) libgmodule-2.0.so.0
        => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
        (0x00007f1dc99e6000) libthai.so.0
        => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007f1dc97dd000)
        libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
        (0x00007f1dc9534000) libxcb-shm.so.0
        => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0
        (0x00007f1dc9330000) libxcb-render.so.0
        => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0
        (0x00007f1dc9127000) libxcb.so.1
        => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1dc8f09000)
        libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1
        (0x00007f1dc8cfe000) libX11.so.6
        => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1dc89c9000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6
        (0x00007f1dc87b7000) librt.so.1
        => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1dc85ae000)
        libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6
        (0x00007f1dc83a6000) libpcre.so.3
        => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f1dc8167000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
        (0x00007f1dc7f08000) libicui18n.so.48
        => /usr/lib/x86_64-linux-gnu/libicui18n.so.48
        (0x00007f1dc7b40000) libicuuc.so.48
        => /usr/lib/x86_64-linux-gnu/libicuuc.so.48
        (0x00007f1dc77d3000) /lib64/ld-linux-x86-64.so.2
        (0x00007f1dcfdb6000) libexpat.so.1
        => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1dc75a9000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5
        (0x00007f1dc7387000) libjbig.so.0
        => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f1dc7178000)
        libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3
        (0x00007f1dc6f72000) libatk-1.0.so.0
        => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
        (0x00007f1dc6d50000) libgio-2.0.so.0
        => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
        (0x00007f1dc69ec000) libXi.so.6
        => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f1dc67dc000)
        libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2
        (0x00007f1dc65d2000) libXcursor.so.1
        => /usr/lib/x86_64-linux-gnu/libXcursor.so.1
        (0x00007f1dc63c7000) libXcomposite.so.1
        => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
        (0x00007f1dc61c4000) libXdamage.so.1
        => /usr/lib/x86_64-linux-gnu/libXdamage.so.1
        (0x00007f1dc5fc1000) libICE.so.6
        => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f1dc5da4000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1
        (0x00007f1dc5b9f000) libharfbuzz.so.0
        => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
        (0x00007f1dc594c000) libdatrie.so.1
        => /usr/lib/x86_64-linux-gnu/libdatrie.so.1
        (0x00007f1dc5745000) libXau.so.6
        => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1dc5540000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
        (0x00007f1dc533a000) libglapi.so.0
        => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f1dc5113000)
        libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1
        (0x00007f1dc4f11000) libxcb-glx.so.0
        => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0
        (0x00007f1dc4cfa000) libxcb-dri2.so.0
        => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0
        (0x00007f1dc4af5000) libdrm.so.2
        => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f1dc48e8000)
        libicudata.so.48 => /usr/lib/x86_64-linux-gnu/libicudata.so.48
        (0x00007f1dc3578000) libselinux.so.1
        => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f1dc3355000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
        (0x00007f1dc313b000) libgraphite2.so.3
        => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3
        (0x00007f1dc2f20000)

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Dmitri A. Sergatskov



On Sun, Jun 15, 2014 at 10:15 PM, Philipp K. Janert <[hidden email]> wrote:

> >
> > Anything I should try to get more info?
> >
> >
> ​Could you send the output of
>
> ​
>  ldd /usr/local/bin/gnuplot
>
> ​(assuming this is where you install gnuplot)
>
> Dmitri.

Below...

​OK, so Qt5 libraries linked in are:

​    libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f1dcdfc1000)
    libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f1dcd9f4000)
    libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f1dcd3e0000)

--------------
On my computer (Fedora 20) :

    libQt5Network.so.5 => /lib64/libQt5Network.so.5 (0x00007fd50a499000)
    libQt5Svg.so.5 => /lib64/libQt5Svg.so.5 (0x00007fd50a24a000)
    libQt5PrintSupport.so.5 => /lib64/libQt5PrintSupport.so.5 (0x00007fd509fe4000)
    libQt5Widgets.so.5 => /lib64/libQt5Widgets.so.5 (0x00007fd509797000)
    libQt5Gui.so.5 => /lib64/libQt5Gui.so.5 (0x00007fd509131000)
    libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x00007fd508ace000)


So your compile is missing few libraries.

Do you have libQt5Widgets.so.5 on your computer?
(mine came in qt5-qtbase-gui-5.2.1-8 package)

Dmitri.
--



 

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Philipp K. Janert
On Sun, 15 Jun 2014 22:42:01 -0500
"Dmitri A. Sergatskov" <[hidden email]> wrote:

> On Sun, Jun 15, 2014 at 10:15 PM, Philipp K. Janert <[hidden email]>
> wrote:
>
> >
> > > >
> > > > Anything I should try to get more info?
> > > >
> > > >
> > > ​Could you send the output of
> > >
> > > ​
> > >  ldd /usr/local/bin/gnuplot
> > >
> > > ​(assuming this is where you install gnuplot)
> > >
> > > Dmitri.
> >
> > Below...
> >
>
> ​OK, so Qt5 libraries linked in are:
>
> ​    libQt5Network.so.5
> => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f1dcdfc1000)
>     libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
> (0x00007f1dcd9f4000)
>     libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> (0x00007f1dcd3e0000)
>
> --------------
> On my computer (Fedora 20) :
>
>     libQt5Network.so.5 => /lib64/libQt5Network.so.5
> (0x00007fd50a499000) libQt5Svg.so.5 => /lib64/libQt5Svg.so.5
> (0x00007fd50a24a000) libQt5PrintSupport.so.5
> => /lib64/libQt5PrintSupport.so.5 (0x00007fd509fe4000)
>     libQt5Widgets.so.5 => /lib64/libQt5Widgets.so.5
> (0x00007fd509797000) libQt5Gui.so.5 => /lib64/libQt5Gui.so.5
> (0x00007fd509131000) libQt5Core.so.5 => /lib64/libQt5Core.so.5
> (0x00007fd508ace000)
>
>
> So your compile is missing few libraries.
>
> Do you have libQt5Widgets.so.5 on your computer?
> (mine came in qt5-qtbase-gui-5.2.1-8 package)

Yes:
2013 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so -> libQt5Widgets.so.5.0.2
2013 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 -> libQt5Widgets.so.5.0.2
2013 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.0 -> libQt5Widgets.so.5.0.2
2013 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.0.2

>
> Dmitri.
> --


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Dmitri A. Sergatskov



On Sun, Jun 15, 2014 at 11:18 PM, Philipp K. Janert <[hidden email]> wrote:
On Sun, 15 Jun 2014 22:42:01 -0500
"Dmitri A. Sergatskov" <[hidden email]> wrote:


> Do you have libQt5Widgets.so.5 on your computer?
> (mine came in qt5-qtbase-gui-5.2.1-8 package)

Yes:
2013 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so -> libQt5Widgets.so.5.0.2
2013 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 -> libQt5Widgets.so.5.0.2
2013 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.0 -> libQt5Widgets.so.5.0.2
2013 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.0.2



​Hmm... May be it is a difference between QT5.0.2 and 5.2.1...
BTW I found that my compile against qt5 is quite buggy with
respect of font handling, so I reverted to qt4.  ​

 
​Dmitri.
--


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Philipp K. Janert
In reply to this post by Philipp K. Janert
On Sun, 15 Jun 2014 20:41:22 -0700
sfeam <[hidden email]> wrote:

I wanted to re-raise this issue: when using the
Qt terminal, I simply don't get a plot window,
using my preferred window mgr.

set t qt
plot sin(x)

does "nothing" - control returns to the gnuplot
command, but no window appears.

I finally got around to trying it out with a
different window manager (Mate - which is the
default for my distro, which is Mint), and now
everything works just fine.

So, the problem is apparently somewhere between
gnuplot, qt, and iceWM (and possibly my iceWM
configurations!).

How does one make progress on something like this? ;-)


> On Sunday, 15 June 2014 06:36:18 PM you wrote:
> > On Sun, 15 Jun 2014 18:22:17 -0700
> > sfeam <[hidden email]> wrote:
> >
> > > On Sunday, 15 June 2014 06:18:50 PM Philipp K. Janert wrote:
> > > > On Sun, 15 Jun 2014 16:55:26 -0700
> > > > Ethan Merritt <[hidden email]> wrote:
> > > >
> > > > > On Sunday, 15 June 2014 04:47:14 PM Philipp K. Janert wrote:
> > > > > >
> > > > > > I can now build and run gnuplot5 rc1 with Qt,
> > > > > > but when I try to use the qt terminal, I do
> > > > > > not get an output window. I also do not seem
> > > > > > to get an error message - just nothing happens.
> > > > > >
> > > > > > I have no problem using either wxt or x11.
> > > > > >
> > > > > > Is this known behavior?
> > > > >
> > > > > Nope.
> > > > >
> > > > > If you run "top" or "ps" in another terminal do you see
> > > > > gnuplot_qt? Do you see any evidence of font-config or some
> > > > > other system utility eating up time?
> > > >
> > > > Both gnuplot and gnuplot_qt are running
> > > > (according to ps), but neither is consuming
> > > > significant resources (according to top).
> > > >
> > > > My window manager is iceWM (for what it's
> > > > worth).
> > > >
> > > > The gnuplot "output" is sent to "STDOUT".
> > > >
> > > > "show terminal" says:
> > > > terminal type is qt 0 font "Sans,9"
> > > >
> > > > Anything I should try to get more info?
> > >
> > >
> > > use ps to gid the pid of gnuplot_qt.
> > > Let's say it's 12345.
> > >
> > > gdb -p 12345
> > > gdb> where
> > >
> >
> > gdb required me to be root to attach to process.
>
> Really?  That is very strange.
> When you see the gnuplot_qt process in ps or top,
> does it belong to you or does it belong to root?
> (the process itself, not the file).
> If it belongs to root then I think that might
> actually be the problem, although I don't know
> how it would get into that state.
>
> Conversely, I suppose you could try running the program
> as root to see if the same problem occurs.
>
> > The output is below:
> >
> > (skipping many lines)
> >
> > Reading symbols
> > from /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqsvg.so...(no
> > debugging symbols found)...done. Loaded symbols
> > for /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqsvg.so
> > 0x00007faf6f701f7d in poll () from /lib/x86_64-linux-gnu/libc.so.6
> >
> > (gdb) where #0  0x00007faf6f701f7d in poll ()
> > from /lib/x86_64-linux-gnu/libc.so.6 #1  0x00007faf6ecd46a4 in ?? ()
> > from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2  0x00007faf6ecd47ac
> > in g_main_context_iteration ()
> > from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3  0x00007faf70443b0c
> > in
> > QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> > () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4
> > 0x00007faf703fdb6b in
> > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
> > from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5
> > 0x00007faf70403301 in QCoreApplication::exec() ()
> > from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6
> > 0x000000000040d4be in main (argc=1, argv=<optimized out>) at
> > qtterminal/gnuplot_qt.cpp:78
>
> Bah. That tells me nothing useful.
> It got stuck too deep in the qt library code for me to pin it down to
> anything particular that gnuplot did.
>
> I don't think I'm going to be able to help much.
> I've never seen anything like this when using Qt with gnuplot
> or any other program for that matter.  Is there a Mint help forum
> you could ask in?
>
> Ethan
>


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
Reply | Threaded
Open this post in threaded view
|

Re: Once more: Qt Terminal (no output)

Ethan Merritt
On Friday, 19 September, 2014 13:25:05 Philipp K. Janert wrote:

> On Sun, 15 Jun 2014 20:41:22 -0700
> sfeam <[hidden email]> wrote:
>
> I wanted to re-raise this issue: when using the
> Qt terminal, I simply don't get a plot window,
> using my preferred window mgr.
>
> set t qt
> plot sin(x)
>
> does "nothing" - control returns to the gnuplot
> command, but no window appears.
>
> I finally got around to trying it out with a
> different window manager (Mate - which is the
> default for my distro, which is Mint), and now
> everything works just fine.
>
> So, the problem is apparently somewhere between
> gnuplot, qt, and iceWM (and possibly my iceWM
> configurations!).
>
> How does one make progress on something like this? ;-)

I suggest creating a new account on the machine, one that
has never been used previously so that all desktop settings
are in the default state.  Log in to the clean account under
IceWM and see if the problem is gone.  If so then you can
try to compare the default settings to your customized settings
to see if there is a relevant change.

        Ethan



>
>
> > On Sunday, 15 June 2014 06:36:18 PM you wrote:
> > > On Sun, 15 Jun 2014 18:22:17 -0700
> > > sfeam <[hidden email]> wrote:
> > >
> > > > On Sunday, 15 June 2014 06:18:50 PM Philipp K. Janert wrote:
> > > > > On Sun, 15 Jun 2014 16:55:26 -0700
> > > > > Ethan Merritt <[hidden email]> wrote:
> > > > >
> > > > > > On Sunday, 15 June 2014 04:47:14 PM Philipp K. Janert wrote:
> > > > > > >
> > > > > > > I can now build and run gnuplot5 rc1 with Qt,
> > > > > > > but when I try to use the qt terminal, I do
> > > > > > > not get an output window. I also do not seem
> > > > > > > to get an error message - just nothing happens.
> > > > > > >
> > > > > > > I have no problem using either wxt or x11.
> > > > > > >
> > > > > > > Is this known behavior?
> > > > > >
> > > > > > Nope.
> > > > > >
> > > > > > If you run "top" or "ps" in another terminal do you see
> > > > > > gnuplot_qt? Do you see any evidence of font-config or some
> > > > > > other system utility eating up time?
> > > > >
> > > > > Both gnuplot and gnuplot_qt are running
> > > > > (according to ps), but neither is consuming
> > > > > significant resources (according to top).
> > > > >
> > > > > My window manager is iceWM (for what it's
> > > > > worth).
> > > > >
> > > > > The gnuplot "output" is sent to "STDOUT".
> > > > >
> > > > > "show terminal" says:
> > > > > terminal type is qt 0 font "Sans,9"
> > > > >
> > > > > Anything I should try to get more info?
> > > >
> > > >
> > > > use ps to gid the pid of gnuplot_qt.
> > > > Let's say it's 12345.
> > > >
> > > > gdb -p 12345
> > > > gdb> where
> > > >
> > >
> > > gdb required me to be root to attach to process.
> >
> > Really?  That is very strange.
> > When you see the gnuplot_qt process in ps or top,
> > does it belong to you or does it belong to root?
> > (the process itself, not the file).
> > If it belongs to root then I think that might
> > actually be the problem, although I don't know
> > how it would get into that state.
> >
> > Conversely, I suppose you could try running the program
> > as root to see if the same problem occurs.
> >
> > > The output is below:
> > >
> > > (skipping many lines)
> > >
> > > Reading symbols
> > > from /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqsvg.so...(no
> > > debugging symbols found)...done. Loaded symbols
> > > for /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqsvg.so
> > > 0x00007faf6f701f7d in poll () from /lib/x86_64-linux-gnu/libc.so.6
> > >
> > > (gdb) where #0  0x00007faf6f701f7d in poll ()
> > > from /lib/x86_64-linux-gnu/libc.so.6 #1  0x00007faf6ecd46a4 in ?? ()
> > > from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2  0x00007faf6ecd47ac
> > > in g_main_context_iteration ()
> > > from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3  0x00007faf70443b0c
> > > in
> > > QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> > > () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4
> > > 0x00007faf703fdb6b in
> > > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
> > > from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5
> > > 0x00007faf70403301 in QCoreApplication::exec() ()
> > > from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6
> > > 0x000000000040d4be in main (argc=1, argv=<optimized out>) at
> > > qtterminal/gnuplot_qt.cpp:78
> >
> > Bah. That tells me nothing useful.
> > It got stuck too deep in the qt library code for me to pin it down to
> > anything particular that gnuplot did.
> >
> > I don't think I'm going to be able to help much.
> > I've never seen anything like this when using Qt with gnuplot
> > or any other program for that matter.  Is there a Mint help forum
> > you could ask in?
> >
> > Ethan
> >
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.  Video for Nerds.  Stuff that Matters.
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-beta mailing list
> [hidden email]
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
--
Ethan A Merritt
Biomolecular Structure Center,  K-428 Health Sciences Bldg
MS 357742,   University of Washington, Seattle 98195-7742


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
gnuplot-beta mailing list
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta