Seo:
Thanks for your indications. I downloaded the last version (7) of
FePy and began to use.
When trying to import the template library from Django, I get next
error:
>>> from django.template import Template
Traceback (most recent call last):
File , line 0, in ##243
File , line 0, in _stub_##2
File c:\os\ipy\django_src\django\template\__init__.py, line 53, in
Initialize
File , line 0, in _stub_##2
File c:\os\ipy\django_src\django\conf\__init__.py, line 11, in
Initialize
File , line 0, in _stub_##2
File c:\os\ipy\django_src\django\conf\global_settings.py, line 254,
in Initialize
File c:\os\ipy\django_src\django\__init__.py, line 8, in get_version
File c:\os\ipy\django_src\django\utils\version.py, line 34, in
get_svn_revision
File c:\os\ipy\lib\xml\dom\minidom.py, line 1915, in parse
File c:\os\ipy\lib\xml\dom\expatbuilder.py, line 924, in parse
File c:\os\ipy\lib\xml\dom\expatbuilder.py, line 213, in parseFile
TypeError: None is not enumerable
The error happens into the fragment of next "expatbuilder.py" code:
def parseFile(self, file):
"""Parse a document from a file object, returning the document
node."""
parser = self.getParser()
first_buffer = True
try:
while 1:
buffer = file.read(16*1024)
if not buffer:
break
parser.Parse(buffer, 0)
if first_buffer and self.document.documentElement:
self._setup_subset(buffer)
first_buffer = False
parser.Parse("", True) <-------- "The error occurs here"
except ParseEscape:
pass
doc = self.document
self.reset()
self._parser = None
return doc
I am using the ipy 2.0A6.
Regards.
Vizcayno.
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com