Comment 3 for bug 1612948

Revision history for this message
Norbert (nrbrtx) wrote :

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