Re: muttprint doesn't want to play
On (03/08/06 13:05), Stephen Gran wrote:
> This one time, at band camp, Clive Menzies said:
> > I've just done a fresh install (etch beta3) and upgraded to sid. I
> > can't seem to get muttprint to work. I've got other installs on other
> > partitions and I'm using the same $home partition and the muttrc works
> > fine elswhere.
> >
> > When I hit 'p' to print a mail, I get the following:
> >
> > Could not open at /usr/bin/muttprint line 1752, <STDIN> line 46.
> >
> > Any ideas as to what the problem may be?
>
> Line 1752 is
> open (LFILE, ">>$Temp{logf}") or die "Could not open $Temp{logf}";
>
> in the printLog subroutine. This means $Temp{logf} is undefined for
> some reason. It should normally be /tmp/muttprint.log. Try running it
> with debugging a few times and see if you get anything interesting.
Didn't seem to be very revealing:
clive@Darius:~$ muttprint -D test
======================================================================
ADDRESSFORMAT => %r <%a>,\n
BACKGROUND => 0
BOTTOMMARGIN => 22
DATE => original
DATE_FORMAT => %c
DEBUG => 1
DUPLEX => off
FONT => Latex
FONTSIZE => 10pt
FOOTRULE => on
FRONTSTYLE => border
HEADRULE => on
ICONV_EXTERNAL => off
LATEXCODE =>
LATEXCODE1 =>
LATEXCODE2 =>
LATEXCODE3 =>
LATEXCODE4 =>
LATEXCODE5 =>
LEFTMARGIN => 20
MAINT_SEARCH => off
MAXADDR => 10
PAPER => A4
PAPERSAVE => off
PENGUIN => off
PRINTED_HEADERS => Date_To_From_CC_Newsgroups_*Subject*
PRINTER =>
PRINT_COMMAND => lpr
RCFILE =>
REM_QUOTE => off
REM_SIG => off
RIGHTMARGIN => 20
SIG_REGEXP => ^-- $
SPEED => 30
TOPMARGIN => 19
VERBATIMNORMAL =>
VERBATIMSIG => fontshape=it
WAIT => 30
WRAPMARGIN => 80
XFACE => off
======================================================================
Caught a SIGINT at /usr/bin/muttprint line 1962
And running from mutt:
======================================================================
ADDRESSFORMAT => %r <%a>,\n
BACKGROUND => 0
BOTTOMMARGIN => 22
DATE => original
DATE_FORMAT => %c
DEBUG => 1
DUPLEX => off
FONT => Latex
FONTSIZE => 10pt
FOOTRULE => on
FRONTSTYLE => border
HEADRULE => on
ICONV_EXTERNAL => off
LATEXCODE =>
LATEXCODE1 =>
LATEXCODE2 =>
LATEXCODE3 =>
LATEXCODE4 =>
LATEXCODE5 =>
LEFTMARGIN => 20
MAINT_SEARCH => off
MAXADDR => 10
PAPER => A4
PAPERSAVE => off
PENGUIN => off
PRINTED_HEADERS => Date_To_From_CC_Newsgroups_*Subject*
PRINTER =>
PRINT_COMMAND => lpr
RCFILE =>
REM_QUOTE => off
REM_SIG => off
RIGHTMARGIN => 20
SIG_REGEXP => ^-- $
SPEED => 30
TOPMARGIN => 19
VERBATIMNORMAL =>
VERBATIMSIG => fontshape=it
WAIT => 30
WRAPMARGIN => 80
XFACE => off
======================================================================
Could not open at /usr/bin/muttprint line 1752, <STDIN> line 46.
Press any key to continue...
I couldn't find anything useful either in /tmp
clive@Darius:~$ ls -l /tmp
total 28
srw------- 1 clive clive 0 2006-08-03 13:03 alsaplayer_clive_0
-rw------- 1 clive clive 5526 2006-08-03 13:20 mutt-Darius-1000-9145-10
-rw------- 1 clive clive 1505 2006-08-03 13:20 mutt-Darius-1000-9145-14
-rw------- 1 clive clive 1707 2006-08-03 13:20 mutt-Darius-1000-9145-15
drwx------ 2 clive clive 4096 2006-08-03 09:39 ssh-TSYHlx4477
drwx------ 2 clive clive 4096 2006-08-03 13:19 v616727
drwx------ 2 clive clive 4096 2006-08-03 13:20 v616815
Thanks
Clive
--
www.clivemenzies.co.uk ...
...strategies for business
Reply to: