← Back to team overview

dx-packages team mailing list archive

[Bug 968974] Re: Some free applications looks like paid applications with price 0.00 and with buy button

 

Hi i think i found the bug but i need some help building software-center.
In applications.py in the folder db there is this line:

if self.raw_price:
                    return PkgStates.NEEDS_PURCHASE

this handles the case where there isn't a raw price (hence some apps appear free)
but raw price is a string so it should be

if self.raw_price and self.raw_price != '0.00':
                    return PkgStates.NEEDS_PURCHASE

to handle the other apps (which don't appear free even when they should)

based on the readme there were some extra python packages required which i installed then i did
python setup.py build
./software-center

as instructed to get a 'developer instance' which opened a software
center that promptly crashed.  i got some error messages about modules
not found such as queue and urllib.parse which look like python3 modules
which doesn't make sense since xapian is in python2. I'd like some
guidance with this. tia

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/968974

Title:
  Some free applications looks like paid applications with price 0.00
  and with buy button

Status in One Hundred Papercuts:
  Triaged
Status in Ubuntu Software Center:
  Confirmed
Status in Unity Applications Lens:
  Confirmed
Status in “software-center” package in Ubuntu:
  Triaged
Status in “unity-lens-applications” package in Ubuntu:
  Triaged

Bug description:
  Just watch an attachment screenshot. Pages of some free applications
  looks like as pages of paid applications, but with zero price.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: software-center 5.1.13.2
  ProcVersionSignature: Ubuntu 3.2.0-17.27-generic-pae 3.2.6
  Uname: Linux 3.2.0-17-generic-pae i686
  ApportVersion: 1.95-0ubuntu1
  Architecture: i386
  Date: Fri Mar 30 11:19:48 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=uk_UA.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/968974/+subscriptions