On Dec 3, 2010, at 7:30 AM, Mikael Lammentausta wrote:

> did you try out the pyside-examples from gitorious? 
> git://gitorious.org/pyside/pyside-examples
> 

Many of them indeed work.

So I had made the mistake to blindly conclude that things already crash at the 
import of QtCore. This is not true. It happens later but before any GUI stuff 
became visible.

> It seems you got the right Qt package, and you're also using Python2.6 so I 
> don't immediately see what is wrong.
> Can you send me the crashing program?

My program is a GUI-Frontend with process communication to a computer algebra 
system. This is way too large. I am now going to try to isolate the problem.

When removing the process communication part, at least my main window appears. 
I suspect that signal handling is broken or has changed. Here is on example:

Traceback (most recent call last):
  File "./qreduce.py", line 65, in <module>
    mainwindow = QtReduceMainWindow()
  File 
"/Users/sturm/reduce/SourceForge/reduce-algebra/trunk/generic/qreduce/qrmainwindow.py",
 line 92, in __init__
    self.recentFileMenu = QtRecentFileMenu(self)
  File 
"/Users/sturm/reduce/SourceForge/reduce-algebra/trunk/generic/qreduce/qrmainwindow.py",
 line 631, in __init__
    self.aboutToShow.connect(self.updateEntries)
AttributeError: 'PySide.QtCore.Signal' object has no attribute 'connect'

This is in an instance of a subclass of QMenu, which wants to connect its own 
aboutToShow signal. Are there any changes in the "New Signal and Slot Syntax" 
that I might have missed?

Note that this error is not the source for the segmentation violation, which is 
the main problem.

Thanks for your support!

Thomas
-- 
Dr. habil. Thomas Sturm
Departamento de Matematicas, Estadistica y Computacion
Universidad de Cantabria, Santander, Spain
Avda. Los Castros s/n, Room 1072, +34 693 251058
http://personales.unican.es/sturmt/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to