[x3d-public] python pyjnius mapping - Makeorg.sh

John Carlson yottzumm at gmail.com
Wed May 15 09:45:02 PDT 2019


Makeorg.sh is intended to be run by the package maker.

I’ll see what I can do.   I don’t know as we really need makeorg.sh except when the standard is changing.  It would be good if it was automated.

Are we keeping the package hierarchy or moving back to X3Dautoclass.py?  Sorry if this is a repeat question.

Thanks,

John
Sent from Mail for Windows 10

From: Brutzman, Donald (Don) (CIV)
Sent: Wednesday, May 15, 2019 6:25 AM
To: John Carlson
Cc: X3D Graphics public mailing list
Subject: Re: python pyjnius mapping - Makeorg.sh

On 5/14/2019 11:13 PM, John Carlson wrote:
> Makeorg.sh failed due to putting extra comment at end of classes.json

OK not seeing that.  Did you remove it already?

The makeorg.sh shell script is very difficult to automate, especially for Ant.  Not every developer has bash.  We tend to avoid them, except occasionally for initial development.

Any chance you could move that functionality into a javascript or python program, similar to those already present?

> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> 
> *From: *Brutzman, Donald (Don) (CIV) <mailto:brutzman at nps.edu>
> *Sent: *Wednesday, May 15, 2019 12:48 AM
> *To: *John Carlson <mailto:yottzumm at gmail.com>
> *Cc: *X3D Graphics public mailing list <mailto:x3d-public at web3d.org>
> *Subject: *Re: python pyjnius mapping
> [...]
> -----------------
> 
> 2. meanwhile tonight, i mistakenly deleted the org/* tree from the pyjnius directory.
> 
> ran makeorg.sh to restore it. console attached.
> 
> not sure what happened next, it appeared to break classes.json:
> 
> ================================================================================
> 
> create python:
> 
> node xml2all.js HelloWorld.x3d
> 
> ================================================================================
> 
> File: HelloWorld.x3d
> 
> Error: SyntaxError: Unexpected token } in JSON at position 47595
> 
>       at JSON.parse (<anonymous>)
> 
>       at PythonSerializer.serializeToString (C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\python\pyjnius\PythonSerializer.js:43:23)
> 
>       at serializeXML (C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\python\pyjnius\convertXML.js:26:25)
> 
>       at convertXML (C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\python\pyjnius\convertXML.js:55:16)
> 
>       at Object.<anonymous> (C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\python\pyjnius\xml2all.js:10:1)
> 
>       at Module._compile (internal/modules/cjs/loader.js:701:30)
> 
>       at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
> 
>       at Module.load (internal/modules/cjs/loader.js:600:32)
> 
>       at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
> 
>       at Function.Module._load (internal/modules/cjs/loader.js:531:3)
> 
> C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\python\pyjnius\convertXML.js:67
> 
>                                                                  throw("Wrote nothing, serializer returned nothing");
> 
>                                                                  ^
> 
> Wrote nothing, serializer returned nothing
> 
> Result: 1
> 
> ================================================================================
> 
> i restored classes.json via subversion and that seemed to fix things again.  not sure why makeorg failed though.
> 
> all the best, Don
> 
> -- 
> 
> Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
> 
> Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
> 
> X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
> 


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190515/d7877516/attachment.html>


More information about the x3d-public mailing list