Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I debug/fix this

0 views
Skip to first unread message

Harry Tucker

unread,
Nov 20, 2009, 7:05:39 PM11/20/09
to
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.

Anh Vo

unread,
Nov 20, 2009, 7:25:46 PM11/20/09
to
On Nov 20, 4:05 pm, Harry Tucker <harry.tuc...@sbcglobal.net> 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

Gautier write-only

unread,
Nov 21, 2009, 10:46:45 AM11/21/09
to
On 21 nov, 01:05, Harry Tucker <harry.tuc...@sbcglobal.net> wrote:

> And any World of Warcraft players out there? I'm trying to use Ada to
> understand the WoWCombatLog.txt file. lol.

If the syntax is not trivial you may want to build a parser, e.g. by
using ayacc.
I did it to read another kind of file in another game - works fine...
Gautier

John B. Matthews

unread,
Nov 21, 2009, 12:24:51 PM11/21/09
to
In article
<b3ac62eb-a230-45b5...@r5g2000yqb.googlegroups.com>,
Gautier write-only <gautier...@hotmail.com> wrote:

For reference, the OP might also like to see this other parser:

<http://code.google.com/p/stasiscl/>

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Stephen Leake

unread,
Nov 22, 2009, 2:51:23 AM11/22/09
to
"John B. Matthews" <nos...@nospam.invalid> writes:

> In article
> <b3ac62eb-a230-45b5...@r5g2000yqb.googlegroups.com>,
> Gautier write-only <gautier...@hotmail.com> wrote:
>
>> On 21 nov, 01:05, Harry Tucker <harry.tuc...@sbcglobal.net> wrote:
>>
>> > And any World of Warcraft players out there? I'm trying to use Ada to
>> > understand the WoWCombatLog.txt file. lol.
>>
>> If the syntax is not trivial you may want to build a parser, e.g. by
>> using ayacc. I did it to read another kind of file in another game -
>> works fine...
>
> For reference, the OP might also like to see this other parser:
>
> <http://code.google.com/p/stasiscl/>

Or this one:

http://www.stephe-leake.org/ada/opentoken.html

Version 3.1a is now available as a Debian package in unstable.

--
-- Stephe

0 new messages