"Ubuntu - Linux for Human Beings!" (About Ubuntu) page contains encoding error

Bug #510318 reported by Per Ångström
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
yelp (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: ubuntu-docs

I happened on the "Ubuntu - Linux for Human Beings!" page and was startled by an error message at the top of the page:

This page contains the following errors:
error on line 448 at column 752: Encoding error
Below is a rendering of the page up to the first error.

How to reproduce:
1) In the System menu, choose "About Ubuntu".

ProblemType: Bug
Architecture: amd64
Date: Wed Jan 20 20:57:26 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: ubuntu-docs 10.04.1
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.32-11.15-generic
SourcePackage: ubuntu-docs
Uname: Linux 2.6.32-11-generic x86_64

Revision history for this message
Per Ångström (autark) wrote :
Montel Edwards (montel)
affects: ubuntu-docs (Ubuntu) → yelp (Ubuntu)
Revision history for this message
Connor Imes (ckimes) wrote :

Per Ångström, thanks for your report. I am not able to reproduce this problem. Are you using a different locale, like UK English? If so, it is possible that translation missed a tag or something. If not, please try reinstalling ubuntu-docs to see if that fixes the problem:
   sudo apt-get clean
   sudo apt-get install --reinstall ubuntu-docs

Please let us know if that works or not. Thanks in advance.

affects: yelp (Ubuntu) → ubuntu-docs (Ubuntu)
Changed in ubuntu-docs (Ubuntu):
status: New → Incomplete
Revision history for this message
Per Ångström (autark) wrote :

LANG=en_US.utf8
LANGUAGE=en_US.utf8
LC_CTYPE=sv_SE.utf8
LC_NUMERIC=sv_SE.utf8
LC_TIME=sv_SE.utf8
LC_COLLATE=sv_SE.utf8
LC_MONETARY=sv_SE.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=sv_SE.utf8
LC_NAME=sv_SE.utf8
LC_ADDRESS=sv_SE.utf8
LC_TELEPHONE=sv_SE.utf8
LC_MEASUREMENT=sv_SE.utf8
LC_IDENTIFICATION=sv_SE.utf8
LC_ALL=

Reinstalling ubuntu-docs did not help.

Changed in ubuntu-docs (Ubuntu):
status: Incomplete → New
Revision history for this message
Per Ångström (autark) wrote :

I can reproduce the problem on my second machine, which is running a fully updated Lucid. My user on that machine has the same locale as above.

Revision history for this message
Per Ångström (autark) wrote :

I switched to an all en_US.utf8 locale, and that didn't help. Then I switched back, and the error was gone! This was on my first machine. I will try the same thing on my other machine later.

Revision history for this message
Connor Imes (ckimes) wrote :

Thanks for getting back to us. Based on your previous comment, I will close this bug report. Please re-open it by changing the status back to New if the problem re-appears on your other machine.

Changed in ubuntu-docs (Ubuntu):
status: New → Invalid
Revision history for this message
Per Ångström (autark) wrote :

I'm unable to work around the issue on my second machine.

Has anybody tried to reproduce the issue using my locale settings?

Changed in ubuntu-docs (Ubuntu):
status: Invalid → New
Revision history for this message
Matthew East (mdke) wrote :

Per, can you run this command please and post the ouput:

xmllint --noout --xinclude --noent --postvalid /usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml

Revision history for this message
Per Ångström (autark) wrote :

# xmllint --noout --xinclude --noent --postvalid /usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml
warning: failed to load external entity "/usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml"

# ls -l /usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml
lrwxrwxrwx 1 root root 63 2010-01-14 19:13 /usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml -> /usr/share/gnome/help-langpack/about-ubuntu/sv/about-ubuntu.xml
# ls -lL /usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml
ls: cannot access /usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml: No such file or directory

I think we're looking for the wrong file. Remember that my language locale is en_US.

Revision history for this message
Matthew East (mdke) wrote :

That's fine. Now try:

xmllint --noout --xinclude --noent --postvalid /usr/share/gnome/help/about-ubuntu/C/about-ubuntu.xml

Revision history for this message
Per Ångström (autark) wrote :

No output. I think that means the document is well-formed.

Revision history for this message
Matthew East (mdke) wrote :

Ok, I don't think there is a problem with ubuntu-docs here, could be a problem with yelp so I'll reassign the bug there.

affects: ubuntu-docs (Ubuntu) → yelp (Ubuntu)
Changed in yelp (Ubuntu):
importance: Undecided → Low
Revision history for this message
Ubfan (ubfan1) wrote :

The error appears on my Lucid system, AMD64 alternates between the below
two errors(in a pink box at top of page).

This page contains the following errors:
error on line 448 at column 737: AttValue: " or ' expected
Below is a rendering of the page up to the first error.

or

This page contains the following errors:
error on line 448 at column 725: Encoding error
Below is a rendering of the page up to the first error.

xmllint --noout --xinclude --noent --postvalid /usr/share/gnome/help/about-ubuntu/C/about-ubuntu.xml
no output

Revision history for this message
Ubfan (ubfan1) wrote :

My locale is C, by the way, fully patched on Feb 1.
$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

Revision history for this message
GokulChittaranjan (gokulchittaranjan) wrote :

This error also occurs on my lucid system - amd64

Error:
error on line 448 at column 737: AttValue: " or ' expected

xmllint --noout --xinclude --noent --postvalid /usr/share/gnome/help/about-ubuntu/C/about-ubuntu.xml

no output

$locale
LANG=en_IN.utf8
LANGUAGE=en_IN.utf8
LC_CTYPE="en_IN.utf8"
LC_NUMERIC="en_IN.utf8"
LC_TIME="en_IN.utf8"
LC_COLLATE="en_IN.utf8"
LC_MONETARY="en_IN.utf8"
LC_MESSAGES="en_IN.utf8"
LC_PAPER="en_IN.utf8"
LC_NAME="en_IN.utf8"
LC_ADDRESS="en_IN.utf8"
LC_TELEPHONE="en_IN.utf8"
LC_MEASUREMENT="en_IN.utf8"
LC_IDENTIFICATION="en_IN.utf8"
LC_ALL=

Revision history for this message
Ubfan (ubfan1) wrote :

Navigation box appears to have a sporadic problem.
There is another page with this problem which causes a pink error box at the top of the page:
How Can I Upgrade to the latest version of Ubuntu?
The error is not consistent -- it's either:
 1)Not present (rare).
 2)line 467 col 46 Encoding error
 2)line 46 col 62 invalid character
 4)line 46 col 63 invalid character

The page appears to be complete, but the navigation box at the bottom (previous..., next...) is missing.

There is no nav box on the first page either, Ubuntu -- Linux for Human Beings either.

Revision history for this message
eris23 (jdkatz23) wrote :

on my fully updated lucid I found:

ls -l /usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml
lrwxrwxrwx 1 root root 63 2010-01-14 17:33 /usr/share/gnome/help/about-ubuntu/sv/about-ubuntu.xml -> /usr/share/gnome/help-langpack/about-ubuntu/sv/about-ubuntu.xml

but the linked doc and dir don't exist

and

ls /usr/share/gnome/help-langpack/about-ubuntu/
en_AU en_CA en_GB

shouldn't there be an en_US locale directory?

Revision history for this message
Per Ångström (autark) wrote :

I'm no longer seeing this on either of my test machines.

Revision history for this message
Per Ångström (autark) wrote :

Can this bug be closed?

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for reporting this bug.

As per your comments this issue is fixed. Marking as such.

Changed in yelp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.