[2160] in athena10

home help back first fref pref prev next nref lref last post

Re: Alpine unable to view HTML documents

daemon@ATHENA.MIT.EDU (Quentin Smith)
Thu Apr 9 23:07:20 2009

Date: Thu, 9 Apr 2009 23:06:50 -0400 (EDT)
From: Quentin Smith <quentin@MIT.EDU>
To: Greg Price <price@mit.edu>
cc: linerva@mit.edu
In-Reply-To: <20090410023312.GO21912@vinegar-pot.mit.edu>
Message-ID: <alpine.DEB.1.10.0904092234110.9372@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII

To be clear, this is not viewing HTML bodies, but viewing HTML files such 
as in attachments.

My .mailcap is empty. The only thing that appears to be relevant in my 
.pinerc is the line:

url-viewers=/usr/athena/bin/htmlview,
         /usr/bin/links

but /usr/bin/links works correctly, and an strace suggests that 
/usr/bin/sensible-browser is what's actually being invoked.

The steps to reproduce in my account are:

- look at a message that has an HTML attachment
- Press . to move to the list of message parts
- Select an HTML part
- Press enter
- Answer yes to "View selected Attachment?"

I get a message "VIEWER command launched", but I never actually get an 
HTML viewer.

Looking at an strace, it looks like alpine launches 
/usr/bin/sensible-browser, which launches /usr/bin/links2. I don't have 
any links2 configuration. links2 looks for config files and fails. Then it 
loads my bookmarks, and then it tries to stat /dev/tty0, and shortly after 
it dies with the syslog messages below. links2 does run for me from a 
shell, but I don't know what's different from pine. I put the strace 
in /mit/quentin/Public/alpine.html.log. I don't think I can trace it any 
farther.

--Quentin

On Thu, 9 Apr 2009, Greg Price wrote:

> Works for me, with /usr/bin/alpine, no .pinerc, and no .mailcap.
>
> Perhaps you can bisect to something in your .pinerc or .mailcap
> that causes the issue.
>
> Greg
>
>
> On Wed, Apr 08, 2009 at 12:24:32PM -0400, Quentin Smith wrote:
>> Hi-
>>
>> Since the Lennerva upgrade, (al)pine is now unable to view HTML
>> documents. It silently fails. broder pasted this log snipped on -c sipb:
>>
>>        Apr  8 12:08:06 vinegar-pot www-browser: *** err
>>        Apr  8 12:08:06 vinegar-pot www-browser: checking tty name failed
>>        Apr  8 12:08:06 vinegar-pot www-browser: *** err
>>        Apr  8 12:08:06 vinegar-pot www-browser: Oh, oh, it's an error! possibly I die!
>>
>> --Quentin
>

home help back first fref pref prev next nref lref last post