Home Download Buy Blog Forum Support

Network Files Not Found Are Overwritten

Network Files Not Found Are Overwritten

Postby nmynarcik on Thu Oct 24, 2013 11:21 pm

I have many projects that I switch back and forth between. Some of the files for said projects are located on network drives that need to be manually connected to upon startup. I have noticed that if a needed network is not connected when you open a project that has files already open in it, the file that you are currently viewing is cleared of contents. Once connecting the drive needed, it will ask to reload the file, I choose yes to reload and it's still empty and it also clears the file on the network. Luckily, most of the time the files are in version control so I can easily revert back, but some cases have caused me to lose a files contents and start over.

Is this a bug? I know I can use due diligence to always make sure I am connected to the drives, however, what happens in the scenarios where you can't always 'prepare' for a network to not be connected?

Thanks in advance!
nmynarcik
 
Posts: 3
Joined: Thu Oct 24, 2013 11:17 pm

Re: Network Files Not Found Are Overwritten

Postby hong on Fri Oct 25, 2013 1:40 am

Which version of sublimetext are you using?
hong
 
Posts: 14
Joined: Mon Mar 04, 2013 12:15 am

Re: Network Files Not Found Are Overwritten

Postby nmynarcik on Fri Oct 25, 2013 10:17 pm

Sorry for not including that in the OP.

Version 2.0.2
nmynarcik
 
Posts: 3
Joined: Thu Oct 24, 2013 11:17 pm

Re: Network Files Not Found Are Overwritten

Postby mwb1100 on Sat Oct 26, 2013 12:29 am

This was reported a while ago:

viewtopic.php?t=7388

I don't know if it's been addressed even in ST3.
mwb1100
 
Posts: 29
Joined: Mon Jun 25, 2012 5:40 pm

Re: Network Files Not Found Are Overwritten

Postby qgates on Sat Oct 26, 2013 3:46 am

I've run into this too and generally if I close the project window, reconnect the network drives/shares and reopen the project files reappear correctly.

I'm not sure if this behaviour changes with "hot_exit" disabled though since I have it enabled.

Another way to work around this is to change your workflow slightly. Save your projects in the network location along with your files. If the network resource is unavailable, the project won't load at all, avoiding further hassle.
qgates
 
Posts: 188
Joined: Mon Nov 05, 2012 4:33 pm

Re: Network Files Not Found Are Overwritten

Postby nmynarcik on Sat Oct 26, 2013 4:37 pm

That's a good idea qgates about saving the project files on the network as well.

I tried closing out ST2 when I noticed the network wasn't connected, reconnect the shared drive and then reopen the project, but it still saved the file as empty. It's really weird.
nmynarcik
 
Posts: 3
Joined: Thu Oct 24, 2013 11:17 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 23 guests

cron