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=1.4 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FORGED_MUA_MOZILLA,FREEMAIL_FROM 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-7-bit Received: by 10.68.135.2 with SMTP id po2mr4589025pbb.0.1352470100830; Fri, 09 Nov 2012 06:08:20 -0800 (PST) Path: 6ni71395pbd.1!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 09 Nov 2012 08:08:20 -0600 Date: Fri, 09 Nov 2012 09:08:20 -0500 From: "Peter C. Chapin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problem getting Adactl to run. References: In-Reply-To: Message-ID: X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-NTas0oQOk9tGTvzxGbNFCV/xVrPwNOX9zkyIyxwdebR4guZlpDc3cfLqnNp4yltcqEEEGN9ojj0bOuk!3J8Xrr19m1l1Ey89x3VTbggVHgoK+R1xq88uVKnhzBEOHat3cHL5lWOctMiUTgU= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2210 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-11-09T09:08:20-05:00 List-Id: On 11/08/2012 04:29 PM, J-P. Rosen wrote: >> 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... > 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