开云体育


Re: NCE PowerPro with USB - no AIU getting to JMRI #nce

 

开云体育

The manual says 60 cabs. I don’t recall if the max was 60 or 59. So I tried a test and found that while it accepts other numbers on the cab, 59 is the highest one that seems to respond. That’s with the PH5 system. Setting cab 60 just sticks at the initial view like setting the cab id.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: JMRI menus don't open using Real VNC to RPi #rpi #vnc

 

Well! How embarrassing! I went back to try the window opening and now it works. Possibly because I restarted the RealVNC client.

David T

On 3/3/2025 7:28 PM, David Thompson via groups.io wrote:
Using recently downloaded RPi image from Steve Todd, when I try to open a PanelPro menu item such as LocoNet, I get a flash but the menu never opens... It returns to pre-clicked state.

I am using Real VNC connecting to RPi 3B. Steve's image is slightly modified in that the AP SSID is now RPi-NRMRC2 and the Pi name is also RPi-NRMRC2.? RealVNC connects without error.

Steve's image is dated 20250211. VNC Viewer is 7.13.1 for Windows. Log is below.

David T

13:53:18,275 apps.util.Log4JUtil?????????????????? INFO? - * JMRI log ** [main]
13:53:18,460 apps.util.Log4JUtil?????????????????? INFO? - This log is stored in file: /home/pi/.jmri/log/session.log [main]
13:53:18,462 apps.util.Log4JUtil?????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/messages.log [main]
13:53:18,573 apps.Apps???????????????????????????? INFO? - PanelPro version 5.11.3+Rc13c39a938 starts under Java 17.0.13 on Linux arm v6.6.74+rpt-rpi-v7 at Mon Mar 03 13:53:18 EST 2025 [main]
13:53:19,357 t.permission.DefaultPermissionManager INFO? - Permission file: /home/pi/.jmri/.permissions.xml [main]
13:53:19,404 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]
13:53:19,466 apps.Apps???????????????????????????? INFO? - Starting with profile Digitrax_Simulator.3f66e423 [main]
13:53:19,656 jmri.util.node.NodeIdentity?????????? INFO? - Using c6f3cdb0-4677-11e9-8000-b827eb71f7dc as the JMRI storage identity for profile id 3f66e423 [AWT-EventQueue-0]
13:53:20,937 jmri.jmrix.loconet.LnPacketizer?????? INFO? - lnPacketizer Started [main]
13:53:20,940 i.jmrix.loconet.hexfile.LnHexFilePort INFO? - LocoNet Simulator Started [LocoNet HexFileFrame]
13:53:22,455 ri.swing.JmriJTablePersistenceManager INFO? - Table preferences not found.
This is expected on the first time the "Digitrax Simulator" profile is used on this computer. [main]
13:53:44,795 jmri.util.FileUtilSupport???????????? INFO? - File path program: is /home/pi/JMRI/ [main]
13:53:44,797 jmri.util.FileUtilSupport???????????? INFO? - File path preference: is /home/pi/JMRI_UserFiles/ [main]
13:53:44,799 jmri.util.FileUtilSupport???????????? INFO? - File path profile: is /home/pi/.jmri/Digitrax_Simulator/ [main]
13:53:44,800 jmri.util.FileUtilSupport???????????? INFO? - File path settings: is /home/pi/.jmri/ [main]
13:53:44,802 jmri.util.FileUtilSupport???????????? INFO? - File path home: is /home/pi/ [main]
13:53:44,804 jmri.util.FileUtilSupport???????????? INFO? - File path scripts: is /home/pi/JMRI_UserFiles/jython/ [main]
13:53:45,829 jmri.web.server.WebServer???????????? INFO? - Starting Web Server on port 12080 [WebServer]
13:53:47,434 jmri.web.server.WebServer???????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.4.0} [WebServer]
13:53:48,981 apps.PanelPro.PanelPro??????????????? INFO? - Main initialization done [main]
13:53:52,875 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for 'no layout connection!._withrottle._tcp.local.' on 192.168.6.1:12090 [WiThrottleServer]
13:53:52,878 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for 'no layout connection!._withrottle._tcp.local.' on 192.168.0.100:12090 [WiThrottleServer]
13:53:52,881 jmri.jmrit.withrottle.FacelessServer? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
13:54:04,886 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for 'no layout connection!._withrottle._tcp.local.' on 192.168.0.100:12090 [JmmDNS Listeners pool-8-thread-1]
14:51:16,437 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for 'no layout connection!._withrottle._tcp.local.' on 192.168.0.6:12090 [JmmDNS Listeners pool-8-thread-1]





JMRI menus don't open using Real VNC to RPi #rpi #vnc

 

Using recently downloaded RPi image from Steve Todd, when I try to open a PanelPro menu item such as LocoNet, I get a flash but the menu never opens... It returns to pre-clicked state.

I am using Real VNC connecting to RPi 3B. Steve's image is slightly modified in that the AP SSID is now RPi-NRMRC2 and the Pi name is also RPi-NRMRC2.? RealVNC connects without error.

Steve's image is dated 20250211. VNC Viewer is 7.13.1 for Windows. Log is below.

David T

13:53:18,275 apps.util.Log4JUtil?????????????????? INFO? - * JMRI log ** [main]
13:53:18,460 apps.util.Log4JUtil?????????????????? INFO? - This log is stored in file: /home/pi/.jmri/log/session.log [main]
13:53:18,462 apps.util.Log4JUtil?????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/messages.log [main]
13:53:18,573 apps.Apps???????????????????????????? INFO? - PanelPro version 5.11.3+Rc13c39a938 starts under Java 17.0.13 on Linux arm v6.6.74+rpt-rpi-v7 at Mon Mar 03 13:53:18 EST 2025 [main]
13:53:19,357 t.permission.DefaultPermissionManager INFO? - Permission file: /home/pi/.jmri/.permissions.xml [main]
13:53:19,404 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]
13:53:19,466 apps.Apps???????????????????????????? INFO? - Starting with profile Digitrax_Simulator.3f66e423 [main]
13:53:19,656 jmri.util.node.NodeIdentity?????????? INFO? - Using c6f3cdb0-4677-11e9-8000-b827eb71f7dc as the JMRI storage identity for profile id 3f66e423 [AWT-EventQueue-0]
13:53:20,937 jmri.jmrix.loconet.LnPacketizer?????? INFO? - lnPacketizer Started [main]
13:53:20,940 i.jmrix.loconet.hexfile.LnHexFilePort INFO? - LocoNet Simulator Started [LocoNet HexFileFrame]
13:53:22,455 ri.swing.JmriJTablePersistenceManager INFO? - Table preferences not found.
This is expected on the first time the "Digitrax Simulator" profile is used on this computer. [main]
13:53:44,795 jmri.util.FileUtilSupport???????????? INFO? - File path program: is /home/pi/JMRI/ [main]
13:53:44,797 jmri.util.FileUtilSupport???????????? INFO? - File path preference: is /home/pi/JMRI_UserFiles/ [main]
13:53:44,799 jmri.util.FileUtilSupport???????????? INFO? - File path profile: is /home/pi/.jmri/Digitrax_Simulator/ [main]
13:53:44,800 jmri.util.FileUtilSupport???????????? INFO? - File path settings: is /home/pi/.jmri/ [main]
13:53:44,802 jmri.util.FileUtilSupport???????????? INFO? - File path home: is /home/pi/ [main]
13:53:44,804 jmri.util.FileUtilSupport???????????? INFO? - File path scripts: is /home/pi/JMRI_UserFiles/jython/ [main]
13:53:45,829 jmri.web.server.WebServer???????????? INFO? - Starting Web Server on port 12080 [WebServer]
13:53:47,434 jmri.web.server.WebServer???????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.4.0} [WebServer]
13:53:48,981 apps.PanelPro.PanelPro??????????????? INFO? - Main initialization done [main]
13:53:52,875 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for 'no layout connection!._withrottle._tcp.local.' on 192.168.6.1:12090 [WiThrottleServer]
13:53:52,878 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for 'no layout connection!._withrottle._tcp.local.' on 192.168.0.100:12090 [WiThrottleServer]
13:53:52,881 jmri.jmrit.withrottle.FacelessServer? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
13:54:04,886 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for 'no layout connection!._withrottle._tcp.local.' on 192.168.0.100:12090 [JmmDNS Listeners pool-8-thread-1]
14:51:16,437 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for 'no layout connection!._withrottle._tcp.local.' on 192.168.0.6:12090 [JmmDNS Listeners pool-8-thread-1]


Re: NCE PowerPro with USB - no AIU getting to JMRI #nce

 

开云体育

Com 9???

?

From: [email protected] <[email protected]> on behalf of Georgia Hilton via groups.io <mttfgeo@...>
Date: Monday, March 3, 2025 at 18:36
To: [email protected] <[email protected]>
Subject: Re: [jmriusers] NCE PowerPro with USB - no AIU getting to JMRI #nce

Yes please.????? You can send to? mttfgeo???? @?? gmail.com

Cheers

Geo

?

?

From: [email protected] <[email protected]> on behalf of Ken Cameron via groups.io <kcameron@...>
Date: Sunday, March 2, 2025 at 13:37
To: [email protected] <[email protected]>
Subject: Re: [jmriusers] NCE PowerPro with USB - no AIU getting to JMRI #nce

I can send you the update and a batch file to make it easier. Which COM port is it using in JMRI?

?

There has been an update that corrects a problem with use of the AIU boards by the command station.

?

I’m going to list the method to do the update, you tell me which parts you might question.

?

  1. I send you a file for the update. It is a text formatted file that gets converted by the system for updating the firmware.
  2. You make sure you don’t have JMRI running.
  3. Open a DOS like command windows on the computer. (Hit the start in the corner, then type CMD).
  4. You make sure you put that update file in the same directory as the CMD window.
  5. My .bat file (script) does a MODE command that sets the COM port to particular things like baud rate, bits, etc.
  6. On the command station, via the throttle, you use the PROG/ESC key to get to the SET CMD STATION part, hit ENTER.
  7. Enter 1 to select SYSTEM
  8. Keep hitting ENTER, until you see SOFTWARE UPDATE. Hit 1 to select that.
  9. Hit 3 for the fast rate, which must match the speed in the MODE command on the computer.
  10. Now hit 6 and the PH5 will be ready to listen.
  11. On the computer, now do, but use the real name of the HEX file and the number for your connection instead of the #, don’t forget the : at the end.
    1. COPY filename.HEX COM#:
    2. Hit return on the computer and the update should happen.
  1. When things stop blinking, the throttle should return to normal.
  2. Go into the throttle and confirm the date for the firmware has changed.

?

If you tell me the COM port I can give you one bat file script that includes the right details.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: NCE PowerPro with USB - no AIU getting to JMRI #nce

 

开云体育

Yes please.????? You can send to? mttfgeo???? @?? gmail.com

Cheers

Geo

?

?

From: [email protected] <[email protected]> on behalf of Ken Cameron via groups.io <kcameron@...>
Date: Sunday, March 2, 2025 at 13:37
To: [email protected] <[email protected]>
Subject: Re: [jmriusers] NCE PowerPro with USB - no AIU getting to JMRI #nce

I can send you the update and a batch file to make it easier. Which COM port is it using in JMRI?

?

There has been an update that corrects a problem with use of the AIU boards by the command station.

?

I’m going to list the method to do the update, you tell me which parts you might question.

?

  1. I send you a file for the update. It is a text formatted file that gets converted by the system for updating the firmware.
  2. You make sure you don’t have JMRI running.
  3. Open a DOS like command windows on the computer. (Hit the start in the corner, then type CMD).
  4. You make sure you put that update file in the same directory as the CMD window.
  5. My .bat file (script) does a MODE command that sets the COM port to particular things like baud rate, bits, etc.
  6. On the command station, via the throttle, you use the PROG/ESC key to get to the SET CMD STATION part, hit ENTER.
  7. Enter 1 to select SYSTEM
  8. Keep hitting ENTER, until you see SOFTWARE UPDATE. Hit 1 to select that.
  9. Hit 3 for the fast rate, which must match the speed in the MODE command on the computer.
  10. Now hit 6 and the PH5 will be ready to listen.
  11. On the computer, now do, but use the real name of the HEX file and the number for your connection instead of the #, don’t forget the : at the end.
    1. COPY filename.HEX COM#:
    2. Hit return on the computer and the update should happen.
  1. When things stop blinking, the throttle should return to normal.
  2. Go into the throttle and confirm the date for the firmware has changed.

?

If you tell me the COM port I can give you one bat file script that includes the right details.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Unable to connect to CANUSB

 

Further to previous, this is the terminal output during startup.
image.png






On Mon, 3 Mar 2025 at 15:20, Neil Watson via <neil.watson97=[email protected]> wrote:
I have a Raspberry Pi 4, which I would like to run my layout from. I have Ubuntu 22.04.5 LTS installed. I have JMRI 5.11.3 installed. I will be running on MERG CANBUS.

I've been creating my layout in simulated mode and decided to connect up to the hardware. I changed the properties to use CAN and saved, I get this error message.
image.png
After a bit of rooting around on the NET I found a command that produces the following
image.png
So it appears the ttyACM0 is being recognised.

Any suggestions?
?Neil W




Re: Track line not present when panel is loaded #layouteditor

 

Pete,

This is a Layout Editor panel. ?There are no icons for track components. ?They are drawn using Java graphic tools. ?

Dennis,

Instead of switching to edit mode, try changing the window size by dragging an edge or corner. ?A very small change should redraw the panel. ?See if that makes a difference.

What Look and Feel do you have set in "Preferences -> Display"?

Based on the images, you appear to be having an issue with the "clipping" area. ?The right side and lower half of the track plan is outside of the "clip rectangle".

If you upload the layout xml data file to the group's ProblemsBeingWorkedOn file folder, I can see if there is a Layout Editor issue.

Dave Sand




----- Original message -----
From: "Pete Johnson via groups.io" <amtrakpetey=[email protected]>
Subject: Re: [jmriusers] Track line not present when panel is loaded
Date: Monday, March 03, 2025 12:15 PM

Dennis,
When the initialization has finished and if the image shows no track segment, go to Tables and look at the sensor for block 103 and see what its status is. I still wonder if the actual icon for the “unknown” state is either not defined or matches the background color…?
?
Happy to help, hope it helps,
<Pete Johnson>


Re: Track line not present when panel is loaded #layouteditor

 

Dennis,
When the initialization has finished and if the image shows no track segment, go to Tables and look at the sensor for block 103 and see what its status is. I still wonder if the actual icon for the “unknown” state is either not defined or matches the background color…?
?
Happy to help, hope it helps,
<Pete Johnson>


Re: Updating ESU LokPilot Decoder for Alternating Ditch Light CV's using DecoderPro #esu

 

Kevin,
Read this and see if it helps:




On Sun, Mar 2, 2025 at 4:02?PM kevin.gelabert via <kevin.gelabert=[email protected]> wrote:
I have a ESU LokPilot micro DCC direct decoder.? I discovered that when I attempted to update CV 16.0.314 (phase shift for Aux 6) and CV 16.0.330 (phase shift for Aux 8) both with a value of 32, that these CV's were not listed on the CV list.? Upon an inquiry at ESU, the advice was to build a project using lok programmer, export a full cv list and then import this cv list into the roster entry in decoderpro and it would update the decoderpro cv list and apply the value.? Somewhat surprisingly, I attempted this and it was successful.?
?
First, is there another way to adjust "phase shift" within DecoderPro to achieve alternating ditch lights?? Clicking on Phase Reverse in the Function Output tab doesn't seem to help alternate the ditch light flashing.??
?
Second,?Is there a reference for other CV's that may be missing from the decoderpro library for ESU loksound and lokpilot 5 decoders?
?
I am using DecoderPro 5.10 & Java 17.0.11 so I think I have the most updated releases.
?
Thank you, Kevin?



--
John Griffin

Model Railroading Topics


Re: Track line not present when panel is loaded #layouteditor

 

Oops, forgot the image.

Cheers, Dennis Drury
Dayton, NV

The miracle is this: the more we share the more we have.
Leonard Nimoy



On Mon, Mar 3, 2025 at 9:42?AM Dennis Drury via <cowrr1984=[email protected]> wrote:
Thanks Dave and Pete.? Good ideas on the initialization but the attached image shows the panel after the init script has been run.? It's easy enough to enter and exit edit mode to correct the?issue but it's just weird.? I'll keep playing with it and let you know how it goes.? Take care.

Cheers, Dennis Drury
Dayton, NV

The miracle is this: the more we share the more we have.
Leonard Nimoy



On Sun, Mar 2, 2025 at 4:58?PM Pete Johnson via <amtrakpetey=[email protected]> wrote:
Dennis,
?
I flipped between the images you uploaded (i.e. between "Panel Load" and "Panel After Edit") and it looks like the track segments that are not showing up, are the ones on which you have track occupancy lamp icons.? Since the Panel Load image has the "unknown" state for your sensor icons, I am wondering if you are using icons for the track lines, and whether they somehow got associated to a sensor(s) that is yet to be initialized (as Dave noted) and thus, is not showing while it is in an "unknown" state.? It has been sometime since I dabbled with panels but I seem to recall you can change an icon's graphic to reflect its sensor state.? Maybe you just did not assign a graphic to the "unknown" state...?
?
Happy to help, hope it helps,
<Pete Johnson>


Re: Track line not present when panel is loaded #layouteditor

 

One other thought.? The block occupancy is shown by the track segment turning red.? The black lamps are part of the NX system.? They show when a route has been entered then go out when the movement is completed.? Hope this helps.? Thanks and take care.

Cheers, Dennis Drury
Dayton, NV

The miracle is this: the more we share the more we have.
Leonard Nimoy



On Sun, Mar 2, 2025 at 4:58?PM Pete Johnson via <amtrakpetey=[email protected]> wrote:
Dennis,
?
I flipped between the images you uploaded (i.e. between "Panel Load" and "Panel After Edit") and it looks like the track segments that are not showing up, are the ones on which you have track occupancy lamp icons.? Since the Panel Load image has the "unknown" state for your sensor icons, I am wondering if you are using icons for the track lines, and whether they somehow got associated to a sensor(s) that is yet to be initialized (as Dave noted) and thus, is not showing while it is in an "unknown" state.? It has been sometime since I dabbled with panels but I seem to recall you can change an icon's graphic to reflect its sensor state.? Maybe you just did not assign a graphic to the "unknown" state...?
?
Happy to help, hope it helps,
<Pete Johnson>


Re: Track line not present when panel is loaded #layouteditor

 

Thanks Dave and Pete.? Good ideas on the initialization but the attached image shows the panel after the init script has been run.? It's easy enough to enter and exit edit mode to correct the?issue but it's just weird.? I'll keep playing with it and let you know how it goes.? Take care.

Cheers, Dennis Drury
Dayton, NV

The miracle is this: the more we share the more we have.
Leonard Nimoy



On Sun, Mar 2, 2025 at 4:58?PM Pete Johnson via <amtrakpetey=[email protected]> wrote:
Dennis,
?
I flipped between the images you uploaded (i.e. between "Panel Load" and "Panel After Edit") and it looks like the track segments that are not showing up, are the ones on which you have track occupancy lamp icons.? Since the Panel Load image has the "unknown" state for your sensor icons, I am wondering if you are using icons for the track lines, and whether they somehow got associated to a sensor(s) that is yet to be initialized (as Dave noted) and thus, is not showing while it is in an "unknown" state.? It has been sometime since I dabbled with panels but I seem to recall you can change an icon's graphic to reflect its sensor state.? Maybe you just did not assign a graphic to the "unknown" state...?
?
Happy to help, hope it helps,
<Pete Johnson>


Re: NCE PowerPro with USB - no AIU getting to JMRI #nce

 

On the new command station. ?AIU addresses must be 60 or less. ?(or was it 59)
?


Unable to connect to CANUSB

 

I have a Raspberry Pi 4, which I would like to run my layout from. I have Ubuntu 22.04.5 LTS installed. I have JMRI 5.11.3 installed. I will be running on MERG CANBUS.

I've been creating my layout in simulated mode and decided to connect up to the hardware. I changed the properties to use CAN and saved, I get this error message.
image.png
After a bit of rooting around on the NET I found a command that produces the following
image.png
So it appears the ttyACM0 is being recognised.

Any suggestions?
?Neil W




Locked Re: Parse error on permissive SML #logixng #sml

 

颁é蝉补谤,

Try doing a clean JMRI install.
  1. Use the Windows control panel to remove JMRI.
  2. Manually delete the residual JMRI directory and its contents at C:\Program Files (x86).
  3. Reboot.
  4. Download and install JMRI 5.10.
The Windows installer does not always update the XML schema files.

Dave Sand



----- Original message -----
From: "Cesar Alcala via groups.io" <shegar81=[email protected]>
Subject: Re: [jmriusers] Parse error on permissive SML #logixng #signalmasts
Date: Monday, March 03, 2025 2:25 AM


Hi,

This is on the JMRI 5.10 on a Windows 10 Desktop computer. Java is on version 11.0.16.1.

I copy the information that the console shows at the beginning and with the error.

09:21:12,678 apps.util.Log4JUtil?????????????????? INFO? - * JMRI log ** [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is stored in file: C:\Users\Cesar\JMRI\log\session.log [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is appended to file: C:\Users\Cesar\JMRI\log\messages.log [main]
09:21:12,716 apps.Apps???????????????????????????? INFO? - PanelPro version 5.10+Rca461bd266 starts under Java 11.0.16.1 on Windows 10 amd64 v10.0 at Mon Mar 03 09:21:12 CET 2025 [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission file: C:\Users\Cesar\JMRI\.permissions.xml [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]
09:21:14,552 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3e9c1ac6 [main]
09:21:14,668 jmri.util.node.NodeIdentity?????????? INFO? - Using 0326d4c6-d5d5-4e07-828c-41635f9af07c as the JMRI storage identity for profile id 3e9c1ac6 [AWT-EventQueue-0]
09:21:14,868 back.configurexml.ConnectionConfigXml INFO? - CAN Simulator Started [main]
09:21:14,922 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers start as: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers now: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - ProgModeSwitch is NONE [main]
09:21:14,953 mrix.can.cbus.simulator.CbusSimulator INFO? - Starting CBUS Network Simulation Tools [main]
09:21:14,968 .jmrix.can.cbus.simulator.CbusDummyCS INFO? - Simulated Command Station: Standard Command Station [main]
09:21:14,968 can.cbus.simulator.CbusEventResponder INFO? - Simulated Event Responses: Random On / Off [main]
09:21:15,253 jmri.jmrit.roster.Roster????????????? INFO? - Reading roster file with rootFromName(C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\roster.xml) [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path preference: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path profile: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path settings: is C:\Users\Cesar\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path home: is C:\Users\Cesar\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
09:21:15,908 apps.PanelPro.PanelPro??????????????? INFO? - Main initialization done [main]
09:21:26,368 jmri.configurexml.LoadXmlConfigAction INFO? - Loading selected file: C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\Amitlla6.xml [AWT-EventQueue-0]
09:21:26,854 jmri.configurexml.ErrorHandler??????? ERROR - Load Error: Parse error while parsing file /C:/Users/Cesar/JMRI/My_JMRI_Railroad.jmri/Amitlla6.xml Exception: org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:232) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:253) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1091) ~[jdom2-2.0.6.jar:2.0.6]
??? at jmri.jmrit.XmlFile.getRoot(XmlFile.java:218) ~[jmri.jar:?]
??? at jmri.jmrit.XmlFile.rootFromURL(XmlFile.java:200) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:592) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.lambda$load$1(ConfigXmlManager.java:554) ~[jmri.jar:?]
??? at jmri.util.ThreadingUtil.runOnGUIwithReturn(ThreadingUtil.java:227) [jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:552) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:235) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:178) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlConfigAction.loadFile(LoadXmlConfigAction.java:76) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlUserAction.actionPerformed(LoadXmlUserAction.java:49) [jmri.jar:?]
??? at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) [?:?]
??? at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) [?:?]
??? at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) [?:?]
??? at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) [?:?]
??? at javax.swing.AbstractButton.doClick(AbstractButton.java:369) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064) [?:?]
??? at java.awt.Component.processMouseEvent(Component.java:6635) [?:?]
??? at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) [?:?]
??? at java.awt.Component.processEvent(Component.java:6400) [?:?]
??? at java.awt.Container.processEvent(Container.java:2263) [?:?]
??? at java.awt.Component.dispatchEventImpl(Component.java:5011) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2321) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) [?:?]
??? at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) [?:?]
??? at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2307) [?:?]
??? at java.awt.Window.dispatchEventImpl(Window.java:2772) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:721) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:715) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:745) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:743) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) [?:?]
??? at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
??? at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:217) ~[jdom2-2.0.6.jar:?]
??? ... 50 more

If you need more information or the console on the version 5.9.7 I can send also.

Best Regards

颁é蝉补谤

En viernes, 28 de febrero de 2025, 22:19:28 CET, danielb987 <jmri@...> 别蝉肠谤颈产颈ó:


颁é蝉补谤

The bug fix is included in version 5.9.7 and version 5.10.

If it doesn't work for you, please copy the entire system console and paste it in a reply.

Daniel


On 2025-02-27 19:01, Cesar Alcala via groups.io wrote:

Hi,

In the past I remember to test it on test version 5.9.7 and to work correctly but today it doesn't work anymore. I tested on my 5.10 and on the 5.9.7 versions that I have installed. Is it merged and solved the issue?

Best Regards

颁é蝉补谤 Alcalá

En domingo, 1 de diciembre de 2024, 14:26:11 CET, Bob Jacobsen via groups.io <rgj1927@...> 别蝉肠谤颈产颈ó:


Another temporary work-around is to run the

??? jython/TurnOffXmlValidation.py

script at startup, before you load any other files.

Bob

> On Nov 30, 2024, at 7:43?PM, Dave Sand via groups.io <ds@...> wrote:
>
> 颁é蝉补谤,
>
> This is a bug that has been around for years but you are the first person to report it.
>
> A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location.? See "Help -> FileLocations" for the actual path.
>
> Remove the "Is" from two lines.
>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlDisabled"/>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlNotDisabled"/>
>
> Dave Sand
>
>
>
>
> ----- Original message -----
> From: "Cesar Alcala via groups.io" <shegar81@...>
> Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
> Date: Saturday, November 30, 2024 4:32 PM
>
> Hi,
>?
> I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
>?
> Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
>?
> I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.
>?
> Can someone help me?
>?
> Best Regards
>



Bob Jacobsen










Locked Re: Parse error on permissive SML #logixng #sml

 

Hi,

This is on the JMRI 5.10 on a Windows 10 Desktop computer. Java is on version 11.0.16.1.

I copy the information that the console shows at the beginning and with the error.

09:21:12,678 apps.util.Log4JUtil?????????????????? INFO? - * JMRI log ** [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is stored in file: C:\Users\Cesar\JMRI\log\session.log [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is appended to file: C:\Users\Cesar\JMRI\log\messages.log [main]
09:21:12,716 apps.Apps???????????????????????????? INFO? - PanelPro version 5.10+Rca461bd266 starts under Java 11.0.16.1 on Windows 10 amd64 v10.0 at Mon Mar 03 09:21:12 CET 2025 [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission file: C:\Users\Cesar\JMRI\.permissions.xml [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]
09:21:14,552 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3e9c1ac6 [main]
09:21:14,668 jmri.util.node.NodeIdentity?????????? INFO? - Using 0326d4c6-d5d5-4e07-828c-41635f9af07c as the JMRI storage identity for profile id 3e9c1ac6 [AWT-EventQueue-0]
09:21:14,868 back.configurexml.ConnectionConfigXml INFO? - CAN Simulator Started [main]
09:21:14,922 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers start as: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers now: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - ProgModeSwitch is NONE [main]
09:21:14,953 mrix.can.cbus.simulator.CbusSimulator INFO? - Starting CBUS Network Simulation Tools [main]
09:21:14,968 .jmrix.can.cbus.simulator.CbusDummyCS INFO? - Simulated Command Station: Standard Command Station [main]
09:21:14,968 can.cbus.simulator.CbusEventResponder INFO? - Simulated Event Responses: Random On / Off [main]
09:21:15,253 jmri.jmrit.roster.Roster????????????? INFO? - Reading roster file with rootFromName(C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\roster.xml) [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path preference: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path profile: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path settings: is C:\Users\Cesar\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path home: is C:\Users\Cesar\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
09:21:15,908 apps.PanelPro.PanelPro??????????????? INFO? - Main initialization done [main]
09:21:26,368 jmri.configurexml.LoadXmlConfigAction INFO? - Loading selected file: C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\Amitlla6.xml [AWT-EventQueue-0]
09:21:26,854 jmri.configurexml.ErrorHandler??????? ERROR - Load Error: Parse error while parsing file /C:/Users/Cesar/JMRI/My_JMRI_Railroad.jmri/Amitlla6.xml Exception: org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:232) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:253) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1091) ~[jdom2-2.0.6.jar:2.0.6]
??? at jmri.jmrit.XmlFile.getRoot(XmlFile.java:218) ~[jmri.jar:?]
??? at jmri.jmrit.XmlFile.rootFromURL(XmlFile.java:200) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:592) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.lambda$load$1(ConfigXmlManager.java:554) ~[jmri.jar:?]
??? at jmri.util.ThreadingUtil.runOnGUIwithReturn(ThreadingUtil.java:227) [jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:552) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:235) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:178) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlConfigAction.loadFile(LoadXmlConfigAction.java:76) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlUserAction.actionPerformed(LoadXmlUserAction.java:49) [jmri.jar:?]
??? at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) [?:?]
??? at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) [?:?]
??? at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) [?:?]
??? at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) [?:?]
??? at javax.swing.AbstractButton.doClick(AbstractButton.java:369) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064) [?:?]
??? at java.awt.Component.processMouseEvent(Component.java:6635) [?:?]
??? at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) [?:?]
??? at java.awt.Component.processEvent(Component.java:6400) [?:?]
??? at java.awt.Container.processEvent(Container.java:2263) [?:?]
??? at java.awt.Component.dispatchEventImpl(Component.java:5011) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2321) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) [?:?]
??? at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) [?:?]
??? at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2307) [?:?]
??? at java.awt.Window.dispatchEventImpl(Window.java:2772) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:721) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:715) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:745) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:743) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) [?:?]
??? at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
??? at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:217) ~[jdom2-2.0.6.jar:?]
??? ... 50 more

If you need more information or the console on the version 5.9.7 I can send also.

Best Regards

颁é蝉补谤


En viernes, 28 de febrero de 2025, 22:19:28 CET, danielb987 <jmri@...> 别蝉肠谤颈产颈ó:


颁é蝉补谤

The bug fix is included in version 5.9.7 and version 5.10.

If it doesn't work for you, please copy the entire system console and paste it in a reply.

Daniel


On 2025-02-27 19:01, Cesar Alcala via groups.io wrote:
Hi,

In the past I remember to test it on test version 5.9.7 and to work correctly but today it doesn't work anymore. I tested on my 5.10 and on the 5.9.7 versions that I have installed. Is it merged and solved the issue?

Best Regards

颁é蝉补谤 Alcalá

En domingo, 1 de diciembre de 2024, 14:26:11 CET, Bob Jacobsen via groups.io <rgj1927@...> 别蝉肠谤颈产颈ó:


Another temporary work-around is to run the

??? jython/TurnOffXmlValidation.py

script at startup, before you load any other files.

Bob

> On Nov 30, 2024, at 7:43?PM, Dave Sand via groups.io <ds@...> wrote:
>
> 颁é蝉补谤,
>
> This is a bug that has been around for years but you are the first person to report it.
>
> A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location.? See "Help -> FileLocations" for the actual path.
>
> Remove the "Is" from two lines.
>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlDisabled"/>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlNotDisabled"/>
>
> Dave Sand
>
>
>
>

> ----- Original message -----
> From: "Cesar Alcala via groups.io" <shegar81@...>
> To: [email protected]
> Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
> Date: Saturday, November 30, 2024 4:32 PM
>
> Hi,
>?
> I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
>?
> Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
>?
> I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.
>?
> Can someone help me?
>?
> Best Regards
>



Bob Jacobsen
rgj1927@...










Re: Resurrection of a layout

 

Ken,?
? LCC. really does interest me a lot. I’ve talked at length with Dick and as well Detlef on multiple setups I had proposed and got working and have actually spent a substantial amount of money purchasing components from Dick and Karen to mock up multiple scenarios and get my hands and head wrapped around the system. I like the idea of the canbus network and the speed and reliability of LCC as well as cutting the extra traffic off of the LocoNet.. Thanks again Ken I’m sure we will talk again soon
Chris


Re: Resurrection of a layout

 

开云体育

Chris,

?

The DCS200 is fine, lots are still in use. Just change the battery backup every year or three. As to what to keep or dump, make an inventory of everything, that will help. Depending on how much of what, the direction to go may change.

?

I designed a JMRI system for a user with a bunch of Team Digital boards. They work ok for their time. But if thinking of replacing, LCC has some interesting options.

?

What you need off that old computer is really one directory if everything was done normal back then. That’s the JMRI directory under the username home directory. I think XP used C:\Documens and Settings\loginid, so JMRI directory under that would be something you really want a copy of.

?

But if somethings were done a little differently, you would want the whole JMRI directory from the C:\Program Files\JMRI, that’s the whole install of the program. If they customized some icons etc.. they might be in that directory tree instead of the one in the home directory space.

?

With either of those directories, capturing the ‘session.log’ file from the last run will show all the paths used for different things.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Resurrection of a layout

 

The Command station in play is a digitrax dcs 200 so it’s not ancient but is retired and no longer supported by digitrax. I am just really starting to get into this layout and really don’t know all the components in play yet and as far as the signals go they are 90% just three aspect signals not sure of brand but I would hazard to say “we honest” signals from eBay. They power up but at the moment the logic isn’t working. I don’t really want to spend a lot of time combing through this old computer and I believe it’s gonna fail any moment then it’s all for not. A lot of the hardware used is team digital which as well out of business and no longer supported. I did find documentation still for unit used. I really do appreciate the support and replies already. I honestly think this one is gonna be a long endeavor to get it back to what it was.


Re: Resurrection of a layout

 

Ken,

My experience is that PanelPro generally has few issues opening old xml files. ?As a test, I just did this on the 3.8 file. ?It opened with no errors or warnings. ?

The main issues relate to the evolution of settings and profiles over time. ?There tends to be a lot of junk left behind. ?The "big bang" approach eliminates these issues.

Dave Sand


----- Original message -----
From: Ken Cameron <kcameron@...>
Subject: Re: [jmriusers] Resurrection of a layout
Date: Sunday, March 02, 2025 5:58 PM

Chris,

?

With the idea of a big jump between versions, the main caveat is that you have to deal with any interesting errors that come up. They likely will be simple but solving some might take a fair amount of work. Watching the system console is critical to this to know what’s happening. Also the ability to manually edit the panel xml file to make some of the corrections might be needed. Or use it as a base and rebuild.

?

How easy will depend on lots of things. Which command station? Which types of signals? Did it use how many of the different things? Are there things you would like to add?

?

-Ken Cameron, Member JMRI Dev Team




?

?