Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

God requireth not a uniformity of religion. -- Roger Williams


devel / comp.lang.tcl / shtmlview error

SubjectAuthor
* shtmlview errorAlexandru
`* shtmlview errorRich
 `* shtmlview errorAlexandru
  `* shtmlview errorD Groth
   `* shtmlview errorD Groth
    `* shtmlview errorD Groth
     `- shtmlview errorAlexandru

1
shtmlview error

<c9d9d872-b2e3-4e99-97cf-4390650cb2a4n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12626&group=comp.lang.tcl#12626

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:319d:b0:66d:40:e7c5 with SMTP id lb29-20020a056214319d00b0066d0040e7c5mr49386qvb.4.1697816026012;
Fri, 20 Oct 2023 08:33:46 -0700 (PDT)
X-Received: by 2002:ac8:5555:0:b0:41b:aeda:d186 with SMTP id
o21-20020ac85555000000b0041baedad186mr43793qtr.4.1697816025826; Fri, 20 Oct
2023 08:33:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!nntp.comgw.net!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Fri, 20 Oct 2023 08:33:45 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=46.114.150.9; posting-account=glPZ8goAAADztwA3kVEZPMKXCGydx5DU
NNTP-Posting-Host: 46.114.150.9
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c9d9d872-b2e3-4e99-97cf-4390650cb2a4n@googlegroups.com>
Subject: shtmlview error
From: alexandru.dadalau@meshparts.de (Alexandru)
Injection-Date: Fri, 20 Oct 2023 15:33:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1640
 by: Alexandru - Fri, 20 Oct 2023 15:33 UTC

When I do

package require critcl
package require shtmlview::shtmlview

I get the error output:

Error: no svg conversion available, neither critcl and librsvg2-dev or the terminal applications rsvg-convert or cairosvg are available!
Please install one of the tools to support svg display!

But critcl is already loaded.
And folowing test works fine:

::shtmlview::shtmlview .help -toolbar false
..help browse C:/Tcl/lib/shtmlview/shtmlview.html
pack .help -fill both -expand true -side left

How can it be that the critcl package is loaded but shtmlview thinks it's not?

Re: shtmlview error

<ugu8h0$16ad3$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12628&group=comp.lang.tcl#12628

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: shtmlview error
Date: Fri, 20 Oct 2023 16:05:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <ugu8h0$16ad3$1@dont-email.me>
References: <c9d9d872-b2e3-4e99-97cf-4390650cb2a4n@googlegroups.com>
Injection-Date: Fri, 20 Oct 2023 16:05:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ce2c82e670e7ee9495f2479c8720d6bd";
logging-data="1255843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18sD/27T4dATEITSfvMyxIR"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.117 (x86_64))
Cancel-Lock: sha1:hj7TdgsQrHIWsCdY6581gc6p1+s=
 by: Rich - Fri, 20 Oct 2023 16:05 UTC

Alexandru <alexandru.dadalau@meshparts.de> wrote:
> When I do
>
> package require critcl
> package require shtmlview::shtmlview
>
> I get the error output:
>
> Error: no svg conversion available, neither critcl and librsvg2-dev
> or the terminal applications rsvg-convert or cairosvg are available!
> Please install one of the tools to support svg display!
>
> But critcl is already loaded.
> And folowing test works fine:
>
> ::shtmlview::shtmlview .help -toolbar false
> .help browse C:/Tcl/lib/shtmlview/shtmlview.html
> pack .help -fill both -expand true -side left
>
> How can it be that the critcl package is loaded but shtmlview thinks
> it's not?

One possibility, shtmlview is specifically looking for critcl in a
namespace (possibly in the ::shtmlview:: namespace) and it is not in
the namespace that shtmlview expects.

Another possibililty, you do not have librsvg2-dev, rsvg-convert, or cairosvg
installed and the error message is confusingly worded. The wording is
trying to state that both critcl and one of ... need to be available,
but is worded as if both critcl and one of ... is missing, when it may
just be one of the support packages that are missing.

Re: shtmlview error

<9818992f-d1ae-496e-89b7-2cb5d795a99cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12630&group=comp.lang.tcl#12630

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ac8:44d7:0:b0:417:fa13:5bbb with SMTP id b23-20020ac844d7000000b00417fa135bbbmr54404qto.8.1697832533347;
Fri, 20 Oct 2023 13:08:53 -0700 (PDT)
X-Received: by 2002:a05:6830:92a:b0:6b8:6cec:b73e with SMTP id
v42-20020a056830092a00b006b86cecb73emr867993ott.5.1697832533124; Fri, 20 Oct
2023 13:08:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Fri, 20 Oct 2023 13:08:52 -0700 (PDT)
In-Reply-To: <ugu8h0$16ad3$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=82.207.255.158; posting-account=glPZ8goAAADztwA3kVEZPMKXCGydx5DU
NNTP-Posting-Host: 82.207.255.158
References: <c9d9d872-b2e3-4e99-97cf-4390650cb2a4n@googlegroups.com> <ugu8h0$16ad3$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9818992f-d1ae-496e-89b7-2cb5d795a99cn@googlegroups.com>
Subject: Re: shtmlview error
From: alexandru.dadalau@meshparts.de (Alexandru)
Injection-Date: Fri, 20 Oct 2023 20:08:53 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2627
 by: Alexandru - Fri, 20 Oct 2023 20:08 UTC

Rich schrieb am Freitag, 20. Oktober 2023 um 18:05:58 UTC+2:
> Alexandru <alexandr...@meshparts.de> wrote:
> > When I do
> >
> > package require critcl
> > package require shtmlview::shtmlview
> >
> > I get the error output:
> >
> > Error: no svg conversion available, neither critcl and librsvg2-dev
> > or the terminal applications rsvg-convert or cairosvg are available!
> > Please install one of the tools to support svg display!
> >
> > But critcl is already loaded.
> > And folowing test works fine:
> >
> > ::shtmlview::shtmlview .help -toolbar false
> > .help browse C:/Tcl/lib/shtmlview/shtmlview.html
> > pack .help -fill both -expand true -side left
> >
> > How can it be that the critcl package is loaded but shtmlview thinks
> > it's not?
> One possibility, shtmlview is specifically looking for critcl in a
> namespace (possibly in the ::shtmlview:: namespace) and it is not in
> the namespace that shtmlview expects.
>
> Another possibililty, you do not have librsvg2-dev, rsvg-convert, or cairosvg
> installed and the error message is confusingly worded. The wording is
> trying to state that both critcl and one of ... need to be available,
> but is worded as if both critcl and one of ... is missing, when it may
> just be one of the support packages that are missing.
Thanks.
I think I misinterpreted the error message: it is a pair that's needed "critcl and librsvg2-dev". I hope I don't need these, I don't plan to render SVGs.

Re: shtmlview error

<020953cb-b7b7-417c-8b6e-8e68488fb9b4n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12687&group=comp.lang.tcl#12687

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ac8:42d2:0:b0:41b:826a:3a2b with SMTP id g18-20020ac842d2000000b0041b826a3a2bmr2364qtm.11.1698341127400;
Thu, 26 Oct 2023 10:25:27 -0700 (PDT)
X-Received: by 2002:a05:6870:d6a2:b0:1e9:f600:53d with SMTP id
z34-20020a056870d6a200b001e9f600053dmr98478oap.10.1698341126879; Thu, 26 Oct
2023 10:25:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Thu, 26 Oct 2023 10:25:26 -0700 (PDT)
In-Reply-To: <9818992f-d1ae-496e-89b7-2cb5d795a99cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:9e8:da:b700:34e5:fffe:afc6:ec56;
posting-account=l1SsogoAAADI9wGGep0j80-iEOPtae47
NNTP-Posting-Host: 2001:9e8:da:b700:34e5:fffe:afc6:ec56
References: <c9d9d872-b2e3-4e99-97cf-4390650cb2a4n@googlegroups.com>
<ugu8h0$16ad3$1@dont-email.me> <9818992f-d1ae-496e-89b7-2cb5d795a99cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <020953cb-b7b7-417c-8b6e-8e68488fb9b4n@googlegroups.com>
Subject: Re: shtmlview error
From: tbgroth15@gmail.com (D Groth)
Injection-Date: Thu, 26 Oct 2023 17:25:27 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3152
 by: D Groth - Thu, 26 Oct 2023 17:25 UTC

Alexandru schrieb am Freitag, 20. Oktober 2023 um 22:08:55 UTC+2:
> Rich schrieb am Freitag, 20. Oktober 2023 um 18:05:58 UTC+2:
> > Alexandru <alexandr...@meshparts.de> wrote:
> > > When I do
> > >
> > > package require critcl
> > > package require shtmlview::shtmlview
> > >
> > > I get the error output:
> > >
> > > Error: no svg conversion available, neither critcl and librsvg2-dev
> > > or the terminal applications rsvg-convert or cairosvg are available!
> > > Please install one of the tools to support svg display!
> > >
> > > But critcl is already loaded.
> > > And folowing test works fine:
> > >
> > > ::shtmlview::shtmlview .help -toolbar false
> > > .help browse C:/Tcl/lib/shtmlview/shtmlview.html
> > > pack .help -fill both -expand true -side left
> > >
> > > How can it be that the critcl package is loaded but shtmlview thinks
> > > it's not?
> > One possibility, shtmlview is specifically looking for critcl in a
> > namespace (possibly in the ::shtmlview:: namespace) and it is not in
> > the namespace that shtmlview expects.
> >
> > Another possibililty, you do not have librsvg2-dev, rsvg-convert, or cairosvg
> > installed and the error message is confusingly worded. The wording is
> > trying to state that both critcl and one of ... need to be available,
> > but is worded as if both critcl and one of ... is missing, when it may
> > just be one of the support packages that are missing.
> Thanks.
> I think I misinterpreted the error message: it is a pair that's needed "critcl and librsvg2-dev". I hope I don't need these, I don't plan to render SVGs.

Thanks for the report. That should not give an error.

Please make a bug/ticket report at my Github page.

https://github.com/mittelmark/shtmlview/issues

or/and at the tklib page:

https://core.tcl-lang.org/tklib/ticket

I will then look into this.
Detlef

Re: shtmlview error

<7772a3ba-5021-4c4a-a3e1-1f6878081746n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12711&group=comp.lang.tcl#12711

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:18f0:b0:66d:fb0:2c92 with SMTP id ep16-20020a05621418f000b0066d0fb02c92mr115533qvb.6.1698569618976;
Sun, 29 Oct 2023 01:53:38 -0700 (PDT)
X-Received: by 2002:a05:6870:5a4:b0:1e9:a128:7f1b with SMTP id
m36-20020a05687005a400b001e9a1287f1bmr3460800oap.6.1698569618589; Sun, 29 Oct
2023 01:53:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 29 Oct 2023 01:53:38 -0700 (PDT)
In-Reply-To: <020953cb-b7b7-417c-8b6e-8e68488fb9b4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:9e8:f9:900:6516:cb80:69a7:16ef;
posting-account=l1SsogoAAADI9wGGep0j80-iEOPtae47
NNTP-Posting-Host: 2001:9e8:f9:900:6516:cb80:69a7:16ef
References: <c9d9d872-b2e3-4e99-97cf-4390650cb2a4n@googlegroups.com>
<ugu8h0$16ad3$1@dont-email.me> <9818992f-d1ae-496e-89b7-2cb5d795a99cn@googlegroups.com>
<020953cb-b7b7-417c-8b6e-8e68488fb9b4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7772a3ba-5021-4c4a-a3e1-1f6878081746n@googlegroups.com>
Subject: Re: shtmlview error
From: tbgroth15@gmail.com (D Groth)
Injection-Date: Sun, 29 Oct 2023 08:53:38 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3486
 by: D Groth - Sun, 29 Oct 2023 08:53 UTC

I did an issue on the Github page for you:

https://github.com/mittelmark/shtmlview/issues/6

Detlef
D Groth schrieb am Donnerstag, 26. Oktober 2023 um 19:25:29 UTC+2:
> Alexandru schrieb am Freitag, 20. Oktober 2023 um 22:08:55 UTC+2:
> > Rich schrieb am Freitag, 20. Oktober 2023 um 18:05:58 UTC+2:
> > > Alexandru <alexandr...@meshparts.de> wrote:
> > > > When I do
> > > >
> > > > package require critcl
> > > > package require shtmlview::shtmlview
> > > >
> > > > I get the error output:
> > > >
> > > > Error: no svg conversion available, neither critcl and librsvg2-dev
> > > > or the terminal applications rsvg-convert or cairosvg are available!
> > > > Please install one of the tools to support svg display!
> > > >
> > > > But critcl is already loaded.
> > > > And folowing test works fine:
> > > >
> > > > ::shtmlview::shtmlview .help -toolbar false
> > > > .help browse C:/Tcl/lib/shtmlview/shtmlview.html
> > > > pack .help -fill both -expand true -side left
> > > >
> > > > How can it be that the critcl package is loaded but shtmlview thinks
> > > > it's not?
> > > One possibility, shtmlview is specifically looking for critcl in a
> > > namespace (possibly in the ::shtmlview:: namespace) and it is not in
> > > the namespace that shtmlview expects.
> > >
> > > Another possibililty, you do not have librsvg2-dev, rsvg-convert, or cairosvg
> > > installed and the error message is confusingly worded. The wording is
> > > trying to state that both critcl and one of ... need to be available,
> > > but is worded as if both critcl and one of ... is missing, when it may
> > > just be one of the support packages that are missing.
> > Thanks.
> > I think I misinterpreted the error message: it is a pair that's needed "critcl and librsvg2-dev". I hope I don't need these, I don't plan to render SVGs.
> Thanks for the report. That should not give an error.
>
> Please make a bug/ticket report at my Github page.
>
> https://github.com/mittelmark/shtmlview/issues
>
> or/and at the tklib page:
>
> https://core.tcl-lang.org/tklib/ticket
>
> I will then look into this.
> Detlef

Re: shtmlview error

<507045e9-a5f7-4582-89dc-7fd288f3ba6fn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12729&group=comp.lang.tcl#12729

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a0c:bec6:0:b0:66d:6ec:ca18 with SMTP id f6-20020a0cbec6000000b0066d06ecca18mr568945qvj.2.1699338629050;
Mon, 06 Nov 2023 22:30:29 -0800 (PST)
X-Received: by 2002:a05:6870:794:b0:1e9:b451:bae6 with SMTP id
en20-20020a056870079400b001e9b451bae6mr897246oab.1.1699338628601; Mon, 06 Nov
2023 22:30:28 -0800 (PST)
Path: i2pn2.org!i2pn.org!news.chmurka.net!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 6 Nov 2023 22:30:28 -0800 (PST)
In-Reply-To: <7772a3ba-5021-4c4a-a3e1-1f6878081746n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:9e8:d4:7300:82fe:6fca:3c95:6bac;
posting-account=l1SsogoAAADI9wGGep0j80-iEOPtae47
NNTP-Posting-Host: 2001:9e8:d4:7300:82fe:6fca:3c95:6bac
References: <c9d9d872-b2e3-4e99-97cf-4390650cb2a4n@googlegroups.com>
<ugu8h0$16ad3$1@dont-email.me> <9818992f-d1ae-496e-89b7-2cb5d795a99cn@googlegroups.com>
<020953cb-b7b7-417c-8b6e-8e68488fb9b4n@googlegroups.com> <7772a3ba-5021-4c4a-a3e1-1f6878081746n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <507045e9-a5f7-4582-89dc-7fd288f3ba6fn@googlegroups.com>
Subject: Re: shtmlview error
From: tbgroth15@gmail.com (D Groth)
Injection-Date: Tue, 07 Nov 2023 06:30:29 +0000
Content-Type: text/plain; charset="UTF-8"
 by: D Groth - Tue, 7 Nov 2023 06:30 UTC

I fixed that writing on stderr in case of missing svg conversionon my Github project

https://github.com/mittelmark/shtmlview/archive/refs/heads/main.zip

So:

tclsh sthmlview/shtmlview.tcl gives not an error to the teriminal anymore.

tclsh shtmlview/shtmlview.tcl --help
indicates now if Markdown support and svg conversion is available.

Please check and tell me if that works. Again the best place for bug reports is the issue page of the Github project.
Detlef

PS: Use
https://groups.google.com/g/comp.lang.tcl/search?q=-interwin+and+-slot+-Acheter
for this news group to unview the spam.
D Groth schrieb am Sonntag, 29. Oktober 2023 um 09:53:41 UTC+1:
> I did an issue on the Github page for you:
>
> https://github.com/mittelmark/shtmlview/issues/6" rel="nofollow" target="_blank">https://github.com/mittelmark/shtmlview/issues/6
>
> Detlef
> D Groth schrieb am Donnerstag, 26. Oktober 2023 um 19:25:29 UTC+2:
> > Alexandru schrieb am Freitag, 20. Oktober 2023 um 22:08:55 UTC+2:
> > > Rich schrieb am Freitag, 20. Oktober 2023 um 18:05:58 UTC+2:
> > > > Alexandru <alexandr...@meshparts.de> wrote:
> > > > > When I do
> > > > >
> > > > > package require critcl
> > > > > package require shtmlview::shtmlview
> > > > >
> > > > > I get the error output:
> > > > >
> > > > > Error: no svg conversion available, neither critcl and librsvg2-dev
> > > > > or the terminal applications rsvg-convert or cairosvg are available!
> > > > > Please install one of the tools to support svg display!
> > > > >
> > > > > But critcl is already loaded.
> > > > > And folowing test works fine:
> > > > >
> > > > > ::shtmlview::shtmlview .help -toolbar false
> > > > > .help browse C:/Tcl/lib/shtmlview/shtmlview.html
> > > > > pack .help -fill both -expand true -side left
> > > > >
> > > > > How can it be that the critcl package is loaded but shtmlview thinks
> > > > > it's not?
> > > > One possibility, shtmlview is specifically looking for critcl in a
> > > > namespace (possibly in the ::shtmlview:: namespace) and it is not in
> > > > the namespace that shtmlview expects.
> > > >
> > > > Another possibililty, you do not have librsvg2-dev, rsvg-convert, or cairosvg
> > > > installed and the error message is confusingly worded. The wording is
> > > > trying to state that both critcl and one of ... need to be available,
> > > > but is worded as if both critcl and one of ... is missing, when it may
> > > > just be one of the support packages that are missing.
> > > Thanks.
> > > I think I misinterpreted the error message: it is a pair that's needed "critcl and librsvg2-dev". I hope I don't need these, I don't plan to render SVGs.
> > Thanks for the report. That should not give an error.
> >
> > Please make a bug/ticket report at my Github page.
> >
> > https://github.com/mittelmark/shtmlview/issues
> >
> > or/and at the tklib page:
> >
> > https://core.tcl-lang.org/tklib/ticket
> >
> > I will then look into this.
> > Detlef

Re: shtmlview error

<61910728-ee86-4f6f-87ff-786764d90d1cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12736&group=comp.lang.tcl#12736

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a0c:ee82:0:b0:670:e8b5:e738 with SMTP id u2-20020a0cee82000000b00670e8b5e738mr5400qvr.8.1699407053541;
Tue, 07 Nov 2023 17:30:53 -0800 (PST)
X-Received: by 2002:a05:6870:2316:b0:1e9:b451:bae6 with SMTP id
w22-20020a056870231600b001e9b451bae6mr208973oao.1.1699407053249; Tue, 07 Nov
2023 17:30:53 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 7 Nov 2023 17:30:52 -0800 (PST)
In-Reply-To: <507045e9-a5f7-4582-89dc-7fd288f3ba6fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:9e8:8912:5100:70ba:bee0:c42d:29d7;
posting-account=glPZ8goAAADztwA3kVEZPMKXCGydx5DU
NNTP-Posting-Host: 2001:9e8:8912:5100:70ba:bee0:c42d:29d7
References: <c9d9d872-b2e3-4e99-97cf-4390650cb2a4n@googlegroups.com>
<ugu8h0$16ad3$1@dont-email.me> <9818992f-d1ae-496e-89b7-2cb5d795a99cn@googlegroups.com>
<020953cb-b7b7-417c-8b6e-8e68488fb9b4n@googlegroups.com> <7772a3ba-5021-4c4a-a3e1-1f6878081746n@googlegroups.com>
<507045e9-a5f7-4582-89dc-7fd288f3ba6fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <61910728-ee86-4f6f-87ff-786764d90d1cn@googlegroups.com>
Subject: Re: shtmlview error
From: alexandru.dadalau@meshparts.de (Alexandru)
Injection-Date: Wed, 08 Nov 2023 01:30:53 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 72
 by: Alexandru - Wed, 8 Nov 2023 01:30 UTC

D Groth schrieb am Dienstag, 7. November 2023 um 07:30:31 UTC+1:
> I fixed that writing on stderr in case of missing svg conversionon my Github project
>
> https://github.com/mittelmark/shtmlview/archive/refs/heads/main.zip
>
> So:
>
> tclsh sthmlview/shtmlview.tcl gives not an error to the teriminal anymore.
>
> tclsh shtmlview/shtmlview.tcl --help
> indicates now if Markdown support and svg conversion is available.
>
> Please check and tell me if that works. Again the best place for bug reports is the issue page of the Github project.
> Detlef
>
> PS: Use
> https://groups.google.com/g/comp.lang.tcl/search?q=-interwin+and+-slot+-Acheter
> for this news group to unview the spam.
> D Groth schrieb am Sonntag, 29. Oktober 2023 um 09:53:41 UTC+1:
> > I did an issue on the Github page for you:
> >
> > https://github.com/mittelmark/shtmlview/issues/6" rel="nofollow" target="_blank">https://github.com/mittelmark/shtmlview/issues/6
> >
> > Detlef
> > D Groth schrieb am Donnerstag, 26. Oktober 2023 um 19:25:29 UTC+2:
> > > Alexandru schrieb am Freitag, 20. Oktober 2023 um 22:08:55 UTC+2:
> > > > Rich schrieb am Freitag, 20. Oktober 2023 um 18:05:58 UTC+2:
> > > > > Alexandru <alexandr...@meshparts.de> wrote:
> > > > > > When I do
> > > > > >
> > > > > > package require critcl
> > > > > > package require shtmlview::shtmlview
> > > > > >
> > > > > > I get the error output:
> > > > > >
> > > > > > Error: no svg conversion available, neither critcl and librsvg2-dev
> > > > > > or the terminal applications rsvg-convert or cairosvg are available!
> > > > > > Please install one of the tools to support svg display!
> > > > > >
> > > > > > But critcl is already loaded.
> > > > > > And folowing test works fine:
> > > > > >
> > > > > > ::shtmlview::shtmlview .help -toolbar false
> > > > > > .help browse C:/Tcl/lib/shtmlview/shtmlview.html
> > > > > > pack .help -fill both -expand true -side left
> > > > > >
> > > > > > How can it be that the critcl package is loaded but shtmlview thinks
> > > > > > it's not?
> > > > > One possibility, shtmlview is specifically looking for critcl in a
> > > > > namespace (possibly in the ::shtmlview:: namespace) and it is not in
> > > > > the namespace that shtmlview expects.
> > > > >
> > > > > Another possibililty, you do not have librsvg2-dev, rsvg-convert, or cairosvg
> > > > > installed and the error message is confusingly worded. The wording is
> > > > > trying to state that both critcl and one of ... need to be available,
> > > > > but is worded as if both critcl and one of ... is missing, when it may
> > > > > just be one of the support packages that are missing.
> > > > Thanks.
> > > > I think I misinterpreted the error message: it is a pair that's needed "critcl and librsvg2-dev". I hope I don't need these, I don't plan to render SVGs.
> > > Thanks for the report. That should not give an error.
> > >
> > > Please make a bug/ticket report at my Github page.
> > >
> > > https://github.com/mittelmark/shtmlview/issues
> > >
> > > or/and at the tklib page:
> > >
> > > https://core.tcl-lang.org/tklib/ticket
> > >
> > > I will then look into this.
> > > Detlef

Thanks! I confirm that the error message is gone.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor