From: "Peter C. Chapin" <pcc482719@gmail.com>
Subject: Re: Problem getting Adactl to run.
Date: Sat, 10 Nov 2012 08:20:18 -0500
Date: 2012-11-10T08:20:18-05:00 [thread overview]
Message-ID: <5JydnZpSs40PyQPNRVn_vwA@giganews.com> (raw)
In-Reply-To: <k7ju95$c5$1@dont-email.me>
On 11/09/2012 04:57 PM, J-P. Rosen wrote:
>> What I see in the Messages window is the Python traceback that I showed
>> my earlier posts. I don't see anything that looks like Adactl output.
> They should be before the Python traceback
There is nothing before the traceback. To be precise this is what I see
in the Messages window after starting GPS and then trying to run Adactl
on one of my open files:
======
Welcome to GPS 5.1.1 (20111220) hosted on x86_64-pc-linux-gnu
the GNAT Programming Studio
This is the GPS GPL Edition.
For professional needs, use the GPS version supplied with GNAT Pro.
For details contact us at sales@adacore.com
(c) 2001-2011 AdaCore
Auto-VCS: using Subversion
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'
======
Not sure if that information is useful at all.
> You can run AdaControl on a command line (in Gnat format), save the
> output to a file, and then load the file in GPS. You will still enjoy
> the interactive display of errors.
Thanks for the tip. I'll check it out!
Peter
next prev parent reply other threads:[~2012-11-10 13:20 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
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 [this message]
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