[Bug 341372] Re: pycentral crashed with NoSectionError in set()

dino99 341372 at bugs.launchpad.net
Sun May 3 13:51:46 UTC 2015


dh_python2 is now used to replace that deprecated package

** Changed in: python-central (Ubuntu Lucid)
       Status: Confirmed => Invalid

** Changed in: python-central (Ubuntu)
       Status: Fix Committed => Invalid

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

Title:
  pycentral crashed with NoSectionError in set()

Status in python-central package in Ubuntu:
  Invalid
Status in python-central source package in Lucid:
  Invalid

Bug description:
  Binary package hint: python-central

  I'm stuck where language-selector and language-selector-common can't successfully install or be removed. Here is the error reported when doing an "apt-get remove language-selector language-selector-common":
  <code>
  Removing language-selector-common ...
  Traceback (most recent call last):
    File "/usr/bin/pycentral", line 2143, in <module>
      main()
    File "/usr/bin/pycentral", line 2137, in main
      rv = action.run(global_options)
    File "/usr/bin/pycentral", line 1596, in run
      pkg = DebPackage('package', self.args[0], oldstyle=False)
    File "/usr/bin/pycentral", line 338, in __init__
      self.read_pyfiles()
    File "/usr/bin/pycentral", line 369, in read_pyfiles
      self.pkgconfig.set('pycentral', 'include-links', '0')
    File "/usr/lib/python2.6/ConfigParser.py", line 669, in set
      ConfigParser.set(self, section, option, value)
    File "/usr/lib/python2.6/ConfigParser.py", line 377, in set
      raise NoSectionError(section)
  ConfigParser.NoSectionError: No section: 'pycentral'
  dpkg: error processing language-selector-common (--remove):
   subprocess pre-removal script returned error exit status 1
  Traceback (most recent call last):
    File "/usr/bin/pycentral", line 2143, in <module>
      main()
    File "/usr/bin/pycentral", line 2137, in main
      rv = action.run(global_options)
    File "/usr/bin/pycentral", line 1432, in run
      pkg = DebPackage('package', self.args[0], oldstyle=False)
    File "/usr/bin/pycentral", line 338, in __init__
      self.read_pyfiles()
    File "/usr/bin/pycentral", line 369, in read_pyfiles
      self.pkgconfig.set('pycentral', 'include-links', '0')
    File "/usr/lib/python2.6/ConfigParser.py", line 669, in set
      ConfigParser.set(self, section, option, value)
    File "/usr/lib/python2.6/ConfigParser.py", line 377, in set
      raise NoSectionError(section)
  ConfigParser.NoSectionError: No section: 'pycentral'
  dpkg: error while cleaning up:
   subprocess post-installation script returned error exit status 1
  Errors were encountered while processing:
   language-selector-common
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  </code>

  ProblemType: Crash
  Architecture: i386
  DistroRelease: Ubuntu 9.04
  ExecutablePath: /usr/bin/pycentral
  InterpreterPath: /usr/bin/python2.6
  Package: python-central 0.6.11ubuntu2
  PackageArchitecture: all
  ProcAttrCurrent: unconfined
  ProcCmdline: /usr/bin/python /usr/bin/pycentral pkgremove language-selector-common
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/pycentral', 'pkgremove', 'language-selector-common']
  SourcePackage: python-central
  Title: pycentral crashed with NoSectionError in set()
  Uname: Linux 2.6.28-9-generic i686
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-central/+bug/341372/+subscriptions



More information about the foundations-bugs mailing list