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

Base.Meta.ParseError("invalid identifier name \"?\"") #6

Closed
omendezmorales opened this issue May 26, 2023 · 1 comment · Fixed by #7
Closed

Base.Meta.ParseError("invalid identifier name \"?\"") #6

omendezmorales opened this issue May 26, 2023 · 1 comment · Fixed by #7

Comments

@omendezmorales
Copy link

Hello @vdayanand ,

Thanks for this package. I was trying it with the notebooks of mr. Kaminsky, and then the following error message appeared when converting lecture01.ipynb (i.e. jupyter2pluto("lecture01.ipynb") ):


ERROR: Base.Meta.ParseError("invalid identifier name \"?\"")
Stacktrace:
 [1] #parse#3
   @ ./meta.jl:236 [inlined]
 [2] parse
   @ ./meta.jl:232 [inlined]
 [3] parse(str::String; raise::Bool, depwarn::Bool)
   @ Base.Meta ./meta.jl:267
 [4] parse
   @ ./meta.jl:266 [inlined]
 [5] has_multiple_expressions(codecell::Jupyter2Pluto.JupyterCodeCell)
   @ Jupyter2Pluto ~/.julia/packages/Jupyter2Pluto/QXPwh/src/Jupyter2Pluto.jl:139
 [6] Jupyter2Pluto.PlutoCell(codecell::Jupyter2Pluto.JupyterCodeCell)
   @ Jupyter2Pluto ~/.julia/packages/Jupyter2Pluto/QXPwh/src/Jupyter2Pluto.jl:127
 [7] jupyter2pluto(jupyter_file::String)
   @ Jupyter2Pluto ~/.julia/packages/Jupyter2Pluto/QXPwh/src/Jupyter2Pluto.jl:161
 [8] top-level scope
   @ REPL[7]:1

What did I do wrong? I'm using Julia 1.9 under ubuntu, and my registry looks like this:

  [6e4b80f9] BenchmarkTools v1.3.2
  [2f5d96fc] Jupyter2Pluto v0.1.1 `http://github.com/vdayanand/Jupyter2Pluto.jl#master`
  [c3e4b0f8] Pluto v0.19.26
  [3fa0cd96] REPL

Thanks,

@vdayanand
Copy link
Owner

Thanks for reporting the bug, this should be fixed by #7. Could you try the latest version of the package (v0.2.0)

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

Successfully merging a pull request may close this issue.

2 participants