[2165] 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 (Greg Price)
Fri Apr 10 04:05:48 2009

Date: Fri, 10 Apr 2009 04:05:18 -0400
From: Greg Price <price@MIT.EDU>
To: Quentin Smith <quentin@mit.edu>
Cc: linerva@mit.edu
Message-ID: <20090410080518.GV21912@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <alpine.DEB.1.10.0904092234110.9372@vinegar-pot.mit.edu>

OK, I reproduce this.

At this point it looks like an upstream/Debian bug, not a Debathena or
Linerva bug.  I bet it behaves the same way with the upstream alpine
package.  If it does, you can report it to the Debian BTS with the
`reportbug` command.

Greg


On Thu, Apr 09, 2009 at 11:06:50PM -0400, Quentin Smith wrote:
> 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