Your message dated Sun, 10 Jul 2016 16:40:11 +0200
with message-id <[email protected]>
and subject line closing bugs reported against ancient python versions
has caused the Debian Bug report #624680,
regarding python3-profiler: Bytecode compilation failure during install
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
624680: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624680
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
This bug has been reported against an ancient version of
python (2.5/3.1), that was last released with Debian 6.0 (squeeze). But
even squeeze-lts has now reached end-of-life and is no longer supported.
The bug is assumed to be fixed (or no longer relevant) in newer python
releases and therefore I'm closing this report now. If the problem is
still reproducible in the currently supported versions (python2.7,
python3.5/python3.6), feel free to provide more information, reopen
and reassign this bug report.


Andreas

--- End Message ---

Reply via email to