miaowware / qrm2

A discord bot with ham radio functions
Other
19 stars 13 forks source link

QRMBot Crashing on Random Call queries "validation errors for QrzDataModel" #466

Closed m0ze1r closed 1 year ago

m0ze1r commented 1 year ago

Bug description

There was a crash when

  1. Callsign was queried

image

image

image

Steps to reproduce

  1. Query "VP5WS" "TA8BB" "VK9DX"
  2. Crash
  3. Query W1AW
  4. Works fine?

Expected behaviour

image

I'd imagine there are a bunch more other calls that this happens with and it may be an issue on QRZ side but I'm lodging this in-case its something that's on QRM side also

How did you download qrm?

I do not know (user of official instance)

How are you running qrm?

I do not know (user of official instance)

What qrm version are you running?

2.9.0 (6b0cdb6)

Environment

No response

Logs

pydantic.error_wrappers.ValidationError: 2 validation errors for QrzDataModel
efdate
  time data '0000-00-00' does not match format '%Y-%m-%d' (type=value_error)
expdate
  time data '0000-00-00' does not match format '%Y-%m-%d' (type=value_error)

CommandInvokeError

Additional context, screenshots, etc

No response

classabbyamp commented 1 year ago

known issue with a probable known cause, will just need time to fix it sometime soon https://github.com/miaowware/callsignlookuptools/issues/24