[Bug 904864] Re: long_desc returns same value as short_desc

Stephen Smally 904864 at bugs.launchpad.net
Wed Jan 25 21:40:21 UTC 2012


Can you tell me how to set the locale in apt_pkg? the long description
is long, but always in english even if the system locale is another
language (see https://bugs.launchpad.net/lubuntu-software-
center/+bug/921828 )

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

Title:
  long_desc returns same value as short_desc

Status in “python-apt” package in Ubuntu:
  New

Bug description:
  We are using apt_pkg as part of Lubuntu Software Centre, however we
  have a minor problem.

  Using an instance of PackageRecords(), the value for a package's
  long_desc and short_desc fields are the same. The piece of code we are
  using is attached. (Look at the function from line 500 onwards)

  
  python-apt:
    Installed: 0.8.0ubuntu9
    Candidate: 0.8.0ubuntu9
    Version table:
   *** 0.8.0ubuntu9 0
          500 http://archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

  I'm actually using Mint 12 to submit this bug report, but this is a problem on Lubuntu 11.10 too.
  If we're just getting it wrong, call us idiots, then tell us how to use it. :)  

  Example output for blender of printing both the the long and short
  description:

  <snip>
  Very fast and versatile 3D modeller/renderer
  Very fast and versatile 3D modeller/renderer
  </snip>

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




More information about the foundations-bugs mailing list