Re: how to use diagram-viewer and the diagram pkg

Liste des GroupesRevenir à cl tcl 
Sujet : Re: how to use diagram-viewer and the diagram pkg
De : avl (at) *nospam* logic.at (Andreas Leitgeb)
Groupes : comp.lang.tcl
Date : 17. Jul 2024, 09:15:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <slrnv9evd8.1l9n7.avl@logic.at>
References : 1 2
User-Agent : slrn/1.0.3 (Linux)
Mark Summerfield <mark@qtrac.eu> wrote:
$ wish9 ~/opt/tcl9/bin/diagram-viewer show /tmp/a.dia
Creating safe environment, please wait...
/home/mark/opt/tcl9/bin/diagram-viewer: can't find package diagram
$ wish9
% package require diagram
1

The "Creating safe environment, please wait..." might be the key here.
Check what the diagram viewer does after emitting that line, and see
if you can still "package require diagram" in that context.

If the "safe environment" is related to a safe interpreter,
you might need to add more code to the diagram-viewer to
allow the safe interp to load that particular package.

If I had it in my head, I'd write it - I hope someone else
can describe the extra "magic" needed to enable a package
in a safe interp.


Date Sujet#  Auteur
17 Jul 24 * how to use diagram-viewer and the diagram pkg6Mark Summerfield
17 Jul 24 `* Re: how to use diagram-viewer and the diagram pkg5Mark Summerfield
17 Jul 24  `* Re: how to use diagram-viewer and the diagram pkg4Andreas Leitgeb
17 Jul 24   `* Re: how to use diagram-viewer and the diagram pkg3Harald Oehlmann
19 Jul 24    +- Re: how to use diagram-viewer and the diagram pkg1Mark Summerfield
19 Jul 24    `- Re: how to use diagram-viewer and the diagram pkg1Andreas Leitgeb

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal