From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,NICE_REPLY_A,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Rod Kay Newsgroups: comp.lang.ada Subject: Re: GnatStudio 20230501 released Date: Wed, 28 Jun 2023 06:47:39 +1000 Organization: A noiseless patient Spider Message-ID: References: <13757589-8844-46ec-8d09-24b4bfd65a52n@googlegroups.com> <4c19a057-411e-4042-ae5a-173cd724b72en@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 27 Jun 2023 20:47:26 -0000 (UTC) Injection-Info: dont-email.me; posting-host="be657311ea86a2b2450d32d46a694ffc"; logging-data="1579120"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XoDm/iexA429YU38Fw+tkmCmleLq64Lw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cancel-Lock: sha1:kOTKWQqSZEbTQqiORICeRQB56BA= Content-Language: en-US In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65357 List-Id: On 5/6/23 22:55, Rod Kay wrote: > On 5/6/23 20:15, Maxim Reznik wrote: >> Great! Waiting for GNAT Studio in Arch Linux :) >> > >    I still have one problem to solve. When I run GS, i get the > following python error ... > > Fatal Python error: init_fs_encoding: failed to get the Python codec of > the filesystem encoding > Python runtime state: core initialized > ModuleNotFoundError: No module named 'encodings' > It turns out that gnatstudio expects '/usr/share/gnatstudio/python' to contain or point to the root of an OS's python installation. So a simple soft link to '/usr' fixed this problem. The only other problem was a deprecated python module, which was very easy to patch/fix. So now gnatstudio builds/runs on Archlinux with all the bells/whistles. A final thanks, Maxim, for your help. Regards.