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

[BUG] Fix exception pickling (cause of TypeError => BrokenProcessPool). #2405

Open
sam-fakhreddine opened this issue Jun 28, 2024 · 2 comments · May be fixed by #2669
Open

[BUG] Fix exception pickling (cause of TypeError => BrokenProcessPool). #2405

sam-fakhreddine opened this issue Jun 28, 2024 · 2 comments · May be fixed by #2669
Assignees
Labels
bug Something isn't working priority:low Low priority issue or pull request status:accepted Issue or pull request accepted by maintainer

Comments

@sam-fakhreddine
Copy link
Contributor

Description: [BUG] Fix exception pickling (cause of TypeError => BrokenProcessPool).

@sam-fakhreddine sam-fakhreddine added the bug Something isn't working label Jun 28, 2024
@ITProKyle ITProKyle added status:accepted Issue or pull request accepted by maintainer priority:low Low priority issue or pull request labels Jul 18, 2024
@mbordash2
Copy link
Contributor

@ITProKyle to fix one as an example.

@ITProKyle
Copy link
Collaborator

Heres an example of what needs to be done for all custom exceptions in the runway codebase:

  1. All arguments must be positional.
  2. If more than one argument is accepted, a __reduce__ method must be added (example __reduce__ method plus a unit test for the exception).

The base classes RunwayError and CfnginError are fine as written.

@mbordash2 mbordash2 self-assigned this Nov 20, 2024
@mbordash2 mbordash2 linked a pull request Nov 20, 2024 that will close this issue
7 tasks
@mbordash2 mbordash2 linked a pull request Nov 20, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:low Low priority issue or pull request status:accepted Issue or pull request accepted by maintainer
Projects
Status: To do
Development

Successfully merging a pull request may close this issue.

3 participants