[IronPython] Assertion failure in IPy 2.6 while running Django

Dino Viehland dinov at microsoft.com
Sun May 3 23:59:05 CEST 2009


Do you happen to know what baseName is when the assertion is hit?

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Jeff Hardy
Sent: Sunday, May 03, 2009 1:19 PM
To: Discussion of IronPython
Subject: [IronPython] Assertion failure in IPy 2.6 while running Django

The assertion is on line 91 of PythonFunction.Generated.cs (as of
r49699, anyway): mi != null. Why mi is null I have no idea.

The smallest repro I've found still requires Django (any recent
checkout should do):

>>> from django.db import models
>>> message = models.TextField('message')

If I had the following __init__ function to TextField the problem goes away:
def __init__(self, *args, **kwargs):
        Field.__init__(self, *args, **kwargs)

- Jeff
_______________________________________________
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