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

ipython nbconvert crashes with ValueError: Invalid format string. #3737

Closed
p3trus opened this issue Jul 23, 2013 · 1 comment
Closed

ipython nbconvert crashes with ValueError: Invalid format string. #3737

p3trus opened this issue Jul 23, 2013 · 1 comment
Milestone

Comments

@p3trus
Copy link

p3trus commented Jul 23, 2013

Using the latest code (pulled this morning) nbconvert throws the following exception. I tried it on an empty Notebook as well. The command used was ipython nbconvert Untitled01.ipynb.

Traceback (most recent call last):
  File "C:\Python27\Scripts\ipython-script.py", line 9, in <module>
    load_entry_point('ipython==1.0.dev', 'console_scripts', 'ipython')()
  File "c:\workspace\ipython\IPython\__init__.py", line 118, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "c:\workspace\ipython\IPython\config\application.py", line 539, in launch
_instance
    app.start()
  File "c:\workspace\ipython\IPython\terminal\ipapp.py", line 362, in start
    return self.subapp.start()
  File "c:\workspace\ipython\IPython\nbconvert\nbconvertapp.py", line 176, in st
art
    self.convert_notebooks()
  File "c:\workspace\ipython\IPython\nbconvert\nbconvertapp.py", line 197, in co
nvert_notebooks
    config=self.config)
  File "c:\workspace\ipython\IPython\nbconvert\exporters\export.py", line 61, in
 decorator
    return f(*args, **kwargs)
  File "c:\workspace\ipython\IPython\nbconvert\exporters\export.py", line 214, i
n export_by_name
    return globals()[function_name](nb, **kw)
  File "c:\workspace\ipython\IPython\nbconvert\exporters\export.py", line 61, in
 decorator
    return f(*args, **kwargs)
  File "c:\workspace\ipython\IPython\nbconvert\exporters\export.py", line 157, i
n export_full_html
    return export(FullHTMLExporter, nb, **kw)
  File "c:\workspace\ipython\IPython\nbconvert\exporters\export.py", line 61, in
 decorator
    return f(*args, **kwargs)
  File "c:\workspace\ipython\IPython\nbconvert\exporters\export.py", line 122, i
n export
    output, resources = exporter_instance.from_filename(nb, resources)
  File "c:\workspace\ipython\IPython\nbconvert\exporters\exporter.py", line 218,
 in from_filename
    resources['metadata']['modified_date'] = modified_date.strftime("%B %-d, %Y"
)
ValueError: Invalid format string

If you suspect this is an IPython bug, please report it at:
    https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev@scipy.org

You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    c.Application.verbose_crash=True
@p3trus
Copy link
Author

p3trus commented Jul 23, 2013

Seems to be the same as #3719 . Closing it.

@p3trus p3trus closed this as completed Jul 23, 2013
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

1 participant