FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Building the "arraytest" example

 
Post new topic   Reply to topic     Forum Index -> PyD
View previous topic :: View next topic  
Author Message
baxissimo



Joined: 23 Oct 2006
Posts: 241
Location: Tokyo, Japan

PostPosted: Fri Aug 10, 2007 2:02 am    Post subject: Building the "arraytest" example Reply with quote

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?
Back to top
View user's profile Send private message
KirkMcDonald



Joined: 22 Jun 2006
Posts: 23

PostPosted: Thu Aug 16, 2007 2:52 pm    Post subject: Reply with quote

Fixed as of revision 122.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> PyD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group