From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.159.48.79 with SMTP id i15mr9562269uab.10.1477903210771; Mon, 31 Oct 2016 01:40:10 -0700 (PDT) X-Received: by 10.157.33.166 with SMTP id s35mr2551857otb.10.1477903210731; Mon, 31 Oct 2016 01:40:10 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!n6no268293qtd.0!news-out.google.com!w25ni2313qtc.0!nntp.google.com!n6no268289qtd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 31 Oct 2016 01:40:10 -0700 (PDT) In-Reply-To: <14d731a6-a231-482c-8f6d-b907933520c0@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.98.77.125; posting-account=6yLzewoAAABoisbSsCJH1SPMc9UrfXBH NNTP-Posting-Host: 194.98.77.125 References: <9f771768-9d3e-43a1-b2e7-048851f5b4f9@googlegroups.com> <174e458e-70b8-411b-b1aa-b888838145d1@googlegroups.com> <14d731a6-a231-482c-8f6d-b907933520c0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Where to find good/simple examples for gnatcoll (python)? From: briot.emmanuel@gmail.com Injection-Date: Mon, 31 Oct 2016 08:40:10 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:32212 Date: 2016-10-31T01:40:10-07:00 List-Id: > "raised CONSTRAINT_ERROR : t1.adb:10 access check failed" This error message tells you quite precisely that the variable Python is null. And from there we can deduce that ou never registered python as a scripting language. You need to call GNATCOLL.Scripts.Python.Register_Python_Scripting. Check the "Loading the scripting language" section in the GNATCOLL documentation