Title: qttable and installer confusion on windows and solaris

I'm using PyQt and Installer to create an application on Windows and Solaris. Every once in a while, I run into a problem where things work just fine when invoking in the development environment on windows and solaris with python prog.py. However when I package everything up with Installer, it works on windows but not on solaris. I get strange errors with invalid parameters being passed into functions.

I've been able to isolate things down a bit and have attached an example. mytable.py will create a simple qttable and put some text into the cells. mytable.spec is the Installer spec file created by Makespec.py. Running on windows pops up an application window with the table and cells as I would expect. On solaris, things aren't so rosy. Running mytable gives me:

Traceback (most recent call last):
  File "<string>", line 93, in ?
  File "<string>", line 42, in __init__
TypeError: Argument 1 of QTableItem.setPixmap() has an invalid type

I've been banging at this for a while now and am fairly lost as to why this would be happening. Has anyone seen anything like this before? Would anyone have any thoughts as to how to trace this down?

Thanks!


- Peter

Special Projects Group, Legato Systems
3210 Porter Drive, Palo Alto, CA 94304
650-812-6081 Desk
408-482-9427 Cell
[EMAIL PROTECTED]

 

Attachment: folder.png
Description: Binary data

Attachment: mytable.py
Description: Binary data

Attachment: mytable.spec
Description: Binary data

Reply via email to