Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1153317 > unrolled thread

Bug#1040620: quickplot will not read input file

Started byBrent Roman <brent@mbari.org>
First post2023-07-08 05:40 +0200
Last post2023-07-10 07:30 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1040620: quickplot will not read input file Brent Roman <brent@mbari.org> - 2023-07-08 05:40 +0200
    Bug#1040620: quickplot will not read input file Lance Arsenault <lanceman@vt.edu> - 2023-07-09 19:40 +0200
      Bug#1040620: quickplot will not read input file Lance Arsenault <lanceman@vt.edu> - 2023-07-10 00:40 +0200
        Bug#1040620: quickplot will not read input file Brent Roman <brent@mbari.org> - 2023-07-10 07:30 +0200

#1153317 — Bug#1040620: quickplot will not read input file

FromBrent Roman <brent@mbari.org>
Date2023-07-08 05:40 +0200
SubjectBug#1040620: quickplot will not read input file
Message-ID<GP6XD-3Jij-1@gated-at.bofh.it>
Package: quickplot
Version: 1.0.1~rc-1+b3

Any attempt to read an input file or pipe fails with the error message:

Failed to read file /home/brent/quickplot/plot.dat: lseek() failed

A workaround is the link the quickplot binary with the upstream 
libsndfile-1.0.28
rather than the libsndfile-1.0.31 packaged with Debian 11

For instance, after installing libsndfile-1.0.28 in /usr/local/lib, 
quickplot
will work if started with this shell script:

#!/bin/sh #force linkage with our local version of libsndfile
# (1.0.28 rather than Debian's 1.0.31)
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH exec /usr/bin/quickplot "$@"

I am using Debian 11 on x86 (tested both 32 or 64-bit) with various 
Linux 5.x kernels.

-- 
  Brent Roman                                   MBARI
  Software Engineer               Tel: (831) 775-1808
  mailto:brent@mbari.org  http://www.mbari.org/~brent

[toc] | [next] | [standalone]


#1153475

FromLance Arsenault <lanceman@vt.edu>
Date2023-07-09 19:40 +0200
Message-ID<GPGy5-45gv-13@gated-at.bofh.it>
In reply to#1153317

[Multipart message — attachments visible in raw view] — view raw

Hi Brent,

1. First thank you for submitting this bug ticket.  I'm not sure if I have
write access to the debian bug system, but we'll see.

2.  I'm the sole downstream developer of quickplot.  quickplot as
distributed by Debian GNU/Linux was pretty cool stuff.  It currently has
some package dependencies that have broken it.  In particular, libsndfile
and GTK3.  And so, quickplot is in need of refactoring, maybe dropping the
libsndfile dependency and removing deprecated GTK3 API usage.  As it turns
out, I just happened to have released (alpha) a much larger software
package that kind-of needs a "quickplot" like tool to help my current
work.  So I need to fix quickplot for my own use.  I have not used it in a
while.

3. I looked at your bio.  We seem to have a little bit of overlap in
professional interests,  my CV is at http://107.191.96.171/cv.html , sorry
it's http without https yet.

4. My new alpha software package is at
https://github.com/lanceman2/quickstream  , you might find it interesting.

cheers
lance


On Fri, Jul 7, 2023 at 11:30 PM Brent Roman <brent@mbari.org> wrote:
>
> Package: quickplot
> Version: 1.0.1~rc-1+b3
>
> Any attempt to read an input file or pipe fails with the error message:
>
> Failed to read file /home/brent/quickplot/plot.dat: lseek() failed
>
> A workaround is the link the quickplot binary with the upstream
> libsndfile-1.0.28
> rather than the libsndfile-1.0.31 packaged with Debian 11
>
> For instance, after installing libsndfile-1.0.28 in /usr/local/lib,
> quickplot
> will work if started with this shell script:
>
> #!/bin/sh #force linkage with our local version of libsndfile
> # (1.0.28 rather than Debian's 1.0.31)
> LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH exec /usr/bin/quickplot
"$@"
>
> I am using Debian 11 on x86 (tested both 32 or 64-bit) with various
> Linux 5.x kernels.
>
> --
>   Brent Roman                                   MBARI
>   Software Engineer               Tel: (831) 775-1808
>   mailto:brent@mbari.org  http://www.mbari.org/~brent
>

[toc] | [prev] | [next] | [standalone]


#1153512

FromLance Arsenault <lanceman@vt.edu>
Date2023-07-10 00:40 +0200
Message-ID<GPLep-481F-7@gated-at.bofh.it>
In reply to#1153475

[Multipart message — attachments visible in raw view] — view raw

Hi Brent,

5.  I forgot to mention.  I'm using Debian 12 with GNOME and on that, both
libsndfile and GTK3 break quickplot; though "apt install quickplot" works,
but it installs a broken program.  I can't test your fix very easily on my
system.  I'd rather refactor quickplot than downgrade my OS. (ya, I know,
VMs, but I worry about slow displays and lots of unknowns ...; and VMs turn
me off in general) GTK3 uses a Wayland Display (on Debain 12 GNOME) and the
X11/wayland wrapper stuff seems to be broken.   You see, quickplot uses raw
libX11 code to get more speed than that is gotten from the cairo/x11
wrapper crap in GDK (GTK3), on older systems.   My refactoring will use
WaylandDisplay and not libX11, and that promises to be much faster than
libX11 ever was.   Wayland should be better and faster, but it has been a
long time coming; and has totally broken lots of my code.
GdkWaylandDisplay (GTK3 sub-library) is now giving me pain...   I feel that
the GTK3 and GTK4 developers are sadists.

Linus is talking about my pain in this video:
https://www.youtube.com/watch?v=Pzl1B7nB9Kc


Thanks again for your help.  Very helpful feedback.

cheers
lance


On Sun, Jul 9, 2023 at 1:29 PM Lance Arsenault <lanceman@vt.edu> wrote:

>
> Hi Brent,
>
> 1. First thank you for submitting this bug ticket.  I'm not sure if I have
> write access to the debian bug system, but we'll see.
>
> 2.  I'm the sole downstream developer of quickplot.  quickplot as
> distributed by Debian GNU/Linux was pretty cool stuff.  It currently has
> some package dependencies that have broken it.  In particular, libsndfile
> and GTK3.  And so, quickplot is in need of refactoring, maybe dropping the
> libsndfile dependency and removing deprecated GTK3 API usage.  As it turns
> out, I just happened to have released (alpha) a much larger software
> package that kind-of needs a "quickplot" like tool to help my current
> work.  So I need to fix quickplot for my own use.  I have not used it in a
> while.
>
> 3. I looked at your bio.  We seem to have a little bit of overlap in
> professional interests,  my CV is at http://107.191.96.171/cv.html ,
> sorry it's http without https yet.
>
> 4. My new alpha software package is at
> https://github.com/lanceman2/quickstream  , you might find it interesting.
>
> cheers
> lance
>
>
> On Fri, Jul 7, 2023 at 11:30 PM Brent Roman <brent@mbari.org> wrote:
> >
> > Package: quickplot
> > Version: 1.0.1~rc-1+b3
> >
> > Any attempt to read an input file or pipe fails with the error message:
> >
> > Failed to read file /home/brent/quickplot/plot.dat: lseek() failed
> >
> > A workaround is the link the quickplot binary with the upstream
> > libsndfile-1.0.28
> > rather than the libsndfile-1.0.31 packaged with Debian 11
> >
> > For instance, after installing libsndfile-1.0.28 in /usr/local/lib,
> > quickplot
> > will work if started with this shell script:
> >
> > #!/bin/sh #force linkage with our local version of libsndfile
> > # (1.0.28 rather than Debian's 1.0.31)
> > LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH exec /usr/bin/quickplot
> "$@"
> >
> > I am using Debian 11 on x86 (tested both 32 or 64-bit) with various
> > Linux 5.x kernels.
> >
> > --
> >   Brent Roman                                   MBARI
> >   Software Engineer               Tel: (831) 775-1808
> >   mailto:brent@mbari.org  http://www.mbari.org/~brent
> >
>

[toc] | [prev] | [next] | [standalone]


#1153533

FromBrent Roman <brent@mbari.org>
Date2023-07-10 07:30 +0200
Message-ID<GPRDb-4ckq-3@gated-at.bofh.it>
In reply to#1153512

[Multipart message — attachments visible in raw view] — view raw

Hi Lance,

I'd been holding off installing Debian 12 because I routinely rely on 
X11 for remote access.
Sorry to hear the the X11<->Wayland wrapper is not quite ready for prime 
time.

Linus was, as usual, spot on in his lampooning the lack of binary 
compatibility in Linux user space.
While it might be understandable that not all Fedora/Redhat binaries run 
under Ubuntu/Debian, it's
inexcusable that old binaries will not run on the same distro's latest 
release on the same arch.
This the main reason why Linux can't break into the mainstream desktop apps.

For Debian 11, fixing quickplot will likely involve simply comparing 
libsndfile-1.0.28 with Debian's 1.0.31 to identify the "breaking change" 
and modifying either quickplot or sndfile to fix the problem.

I'll send you a patch to quickplot in the coming weeks if I end up 
changing it, leaving you to wrestle with the GTK3 issues unique to 
Debian 12.

- brent

P.S.  Are you aware of any other graphing package that accepts ASCII 
numeric input from a pipe?
(i.e. a viable alternative to quickplot?)


Lance Arsenault wrote:
> Hi Brent,
>
> 5.  I forgot to mention.  I'm using Debian 12 with GNOME and on that, 
> both libsndfile and GTK3 break quickplot; though "apt install 
> quickplot" works, but it installs a broken program.  I can't test your 
> fix very easily on my system.  I'd rather refactor quickplot than 
> downgrade my OS. (ya, I know, VMs, but I worry about slow displays and 
> lots of unknowns ...; and VMs turn me off in general) GTK3 uses a 
> Wayland Display (on Debain 12 GNOME) and the X11/wayland wrapper stuff 
> seems to be broken. You see, quickplot uses raw libX11 code to get 
> more speed than that is gotten from the cairo/x11 wrapper crap in GDK 
> (GTK3), on older systems.   My refactoring will use WaylandDisplay and 
> not libX11, and that promises to be much faster than libX11 ever was. 
>   Wayland should be better and faster, but it has been a long time 
> coming; and has totally broken lots of my code. GdkWaylandDisplay 
> (GTK3 sub-library) is now giving me pain... I feel that the GTK3 and 
> GTK4 developers are sadists.
>
> Linus is talking about my pain in this video:
> https://www.youtube.com/watch?v=Pzl1B7nB9Kc
>
>
> Thanks again for your help.  Very helpful feedback.
>
> cheers
> lance
>
>
> On Sun, Jul 9, 2023 at 1:29 PM Lance Arsenault <lanceman@vt.edu 
> <mailto:lanceman@vt.edu>> wrote:
>
>
>     Hi Brent,
>
>     1. First thank you for submitting this bug ticket.  I'm not sure
>     if I have write access to the debian bug system, but we'll see.
>
>     2.  I'm the sole downstream developer of quickplot.  quickplot as
>     distributed by Debian GNU/Linux was pretty cool stuff.  It
>     currently has some package dependencies that have broken it.  In
>     particular, libsndfile and GTK3.  And so, quickplot is in need of
>     refactoring, maybe dropping the libsndfile dependency and removing
>     deprecated GTK3 API usage.  As it turns out, I just happened to
>     have released (alpha) a much larger software package that kind-of
>     needs a "quickplot" like tool to help my current work.  So I need
>     to fix quickplot for my own use.  I have not used it in a while.
>
>     3. I looked at your bio.  We seem to have a little bit of overlap
>     in professional interests,  my CV is at
>     http://107.191.96.171/cv.html , sorry it's http without https yet.
>
>     4. My new alpha software package is at
>     https://github.com/lanceman2/quickstream , you might find it
>     interesting.
>
>     cheers
>     lance
>
>
>     On Fri, Jul 7, 2023 at 11:30 PM Brent Roman <brent@mbari.org
>     <mailto:brent@mbari.org>> wrote:
>     >
>     > Package: quickplot
>     > Version: 1.0.1~rc-1+b3
>     >
>     > Any attempt to read an input file or pipe fails with the error
>     message:
>     >
>     > Failed to read file /home/brent/quickplot/plot.dat: lseek() failed
>     >
>     > A workaround is the link the quickplot binary with the upstream
>     > libsndfile-1.0.28
>     > rather than the libsndfile-1.0.31 packaged with Debian 11
>     >
>     > For instance, after installing libsndfile-1.0.28 in /usr/local/lib,
>     > quickplot
>     > will work if started with this shell script:
>     >
>     > #!/bin/sh #force linkage with our local version of libsndfile
>     > # (1.0.28 rather than Debian's 1.0.31)
>     > LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH exec
>     /usr/bin/quickplot "$@"
>     >
>     > I am using Debian 11 on x86 (tested both 32 or 64-bit) with various
>     > Linux 5.x kernels.
>     >
>     > --
>     >   Brent Roman                                   MBARI
>     >   Software Engineer               Tel: (831) 775-1808
>     >   mailto:brent@mbari.org <mailto:brent@mbari.org>
>     http://www.mbari.org/~brent
>     >
>


-- 
  Brent Roman                                   MBARI
  Software Engineer               Tel: (831) 775-1808
  mailto:brent@mbari.org  http://www.mbari.org/~brent

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web