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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8645ae05a5441aad,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!a21g2000yqc.googlegroups.com!not-for-mail From: Harry Tucker Newsgroups: comp.lang.ada Subject: How do I debug/fix this Date: Fri, 20 Nov 2009 16:05:39 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 69.154.142.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1258761939 21639 127.0.0.1 (21 Nov 2009 00:05:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 21 Nov 2009 00:05:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a21g2000yqc.googlegroups.com; posting-host=69.154.142.246; posting-account=gm6zjwoAAADRUx8sKB8rAyyVV-bSRk9M User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Media Center PC 5.0; OfficeLiveConnector.1.4; OfficeLivePatch.0.0; SLCC1; .NET4.0C; .NET4.0E; Tablet PC 2.0; Creative AutoUpdate v1.40.01; msn OptimizedIE8;ENUS),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8182 Date: 2009-11-20T16:05:39-08:00 List-Id: 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? And any World of Warcraft players out there? I'm trying to use Ada to understand the WoWCombatLog.txt file. lol.