iris-edu / yasmine-stationxml-editor

GNU General Public License v3.0
11 stars 3 forks source link

response plot failure, unsupported operand type(s) for /:'float' and 'NoneType' #10

Open gillian-earthscope opened 2 years ago

gillian-earthscope commented 2 years ago

When the tool tries to plot a response, I get an error saying "Cannot generate plot. unsupported operand type(s) for /:'float' and 'NoneType'. I'm running this as a Docker container.

Screen Shot 2022-05-05 at 8 16 44 PM
rcasey-earthscope commented 2 years ago

Will need to perform forensics to find the cause of this error use case when selecting the following Sensor from the NRL selection tool.

Selecting response for Guralp CMG-3T, 360s 2000 V/m/s: "Cannot generate plot. unsupported operand types for /: ‘float’ and ‘NoneType’"

gillian-earthscope commented 2 years ago

I can't reproduce this error when I start Yasmine using 'docker-compose up' instead of 'docker compose up'. However, I run into Issue #14 instead.

autumnjohnson commented 2 years ago

Hi @gillian-iris

If this is the case, I think we should close this issue. docker compose up will naturally have undefined behavior since this is not a supported way to instantiate the service.

autumnjohnson commented 2 years ago

We have confirmed the proper behavior with docker-compose up

gillian-earthscope commented 2 years ago

Re-opening this issue. I'm now seeing this error again when using docker-compose up.

gillian-earthscope commented 2 years ago

So far, it only occurs when I am adding a new channel and not when I'm choosing a new response for an existing channel. I'm using the Wizard with the NRL.

sidisti commented 2 years ago

ISTI is discussing this, we'll get back to you.

rcasey-earthscope commented 2 years ago

Please confirm that this issue is resolved with Xander's fix.

gillian-earthscope commented 2 years ago

I'll confirm that the issue appears to be resolved.