Hi Dave,
Thanks for the follow-up. I've been traveling and busy with things so I
haven't had a chance to reply until now. After I sent my previous message I
ended up just downloading the tar.gz and unpacking it; that all worked fine.
So now I'm on to actually trying to use the software. I was happy to see
that the code generator successfully swallowed my non-trivial collection of
XSD files and generated code that worked on my initial attempts. However,
as I pushed forward, using the generated code more broadly, I ran into
problems. In particular, when parsing some (but not all) XML documents I
end up with the wrong Python class. No error--just the wrong class. I did
only enough digging to see that the generated GDSClassesMapping dict has
some entries that seem wrong. The vast bulk of the entries seem right but
some seem wrong. There doesn't seem to be anything "funny" or "interesting"
about the XML types that correspond to the bad entries, but perhaps I'm
missing something. (The whole set of XSDs has been working fine with JAXB
for years, BTW.)
Anyway, getting this all to work is something of a side-project for me, so
I don't have a ton of time to spend diagnosing things. I can send you the
XSD if you're interested and tell you the places things went awry. Let me
know if you're interested, but I'll understand if you're not.
Thanks.
Nat
On Sat Feb 21 2015 at 10:39:58 PM Dave Kuhlman <dkuhl...@davekuhlman.org>
wrote:
> On Fri, Feb 20, 2015 at 09:32:12PM +0000, Nathaniel Mishkin wrote:
> > Hi All,
> > I just started (trying to) look at generateds and ran into this:
> > $ sudo pip install generateds
> > [sudo] password for nmishkin:Ā
> > Downloading/unpacking generateds
> > Ā Could not find a version that satisfies the requirement generateds
> > (from versions: 1.19a, 1.20a, 1.20b, 1.20c, 1.20d, 1.20e, 1.20f,
> 1.20g,
> > 2.0a, 2.0b, 2.10a, 2.10b, 2.11a, 2.12a, 2.12b, 2.12c, 2.12d, 2.12e,
> > 2.13a, 2.14a, 2.15a, 2.1a, 2.1b, 2.1c, 2.1d, 2.2a, 2.2b, 2.3a, 2.3b,
> > 2.4a, 2.4b, 2.4c, 2.5a, 2.6a, 2.6b, 2.7a, 2.7b, 2.7c, 2.8a, 2.8b,
> 2.9a)
> > Cleaning up...
> > Can anyone clue me in about what sort of presumably rookie mistake I'm
> > making? (I'm running Python 2.7.6 in case that matters.)
> > Thanks.
> > Nat
>
> Nat,
>
> Hmm. Mysterious.
>
> OK. I did the following:
>
> $ virtualenv Test01
> $ cd Test01/
> $ source bin/activate
> $ which python
> # shows -> ...Test01/bin/python
> $ pip install generateds
> # shows -> Successfully installed generateds-2.15a0
> $ which generateDS.py
> # shows -> ...Test01/bin/generateDS.py
> $ generateDS.py --help
> # shows -> generateDS.py help info
> $ generateDS.py --version
> # shows -> generateDS.py version 2.15a
>
> The version at pypi.python.org was built with Python 2.7.9. I do
> not know pip well enough to know how picky it is about the python
> version. And, a couple of Web searches did not turn up anything
> informative.
>
> I just recently uploaded the 2.15a version (on 2/18). Is it
> possible that pypi (the Python package index) was not yet ready to
> deliver it.
>
> If you learn anything that might help me straighten this out, please
> let me know.
>
> Dave
>
>
> > ------------------------------------------------------------
> ------------------
> > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> > from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> > with Interactivity, Sharing, Native Excel Exports, App Integration & more
> > Get technology previously reserved for billion-dollar corporations, FREE
> > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&
> iu=/4140/ostg.clktrk
>
> > _______________________________________________
> > generateds-users mailing list
> > generateds-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/generateds-users
>
>
> --
>
> Dave Kuhlman
> http://www.davekuhlman.org
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users