[Bug 146450] Re: [gutsy] Update-manager fails to start

2007-09-29 Thread Daniel Karlsson
Thank you for your bug report, The problem seems to lie in __init.py__
and the fact that no coding has been specified. A potential workaround
may be adding:

# -*- coding: utf-8 -*-

You can do this with the following command:

sudo nano /usr/lib/python2.5/xml/__init__.py

And then adding 
# -*- coding: utf-8 -*-
to the very top of the file. Press ctrl-y to save and then ctrl-x.

If that does not work please remove the line again.

-- 
[gutsy] Update-manager fails to start
https://bugs.launchpad.net/bugs/146450
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 146450] Re: [gutsy] Update-manager fails to start

2007-09-29 Thread alexrudd
Whoa; just got a nice little surprise.  Over a dozen programs all
crashed in a row, apparently all because of this same corrupted file.

dpkg --search /usr/lib/python2.5/xml/__init__.py
python2.5: /usr/lib/python2.5/xml/__init__.py

With this insight, I reinstalled python2.5 and update-manager worked
again.  I'm going to try changing the target to python2.5

** Also affects: python2.5 (Ubuntu)
   Importance: Undecided
   Status: New

** Summary changed:

- [gutsy] Update-manager fails to start
+ [gutsy] Corrupted Python XML library prevents update-manager from starting

-- 
[gutsy] Corrupted Python XML library prevents update-manager from starting
https://bugs.launchpad.net/bugs/146450
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 146450] Re: [gutsy] Update-manager fails to start

2007-09-29 Thread alexrudd
I tried that, but it didn't change anything.  The file appeared to be
binary, as I was getting plenty of non-ASCII digits.  The second time I
opened it, nano said converted from Mac formatting.   Still no idea on
how the file got corrupted.  I've attached it (the copy before I edited
it) if anyone else can make sense of it.

** Attachment added: Most likely corrupted file.
   http://launchpadlibrarian.net/9602431/__init__.py.old

-- 
[gutsy] Update-manager fails to start
https://bugs.launchpad.net/bugs/146450
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs