Revision history  [back]

The measure crashes here, as it's trying to access an uninitialized variable. The measure does however log 2 prior messages that are relevant here: one error (in dark red in the screenshot), one warning (pinkish). Both messages are reporting that the measure is unable to locate the meter "Electricity:HVAC". Double-check the OSM?

Should the measure crash this way? IMHO, no: it should have returned false (right after logging the first error message), forcing the measure to safely exit without crashing. I would label this as a minor frontend bug, but it doesn't change the fact that the measure remains unable to locate the requested meter. There are safer ways around this, such as offering users a drop-down list of available meters actually found in the OSM file, but that's another topic.

The measure crashes here, as it's trying to access an uninitialized variable. The measure does however log 2 prior messages that are relevant here: one error (in dark red in the screenshot), one warning (pinkish). Both messages are reporting that the measure is unable to locate the meter "Electricity:HVAC". Double-check the OSM?

Should the measure crash this way? IMHO, no: it should have returned false (right right after logging the first error message), forcing message (which forces the measure to safely exit stop without crashing. crashing). I would label this as a minor frontend bug, but it doesn't change the fact that the measure remains unable to locate the requested meter. There are safer ways around this, such as offering users a drop-down list of available meters actually found in the OSM file, but that's another topic.

The measure crashes here, as it's trying to access an uninitialized variable. The measure does however does log 2 relevant prior messages that are relevant here: messages: one error (in dark red in the screenshot), one warning (pinkish). Both messages are reporting that the measure is unable to locate the meter "Electricity:HVACElectricty:HVAC". Double-check the OSM?

Should the measure crash this way? IMHO, no: it should have returned false right after logging the first error message (which forces the measure to stop without crashing). message. I would label this as a minor bug, but it doesn't change the fact that the measure remains it's unable to locate the requested meter. There are safer ways around this, such as offering users a drop-down list of available meters actually found in the OSM file, but that's another topic.

The measure crashes here, as it's trying to access an uninitialized variable. The measure does log 2 relevant prior messages: one error (in dark red in the screenshot), (dark red), one warning (pinkish). Both messages are reporting that the measure is unable to locate the meter "Electricty:HVAC". Double-check the OSM?

Should the measure crash this way? IMHO, no: it should have returned false right after logging the first error message. I would label this as a minor bug, but it doesn't change the fact that it's unable to locate the requested meter. There are safer ways around this, such as offering users a drop-down list of available meters found in the OSM file, but that's another topic.