Can someone please help decipher these errors :pra...
# ask-community
a
Can someone please help decipher these errors 🙏🏽 Sensors in our
prod
deployment started failing all of a sudden. If I deploy the same thing in a branch it works. I dont even know how to begin debugging it since I am testing teh sensors from the dagster.cloud ui
Copy code
`Copy
dagster._core.errors.SensorExecutionError: Error occurred during the execution of evaluation_fn for sensor udp2_sensor_prd_daily_productviews_job

  File "/usr/local/lib/python3.10/site-packages/dagster/_grpc/impl.py", line 369, in get_external_sensor_execution
    with user_code_error_boundary(
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/errors.py", line 279, in user_code_error_boundary
    raise error_cls(

The above exception was caused by the following exception:
ValueError: too many values to unpack (expected 2)

  File "/usr/local/lib/python3.10/site-packages/dagster/_core/errors.py", line 272, in user_code_error_boundary
    yield
  File "/usr/local/lib/python3.10/site-packages/dagster/_grpc/impl.py", line 375, in get_external_sensor_execution
    return sensor_def.evaluate_tick(sensor_context)
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/definitions/sensor_definition.py", line 659, in evaluate_tick
    result = list(self._evaluation_fn(context))
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/definitions/sensor_definition.py", line 938, in _wrapped_fn
    for item in result:
  File "/opt/dagster/app/revealwise/sensors/udp_partition_ready_sensor.py", line 23, in is_current_partition_ready
    curr_partition = udp_job.partitions_def.get_partition_keys()[-1]
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/definitions/partition.py", line 240, in get_partition_keys
    for partition in self.get_partitions(current_time, dynamic_partitions_store)
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/definitions/time_window_partitions.py", line 232, in get_partitions
    for time_window in self._iterate_time_windows(self.start):
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/definitions/time_window_partitions.py", line 682, in _iterate_time_windows
    prev_time = next(iterator)
  File "/usr/local/lib/python3.10/site-packages/dagster/_utils/schedules.py", line 58, in cron_string_iterator
    cron_parts, nth_weekday_of_month = croniter.expand(cron_string)
I verified the important packages (boto3, dagster-*) are all the same
d
a
ohhhh. Thank you!!! I thought i was going crazy 😅