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:
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
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): 'Package' ].split( )[1].find( 'medibuntu' ) != -1:
report[ 'CrashDB' ] = 'medibuntu'
try:
if report[
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 desktop: ~/Desktop$ ls -la /usr/bin/python desktop: ~/Desktop$ which python3
/usr/bin/python
mark@mark-
lrwxrwxrwx 1 root root 9 Sep 19 14:26 /usr/bin/python -> python2.7
mark@mark-
/usr/bin/python3