[Bug 368119] Re: asciidoc fails because of deprecated python module

Jackson Doak Doak.jackson at gmail.com
Fri Feb 28 07:37:52 UTC 2014


** Changed in: asciidoc (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to asciidoc in Ubuntu.
https://bugs.launchpad.net/bugs/368119

Title:
  asciidoc fails because of deprecated python module

Status in “asciidoc” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: asciidoc

  The package asciidoc 8.2.7-2ubuntu1 (amd64 binary) in ubuntu jaunty
  fails to run because, in python, it tries to import the module
  "popen2", which is deprecated. I think this issue is caused by the
  move to python 2.6, since this module loads fine on for example debian
  sid that currently has python 2.5.4 as default.

  lsb_release -rd
  Description:	Ubuntu 9.04
  Release:	9.04

  apt-cache policy asciidoc
  asciidoc:
    Installed: 8.2.7-2ubuntu1
    Candidate: 8.2.7-2ubuntu1
    Version table:
   *** 8.2.7-2ubuntu1 0
          500 http://localhost jaunty/main Packages
          100 /var/lib/dpkg/status

  Error message:
  a2x test.asc 
  /usr/bin/asciidoc:9: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
    import sys, os, re, time, traceback, tempfile, popen2, codecs, locale

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asciidoc/+bug/368119/+subscriptions



More information about the foundations-bugs mailing list