Hi all,

I need some advice about a 'gends_generate_django.py' error.

I run with any problem generateDS.py & gends_extract_simple_types.py
scripts, but when I try to generate django models from this XSD (
http://www.iana.org/assignments/xml-registry/schema/iodef-1.0.xsd) I got the
following error:

./gends_generate_django.py -f iodef
Traceback (most recent call last):
  File "./gends_generate_django.py", line 144, in <module>
    main()
  File "./gends_generate_django.py", line 139, in main
    generate_model(options, module_name)
  File "./gends_generate_django.py", line 90, in generate_model
    cls.generate_model_(wrtmodels, wrtforms)
*AttributeError: type object 'Address' has no attribute 'generate_model_'*

In fact, the 'Address' class defined in iodef.py does not have that
attribute. Am I missing something?

I greatly appreciate any help or advice.

Thanks in advance.

regards,
technoman
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to