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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9bb65421778ea393 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.180.79.138 with SMTP id j10mr3402819wix.1.1352410169102; Thu, 08 Nov 2012 13:29:29 -0800 (PST) Path: q13ni196171wii.0!nntp.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Problem getting Adactl to run. Date: Thu, 08 Nov 2012 22:29:29 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Injection-Date: Thu, 8 Nov 2012 21:29:28 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="709a3b9124d052b085bf6fc3f0a2adab"; logging-data="22908"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cySYtCC7ygIHy8IksRFRi" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: Cancel-Lock: sha1:nreXEp6MCMkcCPWGwnF5IelG4cI= X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2012-11-08T22:29:29+01:00 List-Id: Le 08/11/2012 21:28, Peter C. Chapin a �crit : > On 11/08/2012 10:39 AM, Peter C. Chapin wrote: > >> I'm trying to run Adactl on my system but it's not working for me. > > The problem was related to my 64 bit system. I built adactl from source > and my earlier problems go away. However, I have new problems. When I > try to launch adactl from GPS I get various errors. Most recently there > are Python errors appearing in the GPS messages view like this: > > Traceback (most recent call last): > File "", line 1, in > File "/home/peter/local/gnat/share/gps/plug-ins/adactl.py", line 453, > in run > parse (result) > File "/home/peter/local/gnat/share/gps/plug-ins/adactl.py", line 87, > in parse > list.sort(sloc_cmp) > File "/home/peter/local/gnat/share/gps/plug-ins/adactl.py", line 84, > in sloc_cmp > return cmp (int(ls[2+Offset]), int(rs[2+Offset])) > ValueError: invalid literal for int() with base 10: 'Error' > This happens in the routine that parses line numbers for displaying error messages. It seems that sometimes, GPS does not retrieve the output of the tool correctly, sometimes introducing random end of lines. That may well bomb the the parser... -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr