Is it possible to use software-center and aptdaemon together?
I have the following Python code:
import sys
from aptdaemon import client
from PyQt4.QtGui import *
from softwarecenter.
apt_client = client.AptClient()
apt_cache = AptCache()
app = QApplication(
sys.exit(
(/usr/lib/
When I run it, Python (2.6) crashes with SIGSEGV.
I need software-center modules for displaying lists of packages in category, and aptdaemon to install them. This code is just an example of crash, the real code I need is of course bigger.
Am I doing something wrong, or it's a bug?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Dmitry Shachnev
- Solved:
- 2010-12-08
- Last query:
- 2010-12-08
- Last reply:
Dmitry Shachnev (mitya57) said : | #1 |
Program received signal SIGSEGV, Segmentation fault.
0x0805fd46 in PyObject_Call (func=<
(), kw=0x0) at ../Objects/
2490 ../Objects/
in ../Objects/
Dmitry Shachnev (mitya57) said : | #2 |
Oh! There is even no need of aptdaemon in this crash! It's probably my fault.