|
|
|
|
Rick Moore-2
()
|
|
||||||||||||
|
I an using ArchgenXML 2.3 to regenerate a product from a model that used
to wrk in 2.1. It appears that code gneration works, at least mostly, but I get the following errors : Traceback (most recent call last): File "C:\DevTools\Python-2.4.4\Scripts\archgenxml-script.py", line 9, in ? sys.exit( File "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchGenXML.py", line 114, in main gen.parseAndGenerate() File "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py", line 4143, in parseAndGenerate self.generateProduct(root) File "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py", line 4083, in generateProduct self.generateStdFilesForProduct(package) File "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py", line 2699, in generateStdFilesForProduct self.generateConfigureAndProfilesZCML(package) File "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py", line 2771, in generateConfigureAndProfilesZCML templateparams={'packages': packageIncludes, File "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\CodeSectionHandler.py", line 65, in handleSectionedFile template = template() File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 420, in __call__ self.cook() File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 349, in cook self._v_blocks = self.parse(self.read()) File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 177, in parse tag, l, args, command) File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 238, in parse_block section._v_blocks = section.blocks = \ File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 177, in parse tag, l, args, command) File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 238, in parse_block section._v_blocks = section.blocks = \ File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 177, in parse tag, l, args, command) File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 257, in parse_block self.parse_error(m[0], stag, text, l) File "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", line 60, in parse_error raise ParseError("%s, for tag %s, on line %s of %s<p>" % ( AttributeError: HTML instance has no attribute '__name__' I seem to recall that this was an issue a while back but then wnet away. I am wondering if this is an ArchgenXML issue or an ArgoUML issue. Rick Moore Content Management Specialist Information Science Cornell University ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Archetypes-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/archetypes-users |
||||||||||||||
|
|
Vincent Fretin
()
|
|
||||||||||||
|
On Thu, Feb 5, 2009 at 8:29 PM, Rick Moore <[hidden email]> wrote:
> I an using ArchgenXML 2.3 to regenerate a product from a model that used > to wrk in 2.1. > > It appears that code gneration works, at least mostly, but I get the > following errors : > > Traceback (most recent call last): > File "C:\DevTools\Python-2.4.4\Scripts\archgenxml-script.py", line 9, in ? > sys.exit( > File > "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchGenXML.py", > line 114, in main > gen.parseAndGenerate() > File > "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py", > line 4143, in parseAndGenerate > self.generateProduct(root) > File > "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py", > line 4083, in generateProduct > self.generateStdFilesForProduct(package) > File > "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py", > line 2699, in generateStdFilesForProduct > self.generateConfigureAndProfilesZCML(package) > File > "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py", > line 2771, in generateConfigureAndProfilesZCML > templateparams={'packages': packageIncludes, > File > "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\CodeSectionHandler.py", > line 65, in handleSectionedFile > template = template() > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 420, in __call__ > self.cook() > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 349, in cook > self._v_blocks = self.parse(self.read()) > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 177, in parse > tag, l, args, command) > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 238, in parse_block > section._v_blocks = section.blocks = \ > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 177, in parse > tag, l, args, command) > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 238, in parse_block > section._v_blocks = section.blocks = \ > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 177, in parse > tag, l, args, command) > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 257, in parse_block > self.parse_error(m[0], stag, text, l) > File > "C:\DevTools\Zope\2.10.6\lib\python\zope\documenttemplate\dt_string.py", > line 60, in parse_error > raise ParseError("%s, for tag %s, on line %s of %s<p>" % ( > AttributeError: HTML instance has no attribute '__name__' > > I seem to recall that this was an issue a while back but then wnet away. > I am wondering if this is an ArchgenXML issue or an ArgoUML issue. Try to use the latest version of zope.documenttemplate, not the one from zope 2.10.6. To do so use buildout or use "virtualenv --no-site-packages" to install archgenxml. -- Vincent Fretin ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Archetypes-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/archetypes-users |
||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |