Bug #68927 mysql info is not readable with info (info: Cannot find node `Top'.)
Submitted: 11 Apr 2013 6:22 Modified: 14 May 2013 13:33
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.6.10, 5.6.11 OS:Linux (Ubuntu 12.04, 12.10)
Assigned to: CPU Architecture:Any

[11 Apr 2013 6:22] Daniël van Eeden
Description:
$ info -f mysql.info
info: Cannot find node `Top'.
$ cd ..
$ info -f docs/mysql.info

How to repeat:
Try to open the mysql.info file with info.

Suggested fix:
Add a README which tells the user how to use this file. It somehow can't be used from the directory itself.
[11 Apr 2013 6:40] MySQL Verification Team
Daniel what OS are you using?  It works fine for me on 5.6.10 with FC17:

[zzz@fc17 docs]$ info --version
info (GNU texinfo) 4.13
[sbester@fc17 docs]$ md5sum mysql.info
283ae6b71cd4d39b73d62ec81749d2f6  mysql.info
[sbester@fc17 docs]$ pwd
/home/zzz/mysql/release/mysql-advanced-5.6.10-linux-glibc2.5-x86_64/docs
[11 Apr 2013 9:44] Daniël van Eeden
It's Ubuntu 12.10. I've used the mysql.info file from the community version, which apparently has a different MD5 checksum than the mysql.info file from the enterprise (advanced) version. I wonder why the file is different between enterprise and community versions?

$ tar zxf mysql-5.6.10-linux-glibc2.5-x86_64.tar.gz 
$ cd mysql-5.6.10-linux-glibc2.5-x86_64/docs
$ info --version
info (GNU texinfo) 4.13

Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ md5sum mysql.info
a80682dc4e541c26a075a10e8462b679  mysql.info
$ info -f mysql.info
info: Cannot find node `Top'.
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.10
Release:	12.10
Codename:	quantal
[11 Apr 2013 18:35] Paul DuBois
"I wonder why the file is different between enterprise and community versions?"

The manual is updated often (several times a day, typically). If community and enterprise builds are not created at the same time, the manual could indeed differ.
[11 Apr 2013 18:38] Paul DuBois
Does the beginning of your file look like this?

This is manual.info, produced by makeinfo version 4.8 from manual.texi.

START-INFO-DIR-ENTRY
* mysql: (mysql).               MySQL documentation.
END-INFO-DIR-ENTRY

^_
File: manual.info,  Node: Top,  Next: preface,  Prev: (dir),  Up: (dir)
[11 Apr 2013 19:08] Paul DuBois
I downloaded mysql-5.6.10-linux-glibc2.5-x86_64.tar.gz, changed location into the doc directory, and tried "info mysql.info". No problem.

% md5sum mysql.info
a80682dc4e541c26a075a10e8462b679  mysql.info
[12 Apr 2013 2:29] MySQL Verification Team
Thank you for the bug report. Verified on OpenSuse 12.3 X86_64:

miguel@tikal:~> cd mysql-5.6.10-linux-glibc2.5-x86_64/
miguel@tikal:~/mysql-5.6.10-linux-glibc2.5-x86_64> cd docs/
miguel@tikal:~/mysql-5.6.10-linux-glibc2.5-x86_64/docs> info -f mysql.info 
info: Cannot find node `Top'.
miguel@tikal:~/mysql-5.6.10-linux-glibc2.5-x86_64/docs> info --version
info (GNU texinfo) 4.13

Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
miguel@tikal:~/mysql-5.6.10-linux-glibc2.5-x86_64/docs>
[12 Apr 2013 8:49] Daniël van Eeden
@Paul Dubois: "info mysql.info" does not read the mysql.info file in the same directory: it used the global mysql.info. It probably works in every directory.
[12 Apr 2013 18:45] Paul DuBois
In fact I tried it several ways:

info mysql.info
info -f mysql.info
info ./mysql.info
info -f ./mysql.info

No problems on Mac OS X, Gentoo Linux, Red Hat Linux
reading the mysql.info from the MySQL distribution.

However, I did find on Red Hat that had a "system" version
installed somewhere that both of the first two commands
read that file. I had to use ./mysql.info to get info to read
the "local" copy in my working directory.

So perhaps "info -f mysql.info" is not actually reading the
file you expect it to read?
[12 Apr 2013 19:00] Paul DuBois
Cannot reproduce on opensuse. Worked for me with same file.
[14 May 2013 13:33] Daniël van Eeden
Tested it on:
Ubuntu 13.04 with MySQL 5.6.10: Couldn't reproduce it there.
Ubuntu 12.04.2 with MySQL 5.6.11: Reproducable.

So I guess it's reproducable on Ubuntu 12.04 and 12.10.