comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <pcc482719@gmail.com>
Subject: Re: Problem getting Adactl to run.
Date: Fri, 09 Nov 2012 09:08:20 -0500
Date: 2012-11-09T09:08:20-05:00	[thread overview]
Message-ID: <xL2dnQ1gZKnJkwDN4p2dnAA@giganews.com> (raw)
In-Reply-To: <k7h87o$mbs$1@dont-email.me>

On 11/08/2012 04:29 PM, J-P. Rosen wrote:

>> 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...
>

Is there no solution? This is all it ever does for me. It appears to 
work fine from the command line but that's not nearly as nice as having 
the GPS integration.

Peter




  reply	other threads:[~2012-11-09 14:08 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
2012-11-09 14:08     ` Peter C. Chapin [this message]
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