Dear Boyd,
I may be wrong (I don't have much experience yet with docker), and I
don't quite understand why, but I ran the wlmb/perldatalanguage
container with the additional flag --ipc="host" and now I can run the
pdl/gnuplot demo without problem.
$ docker run -ti --rm --ipc="host" -v /tmp/.X11-unix:/tmp/.X11-unix
wlmb/perldatalanguage
96069097288a login: user
Password:
Linux 96069097288a 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
user@96069097288a:~$ export DISPLAY=:0
user@96069097288a:~$ pdl
perlDL shell v1.357
PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see
the same file for details.
ReadLines, NiceSlice, MultiLines enabled
Reading PDL/default.perldlrc...
Found docs database
/home/user/perl5/perlbrew/perls/perl-5.30.1/lib/site_perl/5.30.1/x86_64-linux/PDL/
pdldoc.db
Type 'help' for online help
Type 'demo' for online demos
Loaded PDL v2.02 (supports bad values)
Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)
pdl> demo gnuplot
...
You might want to confirm it.
Best regards,
Luis
On Mon, Feb 24, 2020 at 06:10:55PM +0000, Boyd Duffee wrote:
> This is great! "demo 3d" and "demo 3d2" work fine. "demo gnuplot" blows
> up with
>
> OOPS!!! Something went wrong, please make a bug report!:
> PDL::Graphics::Gnuplot: ERROR: the gnuplot backend issued an error:
> (gnuplot:179): dbind-WARNING **: 17:56:51.857: Couldn't connect to
> accessibility bus: Failed to connect to socket /tmp/dbus-heJeMEDpgk:
> Connection refused
> Gtk-Message: 17:56:52.131: Failed to load module "canberra-gtk-module"
> at
> /home/user/perl5/perlbrew/perls/perl-5.30.1/lib/site_perl/5.30.1/PDL/Graphics/Gnuplot.pm
> line 7986.
>
> but it does that on my local install of pdl, so probably not the Docker
> container's fault. (I should look into fixing that)
>
> I wonder if this will sort out the problems some people have installing
> graphics packages on Windows?
> https://perlmonks.org/?node_id=11111203
> (mindful of the old adage that adding another technology to a problem just
> adds to your problems)
>
> Best,
> Boyd
>
> On Mon, Feb 24, 2020 at 3:46 AM Luis Mochan <[email protected]> wrote:
>
> > After a long time, I did a fresh DOCKER container to facilitate the
> > installation of the current PDL on linux. The container is based on
> > the current Debian/testing distribution and on PERL-5.30.1. Some
> > instructions for its installation and use are in
> >
> > https://hub.docker.com/r/wlmb/perldatalanguage
> >
> > I'm sure to have missed some parts of PDL and some useful ancillary
> > packages, and I have not yet checked carefully the completeness and
> > accuracy of the Readme.md instructions, but it might still prove
> > useful, at least to overcome the 'activation energy' for persuading
> > new users.
> >
> > Regards,
> > Luis
> >
> >
> >
> > --
> >
> > o
> > W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
> > Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
> > Apdo. Postal 48-3, 62251 | (*)/\/ \
> > Cuernavaca, Morelos, México | [email protected] /\_/\__/
> > GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB
> >
> >
> > _______________________________________________
> > pdl-general mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/pdl-general
> >
>
>
> --
> Boyd Duffee
> Bring on a brand-new renaissance - TTH
> _______________________________________________
> pdl-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pdl-general
--
o
W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
Apdo. Postal 48-3, 62251 | (*)/\/ \
Cuernavaca, Morelos, México | [email protected] /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general