Note: Explorer can cause a crash on startup of Notepad. In this case go into Application Data folder of Notepad and do a copy of "Favourties.dat". Edit the file and add "Expand=0". Change it like this way ('->' means TAB):
thanks for your efficient work for this two very interesting plugin and for your efforts to remove bugs and improve functionalities.
Explorer plug-in in one of the reason that I use notepad++ especially button folder of the current file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a crash on Notepad++, then I changed "Expand=1" to "Expand=0". But, after I run Notepad++ again, it said 'Cannot find "Favourties.dat"'. What's happened?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have use the new "Favourites.dat" from a new unzipped Notepad++ (from this website and installed Explorer) overwrote the old one. So I cannot give you the old one, but the new "Favourites.dat" also crash the Notepad++ and is show below:
-----------------------------------------------------------
[Folders]
Expand=0
Please delete the file. Explorer creates a new one. If the crash still caused I have no idea. Please send me in this case more details. In worst case: Are you able to debug C++?
Best Regards
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you sure that it depends on Explorer? If you remove it from plugin folder, does the crash still happen? Are you sure you edit the correct file? Please give me more details!
- Notepad++ version
- Explorer version
- Files in Notepad install folder
- Files of %APPDATA%/Notepad++/ folder
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you send me the zipped Notepad++ folder to :
don . h @ free . fr
?
Jens,
I understand that the incoherent data may make funcntionList crash Notepad++.
For me it's a serious bug to fix because all the external settings should be checked before passing them to your function or method.
As well, I'll think about closing the doors (the possibilities) for the plugins, since there're a lot of events that the plugins crash Notepad++.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would it be possible to keep track of the success of loading plug-ins?
For example, when starting up, Notepad++.exe creates a file 'startup.log'.
For each plug-in it finds, it writes the relative path of the plug-in in a new line in that file (and flush the file before actually loading the plug-in).
When all the plug-ins are successfully loaded, the file is deleted.
So if np++ crashes when loading a plug-in, the file 'startup.log' won't be deleted.
The next time Notepad++.exe loads, it sees that the file already exists. It can then look at the last line of the file, and skip loading that plug-in (or even rename it to *.crashing_dll).
Notepad++ could also display a message box "Plugin FunctionList.dll caused Notepad++ to crash the previous time, and has been disabled."
I think that would make it a lot easier for you, for the plug-in developers, and for the users, to determine the cause of Notepad++ crashing on startup.
(Maybe then you won't have to 'close doors' to plug-ins. :-P)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to remove the session.xml, then Notepad++ worked again.
But when put it back, it still crash. It is still useful for me to send you the zipped Notepad++ folder (with out the files opened in the session)? If yes, I will send you then.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>> As well, I'll think about closing the doors (the possibilities) for the plugins, since
>> there're a lot of events that the plugins crash Notepad++.
Which doors? What would you like to change? I didn't get you.
@Anonymous:
Please rename the insertExt.ini file in %APPDATA%. This should help.
Best Regards
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Notepad user,
I published now finally Hex-Editor v0.8.3 and Explorer v1.4.
Please download on:
http://sourceforge.net/projects/npp-plugins/
Note: Explorer can cause a crash on startup of Notepad. In this case go into Application Data folder of Notepad and do a copy of "Favourties.dat". Edit the file and add "Expand=0". Change it like this way ('->' means TAB):
[Folders]
Expand=0
#Group
-> Name=Notepad Projects
-> Expand=0
#LINK
-> Name=Explorer
-> Link=D:\NppPlugins\Explorer
#End
[Files]
Expand=0
[Web]
Expand=0
[Sessions]
Expand=0
Best Regards
Jens
Great work, it's definitely improved :)
thanks for your efficient work for this two very interesting plugin and for your efforts to remove bugs and improve functionalities.
Explorer plug-in in one of the reason that I use notepad++ especially button folder of the current file.
I have a crash on Notepad++, then I changed "Expand=1" to "Expand=0". But, after I run Notepad++ again, it said 'Cannot find "Favourties.dat"'. What's happened?
Please sent me your Favourites.dat file. I will have a look on it.
Best Regards
Jens
I have use the new "Favourites.dat" from a new unzipped Notepad++ (from this website and installed Explorer) overwrote the old one. So I cannot give you the old one, but the new "Favourites.dat" also crash the Notepad++ and is show below:
-----------------------------------------------------------
[Folders]
Expand=0
[Files]
Expand=0
[Web]
Expand=0
[Sessions]
Expand=0
-----------------------------------------------------------
Please delete the file. Explorer creates a new one. If the crash still caused I have no idea. Please send me in this case more details. In worst case: Are you able to debug C++?
Best Regards
Jens
I have tried deleting that file, but it still crash. And I am not able to debug in C++....
Are you sure that it depends on Explorer? If you remove it from plugin folder, does the crash still happen? Are you sure you edit the correct file? Please give me more details!
- Notepad++ version
- Explorer version
- Files in Notepad install folder
- Files of %APPDATA%/Notepad++/ folder
Jens
Just tested again, it caused by the Function List. After I removed it, everything is fine, but when put it back, it crash again.
Notepad++ version: 4.1.2
Function List version: 1.2
I use the zip version of Notepad++.
For Anonymous,
Could you send me the zipped Notepad++ folder to :
don . h @ free . fr
?
Jens,
I understand that the incoherent data may make funcntionList crash Notepad++.
For me it's a serious bug to fix because all the external settings should be checked before passing them to your function or method.
As well, I'll think about closing the doors (the possibilities) for the plugins, since there're a lot of events that the plugins crash Notepad++.
Don
Hi Don,
Would it be possible to keep track of the success of loading plug-ins?
For example, when starting up, Notepad++.exe creates a file 'startup.log'.
For each plug-in it finds, it writes the relative path of the plug-in in a new line in that file (and flush the file before actually loading the plug-in).
When all the plug-ins are successfully loaded, the file is deleted.
So if np++ crashes when loading a plug-in, the file 'startup.log' won't be deleted.
The next time Notepad++.exe loads, it sees that the file already exists. It can then look at the last line of the file, and skip loading that plug-in (or even rename it to *.crashing_dll).
Notepad++ could also display a message box "Plugin FunctionList.dll caused Notepad++ to crash the previous time, and has been disabled."
I think that would make it a lot easier for you, for the plug-in developers, and for the users, to determine the cause of Notepad++ crashing on startup.
(Maybe then you won't have to 'close doors' to plug-ins. :-P)
It's a solution.
The thing bothers me is to write a log file on each launch time.
I'll consider it if there's no better solution.
Don
I tried to remove the session.xml, then Notepad++ worked again.
But when put it back, it still crash. It is still useful for me to send you the zipped Notepad++ folder (with out the files opened in the session)? If yes, I will send you then.
Hello Don,
>> As well, I'll think about closing the doors (the possibilities) for the plugins, since
>> there're a lot of events that the plugins crash Notepad++.
Which doors? What would you like to change? I didn't get you.
@Anonymous:
Please rename the insertExt.ini file in %APPDATA%. This should help.
Best Regards
Jens
I tried renaming the insertExt.ini, but nothing change.