Comment 20 for bug 968974

Revision history for this message
Haikal Zain (haikalzain2010) wrote :

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