<p dir="ltr"><br>
Am 03.10.2014 18:03 schrieb "Aleix Pol" <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>>:<br>
><br>
> On Fri, Oct 3, 2014 at 5:40 PM, Matthias Klumpp <<a href="mailto:mak@debian.org">mak@debian.org</a>> wrote:<br>
>><br>
>> Hi! Replying from my phone, so sorry for top-posting. (I am currently without internet)<br>
>> This looks like a packaging bug for libas. Can you place "categories.xml" from the libas source tree in the requested directory?<br>
>> Also, can you ensure that the package "appstream-data" is installed, and if you still don't get any search results, run "appstream-index refresh --force" as root?<br>
>> That should definitively do the trick.<br>
>> Cheers,<br>
>>     Matthias<br>
>> Am 02.10.2014 17:06 schrieb "Aleix Pol" <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>>:<br>
>><br>
>><br>
>> ><br>
>> > Hi ximion,<br>
>> > I was trying to test muon discover in fedora, because I thought it would be appstream wonderland (in comparison to Arch, at least) and I'm not having anything reported. See this for example:<br>
>> ><br>
>> > [aleix@localhost ~]$ appstream-index search libreoffice<br>
>> > I/O warning : failed to load external entity "/usr/share/appstream/app-info/categories.xml"<br>
>> > No component matching 'libreoffice' found.<br>
>> ><br>
>> > Do you know what can be happening?<br>
>> ><br>
>> > FWIW, the actual problem isn't that appstream-index is not working, but Muon Discover isn't working. This is just an easier way to reproduce the problem.<br>
>> ><br>
>> > Aleix<br>
><br>
><br>
> I already refreshed appstream-index otherwise other things crash. <br>
><br>
> Is the categories.xml needed to get results from the index?<br>
Can you please report the crashes? Even with no index all, nothing should ever crash.<br>
The categories file is needed - it was added on request for the Elementary software center, and Apper uses it too (I plan to remove the requirement of it later though, which is a bit oft work, since I don't want to break ABI - but AS 0.7.2 already contains work in that direction).<br>
This file should be shipped by the Fedora package though, if it isn't, it's a bug in the packaging. <br>
 --- Matthias</p>
<p dir="ltr">P.S.: Can you verify that the Xapian cache is present in /var/cache/app-info/xapian ?</p>