[IronPython] Error while porting Linux code to IronPython

Fuzzyman fuzzyman at voidspace.org.uk
Tue May 29 10:23:44 CEST 2007


Anthony Raj wrote:

>Hi Micheal,
>
>You were right again. Something unexpected turned up.
> 
>The error was a conflict with the dictionary instance used in 
>Wordnet library for windows. 
>  
>

Ah... the joys of "from module import *". :-)

Michael Foord
http://www.voidspace.org.uk/ironpython/index.shtml


>----
>C:\IronPython-1.1>ipy.exe Lib/ast/rbsParser1.py
>Gotcha ->  <nltk_lite.wordnet.wordnet.Dictionary instance for adv>
>Traceback (most recent call last):
>  File C:\IronPython-1.1\Lib\ast\rbsParser1.py, line 36, in Initialize
>  File C:\IronPython-1.1\Lib\ast\rbsParser1.py, line 38, in rbsParser
>TypeError: Dictionary object is not callable
>----
>
>Not sure why wordnet had to use dict as a dictionary object.
>Need to report it to Wordnet developer group.
>
>Thanks,
>Anthony
>
>
>DISCLAIMER
>==========
>This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.
>_______________________________________________
>users mailing list
>users at lists.ironpython.com
>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>  
>




More information about the Ironpython-users mailing list