[opensuse] Broken info2html package
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, That package is broken. When browsing to http://localhost/cgi-bin/info2html, and clicking on any of the info pages, the following error appears: ] File IO Error ] The Info file could not be opened for reading. The file "/var/log/apache2/error_log" shows: [Sat Dec 15 01:40:47 2007] [error] [client 127.0.0.1] , referer: http://localhost/cgi-bin/info2html [Sat Dec 15 01:40:47 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info2html.css, referer: http://localhost/cgi-bin/info2html?(ensc And it is true, file "info2html.css" is missing from the entire distro; not even webpin finds it, nor google. Ideas? - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHY8PrtTMYHG2NR9URAiuOAJ4wUUocD4GX6nHuLEDQ601tSXG6kACeP4e+ MWes5qeg/VLz0Co6VO4v+CY= =u05P -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 15 December 2007 06:09:03 am Carlos E. R. wrote:
Hi,
That package is broken.
When browsing to http://localhost/cgi-bin/info2html, and clicking on any of the info pages, the following error appears:
] File IO Error ] The Info file could not be opened for reading.
The file "/var/log/apache2/error_log" shows:
[Sat Dec 15 01:40:47 2007] [error] [client 127.0.0.1] , referer: http://localhost/cgi-bin/info2html [Sat Dec 15 01:40:47 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info2html.css, referer: http://localhost/cgi-bin/info2html?(ensc
And it is true, file "info2html.css" is missing from the entire distro; not even webpin finds it, nor google.
Ideas?
Konqueror Location field, type info:grub and you can read the same as with info grub on comand line. What you are trying to accomplish with http://localhost/cgi-bin/info2html ? -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2007-12-15 at 13:52 -0600, Rajko M. wrote:
Ideas?
Konqueror Location field, type
No, konqueror uses its own thing, that's not what I'm looking for. I don't usually use konqueror, too heavy.
What you are trying to accomplish with http://localhost/cgi-bin/info2html ?
That links gives you all the info pages in the system, using any browser. It is provided by "info2html...rpm, but the rpm is broken. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHZGBstTMYHG2NR9URAs7tAKCJ63jdgkqDi4HymTWHOJMGIkgN6gCfTdZL 4YQxuvwc18w7mwupa7anVUU= =BYkQ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 15 December 2007 05:16:58 pm Carlos E. R. wrote:
The Saturday 2007-12-15 at 13:52 -0600, Rajko M. wrote:
Ideas?
Konqueror Location field, type
No, konqueror uses its own thing, that's not what I'm looking for. I don't usually use konqueror, too heavy.
What you are trying to accomplish with http://localhost/cgi-bin/info2html ?
That links gives you all the info pages in the system, using any browser. It is provided by "info2html...rpm, but the rpm is broken.
-- Cheers, Carlos E. R.
Type in Konqueror Location field info: press Enter and you will see this: info:/dir with all info articles listed in the window. <snip>------------------------------------------------------- This (the Directory node) gives a menu of major topics. "h" gives a primer for first-timers, "mEmacs<Return>" visits the Emacs manual, etc. In Emacs, you can click mouse button 2 on a menu item or cross reference to select it. Menu Utilities Enscript GNU Enscript Gzip The gzip command for compressing files. ZSH The Z Shell Manual. </snip>------------------------------------------------------- I guess that is what you are looking for, but if you insist on the other way than you have to configure Apache, find where is hidden customized css that is used by Konqueror, install it and that's all ;-) -- Have a nice day, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 i The Saturday 2007-12-15 at 18:23 -0600, Rajko M. wrote:
That links gives you all the info pages in the system, using any browser. It is provided by "info2html...rpm, but the rpm is broken.
Type in Konqueror Location field info: press Enter and you will see this: info:/dir with all info articles listed in the window.
I know that konqueror displays info pages, but I do not want to use konqueror for that, not today. There is a package in opensuse that claims to be able to do it, and it is broken. Somebody must know how to repair it. I don't.
I guess that is what you are looking for, but if you insist on the other way than you have to configure Apache, find where is hidden customized css that is used by Konqueror, install it and that's all ;-)
That is above my knowledge. I don't even know what a css is - nor do I care, in fact... I simply installed an rpm provided by opensuse, and I expect it to work. As simple as that. The file is contained in the rpm source, by the way. I copied it over, the output is beautified, but the main error remain: ] File IO Error ] The Info file could not be opened for reading. This seems to come from the /srv/www/cgi-bin/info2html file (in perl): #--------------------------------------------------------- # DieFileNotFound #--------------------------------------------------------- # Replies and error message if the file '$FileName' is # not accessible. #--------------------------------------------------------- # Don't reveal where we're looking... --jonh 5/20/97 (and reapplied 5/4/1998) sub DieFileNotFound{ local($FileName) = CGI::escape(@_); #-- TEXT : error message if a file could not be opened print <<"EOF"; <html> <head> <title>Info Files - Error Message</title> $BOTS_STAY_AWAY $HTML_HEAD_STUFF </head> <body bgcolor="#ffffff" link="#008000" alink="#008000" vlink="#fb8000" class='error noopen'> <h1>File IO Error</h1> The Info file could not be opened for reading. </body> </html> I modified that to print the filename. Then traced the problem to this piece of code (by substituting "$BaseInfoFile" with "'aqui falla'", one by one on each of the function calls, and seeing it printed after one of the changes): $PROGRAM = $ENV{'SCRIPT_NAME'}; $CommandLine = DeEscape($ENV{'QUERY_STRING'}); # jonh DeEscape() 1997.05.16 if ($CommandLine =~ /\(([^\)]+)\)(.+)/) { $BaseInfoFile = &DeEscape($1); $NodeName = &DeEscape($2); &DirnameCheck($BaseInfoFile) || &DieFileNotFound($BaseInfoFile); <=== } elsif( $CommandLine =~ /^([-_0-9a-zA-Z]+)$/) { # tolerate bare queries $BaseInfoFile = &DeEscape($1); $NodeName = 'Top'; } else { $BaseInfoFile = 'dir'; $NodeName = 'Top'; } The test that fails is the one marked "<===", but that is all I'm able to trace - I don't know perl, after all. The fact remains: the package info2html is broken. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHZJOwtTMYHG2NR9URAhgkAJ4yvTxAdwhdIv1v3B5HdFf6ynQV/wCfcOzM Z36o/pRHC1suDWMK5rRDjOA= =W43f -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Carlos E. R.
-
Rajko M.