Hi,

I've downloaded and installed generateDS 2.2a from your website and have 
installed it per the documentation. However, I am having trouble with the 
tutorial. I have run member_specs_generate successfully, but member_specs_run 
terminates with the following error:

python member_specs_test.py member_specs_data.xml
Traceback (most recent call last):
 File "member_specs_test.py", line 46, in <module>
   main()
 File "member_specs_test.py", line 43, in main
   process(infilename)
 File "member_specs_test.py", line 15, in process
   rootObj.build(rootNode)
 File 
"/Volumes/Macintosh_Data/rta/Downloads/generateDS-2.2a/tutorial/Code/member_specs_api.py",
 line 360, in build
   self.buildAttributes(node, node.attrib, [])
AttributeError: Element instance has no attribute 'attrib'


Also, just for grins, I went into the tests directory and ran test.py. All of 
the tests were successful except for the following two:

======================================================================
FAIL: test_012_abstracttype (__main__.GenTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "./test.py", line 213, in test_012_abstracttype
   self.check_result(result, err, ('sys.stdout.write',))
 File "./test.py", line 240, in check_result
   self.failUnlessEqual(len(err), 0)
AssertionError: 110 != 0

======================================================================
FAIL: test_013_procincl (__main__.GenTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "./test.py", line 232, in test_013_procincl
   self.check_result(result, err, ('sys.stdout.write',))
 File "./test.py", line 240, in check_result
   self.failUnlessEqual(len(err), 0)
AssertionError: 114 != 0

----------------------------------------------------------------------
Ran 13 tests in 5.209s

FAILED (failures=2)


I doing all this on Mac OS X 10.6.4 and am using Python 2.6 from Mac Ports.  I 
suspect that I am missing something in my installation, but I can't tell at 
this point. Do you have any advice on how I should proceed to solve the above 
problems?

Regards,

Roger Alexander.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to