Got this bug on Xenial amd64 with all updates.
I have apt-xapian-index 0.47ubuntu8.3 installed.
I reinstalled python-configparser.
After editing of line 50:
change "from ConfigParser import RawConfigParser" to "from configparser import
RawConfigParser" I get.
`axi-cache info` works without error,
`axi-cache search brasero` produce error:
$ axi-cache search brasero
4 results found.
Results 1-4:
100% b'brasero-common' - (unknown by apt)
98% b'brasero-cdrkit' - (unknown by apt)
74% b'gir1.2-brasero-3.0' - (unknown by apt)
69% b'brasero' - (unknown by apt)
Traceback (most recent call last):
File "/usr/bin/axi-cache", line 852, in <module>
sys.exit(ui.perform())
File "/usr/bin/axi-cache", line 847, in perform
return f(self.args)
File "/usr/bin/axi-cache", line 547, in do_search
self.print_matches(self.db.get_matches())
File "/usr/bin/axi-cache", line 808, in print_matches
sugg = self.clean_suggestions(self.db.get_suggestions(count=7,
filter=DB.TermFilter(stemmer=self.db.stem, exclude=self.args)))
File "/usr/bin/axi-cache", line 310, in get_suggestions
return self.enquire.get_eset(count, rset, filter)
File "/usr/bin/axi-cache", line 118, in __call__
return term[0].islower()
AttributeError: 'int' object has no attribute 'islower'
`axi-cache rdetails meld` produce error:
$ axi-cache rdetails meld
Traceback (most recent call last):
File "/usr/bin/axi-cache", line 852, in <module>
sys.exit(ui.perform())
File "/usr/bin/axi-cache", line 847, in perform
return f(self.args)
File "/usr/bin/axi-cache", line 714, in do_rdetails
print(name, tag, " ".join(deps))
TypeError: sequence item 0: expected str instance, bytes found
** Patch added: "this patch is not sufficient, but needed"
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1612948/+attachment/4930235/+files/axi-cache_configparser.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1612948/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs