Unsupported filenames

Trying to build a book I'm getting various unsupported file name errors:


Traceback (most recent call last):
  File "/usr/local/bin/jupyter-book", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/jupyter_book/main.py", line 29, in main
    commands[args.command]()
  File "/usr/local/lib/python3.7/site-packages/jupyter_book/commands/build.py", line 52, in build
    PATH_TEMPLATE, local_build, execute, overwrite)
  File "/usr/local/lib/python3.7/site-packages/jupyter_book/build.py", line 159, in build_book
    _check_url_page(url_page, CONTENT_FOLDER_NAME)
  File "/usr/local/lib/python3.7/site-packages/jupyter_book/utils.py", line 70, in _check_url_page
    "Found unsupported character in filename: {}".format(url_page))
ValueError: Found unsupported character in filename: /01.1 Getting started with IPython and Notebooks - Bootcamp
</module>

What limits are there on valid filenames? (I tried quoting filenames in case it was just to do with spaces but that had no effect.) Could the handling of filenames be made a little bit more robust?

该提问来源于开源项目:executablebooks/jupyter-book

查看全部
weixin_39956009
weixin_39956009
2020/11/30 21:51
  • 点赞
  • 收藏
  • 回答
    私信

7个回复