Bug 89580 - autosave goes crazy when upgrading from 1.6.3 to 1.7
Summary: autosave goes crazy when upgrading from 1.6.3 to 1.7
Status: RESOLVED WORKSFORME
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Jeroen Wijnhout
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-15 17:57 UTC by David Grant
Modified: 2005-05-18 21:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Grant 2004-09-15 17:57:12 UTC
Version:           1.7 (using KDE KDE 3.3.0)
Installed from:    Gentoo Packages
Compiler:          3.x 
OS:                Linux

It's unusable and so is the whole system, so I marked as "crash".  I don't know why it is doing this.  First I opened Kile 1.7 for the first time.  It opened up my previously-opened projects.  I finally managed to close them, during which I had the 100% CPU problem.  I restarted and I still have the problem.
Comment 1 David Grant 2004-09-15 19:28:53 UTC
Jeroen, I fixed it.  I set autosave=false instead of true in kilerc and that fixed it.  Not sure why, but Kile was trying to autosave A LOT.  So many times in one second that it's hard even to count....

But let's leave this bug open and call it a "autosave goes crazy when upgrading from 1.6.3 to 1.7".  I don't know if it's specific to people upgrading, as I haven't tried starting with a fresh kilerc profile and created a project from scratch.  I'm not at home now (I'm over VNC) so I can't check all this easily right now.
Comment 2 David Grant 2004-09-15 20:04:41 UTC
This may in fact be an upgrade issue.  After fixing the autosave and changing it to false manually, I loaded kile, and then changed the autosave option in the Options, setting it to 5 minutes.  It now works fine.
Comment 3 Jeroen Wijnhout 2004-09-15 20:10:14 UTC
On Wednesday 15 September 2004 20:04, David Grant wrote:
> ------- This may in fact be an upgrade issue.  After fixing the autosave
> and changing it to false manually, I loaded kile, and then changed the
> autosave option in the Options, setting it to 5 minutes.  It now works
> fine.

A ha, I remember. Kile sets an autosave timer in mili-seconds, however in 
kile-1.6.x it was saved in minutes. In kile-1.7 for some good (but I might 
change my mind) reason it was saved in ms as well. I did wrote a conversion 
program that should run automatically, evidently it didn't. This cause your 
autosave time to be set to 5 ms, which is too often even for paranoid persons 
like me.

Thanks for the info, I will try to fix it.

best,
Jeroen

Comment 4 Jeroen Wijnhout 2004-09-15 20:33:42 UTC
Can you perhaps perform a check for me? (As usual it turns out to be trickier than I thought.) In $HOME/.kde/share/config there is a file kconf_updaterc, there should be a section about kile in there. Perhaps you can attach the file here, or search the file for the word kile and post the relevant section.

thanks,
Jeroen
Comment 5 David Grant 2004-09-15 21:04:07 UTC
Jeroen, I can't see the word kile anywhere in that file.
Comment 6 Jeroen Wijnhout 2004-09-17 08:34:43 UTC
Ok, that's no good. It probably means kupdate_conf did not run.

best,
Jeroen
Comment 7 Jeroen Wijnhout 2005-05-12 20:31:03 UTC
Did you try 1.8b2, does the problem still occur?

best,
Jeroen
Comment 8 Jeroen Wijnhout 2005-05-18 21:20:53 UTC
Please reopen if the problem occurs with 1.8 as well.

best,
Jeroen