Quantcast

[ jEdit-users ] Loading edit modes problems shown in the Activity Log

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-users ] Loading edit modes problems shown in the Activity Log

Edward Diener-3
I am running the latest daily build of JEdit 5.3.1.

Looking at the Activity Log I see errors of the type:

10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
C:\Program Files\jEdit 5.3.1\modes\markdown.xml
10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
/opt/WinLinuxShare/.jedit/modes/html.xml
10:32:19 AM [AWT-EventQueue-0] [error] jEdit$5:
java.io.FileNotFoundException: \opt\WinLinuxShare\.jedit\modes\html.xml
(The system cannot find the path specified)

followed by a Java trace. I have no edit modes in the 'modes'
subdirectory of my settings directory. All the edit modes are in the
'modes' subdirectory of my Jedit home directory. Why is JEdit not
loading the XML edit mode for 'html.xml' from within my home directory (
it's there in my 'modes' directory ) rather than from my settings
directory 'modes' subdirectory, where it does not exist ? It loads the
markdown.xml from the right place but then tries to load the html.xml
from the wrong place. What is going on here ?


------------------------------------------------------------------------------
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ jEdit-users ] Loading edit modes problems shown in the Activity Log

Dale Anson-3
Do you have a catalog file in your jedit settings/mode directory? If so, does it mention the html.xml file? jEdit reads the catalog file in your settings/mode directory first, then reads the one in the jEdit home/modes directory. If you do have a catalog file in your settings/mode directory, and it does have the html.xml listed in it, just remove that mode line, then restart jEdit.

Dale



On Tue, Aug 16, 2016 at 8:47 AM, Edward Diener <[hidden email]> wrote:
I am running the latest daily build of JEdit 5.3.1.

Looking at the Activity Log I see errors of the type:

10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
C:\Program Files\jEdit 5.3.1\modes\markdown.xml
10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
/opt/WinLinuxShare/.jedit/modes/html.xml
10:32:19 AM [AWT-EventQueue-0] [error] jEdit$5:
java.io.FileNotFoundException: \opt\WinLinuxShare\.jedit\modes\html.xml
(The system cannot find the path specified)

followed by a Java trace. I have no edit modes in the 'modes'
subdirectory of my settings directory. All the edit modes are in the
'modes' subdirectory of my Jedit home directory. Why is JEdit not
loading the XML edit mode for 'html.xml' from within my home directory (
it's there in my 'modes' directory ) rather than from my settings
directory 'modes' subdirectory, where it does not exist ? It loads the
markdown.xml from the right place but then tries to load the html.xml
from the wrong place. What is going on here ?


------------------------------------------------------------------------------
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users


------------------------------------------------------------------------------

--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ jEdit-users ] Loading edit modes problems shown in the Activity Log

Edward Diener-3
On 8/16/2016 1:02 PM, Dale Anson wrote:
> Do you have a catalog file in your jedit settings/mode directory? If so,
> does it mention the html.xml file? jEdit reads the catalog file in your
> settings/mode directory first, then reads the one in the jEdit
> home/modes directory. If you do have a catalog file in your
> settings/mode directory, and it does have the html.xml listed in it,
> just remove that mode line, then restart jEdit.

The catalog file in my settings/modes directory is:

> <?xml version="1.0"?>
> <!DOCTYPE MODES SYSTEM "catalog.dtd">
>
> <MODES>
>
> <!-- Add lines like the following, one for each edit mode you add: -->
> <!-- <MODE NAME="foo" FILE="foo.xml" FILE_NAME_GLOB="*.foo" /> -->
>
> </MODES>

Not only that, but when I rename the settings/modes directory to
something else, like settings/old_modes, Jedit still acts completely the
same.

Evidently jEdit, when it reads the catalog in my home/modes directory
actually looks for some particluar modes in my setting/modes directory
first and, when it cannot find it, it is an error. Something is wrong
with jEdit 5.3 and 5.3.1.

>
> Dale
>
>
>
> On Tue, Aug 16, 2016 at 8:47 AM, Edward Diener <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I am running the latest daily build of JEdit 5.3.1.
>
>     Looking at the Activity Log I see errors of the type:
>
>     10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
>     C:\Program Files\jEdit 5.3.1\modes\markdown.xml
>     10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
>     /opt/WinLinuxShare/.jedit/modes/html.xml
>     10:32:19 AM [AWT-EventQueue-0] [error] jEdit$5:
>     java.io.FileNotFoundException: \opt\WinLinuxShare\.jedit\modes\html.xml
>     (The system cannot find the path specified)
>
>     followed by a Java trace. I have no edit modes in the 'modes'
>     subdirectory of my settings directory. All the edit modes are in the
>     'modes' subdirectory of my Jedit home directory. Why is JEdit not
>     loading the XML edit mode for 'html.xml' from within my home directory (
>     it's there in my 'modes' directory ) rather than from my settings
>     directory 'modes' subdirectory, where it does not exist ? It loads the
>     markdown.xml from the right place but then tries to load the html.xml
>     from the wrong place. What is going on here ?
>
>
>     ------------------------------------------------------------------------------
>     --
>     -----------------------------------------------
>     jEdit Users' List
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/jedit-users
>     <https://lists.sourceforge.net/lists/listinfo/jedit-users>
>
>
>
>
> ------------------------------------------------------------------------------
>
>
>



------------------------------------------------------------------------------
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ jEdit-users ] Loading edit modes problems shown in the Activity Log

Dale Anson-3
Interesting. Another place to check is in your jedit settings/properties file. Search for "mode" or your file name "/opt/WinLinuxShare/.jedit/modes/html.xml". If you find it, delete it and the associated properties, restart jEdit. You might have to use a different editor than JEdit to delete the line as jEdit may write it back into the file when it closes.


On Tue, Aug 16, 2016 at 11:12 AM, Edward Diener <[hidden email]> wrote:
On 8/16/2016 1:02 PM, Dale Anson wrote:
> Do you have a catalog file in your jedit settings/mode directory? If so,
> does it mention the html.xml file? jEdit reads the catalog file in your
> settings/mode directory first, then reads the one in the jEdit
> home/modes directory. If you do have a catalog file in your
> settings/mode directory, and it does have the html.xml listed in it,
> just remove that mode line, then restart jEdit.

The catalog file in my settings/modes directory is:

> <?xml version="1.0"?>
> <!DOCTYPE MODES SYSTEM "catalog.dtd">
>
> <MODES>
>
> <!-- Add lines like the following, one for each edit mode you add: -->
> <!-- <MODE NAME="foo" FILE="foo.xml" FILE_NAME_GLOB="*.foo" /> -->
>
> </MODES>

Not only that, but when I rename the settings/modes directory to
something else, like settings/old_modes, Jedit still acts completely the
same.

Evidently jEdit, when it reads the catalog in my home/modes directory
actually looks for some particluar modes in my setting/modes directory
first and, when it cannot find it, it is an error. Something is wrong
with jEdit 5.3 and 5.3.1.

>
> Dale
>
>
>
> On Tue, Aug 16, 2016 at 8:47 AM, Edward Diener <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I am running the latest daily build of JEdit 5.3.1.
>
>     Looking at the Activity Log I see errors of the type:
>
>     10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
>     C:\Program Files\jEdit 5.3.1\modes\markdown.xml
>     10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
>     /opt/WinLinuxShare/.jedit/modes/html.xml
>     10:32:19 AM [AWT-EventQueue-0] [error] jEdit$5:
>     java.io.FileNotFoundException: \opt\WinLinuxShare\.jedit\modes\html.xml
>     (The system cannot find the path specified)
>
>     followed by a Java trace. I have no edit modes in the 'modes'
>     subdirectory of my settings directory. All the edit modes are in the
>     'modes' subdirectory of my Jedit home directory. Why is JEdit not
>     loading the XML edit mode for 'html.xml' from within my home directory (
>     it's there in my 'modes' directory ) rather than from my settings
>     directory 'modes' subdirectory, where it does not exist ? It loads the
>     markdown.xml from the right place but then tries to load the html.xml
>     from the wrong place. What is going on here ?
>
>
>     ------------------------------------------------------------------------------
>     --
>     -----------------------------------------------
>     jEdit Users' List
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/jedit-users
>     <https://lists.sourceforge.net/lists/listinfo/jedit-users>
>
>
>
>
> ------------------------------------------------------------------------------
>
>
>



------------------------------------------------------------------------------
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users


------------------------------------------------------------------------------

--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ jEdit-users ] Loading edit modes problems shown in the Activity Log

Edward Diener-3
On 8/16/2016 2:32 PM, Dale Anson wrote:
> Interesting. Another place to check is in your jedit settings/properties
> file. Search for "mode" or your file name
> "/opt/WinLinuxShare/.jedit/modes/html.xml". If you find it, delete it
> and the associated properties, restart jEdit. You might have to use a
> different editor than JEdit to delete the line as jEdit may write it
> back into the file when it closes.

There are many "mode"s listed in the "properties" file pointing to the
settings modes directory. Can I just point them back to the home modes
directory ? I am afraid if I delete the information in the "properties"
file I will lose that information for the many modes which exist.

>
>
> On Tue, Aug 16, 2016 at 11:12 AM, Edward Diener <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     On 8/16/2016 1:02 PM, Dale Anson wrote:
>     > Do you have a catalog file in your jedit settings/mode directory? If so,
>     > does it mention the html.xml file? jEdit reads the catalog file in your
>     > settings/mode directory first, then reads the one in the jEdit
>     > home/modes directory. If you do have a catalog file in your
>     > settings/mode directory, and it does have the html.xml listed in it,
>     > just remove that mode line, then restart jEdit.
>
>     The catalog file in my settings/modes directory is:
>
>     > <?xml version="1.0"?>
>     > <!DOCTYPE MODES SYSTEM "catalog.dtd">
>     >
>     > <MODES>
>     >
>     > <!-- Add lines like the following, one for each edit mode you add: -->
>     > <!-- <MODE NAME="foo" FILE="foo.xml" FILE_NAME_GLOB="*.foo" /> -->
>     >
>     > </MODES>
>
>     Not only that, but when I rename the settings/modes directory to
>     something else, like settings/old_modes, Jedit still acts completely the
>     same.
>
>     Evidently jEdit, when it reads the catalog in my home/modes directory
>     actually looks for some particluar modes in my setting/modes directory
>     first and, when it cannot find it, it is an error. Something is wrong
>     with jEdit 5.3 and 5.3.1.
>
>     >
>     > Dale
>     >
>     >
>     >
>     > On Tue, Aug 16, 2016 at 8:47 AM, Edward Diener <[hidden email] <mailto:[hidden email]>
>     > <mailto:[hidden email] <mailto:[hidden email]>>> wrote:
>     >
>     >     I am running the latest daily build of JEdit 5.3.1.
>     >
>     >     Looking at the Activity Log I see errors of the type:
>     >
>     >     10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
>     >     C:\Program Files\jEdit 5.3.1\modes\markdown.xml
>     >     10:32:19 AM [AWT-EventQueue-0] [notice] jEdit$5: Loading edit mode
>     >     /opt/WinLinuxShare/.jedit/modes/html.xml
>     >     10:32:19 AM [AWT-EventQueue-0] [error] jEdit$5:
>     >     java.io.FileNotFoundException: \opt\WinLinuxShare\.jedit\modes\html.xml
>     >     (The system cannot find the path specified)
>     >
>     >     followed by a Java trace. I have no edit modes in the 'modes'
>     >     subdirectory of my settings directory. All the edit modes are in the
>     >     'modes' subdirectory of my Jedit home directory. Why is JEdit not
>     >     loading the XML edit mode for 'html.xml' from within my home directory (
>     >     it's there in my 'modes' directory ) rather than from my settings
>     >     directory 'modes' subdirectory, where it does not exist ? It loads the
>     >     markdown.xml from the right place but then tries to load the html.xml
>     >     from the wrong place. What is going on here ?
>     >
>     >
>     >     ------------------------------------------------------------------------------
>     >     --
>     >     -----------------------------------------------
>     >     jEdit Users' List
>     >     [hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     https://lists.sourceforge.net/lists/listinfo/jedit-users
>     <https://lists.sourceforge.net/lists/listinfo/jedit-users>
>     >     <https://lists.sourceforge.net/lists/listinfo/jedit-users
>     <https://lists.sourceforge.net/lists/listinfo/jedit-users>>
>     >
>     >
>     >
>     >
>     >
>     ------------------------------------------------------------------------------
>     >
>     >
>     >
>
>
>
>     ------------------------------------------------------------------------------
>     --
>     -----------------------------------------------
>     jEdit Users' List
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/jedit-users
>     <https://lists.sourceforge.net/lists/listinfo/jedit-users>
>
>
>
>
> ------------------------------------------------------------------------------
>
>
>



------------------------------------------------------------------------------
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ jEdit-users ] *** SPAM *** Re: Loading edit modes problems shown in the Activity Log

Eric Le Lay
Administrator
Le Tue, 16 Aug 2016 23:56:48 -0400,
Edward Diener <[hidden email]> a écrit :

> On 8/16/2016 2:32 PM, Dale Anson wrote:
> > Interesting. Another place to check is in your jedit
> > settings/properties file. Search for "mode" or your file name
> > "/opt/WinLinuxShare/.jedit/modes/html.xml". If you find it, delete
> > it and the associated properties, restart jEdit. You might have to
> > use a different editor than JEdit to delete the line as jEdit may
> > write it back into the file when it closes.  
>
> There are many "mode"s listed in the "properties" file pointing to
> the settings modes directory. Can I just point them back to the home
> modes directory ? I am afraid if I delete the information in the
> "properties" file I will lose that information for the many modes
> which exist.
>

I guess you have
  mode.html.file=/opt/WinLinuxShare/.jedit/modes/html.xml
in the properties file, for instance.

The mode.xxxx.file properties are poisoning mode loading: you have to
delete them. Any other mode.xxx.yyyy property is fine: you can keep
them.

------------------------------------------------------------------------------
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Loading...