Rémy,
NilReasonEnumeration is defined as a xs:simpleType in wmdr.xsd
(actually in some schema that is included or imported by it). So,
NilReasonEnumeration_model does not appear in the models.py that I
generate from wmdr.xsd.
Is it possible that I'm using a different schema than you are?
> I ha
Hi Dave,
I've just tried the fix.
I have this error
[wigos@WIGOS generateDS]$ sudo python gends_run_gen_django.py -s -f -v -p
/var/opt/generateDS/generateDS.py /home/wigos/projects/
generateDS/wmdr/xsd/wmdr.xsd
[sudo] password for wigos:
schema_name_stem: wmdr
bindings_file_name: wmdrlib.py
rem
Hi Dave,
I've just tried the fix.
I have this new error:
[wigos@WIGOS generateDS]$ sudo python gends_run_gen_django.py -s -f -v -p
/var/opt/generateDS/generateDS.py /home/wigos/projects/
generateDS/wmdr/xsd/wmdr.xsd
[sudo] password for wigos:
schema_name_stem: wmdr
bindings_file_name: wmdrlib.p
Hi Dave,
My week-end is excellent.
I agree with both proposals.For item 1, I really don't know. I'm a newbie
in django! For item 2, I don't see any better options for the while.(
Before contacting you, I started correcting duplicate class names by adding
some incremental postfix. ).
I wish you a
Rémy,
I've made some changes in an attempt to handle these issues. I'll
send you a patch in a couple of days, after I've worked on it and
thought on it a bit more. In the meantime, any guidance is welcome.
Here are a few notes.
Item 1
---
> 1. models.py contains several lines like these o
Thank you so much for being so reactive !
Both models and forms have been generated.
Now it is up to me to make good use of them...
*Rémy *
2017-05-30 22:10 GMT+02:00 Dave Kuhlman :
> Rémy,
>
> Here is that fix I mentioned.
>
> This fix basically says: Go ahead and keep on processing (the
Rémy,
Here is that fix I mentioned.
This fix basically says: Go ahead and keep on processing (the
following steps of the process) even if there are error or warning
messages. We want it to do that because, in the case of wmdr.xsd,
there are warning messages that we want to ignore, and I can't, i
Hello, Rémy,
OK. I believe I know what is wrong and maybe know how to fix it.
But, my fix might cause another problem. Or, maybe I'm just being
paranoid. Anyway, I'll try to have a patch for you tomorrow.
Dave
On Mon, May 29, 2017 at 12:12:20PM +0200, Rémy Gibault wrote:
>Hi Dave,
>So
Rémy,
This looks like a bug. I've attached a patch.
There is a worry about this fix, however. It effectively throws
away and ignores the namespace prefix. So, if the schema defines
two different (simple) types with the same name but in different
namespaces, this fix might cause an error. Ho
Excellent,
Thank you Dave.
I will wait for your feedback
Rémy
*Rémy GIBAULT*
Responsable de Pôle Data Center
Head of Data Management Systems
--
*METEO FRANCE INTERNATIONAL*
9 rue Michel Labrousse, 31100 Toulouse, France
Tel: + 33 5 61 43 29 79
Skype: mfi_gibaultr
Web
Rémy,
I've got something on my do-list for today. I'll take a look
tomorrow.
Thanks for the report.
Dave
On Thu, May 18, 2017 at 05:56:32PM +0200, Rémy Gibault wrote:
>Hi,
>I am attempting to extract simpleType definitions from attached schema.
>Some error is displayed : KeyError:
11 matches
Mail list logo