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

Error running Weave #31

Open
heetbeet opened this issue Feb 9, 2021 · 2 comments
Open

Error running Weave #31

heetbeet opened this issue Feb 9, 2021 · 2 comments

Comments

@heetbeet
Copy link

heetbeet commented Feb 9, 2021

When running your example, this is the output I get. I added PythonTex v 0.18 dev as required

This is PythonTeX 0.18dev

----  Messages for juliacon:default:default  ----
* PythonTeX error
    Running code for Julia console failed
WARNING: Method definition latex(IO, Markdown.LaTeX) in module Markdown at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Markdown\src\IPython\IPython.jl:28 overwritten in module WeaveMarkdown at C:\Users\simon\.julia\packages\Weave\BarbQ\src\WeaveMarkdown\markdown.jl:10.
  ** incremental compilation may be fatally broken for this module **

ERROR: KeyError: key "tex" not found
Stacktrace:
 [1] getindex at .\dict.jl:467 [inlined]
 [2] get_format at C:\Users\simon\.julia\packages\Weave\BarbQ\src\Weave.jl:48 [inlined]
 [3] run_doc(::Weave.WeaveDoc; doctype::String, out_path::Symbol, args::Dict{Any,Any}, mod::Nothing, fig_path::Nothing, fig_ext::Nothing, cache_path::String, cache::Symbol) at C:\Users\simon\.julia\packages\Weave\BarbQ\src\run.jl:20
 [4] weave(::String; doctype::String, informat::Nothing, out_path::Symbol, args::Dict{Any,Any}, mod::Nothing, fig_path::Nothing, fig_ext::Nothing, cache_path::String, cache::Symbol, template::Nothing, css::Nothing, highlight_theme::Nothing, pandoc_options::Array{String,1}, latex_cmd::Array{String,1}, keep_unicode::Bool) at C:\Users\simon\.julia\packages\Weave\BarbQ\src\Weave.jl:177
 [5] #weave#115 at C:\Users\simon\.julia\packages\Weave\BarbQ\src\Weave.jl:233 [inlined]
 [6] weave(::String, ::String) at C:\Users\simon\.julia\packages\Weave\BarbQ\src\Weave.jl:233
 [7] top-level scope at none:1


--------------------------------------------------
PythonTeX:  book - 1 error(s), 0 warning(s)

make: [makefile:14: compile] Error 1 (ignored)
@AshtonSBradley
Copy link

AshtonSBradley commented Jun 20, 2021

same problem for me on MacOS, although not sure how to update to 0.18 pythontex

@mykelk
Copy link
Member

mykelk commented Jun 20, 2021

You can try to revert Weave.jl back to 0.10.2 (see this thread: JunoLab/Weave.jl#391)

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