It's always interesting to know in situations like this exactly what changed, so if it happens again you have an idea of what to do next time, or if there's something really subtle going on that needs fixing. In all the times I've had something funny like this happen, 'corrupt files' have never been a feature.

Terry


Chris Veale wrote:
 
never mind Ive fixed it now, not sure of the exact problem, but I suspect it
was a corrupt file somewhere (be it indy or delphi), a reinstall kicked the
problem to the curb.

Cheers

Chris

  
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chris Veale
Sent: Wednesday, 18 December 2002 8:29 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Indy component no longer working, but....


Hi all.

I am using an indy idhttp component in my app and it has never failed
me...till yesterday.

Yesterday morning I made some changes to the app and compiled
and tested and
shipped out for beta testing (all working fine) and when the
tester got it
at 1pm it died...

I then tried to recompile and test and it now dies on my
system also (which
it didnt do previously).  In the meantime I wasnt working in
delphi at all
so Im certain I didnt do anything to stuff this up.

I am getting a "estringlist" error with the message "string
list out of
bounds (1)"  this is happening on a simple get command and is
generated when
it tries to deletefoldedlines?

like I say Ive never had this happen before.

Now the interesting thing for me is that I ran previously
compiled versions
of the app and they work fine, but when I take the code for
these previously
compiled versions and recompile in the ide they now die with
the same error
message.....

below is the debug...captured from the error event

==============================================================
==============
=====

date/time         : 2002-12-17 14:10
computer name     : THE-BEAST
operating system  : Windows 2000 Service Pack 2
free disk space   : 12,66 GB
executable        : KiwiLoad.exe
exec. date/time   : 2002-12-17 14:10
exception class   : EStringListError
exception message : List index out of bounds (1).

main thread ($4E4):
$00414719 KiwiLoad.exe Classes               TStringList.Get
$004D255B KiwiLoad.exe IdHeaderList      194
TIdHeaderList.DeleteFoldedLines
$004D2B27 KiwiLoad.exe IdHeaderList      343 TIdHeaderList.SetValue
$004D50C2 KiwiLoad.exe IdHTTPHeaderInfo  280
TIdEntityHeaderInfo.SetHeaders
$004D58A5 KiwiLoad.exe IdHTTPHeaderInfo  469
TIdRequestHeaderInfo.SetHeaders
$004DBA1D KiwiLoad.exe IdHTTP           1372
TIdHTTPProtocol.BuildAndSendRequest
$004DAA07 KiwiLoad.exe IdHTTP            873
TIdCustomHTTP.ConnectToHost
$004DABA1 KiwiLoad.exe IdHTTP            906 TIdCustomHTTP.DoRequest
$004D9BBB KiwiLoad.exe IdHTTP            395 TIdCustomHTTP.Get
$004D9CBA KiwiLoad.exe IdHTTP            529 TIdCustomHTTP.Get
$004F42A5 KiwiLoad.exe login             942 get_crop
$004F455E KiwiLoad.exe login            1048 TForm2.Button1Click
$0052A65E KiwiLoad.exe KiwiLoad           22 KiwiLoad

==============================================================
==============
=====

does this sound like a corrupt file or something?  what else
could it be?  I
tried deleting exe and dcus and recompiling but it is still
happening...

Im starting to think a reinstall of delphi may be the ticket here...if
anyone has some words of wisdon for a baffeled programmer it would be
gratefully appreciated.

Cheers

Chris

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 6/12/02




______________________________________________________
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error,
please notify
the sender and delete all material pertaining to this e-mail.
______________________________________________________
--------------------------------------------------------------
-------------
    New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 6/12/02

    

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 6/12/02


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

  

Reply via email to