[Python.NET] PythonNet for Mono, mostly done but need some help

angel ignacio colmenares laguado angel.ignacio.colmenares at gmail.com
Thu Jul 19 04:22:31 CEST 2007


ok.

i ran unit tests, and this is what i got:


angel at angel-laptop:~/desarrollo/clr-2.0-python-2.5-branch$ mono
python.exe./src/tests/runtests.py
..............................................................EE....F..........................................................................................................................................................................................................................................................
======================================================================
ERROR: testGenericMethodOverloadSelection (test_generic.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/angel/desarrollo/clr-2.0-python-2.5-branch/src/tests/test_generic.py",
line 353, in testGenericMethodOverloadSelection
    value = type.Overloaded[str]("test")
TypeError: No match found for given type params

======================================================================
ERROR: testGenericMethodTypeHandling (test_generic.GenericTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/angel/desarrollo/clr-2.0-python-2.5-branch/src/tests/test_generic.py",
line 303, in testGenericMethodTypeHandling
    self._testGenericMethodByType(System.Boolean, True)
  File "/home/angel/desarrollo/clr-2.0-python-2.5-branch/src/tests/test_generic.py",
line 202, in _testGenericMethodByType
    result = stype.Overloaded[ptype](value)
TypeError: No match found for given type params

======================================================================
FAIL: Test usage of generic value type definitions.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/angel/desarrollo/clr-2.0-python-2.5-branch/src/tests/test_generic.py",
line 81, in testGenericValueType
    self.failUnless(inst.HasValue)
AssertionError

----------------------------------------------------------------------
Ran 319 tests in 3.447s

FAILED (failures=1, errors=2)





2007/7/18, Christian Heimes <lists at cheimes.de>:
>
> angel ignacio colmenares laguado wrote:
> > hi,
> > great job!!
> >
> > i downloaded  pythonnet2.5 rev 63, ran make and got python.exe and
> > Python.Runtime.dll.
> >
> > i was not able to get clr.pyd ( or clr.so ), because i have not header
> > files
> > ( jit.h, environment.h....) but i can run mono python.exe and can work
> with
> > strings:
>
> The clr.pyd is useless under Linux. It's a Windows DLL and can't be
> loaded by Linux's Python. In order to build clr.so you have to install
> libmono-dev but clr.so is horrible broken. I've run into a nasty problem
> with Python's small int cache. It's causing seg faults for small ints.
>
> Python.Tests.dll can be build under Mono, too. Please run the unit tests
> for me, would you? :)
>
> Christian
>
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet
>



-- 
Atentamente,

angel ignacio colmenares laguado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythondotnet/attachments/20070718/ffdce3cf/attachment.htm 


More information about the PythonDotNet mailing list