Public bug reported: Binary package hint: python
I seem to keep getting this error no matter what version of ubuntu I have since feisty. When I did a fresh install of Feisty, I had this error. When I did a fresh install of Gutsy, I got this error. This causes some python programs to stop working entirely while makes other programs give out errors. Here's an example. I try to run gnome-app- install: [EMAIL PROTECTED]:~/Desktop$ sudo gnome-app-install warning: Python C API version mismatch for module gdbm: This Python has API version 1013, module gdbm has version 1012. warning: Python C API version mismatch for module gobject._gobject: This Python has API version 1013, module gobject._gobject has version 1012. warning: Python C API version mismatch for module gconf: This Python has API version 1013, module gconf has version 1012. warning: Python C API version mismatch for module _locale: This Python has API version 1013, module _locale has version 1012. warning: Python C API version mismatch for module strop: This Python has API version 1013, module strop has version 1012. warning: Python C API version mismatch for module struct: This Python has API version 1013, module struct has version 1012. warning: Python C API version mismatch for module cairo._cairo: This Python has API version 1013, module cairo._cairo has version 1012. warning: Python C API version mismatch for module gtk._gtk: This Python has API version 1013, module gtk._gtk has version 1012. warning: Python C API version mismatch for module pango: This Python has API version 1013, module pango has version 1012. warning: Python C API version mismatch for module atk: This Python has API version 1013, module atk has version 1012. warning: Python C API version mismatch for module gtk.gdk: This Python has API version 1013, module gtk.gdk has version 1012. warning: Python C API version mismatch for module pangocairo: This Python has API version 1013, module pangocairo has version 1012. warning: Python C API version mismatch for module cStringIO: This Python has API version 1013, module cStringIO has version 1012. Traceback (most recent call last): File "/usr/bin/gnome-app-install", line 322, in <module> from AppInstall.AppInstall import AppInstall File "/usr/lib/python2.4/site-packages/AppInstall/AppInstall.py", line 30, in <module> import gtk File "/var/lib/python-support/python2.4/gtk-2.0/gtk/__init__.py", line 57, in <module> from gtk.deprecation import _Deprecated, _DeprecatedConstant File "/var/lib/python-support/python2.4/gtk-2.0/gtk/deprecation.py", line 24, in <module> import warnings File "/usr/lib/python2.4/warnings.py", line 258, in <module> simplefilter("ignore", category=OverflowWarning, append=1) NameError: name 'OverflowWarning' is not defined Error in sys.excepthook: Traceback (most recent call last): File "/var/lib/python-support/python2.5/apport_python_hook.py", line 37, in apport_excepthook import re, tempfile, traceback File "/usr/lib/python2.4/tempfile.py", line 33, in <module> from random import Random as _Random File "/usr/lib/python2.4/random.py", line 41, in <module> from warnings import warn as _warn File "/usr/lib/python2.4/warnings.py", line 258, in <module> simplefilter("ignore", category=OverflowWarning, append=1) NameError: name 'OverflowWarning' is not defined Original exception was: Traceback (most recent call last): File "/usr/bin/gnome-app-install", line 322, in <module> from AppInstall.AppInstall import AppInstall File "/usr/lib/python2.4/site-packages/AppInstall/AppInstall.py", line 30, in <module> import gtk File "/var/lib/python-support/python2.4/gtk-2.0/gtk/__init__.py", line 57, in <module> from gtk.deprecation import _Deprecated, _DeprecatedConstant File "/var/lib/python-support/python2.4/gtk-2.0/gtk/deprecation.py", line 24, in <module> import warnings File "/usr/lib/python2.4/warnings.py", line 258, in <module> simplefilter("ignore", category=OverflowWarning, append=1) NameError: name 'OverflowWarning' is not defined It doesn't run and just crashes with the attached output. If I try to do an upgrade using apt, I get the attached output. It seems that only some computers are plagued by this bug, not sure why... ** Affects: python-defaults (Ubuntu) Importance: Undecided Status: New -- python produces "NameError: name 'OverflowWarning' is not defined" errors making key programs stop working https://bugs.launchpad.net/bugs/124197 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