Forwarding this to the python3.2 maintainers after seeing a
similar error in another package:

  Setting up python3-gi (3.8.3-1) ...
  Traceback (most recent call last):
    File "/usr/bin/py3compile", line 292, in <module>
      main()
    File "/usr/bin/py3compile", line 272, in main
      options.force, options.optimize, e_patterns)
    File "/usr/bin/py3compile", line 158, in compile
      cfn = interpreter.cache_file(fn, version)
    File "/usr/share/python3/debpython/interpreter.py", line 212, in cache_file
      (fname[:-3], self.magic_tag(version), last_char))
    File "/usr/share/python3/debpython/interpreter.py", line 246, in magic_tag
      return self._execute('import imp; print(imp.get_tag())', version)
    File "/usr/share/python3/debpython/interpreter.py", line 359, in _execute
      raise Exception('{} failed with status code {}'.format(command, 
output['returncode']))
  Exception: python3.2 -c 'import imp; print(imp.get_tag())' failed with status 
code 134
  dpkg: error processing python3-gi (--configure):
   subprocess installed post-installation script returned error exit status 1

Andreas


-------- Original Message --------
Subject: python3-dateutil: fails to install: Exception: python3.2 -c 'import 
imp; print(imp.get_tag())' failed with status code 134
Date: Thu, 11 Jul 2013 12:44:18 +0200
From: Andreas Beckmann <a...@debian.org>
To: Debian Bug Tracking System <sub...@bugs.debian.org>

Package: python3-dateutil
Version: 2.0+dfsg1-1
Severity: serious
Tags: experimental
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + python3-matplotlib

Hi,

during a test with piuparts I noticed your package failed to install in
experimental.

>From the attached log (scroll to the bottom...):

  Setting up python3-dateutil (2.0+dfsg1-1) ...
  Traceback (most recent call last):
    File "/usr/bin/py3compile", line 292, in <module>
      main()
    File "/usr/bin/py3compile", line 272, in main
      options.force, options.optimize, e_patterns)
    File "/usr/bin/py3compile", line 158, in compile
      cfn = interpreter.cache_file(fn, version)
    File "/usr/share/python3/debpython/interpreter.py", line 212, in cache_file
      (fname[:-3], self.magic_tag(version), last_char))
    File "/usr/share/python3/debpython/interpreter.py", line 246, in magic_tag
      return self._execute('import imp; print(imp.get_tag())', version)
    File "/usr/share/python3/debpython/interpreter.py", line 359, in _execute
      raise Exception('{} failed with status code {}'.format(command, 
output['returncode']))
  Exception: python3.2 -c 'import imp; print(imp.get_tag())' failed with status 
code 134
  dpkg: error processing python3-dateutil (--configure):
   subprocess installed post-installation script returned error exit status 1

That's probably related to newer python versions or dependencies.


cheers,

Andreas

Attachment: python3-matplotlib_1.2.0-1.log.gz
Description: GNU Zip compressed data

Reply via email to