JuliaDebug / JuliaDebug/CodeTracking.jl
"definition" cannot read function defined within Jupyter notebook
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 150
- Forks
- 11
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
When calling definition in a Jupyter notebook:
f(x,y) = x^2 + y^2
definition(String, @which(f(Int,Int)))
I get the following error:
SystemError: opening file "In[52]": No such file or directory
Seems to just not handled reading from the notebook's In because it works when reading from functions defined purely in the REPL.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Julia reproducer in the issue and trace the definition call for a method defined in a Jupyter notebook. Inspect how notebook In[...] locations are read and compare that path with functions defined in the REPL. Done means the reproducer returns the function definition without trying to open In[52] as a file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, jupyter
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100