baxissimo
Joined: 23 Oct 2006 Posts: 241 Location: Tokyo, Japan
|
Posted: Fri Aug 10, 2007 2:02 am Post subject: Building the "arraytest" example |
|
|
I just checked out pyd from SVN, and did the required "python setup.py build python setup.py install".
I can build and run hello just fine.
I can also build arraytest just fine.
But running arraytest results in this error:
Code: | C:\Python25\Lib\site-packages\celerid\examples\arraytest>python test.py
>>> get()
get: [{0},{1},{2},{3},{4}]
[{0}, {1}, {2}, {3}, {4}]
>>> set([Foo(10), Foo(20)])
Traceback (most recent call last):
File "test.py", line 17, in <module>
set([Foo(10), Foo(20)])
RuntimeError: D Exception: pyd.make_object.PydConversionException: Couldn't convert Python type 'Foo' to D type 'arraytest.Foo'
|
Any idea why that is? |
|