After upgrading to newer versions of appstream (0.9.7-1 and now 0.9.8-1 on ubuntu 16.10), I am getting consistent crashes when calling find_components consecutively from python3. This script dumps for me every time:
#!/usr/bin/env python
import gi
gi.require_version('AppStream', '1.0')
from gi.repository import AppStream
db = AppStream.Database()
db.open()
db.find_components("gedit", None) # Fine, continue...
db.find_components("gedit", None) # Crash!
Am I using this incorrectly? I've tried running appstreamcli refresh --force --verbose and seen nothing interesting. I've reproduced this exact issue on another machine. I tested on a machine with ubuntu 16.04 and found that version 0.9.4-1ubuntu1 still works as expected.
The text was updated successfully, but these errors were encountered:
After upgrading to newer versions of appstream (0.9.7-1 and now 0.9.8-1 on ubuntu 16.10), I am getting consistent crashes when calling find_components consecutively from python3. This script dumps for me every time:
The results:
Am I using this incorrectly? I've tried running
appstreamcli refresh --force --verboseand seen nothing interesting. I've reproduced this exact issue on another machine. I tested on a machine with ubuntu 16.04 and found that version0.9.4-1ubuntu1still works as expected.The text was updated successfully, but these errors were encountered: