APSIMInitiative / ApsimX

ApsimX is the next generation of APSIM
http://www.apsim.info
Other
132 stars 161 forks source link

Error thrown when Report is selected #9209

Closed BrianCollinss closed 1 month ago

BrianCollinss commented 1 month ago

What happened?

I get this error when I click on reports, while DataStore works fine. Example APSIM file can be found here: https://github.com/APSIMInitiative/ApsimX/issues/9203

image image image

What Operating System are you on?

Windows

zur003 commented 1 month ago

@BrianCollinss - I have not been able to replicate this error.

BrianCollinss commented 1 month ago

Hmmm... And I wonder why it only occurs in this file. I haven't had similar issue with other files.

par456 commented 1 month ago

I'm seeing it now too in my file, it's got something to do with ListView in report, so tagging @ric394 to have a look at.

zur003 commented 1 month ago

I'm seeing it as well after re-opening the file. Very odd.

zur003 commented 1 month ago

I think it is now failing for me because I did a recent pull. I think PR #9204 may have created the problem. It seems to be assuming a filter will be filtering by SimulationName, but in this context the filter is by Zone. Maybe @hol353 should also have a look.