[Bug 498449] Re: DeprecationWarning: Accessed deprecated property Package.description

Brian Murray brian at ubuntu.com
Mon Mar 31 23:00:19 UTC 2014


*** This bug is a duplicate of bug 1300465 ***
    https://bugs.launchpad.net/bugs/1300465

** This bug has been marked a duplicate of bug 1300465
   description dialog is empty

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

Title:
  DeprecationWarning: Accessed deprecated property Package.description

Status in “apturl” package in Ubuntu:
  New

Bug description:
  Binary package hint: apturl

  after entering the following:
  apturl apt:acroread?section=partner

  I got the following message:
  /usr/lib/python2.6/dist-packages/AptUrl/Helpers.py:47: DeprecationWarning: Accessed deprecated property Package.description, please see the Version class for alternatives.
    if pkgobj.description.count("\n") > 0:
  Traceback (most recent call last):
    File "/usr/bin/apturl-gtk", line 48, in <module>
      sys.exit(apturl.main())
    File "/usr/lib/python2.6/dist-packages/AptUrl/AptUrl.py", line 219, in main
      (sum, desc, homepage) = Helpers.parse_pkg(pkg)
    File "/usr/lib/python2.6/dist-packages/AptUrl/Helpers.py", line 47, in parse_pkg
      if pkgobj.description.count("\n") > 0:
  AttributeError: 'NoneType' object has no attribute 'count'

  ProblemType: Bug
  Architecture: amd64
  Date: Sat Dec 19 02:35:29 2009
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: fglrx
  Package: apturl 0.4.1ubuntu2
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
  SourcePackage: apturl
  Uname: Linux 2.6.31-17-generic x86_64

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



More information about the foundations-bugs mailing list