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

nbproject 0.3.0 does not automatically infer the filename on orchest #169

Open
falexwolf opened this issue Jul 16, 2022 · 2 comments
Open

Comments

@falexwolf
Copy link
Member

image

@falexwolf
Copy link
Member Author

It works fine when manually passing the filepath:
image

@falexwolf
Copy link
Member Author

@Koncopd, is it possible to log out more information about what is inferred? For VS code it was very simple to achieve compatibility by merely post-processing the filepath:

# VScode adaption through "-jvsc-"
if "-jvsc-" in str(nb_path):
split = str(nb_path).split("-jvsc-")
nb_path = PurePath(f"{split[0]}.ipynb")

Maybe something as simple is possible here, too? But in order to know, we'd need to make the logging more verbose.

This is all on a cloud server where it's not so trivial to create an environment that has an nbproject dev branch for debugging this. Hence, I'd suggest to add more verbose logging to the PyPI version upon failure of env inference.

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

1 participant