vishnugonela / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Editra crash with interrupted connection to network drive (macosx) #255

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following problem has been seen on MacOSX Leopard, 10.5.6 (intel)

What steps will reproduce the problem?
1. Connect to a network drive (eg. sshfs drive) using macFuse
2. Load a file into editra from the network drive
3. Notice that your network connection has failed or been interrupted. 

What is the expected output? What do you see instead?

A file is hosted on a network drive, and is then edited directly with
editra, and your network connection is interrupted, for example as a result
of waking from sleep or an actual connectivity problem, the editra window
locks up, with a spinning beachball appearing on screen.  Other
applications continue to work as normal. 

After a short wait, Editra prompts that the file could not be found, and do
you want to save it again?   Answering this question (either way) causes
Editra to crash. 

The spinning beachball and wait is not new, however the crashing is new, i
believe since v0.4.25

Editra Version and Install Source
---------------------------------
Editra version: 0.4.28 on Mac OSX Leopard (v10.5.6 intel)

Installed from binaries provided at www.editra.org website. 

Original issue reported on code.google.com by wil...@gmail.com on 22 Dec 2008 at 5:36

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,

What plugins do you have installed and active?

I can't tell for sure but this crash looks like it may have been caused by the
projects plugin. If you have it installed what version?

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 22 Dec 2008 at 5:47

GoogleCodeExporter commented 9 years ago
Hi Cody, 

Thanks for replying. I have two plugins active: 

* Projects [v0.7] 
* Code Browser [v0.6]

I'm writing oo code in javascript, and php, with some css and html mixed in for 
fun.
 It's a shame that code Browser doesn't understand JS, but that's a different issue. 

I will try turning off Projects to see if the situation improves. 

XW

Original comment by wil...@gmail.com on 22 Dec 2008 at 7:42

GoogleCodeExporter commented 9 years ago
I will look at the projects plugin code again it had issues like this in the 
past.

The codebrowser could support javascript (if somebody want's to write a parser 
;) ). 
I tried to start writing one before but javascript is such an unwieldy and 
loosely 
formatted language (I think I saw at least 9 different ways to declare a 
function) 
that it is quite difficult to write a good parser for it :(.

Cody

Original comment by CodyPrec...@gmail.com on 22 Dec 2008 at 2:35

GoogleCodeExporter commented 9 years ago
I think i've found where Editra was getting confused and crashing due to the 
network
drive being slow/unavailable. 

It doesn't appear to be the projects plugin after all.   

In the preferences window, General options, there is an option "Check if on 
disk file
has been modified by others".  I turned the option off, and Editra is now 
running
happily with my fuse/sshfs hosted files.

XW

Original comment by wil...@gmail.com on 24 Dec 2008 at 5:32

GoogleCodeExporter commented 9 years ago
ok,

I found one possible issue that could have caused this in the check if modified 
code
and have fixed it. So hopefully it will work correctly for the next release.

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 26 Dec 2008 at 4:35

GoogleCodeExporter commented 9 years ago
cleaning up old 'fixed' issues

Original comment by CodyPrec...@gmail.com on 3 Feb 2009 at 6:48