Oskari, Thanks for reporting this.
I believe I have a fix. However, give me a day or two to do some more testing. In the meantime, I believe that the reason that you uncovered that error is that you forgot to include the "-o" option on the command line. generateDS.py should have warned you about that, and with the fix I've just made, it will do so in the future. So, if I'm right and you add the "-o" command line option, you should be able to generate a module. Thanks again. I'll try to remember to notify you when I release a new version containing this fix. Dave On Mon, May 08, 2017 at 06:58:54PM +0300, Oskari Petas wrote: > Hi, > I didn't find any other way of submitting issues so I'm gonna try email. > generateDS.py claims to be py3 ready but when I run it on py3.6 on MacOS I > get the following trace > $ generateDS myschema.xsd > Traceback (most recent call last): >  File "/Users/myuser/.virtualenvs/myschenaproject/bin/generateDS", line > 11, in <module> >   sys.exit(main()) >  File "/Users/myuser/.virtualenvs/myschenaproject/bin/generateDS.py", > line 7174, in main >   processIncludes, options, args, superModule=superModule) >  File "/Users/myuser/.virtualenvs/myschenaproject/bin/generateDS.py", > line 6730, in parseAndGenerate >   prefix, root, options, args, superModule) >  File "/Users/myuser/.virtualenvs/myschenaproject/bin/generateDS.py", > line 6542, in generate >   outfile = os.tmpfile() > AttributeError: module 'os' has no attribute 'tmpfile' > Any ideas how to come around that? > -- > Oskari Pétas > oskari.pe...@gmail.com -- Dave Kuhlman http://www.davekuhlman.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users