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

FileNotFoundError is raised when task running with gokart.build() failed #229

Closed
mski-iksm opened this issue Aug 7, 2021 · 2 comments
Closed

Comments

@mski-iksm
Copy link
Contributor

The following code with error in run() will exit with FileNotFoundError instead of NotImplementedError.

class Example(gokart.TaskOnKart):        
    def run(self):
        raise NotImplementedError("not implemented")

task = Example(rerun=True)
gokart.build(task)

>>> FileNotFoundError: [Errno 2] No such file or directory: './resources/__main__/Example_8441c59b5ce0113396d53509f19371fb.pkl'
@vaaaaanquish
Copy link
Contributor

similer: #224, #209

@Hi-king
Copy link
Member

Hi-king commented Sep 7, 2021

#237 must have solved this issue :) @mski-iksm

@Hi-king Hi-king closed this as completed Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants