Skip to content

make_pdf.py cannot find riemann.tex  #240

@burakbayramli

Description

@burakbayramli

Hi, when I try to generate a PDF, it runs almost until the end but I get the error below,

...
[NbConvertApp] Writing 777704 bytes to build_pdf/13-Euler_approximate.ipynb
[NbConvertApp] Converting notebook build_pdf/14-FV_compare.ipynb to notebook
[NbConvertApp] Executing notebook with kernel: python
[NbConvertApp] Writing 497763 bytes to build_pdf/14-FV_compare.ipynb
INFO:__main__:Combined 15 files
INFO:__main__:Converting to latex
    value = self._validate(obj, dynamic_default())
  File "/home/user/Documents/env3/lib/python3.6/site-packages/nbconvert/preprocessors/svg2pdf.py", line 59, in _inkscape_version_default
    stderr=subprocess.PIPE)
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'inkscape': 'inkscape'
Traceback (most recent call last):
  File "../files_for_latex_pdf/fix_latex_file.py", line 8, in <module>
    lines = open(fname,'r').read()
FileNotFoundError: [Errno 2] No such file or directory: 'riemann.tex'
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
! I can't find file `riemann'.

If I'm not mistaken the code is supposed to create a riemann.tex but it is also trying to read it before it creates it? Is there a bootstrap riemann.tex file that I need?

Apart from this error, I am able to run the notebooks on their own without any problems (except, partially, the claw code, it generates the graph but doesn't animate)

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions