Re: [Lynx-dev] An error with temporary file
- Original Message - | From: "Riku Virtanen" | To: "Thorsten Glaser" | Cc: "lynx-dev" | Sent: Sunday, January 28, 2024 8:16:23 AM | Subject: Re: [Lynx-dev] An error with temporary file | Hi, | | In /usr/bin/, there is brotli. | | It is true that I have Fedora 27. I do not remember exact reason but I am | using a program which reads newspapers for blind people, and its support | ends to Fedora 27. So I didnt update from that. | | Is there any way to use Lynx 2.9.0 in Fedora 27? configure --without-brotli && make (or determine what's amiss with brotli 0.6) -- Thomas E. Dickey https://invisible-island.net
Re: [Lynx-dev] An error with temporary file
Hi, In /usr/bin/, there is brotli. It is true that I have Fedora 27. I do not remember exact reason but I am using a program which reads newspapers for blind people, and its support ends to Fedora 27. So I didnt update from that. Is there any way to use Lynx 2.9.0 in Fedora 27? Regards, Riku On Sun, 28 Jan 2024, Thorsten Glaser wrote: Riku Virtanen dixit: /usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br Is /usr/bin/brotli installed and usable? (I’ve not enabled that in my build. If it relies on an external utility, perhaps it should not @ Debian packagers) bye, //mirabilos
Re: [Lynx-dev] An error with temporary file
Riku Virtanen wrote: > Data transfer complete > /usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br > Alert!: Error uncompressing temporary file! I tried to reproduce this. Had to custom-build Lynx with `./configure --without-brotli`, otherwise it used library code rather than the external utility. With the custom build, it did use the external utility (so '--without-brotli' really means '--without-brotli-lib'). And then `lynx -trace https://www.tripadvisor.comm` just worked. The external utility successfully decoded the file. It was clear in my trace that Lynx & tripadvisor *did* decide Brotli was the best format to exchange, and Lynx *did* invoke the external utility, and it succeeded. Lynx is partly at fault in your situation, for emitting a cruddy error message like 'Alert!: Error uncompressing temporary file!'. This message should be much more specific: did exec() fail? (If so, with what errno?) Did it work but the exec'd program exited with an error code? Error message? Empty output? Undecipherable output? I'm sure it has a narrower meaning we could deduce from the Lynx source, but we shouldn't have to; certainly the *next* person with this problem shouldn't have to... Anyway. You can make a fake-brotli to save the file: =cut= #!/bin/sh case $3 in *.br) cp -p $3 $3.save;; esac exec /usr/bin/brotli "$@" =cut= Add: BROTLI_PATH:/path/to/fake/brotli to your lynx.cfg, then run `lynx -trace https://www.tripadvisor.com/` again. Thus collecting a copy of whatever.br as was received by Lynx. Confirm in the trace output that it actually ran your fake-brotli; then go look for $3.save -- is it a valid Brotli format file? Is it empty? Is it an uncompressed HTML file which is spuriously being served to your browser as Brotli-compressed? [ Don't forget to remove BROTLI_PATH from lynx.cfg. BTW, is there a Lynx flag like '--cfg_line=BROTLI_PATH:/path/to/fake/brotli'? ] >Bela<
Re: [Lynx-dev] An error with temporary file
Riku Virtanen dixit: > /usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br Is /usr/bin/brotli installed and usable? (I’ve not enabled that in my build. If it relies on an external utility, perhaps it should not @ Debian packagers) bye, //mirabilos -- If Harry Potter gets a splitting headache in his scar when he’s near Tom Riddle (aka Voldemort), does Tom get pain in the arse when Harry is near him? -- me, wondering why it’s not Jerry Potter………
Re: [Lynx-dev] An error with temporary file
On Sat, Jan 27, 2024 at 09:15:27PM +0200, Riku Virtanen wrote: > Hi, > > I wrote: dnf install brotli sounds like Fedora. In a quick check on my Fedora39 machine (64-bits), it works fine. (We are of course talking about 2.9.0 - Fedora 39's package has lynx dev.12 without brotli, and Fedora 40 will have brotli). That's using a later version of brotli: brotli-1.1.0-1.fc39.x86_64 brotli-devel-1.1.0-1.fc39.x86_64 I added the brotli support in 2022, and haven't noticed a problem with it. Fedora 27 is a few years ago, went EOL in 2018: https://docs.fedoraproject.org/en-US/releases/eol/ > The result: > Package brotli-0.6.0-8.fc27.i686 is already installed, skipping. (Fedora 27) > > Seemly it is in the machine. > > Riku > > On Sat, 27 Jan 2024, Riku Virtanen wrote: > > > Hi all, > > > > I tested with -trace: > > > > )0[1;48r[m[4l[?7h[39;49m[39;49m[37m[40m[H[J[37m[40m[J[m[39;49m[37m[40m[48d[0;10;7m[37m[40mLooking > > up www.tripadvisor.com > > first[m[39;49m[37m[40m[170G[0;10;7m[39;49m[37m[40mGetting > > http://www.tripadvisor.com/[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mLooking > > up > > www.tripadvisor.com[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mMaking > > HTTP connection to > > www.tripadvisor.com[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSending > > HTTP request.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP > > request sent; waiting for > > response.[m[39;49m[37m[40m[5G[0;10;7m[39;49m[37m[40m/1.0 301 > > Moved > > Permanently[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m'A'lways > > allowing from domain > > '.tripadvisor.com'.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mData > > transfer > > complete[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP/1.0 > > 301 Moved > > Permanently[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mUsing > > https://www.tripadvisor.com/[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mGetting > > > > https://www.tripadvisor.com/[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mLooking > > up > > www.tripadvisor.com[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mMaking > > HTTPS connection to > > www.tripadvisor.com[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSSL > > callback:ok, preverify_ok=1, > > ssl_okay=0[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mVerified > > connection to www.tripadvisor.com > > (cert=www.tripadvisor.com)[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mCertificate > > issued by: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign RSA OV SSL CA > > 2018[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSecure 256-bit > > TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384) HTTP > > connection[m[39;49m[37m[40m[K[3G[0;10;7m[39;49m[37m[40mnding > > HTTP request.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP > > request sent; waiting for > > response.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mRead 1.5 KiB > > of data, 6.1 > > KiB/sec.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP/1.0 > > 200 OK[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m'A'lways > > allowing from domain > > 'www.tripadvisor.com'.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mData > > transfer > > complete[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m/usr/bin/brotli > > -j -d > > /tmp/lynx6fQBBD/L1617-7134TMP.html.br[m[39;49m[37m[40m[39;49m[37m[40m[H[J[48d[0;10;7m[39;49m[37m[40m/usr/bin/brotli > > -j -d > > /tmp/lynx6fQBBD/L1617-7134TMP.html.br[m[39;49m[37m[40m[0;10;1m[39;49m[37m[40mAlert!: > > Error uncompressing temporary > > file![m[39;49m[37m[40m[K[J[39;49m[K[48;1H > > Looking up www.tripadvisor.com first > > Looking up www.tripadvisor.com > > Making HTTP connection to www.tripadvisor.com > > Sending HTTP request. > > HTTP request sent; waiting for response. > > HTTP/1.0 301 Moved Permanently > > 'A'lways allowing from domain '.tripadvisor.com'. > > Data transfer complete > > HTTP/1.0 301 Moved Permanently > > Using https://www.tripadvisor.com/ > > Looking up www.tripadvisor.com > > Making HTTPS connection to www.tripadvisor.com > > SSL callback:ok, preverify_ok=1, ssl_okay=0 > > SSL callback:ok, preverify_ok=1, ssl_okay=0 > > SSL callback:ok, preverify_ok=1, ssl_okay=0 > > Verified connection to www.tripadvisor.com (cert=www.tripadvisor.com) > > Certificate issued by: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign RSA OV SSL > > CA 2018 > > Secure 256-bit TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384) HTTP connection > > Sending HTTP request. > > HTTP request sent; waiting for response. > > HTTP/1.0 200 OK > > 'A'lways allowing from domain 'www.tripadvisor.com'. > > Data transfer complete > > /usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br > > Alert!: Error uncompressing temporary file! > > > > lynx: Start file could not be found or is not text/html or text/plain > > Exiting... > > > > Riku > -- Thomas E. Dick
Re: [Lynx-dev] An error with temporary file
Hi, I wrote: dnf install brotli The result: Package brotli-0.6.0-8.fc27.i686 is already installed, skipping. Seemly it is in the machine. Riku On Sat, 27 Jan 2024, Riku Virtanen wrote: Hi all, I tested with -trace: )0[1;48r[m[4l[?7h[39;49m[39;49m[37m[40m[H[J[37m[40m[J[m[39;49m[37m[40m[48d[0;10;7m[37m[40mLooking up www.tripadvisor.com first[m[39;49m[37m[40m[170G[0;10;7m[39;49m[37m[40mGetting http://www.tripadvisor.com/[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mLooking up www.tripadvisor.com[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mMaking HTTP connection to www.tripadvisor.com[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSending HTTP request.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP request sent; waiting for response.[m[39;49m[37m[40m[5G[0;10;7m[39;49m[37m[40m/1.0 301 Moved Permanently[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m'A'lways allowing from domain '.tripadvisor.com'.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mData transfer complete[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP/1.0 301 Moved Permanently[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mUsing https://www.tripadvisor.com/[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mGetting https://www.tripadvisor.com/[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mLooking up www.tripadvisor.com[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mMaking HTTPS connection to www.tripadvisor.com[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSSL callback:ok, preverify_ok=1, ssl_okay=0[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mVerified connection to www.tripadvisor.com (cert=www.tripadvisor.com)[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mCertificate issued by: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign RSA OV SSL CA 2018[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSecure 256-bit TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384) HTTP connection[m[39;49m[37m[40m[K[3G[0;10;7m[39;49m[37m[40mnding HTTP request.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP request sent; waiting for response.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mRead 1.5 KiB of data, 6.1 KiB/sec.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP/1.0 200 OK[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m'A'lways allowing from domain 'www.tripadvisor.com'.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mData transfer complete[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m/usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br[m[39;49m[37m[40m[39;49m[37m[40m[H[J[48d[0;10;7m[39;49m[37m[40m/usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br[m[39;49m[37m[40m[0;10;1m[39;49m[37m[40mAlert!: Error uncompressing temporary file![m[39;49m[37m[40m[K[J[39;49m[K[48;1H Looking up www.tripadvisor.com first Looking up www.tripadvisor.com Making HTTP connection to www.tripadvisor.com Sending HTTP request. HTTP request sent; waiting for response. HTTP/1.0 301 Moved Permanently 'A'lways allowing from domain '.tripadvisor.com'. Data transfer complete HTTP/1.0 301 Moved Permanently Using https://www.tripadvisor.com/ Looking up www.tripadvisor.com Making HTTPS connection to www.tripadvisor.com SSL callback:ok, preverify_ok=1, ssl_okay=0 SSL callback:ok, preverify_ok=1, ssl_okay=0 SSL callback:ok, preverify_ok=1, ssl_okay=0 Verified connection to www.tripadvisor.com (cert=www.tripadvisor.com) Certificate issued by: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign RSA OV SSL CA 2018 Secure 256-bit TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384) HTTP connection Sending HTTP request. HTTP request sent; waiting for response. HTTP/1.0 200 OK 'A'lways allowing from domain 'www.tripadvisor.com'. Data transfer complete /usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br Alert!: Error uncompressing temporary file! lynx: Start file could not be found or is not text/html or text/plain Exiting... Riku
Re: [Lynx-dev] An error with temporary file
On Sat, Jan 27, 2024 at 01:14:04PM +0200, Riku Virtanen wrote: > Hi all, > > I tested with -trace: > > )0[1;48r[m[4l[?7h[39;49m[39;49m[37m[40m[H[J[37m[40m[J[m[39;49m[37m[40m[48d[0;10;7m[37m[40mLooking > up www.tripadvisor.com > first[m[39;49m[37m[40m[170G[0;10;7m[39;49m[37m[40mGetting > http://www.tripadvisor.com/[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mLooking > up > www.tripadvisor.com[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mMaking > HTTP connection to > www.tripadvisor.com[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSending > HTTP request.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP > request sent; waiting for > response.[m[39;49m[37m[40m[5G[0;10;7m[39;49m[37m[40m/1.0 301 Moved > Permanently[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m'A'lways > allowing from domain > '.tripadvisor.com'.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mData > transfer > complete[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP/1.0 301 > Moved Permanently[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mUsing > https://ww > w.tripadvisor.com/[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mGetting > https://www.tripadvisor.com/[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mLooking > up > www.tripadvisor.com[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mMaking > HTTPS connection to > www.tripadvisor.com[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSSL > callback:ok, preverify_ok=1, > ssl_okay=0[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mVerified > connection to www.tripadvisor.com > (cert=www.tripadvisor.com)[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mCertificate > issued by: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign RSA OV SSL CA > 2018[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSecure 256-bit TLSv1.2 > (ECDHE-RSA-AES256-GCM-SHA384) HTTP > connection[m[39;49m[37m[40m[K[3G[0;10;7m[39;49m[37m[40mnding HTTP > request.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP request > sent; waiting for > response.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mRead 1.5 KiB of > data, 6.1 > KiB/sec.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP/1..0 200 > OK[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m'A'lways allowing from > domain > 'www.tripadvisor.com'.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mData > transfer > complete[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m/usr/bin/brotli > -j -d > /tmp/lynx6fQBBD/L1617-7134TMP.html.br[m[39;49m[37m[40m[39;49m[37m[40m[H[J[48d[0;10;7m[39;49m[37m[40m/usr/bin/brotli > -j -d > /tmp/lynx6fQBBD/L1617-7134TMP.html.br[m[39;49m[37m[40m[0;10;1m[39;49m[37m[40mAlert!: > Error uncompressing temporary > file![m[39;49m[37m[40m[K[J[39;49m[K[48;1H > Looking up www.tripadvisor.com first > Looking up www.tripadvisor.com > Making HTTP connection to www.tripadvisor.com > Sending HTTP request. > HTTP request sent; waiting for response. > HTTP/1.0 301 Moved Permanently > 'A'lways allowing from domain '.tripadvisor.com'. > Data transfer complete > HTTP/1.0 301 Moved Permanently > Using https://www.tripadvisor.com/ > Looking up www.tripadvisor.com > Making HTTPS connection to www.tripadvisor.com > SSL callback:ok, preverify_ok=1, ssl_okay=0 > SSL callback:ok, preverify_ok=1, ssl_okay=0 > SSL callback:ok, preverify_ok=1, ssl_okay=0 > Verified connection to www.tripadvisor.com (cert=www.tripadvisor.com) > Certificate issued by: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign RSA OV SSL CA > 2018 > Secure 256-bit TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384) HTTP connection > Sending HTTP request. > HTTP request sent; waiting for response. > HTTP/1.0 200 OK > 'A'lways allowing from domain 'www.tripadvisor.com'. > Data transfer complete > /usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br Do you have the brotli program installed on the machine where you are running lynx? > Alert!: Error uncompressing temporary file! > > lynx: Start file could not be found or is not text/html or text/plain > Exiting... > > Riku -- Thomas E. Dickey https://invisible-island.net signature.asc Description: PGP signature
Re: [Lynx-dev] An error with temporary file
Hi all, I tested with -trace: )0[1;48r[m[4l[?7h[39;49m[39;49m[37m[40m[H[J[37m[40m[J[m[39;49m[37m[40m[48d[0;10;7m[37m[40mLooking up www.tripadvisor.com first[m[39;49m[37m[40m[170G[0;10;7m[39;49m[37m[40mGetting http://www.tripadvisor.com/[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mLooking up www.tripadvisor.com[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mMaking HTTP connection to www.tripadvisor.com[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSending HTTP request.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP request sent; waiting for response.[m[39;49m[37m[40m[5G[0;10;7m[39;49m[37m[40m/1.0 301 Moved Permanently[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m'A'lways allowing from domain '.tripadvisor.com'.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mData transfer complete[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP/1.0 301 Moved Permanently[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mUsing https://www.tripad visor.com/[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mGetting https://www.tripadvisor.com/[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mLooking up www.tripadvisor.com[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mMaking HTTPS connection to www.tripadvisor.com[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSSL callback:ok, preverify_ok=1, ssl_okay=0[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mVerified connection to www.tripadvisor.com (cert=www.tripadvisor.com)[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mCertificate issued by: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign RSA OV SSL CA 2018[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mSecure 256-bit TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384) HTTP connection[m[39;49m[37m[40m[K[3G[0;10;7m[39;49m[37m[40mnding HTTP request.[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP request sent; waiting for response.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mRead 1.5 KiB of data, 6.1 KiB/sec.[m[ 39;49m[37m[40m[K[0;10;7m[39;49m[37m[40mHTTP/1..0 200 OK[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m'A'lways allowing from domain 'www.tripadvisor.com'.[m[39;49m[37m[40m[0;10;7m[39;49m[37m[40mData transfer complete[m[39;49m[37m[40m[K[0;10;7m[39;49m[37m[40m/usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br[m[39;49m[37m[40m[39;49m[37m[40m[H[J[48d[0;10;7m[39;49m[37m[40m/usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br[m[39;49m[37m[40m[0;10;1m[39;49m[37m[40mAlert!: Error uncompressing temporary file![m[39;49m[37m[40m[K[J[39;49m[K[48;1H Looking up www.tripadvisor.com first Looking up www.tripadvisor.com Making HTTP connection to www.tripadvisor.com Sending HTTP request. HTTP request sent; waiting for response. HTTP/1.0 301 Moved Permanently 'A'lways allowing from domain '.tripadvisor.com'. Data transfer complete HTTP/1.0 301 Moved Permanently Using https://www.tripadvisor.com/ Looking up www.tripadvisor.com Making HTTPS connection to www.tripadvisor.com SSL callback:ok, preverify_ok=1, ssl_okay=0 SSL callback:ok, preverify_ok=1, ssl_okay=0 SSL callback:ok, preverify_ok=1, ssl_okay=0 Verified connection to www.tripadvisor.com (cert=www.tripadvisor.com) Certificate issued by: /C=BE/O=GlobalSign nv-sa/CN=GlobalSign RSA OV SSL CA 2018 Secure 256-bit TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384) HTTP connection Sending HTTP request. HTTP request sent; waiting for response. HTTP/1.0 200 OK 'A'lways allowing from domain 'www.tripadvisor.com'. Data transfer complete /usr/bin/brotli -j -d /tmp/lynx6fQBBD/L1617-7134TMP.html.br Alert!: Error uncompressing temporary file! lynx: Start file could not be found or is not text/html or text/plain Exiting... Riku
Re: [Lynx-dev] An error with temporary file
Thomas Dickey: hmm - I wonder where that "pre" came from... Gentoo version numbering. I think it doesn't like "dev" because it doesn't know how to sort it to decide what's most recent. Here, it's built from lynx-2.9.0_pre12-r2.ebuild but "lynx -version" says: Lynx Version 2.9.0dev.12 (02 Jan 2023) C
Re: [Lynx-dev] An error with temporary file
240122 Thorsten Glaser wrote: > Philip Webb dixit: >> It works for me with 2.9.0_pre12-r1 installed via Gentoo Linux. > Same for me with 2.9.0 release. ... > The OP said something about compression and I do have > Preferred media type : [42][(1)__Accept lynx's internal types] > but > Preferred encoding : [43][(6)__All_] > includes all the compressings (gzip/deflate/compress/bzip2). My version is using Gentoo's /etc/lynx.cfg , which leaves those settings undefined, so whatever the defaults are. It does give 'internal' 'all' in the commented lines. TD wondered where "pre" came from : it was compiled 230705 from Gentoo's source files, which haven't changed. The version above is currently Gentoo's stable, but it offers 2.9.0_pre12-r2 2.9.0 as testing. My use for Lynx is to have a quick look at .html files, eg the content of an e-mail sent in that format. Otherwise I use Firefox. HTH -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatcadotinterdotnet
Re: [Lynx-dev] An error with temporary file
On Mon, Jan 22, 2024 at 03:53:37PM -0500, Philip Webb wrote: > 240122 Riku Virtanen wrote: > > I installed new Lynx 9.0. > > I tried with www.tripadvisor.com/. > > Lynx said: Error with compressing temporary file. > > What does this mean ? Now I have 2.8.9rel.1 and it opens Tripadvisor. 2.9.0 works for me > It works for me with 2.9.0_pre12-r1 installed via Gentoo Linux. hmm - I wonder where that "pre" came from... -- Thomas E. Dickey https://invisible-island.net signature.asc Description: PGP signature
Re: [Lynx-dev] An error with temporary file
Philip Webb dixit: >It works for me with 2.9.0_pre12-r1 installed via Gentoo Linux. Same for me with 2.9.0 release. first 10. Using https://www.tripadvisor.com/ then #Tripadvisor: Over a billion reviews & contributions for Hotels, Attractions, Restaurants, and more (p1 of 7) The OP said something about compression and I do have… Preferred media type : [42][(1)__Accept lynx's internal types] …but… Preferred encoding : [43][(6)__All_] includes all the compressings (gzip/deflate/compress/bzip2). HTH, //mirabilos -- Support mksh as /bin/sh and RoQA dash NOW! ‣ src:bash (429 (458) bugs: 0 RC, 295 (315) I&N, 134 (143) M&W, 0 F&P) + 209 ‣ src:dash (90 (104) bugs: 0 RC, 51 (54) I&N, 39 (50) M&W, 0 F&P) + 62 ubu ‣ src:mksh (1 bug: 0 RC, 0 I&N, 1 M&W, 0 F&P) dash has two RC bugs they just closed because they don’t care about quality…
Re: [Lynx-dev] An error with temporary file
240122 Riku Virtanen wrote: > I installed new Lynx 9.0. > I tried with www.tripadvisor.com/. > Lynx said: Error with compressing temporary file. > What does this mean ? Now I have 2.8.9rel.1 and it opens Tripadvisor. It works for me with 2.9.0_pre12-r1 installed via Gentoo Linux. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatcadotinterdotnet
Re: [Lynx-dev] An error with temporary file
Riku Virtanen wrote: I installed new Lynx 9.0. I tried with www.tripadvisor.com/. Lynx said: Error with compressing temporary file. What does this mean? Now I have 2.8.9rel.1 and it opens Tripadvisor. For me this site does not work in Lynx, Windows's bundled 'curl', the offical 'curl', 'Wget' nor 'Wget2'. Setting 'user-agent' to: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" does not help. Here is the HAR-file (HTTP Archive, a JSON-format) when analysing this site in Chrome: https://www.watt-32.net/misc/www.tripadvisor.com.har Use Chrome DevTools (F12), 'import HAR-file'. Or Google's HAR Analyzer at: https://toolbox.googleapps.com/apps/har_analyzer/ This strange file: https://www.tripadvisor.com/static/decodeKey.txt seems to block everything (?) -- --gv
Re: [Lynx-dev] An error with temporary file
On Sun, Jan 21, 2024 at 10:06:47PM +0200, Riku Virtanen wrote: > Hi, > > I installed new Lynx 9.0. > I tried with www.tripadvisor.com/. > Lynx said: Error with compressing temporary file. > > What does this mean? Now I have 2.8.9rel.1 and it opens Tripadvisor. You can probably see the error in the trace file (command-line "-trace", or ^T to toggle tracing while running). -- Thomas E. Dickey https://invisible-island.net signature.asc Description: PGP signature
[Lynx-dev] An error with temporary file
Hi, I installed new Lynx 9.0. I tried with www.tripadvisor.com/. Lynx said: Error with compressing temporary file. What does this mean? Now I have 2.8.9rel.1 and it opens Tripadvisor. Riku