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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8645ae05a5441aad X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!b25g2000prb.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: How do I debug/fix this Date: Fri, 20 Nov 2009 16:25:46 -0800 (PST) Organization: http://groups.google.com Message-ID: <79e9314f-beb4-4a6a-9037-8bde8a08e2e1@b25g2000prb.googlegroups.com> References: NNTP-Posting-Host: 149.32.224.33 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1258763146 28691 127.0.0.1 (21 Nov 2009 00:25:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 21 Nov 2009 00:25:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b25g2000prb.googlegroups.com; posting-host=149.32.224.33; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8183 Date: 2009-11-20T16:25:46-08:00 List-Id: On Nov 20, 4:05=A0pm, Harry Tucker wrote: > I got my little program running in Windows, so I decided to try it in > Linux (Ubantu) and this is the runtime error I get in linux: raised > PROGRAM_ERROR : Process Prefix: s-valuti.adb:277 explicit raise. The > error was captured by my error handler and rethrown so I could find > where it happened. The original error is a CONSTRAINT_ERROR and > looking at the System.Val_Util, line 277 It is issued in a procedure > called Scan_Trailing_Blanks. I think the problem is that the data file > was created by a windows program so the end_of_line is wrong. But I'm > not sure how to fix it. > > Any suggestions? > The best way is to post your code. Without your code it is very difficult to provide correct solution. Anh Vo