Package: python3-profiler
Version: 3.2-2
Severity: normal

Hi

Installing python3-profiles fails:

Setting up python3-profiler (3.2-2) ...
Traceback (most recent call last):
  File "py_compile.py", line 201, in <module>
    sys.exit(main())
  File "py_compile.py", line 193, in main
    compile(filename, doraise=True)
  File "py_compile.py", line 131, in compile
    encoding = read_encoding(file, "utf-8")
  File "py_compile.py", line 83, in read_encoding
    f = open(file, "rb")
IOError: [Errno 2] No such file or directory: 'profile.py'
dpkg: error processing python3-profiler (--configure):
 subprocess installed post-installation script returned error exit status 1

It appears the package only ships files in /usr/lib/python3.2/ but the
postinst script has a "for v in 3.1 3.2" line which makes it attempt to
byte-compile files in /usr/lib/python3.1/, which don't exist.

I obviously have python3.1 installed too:
$ dpkg -l python3.1 python3.2
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  python3.1      3.1.3-1        An interactive high-level object-oriented la
ii  python3.2      3.2-1          An interactive high-level object-oriented la


Regards
Floris


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3-profiler depends on:
ii  python3                       3.2-3      interactive high-level object-orie

python3-profiler recommends no packages.

Versions of packages python3-profiler suggests:
ii  python3-doc                   3.2-3      documentation for the high-level o

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to