Since then, I can't save any unit from any of my application.
It's raise the error "Invalid argument to date encode"
Any suggestions?
I'll prefare not to remove the sp3
Thanks Sorin
Check the systems language settings, especiually the date format.
--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.com
> Hello
> I update my os system win xp with, sp3.
>
> Since then, I can't save any unit from any of my application.
> It's raise the error "Invalid argument to date encode"
>
> Any suggestions?
Have you checked your regional settings?
--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
Sorin,
While not directly related to your problem, I found this short discussion on your thread subject interesting:
http://groups.google.com/group/borland.public.delphi.database.desktop/browse_thread/thread/5b7ebf1eba3d85b8/0077360229fc3c7d?hl=en&lnk=st&q=%22Invalid+argument+to+date+encode%22#0077360229fc3c7d
Also see Vitebski's QualityCentral report
http://qc.borland.com/wc/qcmain.aspx?d=61610
and especially read the comment by Mil. He may have a work-around for your problem.
If that does not help, then look here:
http://www.google.com/search?hl=en&q=%22Invalid%2Bargument%2Bto%2Bdate%2Bencode%22+WinXP+SP3
Regards, JohnH
Following this thread
http://qc.borland.com/wc/qcmain.aspx?d=61610
I try to erase all the _history directory and this solve the problem but
I'll prefer not to do the same with my other application.
It's clear that the sp3 has some conflicts with delphi ide
Thanks again Sorin
sounds like maybe a permission problem - - or access rights problem.
MS has been making changes in this area and making / forcing more access
right settings - - - where before they allowed full access unless you
set limits - - -
Jim P.
Sorin,
If you think that that QualityCentral report describes your
problem, may I suggest that you add your "vote" to the report.
Your vote will give the report a little more priority.
Regards, JohnH
> Sorin Wrote:
> > I try to erase all the _history directory and this solve the
> > problem but I'll prefer not to do the same with my other
> > application. It's clear that the sp3 has some conflicts with
> > delphi ide.
>
> I have this same problem and post it a week ago in this forum.
> Disable the "save to history" option and it will work again or go
> back so sp2 as i did.
Does it only fail with existing (pre SP3) files in the _history
directory? Is deleting the _history directories, once, enough to make
it work to save subsequent file changes?
--
Pieter
"Pieter Zijlstra" <p.zylstr...@hccnet.nl> wrote in message
news:xn0fqm5j...@newsgroups.codegear.com...
Sorin
Shraga Milon wrote:
> Delete the history enable me to save my changes, but after some time,
> the error come back :-(
Under menu Tools -> Options -> Editor Options there is setting:
"File backup limit" (default value is 10).
Could it be that the error does not happen until after 10 saved changes?
After 10 changes the oldest backups are removed. From the call stack it
looks like that when the IDE is removing the oldest backup file the
error occurs.
BTW did you check you regional settings and then specific the short
date format?
If it helps mine is on dd-MM-yyyy, I also tried some other formats to
see if that would make a difference, but it didn't on my system.
--
Pieter
Sorin,
forgot to ask, what Delphi version are you using, the same like Shraga,
BDS2006 or are you using CRS2007?
--
Pieter
Shraga
"Pieter Zijlstra" <p.zylstr...@hccnet.nl> wrote in message
news:xn0fqnius...@newsgroups.codegear.com...
Pieter
I'm using RAD2007
Sorin
I did
Sorin
Yes you are right. After several saves the error start again
>
> BTW did you check you regional settings and then specific the short
> date format?
> If it helps mine is on dd-MM-yyyy, I also tried some other formats to
> see if that would make a difference, but it didn't on my system.
My setting is, and was before SP3, dd/MM/yyyy.
I also try different settings but it doesn't help
Sorin
> >
> >Under menu Tools -> Options -> Editor Options there is setting:
> > "File backup limit" (default value is 10).
> >
> > Could it be that the error does not happen until after 10 saved
> > changes? After 10 changes the oldest backups are removed. From the
> > call stack it looks like that when the IDE is removing the oldest
> > backup file the error occurs.
>
> Yes you are right. After several saves the error start again
At least, it is reproducible ;)
> >
> > BTW did you check you regional settings and then specific the short
> > date format?
> > If it helps mine is on dd-MM-yyyy, I also tried some other formats
> > to see if that would make a difference, but it didn't on my system.
>
> My setting is, and was before SP3, dd/MM/yyyy.
> I also try different settings but it doesn't help
I'm running out of ideas what might actually cause it.
I think the both of you should provide as much information as you can
in the existing bug report http://qc.codegear.com/wc/qcmain.aspx?d=61610
Do you also have a copy of the call stack when the error occurs?
Both of you seem to be using an Israelian XP, maybe that is part of the
problem? But OTOH the one from the report is using a Russian XP.
Both BDS2006 and CRS2007 are effected by it.
Where is your source code located, local disk or on a server, what type
of server?
Are there any other system settings or the way you use Delphi, you can
think of, which might be different than the way others are using it?
--
Pieter
"Pieter Zijlstra" <p.zylstr...@hccnet.nl> wrote in message
news:xn0fqovsb...@newsgroups.codegear.com...
local disk
> Are there any other system settings or the way you use Delphi, you can
> think of, which might be different than the way others are using it?
Thanks Pieter
It's clear by now that there is a conflict between the SP3 and the
Delphi files saves on the _history directory and probably related
to the date regional settings.
I get the same call stack as shraga
Sorin
> To my opinion, the problem is because SP3 and regional setting of
> israel. Microsoft change something in the XP api that make BDS2006
> and CRS2007 crazy. here is my call stack, hope that someone in code
> gear will do something with this problem
Thanks for updating the bug report, hopefully CodeGear has enough
information to open it and maybe can they give a solution (or give Bill
Gates a call to create a hotfix ;)
--
Pieter
"Pieter Zijlstra" <p.zylstr...@hccnet.nl> wrote in message
news:xn0fqqdwi...@newsgroups.codegear.com...
Regards,
Russell Jones
http://tortoisesvn.tigris.org/servlets/ReadMsg?list=users&msgNo=10513