Chris Green
unread,Mar 12, 2013, 5:27:34 PM3/12/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qtalch...@googlegroups.com
I have just installed qtalchemy (using "easy_install qtalchemy") and
tried the books example.
The schema creation code runs with no errors (but doesn't actually do
anything of course).
However when I run the main part I get the following error:-
chris$ ./books2.py
Traceback (most recent call last):
File "./books2.py", line 104, in <module>
d = BookList(None)
File "./books2.py", line 93, in __init__
self.table = LayoutWidget(main, TableView())
File "/usr/local/lib/python2.7/dist-packages/qtalchemy-0.8.2_pre-py2.7.egg/qtalchemy/PyQtHelpers.py", line 196, in LayoutWidget
layout.addWidget(widget)
TypeError: QBoxLayout.addWidget(QWidget, int stretch=0, Qt.Alignment alignment=0): argument 1 has unexpected type 'TableView'
What's wrong? Has some library moved on so that TableView is no longer
of the right type?
I'm running on xubuntu 12.10.
--
Chris Green