update-python-modules crashed with IOError in post_change_stuff()

Bug #193632 reported by Thomas Templin
6
Affects Status Importance Assigned to Milestone
python-support (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-support

Paket Name: python-support
Release: Ubuntu 8.04 hardy
Version: 0.7.5

Richte libmyth-python ein (0.21.0~fixes15967-0ubuntu2) ...
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 344, in <module>
    bytecompile_all(py)
  File "/usr/sbin/update-python-modules", line 238, in bytecompile_all
    post_change_stuff(py)
  File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
    file(initfile,"w").close()
IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/sepolgen/__init__.py'
dpkg: Fehler beim Bearbeiten von libmyth-python (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von mythvideo:
 mythvideo hängt ab von libmyth-python; aber:
  Paket libmyth-python ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von mythvideo (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
Richte python-semanage ein (2.0.23-0ubuntu1) ...
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 344, in <module>
    bytecompile_all(py)
  File "/usr/sbin/update-python-modules", line 238, in bytecompile_all
    post_change_stuff(py)
  File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
    file(initfile,"w").close()
IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/sepolgen/__init__.py'
dpkg: Fehler beim Bearbeiten von python-semanage (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
Richte python-sepolgen ein (1.0.11-0ubuntu1) ...
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 335, in <module>
    process(basedir,install_modules(py_installed))
  File "/usr/sbin/update-python-modules", line 159, in process
    func(basedir, dir, file)
  File "/usr/sbin/update-python-modules", line 117, in install_modules_func
    if file!="__init__.py" or os.path.getsize(destpath):
  File "/usr/lib/python2.5/posixpath.py", line 139, in getsize
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/sepolgen/__init__.py'

ProblemType: Crash
Architecture: i386
Date: Wed Feb 20 11:24:05 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/sbin/update-python-modules
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: video fglrx
Package: python-support 0.7.5
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-python-modules libmyth-python
ProcCwd: /home/templin
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LC_MESSAGES=de_DE.utf8
 LANG=de_DE.utf8
 LC_CTYPE=de_DE.utf8
PythonArgs: ['/usr/sbin/update-python-modules', 'libmyth-python']
SourcePackage: python-support
Title: update-python-modules crashed with IOError in post_change_stuff()
Uname: Linux bronto 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux
UserGroups: audio pulse-rt

Tags: apport-crash
Revision history for this message
Thomas Templin (coastgnu) wrote :
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.