comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Problem getting Adactl to run.
Date: Thu, 08 Nov 2012 22:29:29 +0100
Date: 2012-11-08T22:29:29+01:00	[thread overview]
Message-ID: <k7h87o$mbs$1@dont-email.me> (raw)
In-Reply-To: <v-WdnU-IKZybiwHN4p2dnAA@giganews.com>

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 "<stdin>", line 1, in <module>
>   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



  reply	other threads:[~2012-11-08 21:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-08 15:39 Problem getting Adactl to run Peter C. Chapin
2012-11-08 20:28 ` Peter C. Chapin
2012-11-08 21:29   ` J-P. Rosen [this message]
2012-11-09 14:08     ` Peter C. Chapin
2012-11-09 17:08       ` Yannick Duchêne (Hibou57)
2012-11-09 17:20       ` J-P. Rosen
2012-11-09 18:54         ` Peter C. Chapin
2012-11-09 21:57           ` J-P. Rosen
2012-11-10 13:20             ` Peter C. Chapin
2012-11-10 12:33           ` Stephen Leake
2012-11-10 13:16             ` Peter C. Chapin
2012-11-11 22:46               ` Stephen Leake
2012-11-08 21:22 ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox