[tex-live] TeXdoc error: attempt to concatenate global 'viewext' (a nil value)

Dr. Werner Fink werner at suse.de
Tue Dec 22 13:59:49 CET 2009

On Tue, Dec 22, 2009 at 01:35:40PM +0100, Manuel Pégourié-Gonnard wrote:
> Hi,
> On Mon, 21 Dec 2009 12:56:10 +0100, "Dr. Werner Fink" <werner at suse.de>
> wrote:
> > just got a user report:
> > 
> >   > texdoc l2kurz
> >   /usr/bin/texdoc:662: attempt to concatenate global 'viewext' (a nil
> >   value)
> > 
> > I've verified that this happens in the lua /usr/bin/texdoc at
> > line 662 with TeX Live 2008 and in line 667 with TeX Live 2009:
> > 
> >      return config['viewer_'..viewext], viewer_replacement
> > 
> Thanks for your report. Unfortunately, I have no access to my working
> texlive+texdoc environment right now (holidays + laptop breakage), so I'm
> afraid it'll take some time before I can look into it.
> In the meanwhile, may I request a few additional informations?
> - Does it happen only with l2kurz? If so, what is the output of 'texdoc -l
> l2kurk'?
> - which version of texdoc are you using? If it's 0.47 as I suspect, is it
> possible for you to upgrade and try with 0.60?

I've just hacked the texdoc lua script a bit to make it work
even with support_zipped = true.  Sorry about the older version
AFAICS from the script its still on '0.4' and the the first few
lines looks like

-- $Id: texdoc.tlu 10337 2008-08-14 11:40:50Z mpg $ -*-Lua-*-
--[[Revised 2008 by Manuel P351gouri351-Gonnard 
    with contributions from Reinhard Kotucha.
    First texlua versions by Frank K374ster (2007). 
    Origial shell script by Thomas Esser, David Aspinall, and Simon Wilkinson.
    Public domain.]]

  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texdoc.diff
Type: text/x-patch
Size: 4534 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20091222/495ec779/attachment.bin>

More information about the tex-live mailing list