Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: Improve exception exceptions for model loading/saving #165

Open
s0nicboOm opened this issue Jul 31, 2023 · 0 comments
Open

TODO: Improve exception exceptions for model loading/saving #165

s0nicboOm opened this issue Jul 31, 2023 · 0 comments
Assignees
Labels
chore enhancement New feature or request

Comments

@s0nicboOm
Copy link
Contributor

s0nicboOm commented Jul 31, 2023

This is the doc which captures different types of exceptions seen and to be handled in a better way in the upcoming releases:

  1. cannot unpack non-iterable int object
Traceback (most recent call last):

  File "/usr/local/lib/python3.10/threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 83, in _worker
    work_item.run()
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/pysetup/.venv/lib/python3.10/site-packages/grpc/_server.py", line 625, in _unary_response_in_pool
    response, proceed = _call_behavior(rpc_event, state, behavior,
  File "/opt/pysetup/.venv/lib/python3.10/site-packages/grpc/_server.py", line 494, in _call_behavior
    response_or_iterator = behavior(argument, context)
> File "/opt/pysetup/.venv/lib/python3.10/site-packages/pynumaflow/function/server.py", line 127, in MapFn
    msgs = self.__map_handler(
  File "/app/numaprom/tools.py", line 67, in inner_function
    for vertex, json_data in data:
TypeError: cannot unpack non-iterable int object
@s0nicboOm s0nicboOm added the enhancement New feature or request label Jul 31, 2023
@s0nicboOm s0nicboOm self-assigned this Jul 31, 2023
@s0nicboOm s0nicboOm changed the title TODO: Catch exceptions for model loading failing. TODO: Improve exception exceptions for model loading/saving Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant