On 9/9/10 11:53 PM, Mikael Lammentausta wrote:

Robert Kern kirjoitti 10.9.2010 kello 2.33:

I have not been able to successfully import PySide.QtCore on OS X 10.6 (32-bit 
Python, Qt, and PySide) with any of the revisions of PySide/Shiboken in at 
least the past week. I get the following dump:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000000000000000c
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   org.python.python                   0x010076a5 PyObject_Call + 42
...

Does anyone have an idea?

--
Robert Kern


Hi,

You can check where your python modules are loading:

  python -c "import sys; print sys.path"

and move the PySide module into one of the site-packages directory.

I'm sorry, but I don't see how this would be relevant. Python is locating PySide.QtCore correctly (PySide is in my interpreter's site-packages directory already). The correct QtCore.so file is being executed. The bus error happens inside of the initShiboken() function inside QtCore.so.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to