No to_python (by value) of GLHit

Bugs item #3109331, was opened at 2010-11-15 04:42
Message generated for change (Tracker Item Submitted) made by csteinmann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3109331&group_id=165310

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Casper Steinmann (csteinmann)
Assigned to: Nobody/Anonymous (nobody)
Summary: No to_python (by value) of GLHit

Initial Comment:
When using the widget.hits method via python in a tool, an error is thrown:

Traceback (most recent call last):
File “/home/cstein/.avogadro/toolScripts/bugTool.py”, line 25, in mousePressEvent
m_hits = widget.hits(x,y,w,h)
TypeError: No to_python (by-value) converter found for C++ type: Avogadro::GLHit

The attached python script throws the error.


You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3109331&group_id=165310