[Bug 566380] New: texdoc does not work
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c0 Summary: texdoc does not work Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bernhard.walle@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-1.1.2 Firefox/3.5.5 Both in the openSUSE 11.2 default version of TeX live and in the TeX live 2009 package from the 'Publishing' repository in the BuildService, I get bwalle@linux-ubrj:~> texdoc l2kurz /usr/bin/texdoc:662: attempt to concatenate global 'viewext' (a nil value) bwalle@linux-ubrj:~> texdoc dinbrief /usr/bin/texdoc:662: attempt to concatenate global 'viewext' (a nil value) I tested in a freshly installed VM, so it's definitively not my configuration. 'texdoc -l' displays a document, so it's not just an unfriendly way that the document does not exist... :-) Reproducible: Always Steps to Reproduce: See above Actual Results: A PDF (or DVI) viewer should display the documentation. Expected Results: The error message is displayed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c1 --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2009-12-21 11:56:32 UTC --- Just send a report upstream. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c2 --- Comment #2 from Bernhard Walle <bernhard.walle@gmx.de> 2009-12-21 15:45:30 UTC --- I cannot report a openSUSE-specific bug upstream. It works with the TeX Live 2009 installed from scratch with the supplied installer. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c3 --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2009-12-21 15:58:48 UTC --- The only difference is: --- texk/texlive/linked_scripts/texdoc/texdoc.tlu +++ texk/texlive/linked_scripts/texdoc/texdoc.tlu 2008-09-24 14:55:10.000000000 +0000 @@ -72,7 +72,7 @@ err_priority = { -- everything works for them (look for support_zipped in the code). -- If you use this feature, please let us know: if nobody uses it, -- we'll drop it at some point. -support_zipped = false +support_zipped = true -- BEGIN function definitions (till the 'END' mark) .. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c4 --- Comment #4 from Bernhard Walle <bernhard.walle@gmx.de> 2009-12-21 16:02:01 UTC --- And that makes it working. However: Are there any zipped documentation files that are unzipped in plain TeX Live installation? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c5 --- Comment #5 from Dr. Werner Fink <werner@novell.com> 2009-12-21 16:04:42 UTC --- The function how_to_view of /usr/bin/texdoc is broken for the case support_zipped== true ... IMHO this is a upstream bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c6 --- Comment #6 from Dr. Werner Fink <werner@novell.com> 2009-12-21 16:06:25 UTC --- (gz|bzip2) documentation is that what our policy here strongly suggest, this had worked before the lua files flawless. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c7 --- Comment #7 from Bernhard Walle <bernhard.walle@gmx.de> 2009-12-21 16:41:41 UTC --- Well, did you read: -- optionally, texdoc can support compressed documentation, but this is -- system-dependant (commands for unzipping, temporary files, etc). -- Since TeX Live doesn't ship compressed doc, downstream distributors who -- want to ship zipped should change support_zipped to true *and* make sure -- everything works for them (look for support_zipped in the code). -- If you use this feature, please let us know: if nobody uses it, -- we'll drop it at some point. And I looked now in the code, tried to fix the broken compression support. But it's quite hopeless (more than 1/2 hour work). I think they have extended code more and more without touching the supported_zipped parts. For example, the how_to_view builds a viewer_replacement command that contains code that must be executed by a shell. However, try_viewing the quotes the whole command so that the shell cannot execute the code and the viewer gets the whole "filename ; rm filename ; " code. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c8 --- Comment #8 from Dr. Werner Fink <werner@novell.com> 2009-12-22 08:42:23 UTC --- I've read it ... and also remembered that this had worked perfect with TeTeX ... now with this lua script it does not :((( -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c9 --- Comment #9 from Dr. Werner Fink <werner@novell.com> 2009-12-22 12:51:02 UTC --- Created an attachment (id=333879) --> (http://bugzilla.novell.com/attachment.cgi?id=333879) /usr/bin/texdoc Just hacked texdoc a bit ... now it should work even with support_zipped = true -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c10 --- Comment #10 from Bernhard Walle <bernhard@bwalle.de> 2009-12-22 13:06:42 UTC --- The attached version works here, too. Thanks! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c11 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #11 from Dr. Werner Fink <werner@novell.com> 2009-12-23 11:11:17 UTC --- Update is available -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c12 --- Comment #12 from Bernhard Walle <bernhard@bwalle.de> 2009-12-23 11:14:08 UTC --- Verified. Thanks a lot! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=566380 http://bugzilla.novell.com/show_bug.cgi?id=566380#c13 David Haller <david@dhaller.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@dhaller.de --- Comment #13 from David Haller <david@dhaller.de> 2010-06-08 19:09:37 CEST --- Broken (again?) in texlive-2008-13.18.1-noarch (current update in openSUSE-11.2-Update repo). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com