¿ªÔÆÌåÓý

Locked Re: JMRI Locking up


 

Cliff,

The missing layout block is a known issue. I know ¡°what¡± is happening but I have not been able to re-create the problem to find the ¡°why¡±.

A "layout block" is a special structure that connects a layout editor track component (turnout, segment, etc.) to a block. It provides the 3 colors for unoccupied, occupied and alternate.

When the ¡°use count¡± is zero, a layout block is not saved in the panel xml file. If a layout editor track component still refers to it, an error occurs during loading.


Dave Sand

On Dec 12, 2018, at 2:23 AM, Cliff Anderson <cliffaa@...> wrote:

The original panel just uses up a non-ending amount of CPU, so the initial impression was that the logix were locked up in an infinite loop. But that was not the case for this panel.

The uploaded file named "Bondale 4 Modified B.xml" has numerous layoutblocks Commented Out and will now load. Not all of the Commented Out items are wrong, but there were no reasons for me to keep trying to figure out what each of them are.

There are many many other things that I do not understand, but somehow many invalid layoutblocks got past some kind of menu or dialog filter.

There are still a bunch of other problems to fix, but at least this will give you some useful error messages.

Is this a bug?

Or is it just perhaps some of these offenders were entered with a text editor???

Since layoutblocks are not part of my vocabulary, it is also not my option to offer suggestions as how to fix this.

Cliff in Baja SoCal

Join [email protected] to automatically receive all group messages.