¿ªÔÆÌåÓý

Locked "New Loco" dialog - console reports "Did not find a valid variable type [AWT-EventQueue-0]"


 

I'm almost ready to release my MX830 decoder definition file to GITHUB for consideration, but there is one last bug/error that I cant figure out

If I open a New Loco dialog and ask JMRI to read the type from the decoder it DOES suggest my MX820 as a possibility, but in the console log I see "jmrit.symbolicprog.VariableTableModel ERROR - Did not find a valid variable type [AWT-EventQueue-0]"

I have NO idea what error this is telling me about. I ASSUME I've missed or messed up a variable declaration somewhere - but where. Apart from this message, the decoder cvs are correctly mapped by my xml

Decoder definition uploaded to /g/jmriusers/files/Zimo_MX820.xml

I'd REALLY love to know where my error is!!

Thanks

Phil G


 

Phil

I suggest that you open a Pull Request on GitHub if possible. When you do that, we have tests that checks the validity of your decoder definition. If there are any errors, the changes is good that it will be shown there.

Daniel

On 2024-12-01 23:36, Phil G via groups.io wrote:
I'm almost ready to release my MX830 decoder definition file to GITHUB for consideration, but there is one last bug/error that I cant figure out

If I open a New Loco dialog and ask JMRI to read the type from the decoder it DOES suggest my MX820 as a possibility, but in the console log I see "jmrit.symbolicprog.VariableTableModel ERROR - Did not find a valid variable type [AWT-EventQueue-0]"

I have NO idea what error this is telling me about. I ASSUME I've missed or messed up a variable declaration somewhere - but where. Apart from this message, the decoder cvs are correctly mapped by my xml

Decoder definition uploaded to /g/jmriusers/files/Zimo_MX820.xml

I'd REALLY love to know where my error is!!

Thanks

Phil G





 

I do look at GitHub, but I¡¯m not sure I¡¯m a ¡°developer¡±

How do I open a pull request?.

Phil G

On 1 Dec 2024, at 22:54, danielb987 via groups.io <jmri@...> wrote:

?Phil

I suggest that you open a Pull Request on GitHub if possible. When you do that, we have tests that checks the validity of your decoder definition. If there are any errors, the changes is good that it will be shown there.

Daniel

On 2024-12-01 23:36, Phil G via groups.io wrote:
I'm almost ready to release my MX830 decoder definition file to GITHUB for consideration, but there is one last bug/error that I cant figure out

If I open a New Loco dialog and ask JMRI to read the type from the decoder it DOES suggest my MX820 as a possibility, but in the console log I see "jmrit.symbolicprog.VariableTableModel ERROR - Did not find a valid variable type [AWT-EventQueue-0]"

I have NO idea what error this is telling me about. I ASSUME I've missed or messed up a variable declaration somewhere - but where. Apart from this message, the decoder cvs are correctly mapped by my xml

Decoder definition uploaded to /g/jmriusers/files/Zimo_MX820.xml

I'd REALLY love to know where my error is!!

Thanks

Phil G








 

¿ªÔÆÌåÓý

I haven¡¯t been able to recreate this.

I¡¯m submitted a patch that will make the message more useful. ?The problem it¡¯s reporting is that it found a `<variable>` tag and didn¡¯t understand the contents. ?The patch will print those contents as part of the error message, which might give us a hint as to what¡¯s going wrong. ?Should be available in a development release later today, will let you know when I see it.

Bob

On Dec 1, 2024, at 5:36?PM, Phil G via groups.io <phil@...> wrote:

I'm almost ready to release my MX830 decoder definition file to GITHUB for consideration, but there is one last bug/error that I cant figure out

If I open a New Loco dialog and ask JMRI to read the type from the decoder it DOES suggest my MX820 as a possibility, but in the console log I see "jmrit.symbolicprog.VariableTableModel ERROR - Did not find a valid variable type [AWT-EventQueue-0]"

I have NO idea what error this is telling me about. I ASSUME I've missed or messed up a variable declaration somewhere - but where. Apart from this message, the decoder cvs are correctly mapped by my xml

Decoder definition uploaded to /g/jmriusers/files/Zimo_MX820.xml

I'd REALLY love to know where my error is!!

Thanks

Phil G



¡ª
Bob Jacobsen
rgj1927@...





 

¿ªÔÆÌåÓý

Thanks Bob

As soon as the build is ready I¡¯ll check it out

Odd that is seems personal to me though¡­.

Phil G

On 2 Dec 2024, at 12:56, Bob Jacobsen via groups.io <rgj1927@...> wrote:

? I haven¡¯t been able to recreate this.

I¡¯m submitted a patch that will make the message more useful. ?The problem it¡¯s reporting is that it found a `<variable>` tag and didn¡¯t understand the contents. ?The patch will print those contents as part of the error message, which might give us a hint as to what¡¯s going wrong. ?Should be available in a development release later today, will let you know when I see it.

Bob

On Dec 1, 2024, at 5:36?PM, Phil G via groups.io <phil@...> wrote:

I'm almost ready to release my MX830 decoder definition file to GITHUB for consideration, but there is one last bug/error that I cant figure out

If I open a New Loco dialog and ask JMRI to read the type from the decoder it DOES suggest my MX820 as a possibility, but in the console log I see "jmrit.symbolicprog.VariableTableModel ERROR - Did not find a valid variable type [AWT-EventQueue-0]"

I have NO idea what error this is telling me about. I ASSUME I've missed or messed up a variable declaration somewhere - but where. Apart from this message, the decoder cvs are correctly mapped by my xml

Decoder definition uploaded to /g/jmriusers/files/Zimo_MX820.xml

I'd REALLY love to know where my error is!!

Thanks

Phil G



¡ª
Bob Jacobsen
rgj1927@...