Home Download Buy Blog Forum Support

Settings not reloading

Settings not reloading

Postby svenax on Mon Sep 02, 2013 9:41 am

I've had this problem for a long time now. Settings are not reloaded when I make changes to some configuration file. Doesn't really matter which one. When I restart Sublime text they are of course loaded as expected, and since SublimeText starts so quickly now it isn't a huge problem. Still, a little annoying.

My setup:
Mac OS X 10.8.4
SublimeText 3 dev build
Packages linked to Dropbox folder
svenax
 
Posts: 154
Joined: Tue Dec 20, 2011 12:47 pm

Re: Settings not reloading

Postby adzenith on Mon Sep 02, 2013 1:30 pm

I have the same problem. I fixed it once by changing the way my symlinks were (making it so Dropbox was symlinked to my Sublime packages, instead of vice versa), but then the problem came back anyway and I don't know how to fix it now.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Settings not reloading

Postby adzenith on Mon Sep 02, 2013 1:31 pm

Actually, I forgot - I removed the symlink entirely in the hopes that it would fix things, and it didn't. There are no symlinks and reloading is still broken.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Settings not reloading

Postby alcesleo on Mon Sep 02, 2013 2:14 pm

I just got this issue. It really is horribly annoying, I've been using the trial-version of Sublime for a long time and finally thought that it's so fantastic that I must buy a license. Not long after I did, the filewatcher stops working. This makes the settings not reload, and also makes the sidebar not display changes in the tree without doing a manual update.

I've used AppCleaner to uninstall and reinstall it, and the problem still persists. I am seriously considering doing a full reinstallation of the OS.

Build 3047
Mac 10.8.4
alcesleo
 
Posts: 5
Joined: Mon Sep 02, 2013 2:09 pm

Re: Settings not reloading

Postby alcesleo on Mon Sep 02, 2013 3:08 pm

Somehow I managed to solve this issue, but unfortunately I'm not sure what did it.

I started to fiddle around with anything I thought could have something to do with the problem, and suddenly it started working again.
Here's what I did.

* I removed Sublime entirely using AppCleaner, including all support-files. I have my settings symlinked from a git repo so restoring was not a problem. However the problem persisted.
* I tried to do this again, but this time removing everything in my User-directory except .sublime-settings-files (eg ca-bundle, caches, etc).
* I uninstalled my other python3 installation. I had it installed with homebrew, so I did `brew uninstall python3`.
This one is my best bet on what did it. Since I was fairly sure that the problem had to do with a filewatcher, and the problem persisted even after a complete reinstall, I thought the problem might be with Python. Sublime 3 comes bundled with its own Python3-interpreter, so maybe it clashes with the homebrew one somehow. I have nothing to prove that this is the case, but I can't think of anything else that might have solved the problem.

Try these if they apply to you, and if anyone have an explanation to what's actually happening I would appreciate it!

Cheers!
alcesleo
 
Posts: 5
Joined: Mon Sep 02, 2013 2:09 pm

Re: Settings not reloading

Postby alcesleo on Thu Sep 12, 2013 11:55 am

I've now confirmed that this problem is directly related to the Homebrew installation of Python3. It appears directly after running `brew install python3` and disappears after running `brew remove python3`.

I have not been able to get them working together, but now at least we know what is causing the problem.
alcesleo
 
Posts: 5
Joined: Mon Sep 02, 2013 2:09 pm

Re: Settings not reloading

Postby alcesleo on Thu Sep 12, 2013 4:15 pm

I was lying. The problem now came back even with python3 uninstalled. This is driving me crazy.
alcesleo
 
Posts: 5
Joined: Mon Sep 02, 2013 2:09 pm

Re: Settings not reloading

Postby adzenith on Thu Sep 12, 2013 4:54 pm

I was just gonna say... I tried uninstalling python3 in homebrew and it still doesn't work. Hasn't worked for months.

Oh well...


Maybe it's time to write a plugin that all it does is manually read settings files etc and updates Sublime using the API... this is a sad day.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Settings not reloading

Postby adzenith on Thu Sep 12, 2013 10:02 pm

I trashed all my caches and indexes -> no dice.
I reverted my install -> it works.
I add my packages back one at a time -> it works. ??
The only thing I can think of then is my session file. From now on when this happens I will be trashing my auto-save and session files. We'll see?

jps, any possible insights?
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Settings not reloading

Postby aaronmw on Sun Sep 15, 2013 3:51 pm

Just adding that this is happening to me on ST3 as well, with the latest nightly. This seriously cripples the responsiveness of the app, as restarting just to apply a settings tweak is very disruptive to my actual workflow. Perhaps I tweak my settings with an unnatural frequency, but I still hope this bug is a) on the ST3 dev radar and b) fairly high priority.

@adzenith: I don't have python3 installed with Homebrew. What are these session files you speak of? Which files, exactly, should I be nuking? Thanks for you help with this!
aaronmw
 
Posts: 18
Joined: Sat Feb 25, 2012 3:06 pm

Next

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 21 guests