I'm wondering if this is a Python issue. Under 13.04 I needed Python 3
and uninstalled Python 2 only to find that Dropbox would no longer work.
So I reinstalled Python 2 and played with the symbolic links so that
both 2 and 3 would work. While it looks like both Python 2 and 3 are
working as they should following the upgrade, I enabled apport and a
"Sorry, Ubuntu 13.10 has experienced an internal error" pop-up
displayed. Looking into the details, a HookError_medibuntu message
showed a Python syntax error in medibuntu.py, which turned out to be a
Python2 vs. Python3 error. Apport, or whatever it is that generated the
HookError_medibuntu error is using Python 3 instead of Python 2.

Here's the code that generates the syntax error. The except clause is
written for Python 2:

def add_info(report):
    try:
        if report['Package'].split()[1].find('medibuntu') != -1:
            report['CrashDB'] = 'medibuntu'
    except ValueError, e:
        return

I was suspecting maybe the changes under 13.04 that I made in the links
for Python were the source of the problem. But, I did a fresh install of
Ubuntu 13.10 in VirtualBox and the links looked to be consistent with
the upgrade installation. Specifically:

mark@mark-desktop:~/Desktop$ which python
/usr/bin/python
mark@mark-desktop:~/Desktop$ ls -la /usr/bin/python
lrwxrwxrwx 1 root root 9 Sep 19 14:26 /usr/bin/python -> python2.7
mark@mark-desktop:~/Desktop$ which python3
/usr/bin/python3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1253693

Title:
  top status bar missing shutdown button, clock, sound icon and more on
  upgrade to 13.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1253693/+subscriptions

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

Reply via email to