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

Missing module 'ebook_converter.ebooks.docx.dump' #1

Closed
zagura opened this issue Jun 6, 2020 · 2 comments
Closed

Missing module 'ebook_converter.ebooks.docx.dump' #1

zagura opened this issue Jun 6, 2020 · 2 comments

Comments

@zagura
Copy link

zagura commented Jun 6, 2020

When running conversion using docx module, python throws an exception:

Traceback (most recent call last):
  File "/path/bin/ebook-converter", line 11, in <module>
    load_entry_point('ebook-converter==4.9.1', 'console_scripts', 'ebook-converter')()
  File "/path/lib/python3.7/site-packages/ebook_converter-4.9.1-py3.7.egg/ebook_converter/main.py", line 8, in run
    sys.exit(main())
  File "/path/lib/python3.7/site-packages/ebook_converter-4.9.1-py3.7.egg/ebook_converter/ebooks/conversion/cli.py", line 364, in main
    parser, plumber = create_option_parser(args, log)
  File "/path/lib/python3.7/site-packages/ebook_converter-4.9.1-py3.7.egg/ebook_converter/ebooks/conversion/cli.py", line 311, in create_option_parser
    from ebook_converter.ebooks.conversion.plumber import Plumber
  File "/path/lib/python3.7/site-packages/ebook_converter-4.9.1-py3.7.egg/ebook_converter/ebooks/conversion/plumber.py", line 9, in <module>
    from ebook_converter.customize.ui import input_profiles, output_profiles, \
  File "/path/lib/python3.7/site-packages/ebook_converter-4.9.1-py3.7.egg/ebook_converter/customize/ui.py", line 12, in <module>
    from ebook_converter.customize import builtins
  File "/path/lib/python3.7/site-packages/ebook_converter-4.9.1-py3.7.egg/ebook_converter/customize/builtins.py", line 651, in <module>
    from ebook_converter.ebooks.conversion.plugins.docx_output import DOCXOutput
  File "/path/lib/python3.7/site-packages/ebook_converter-4.9.1-py3.7.egg/ebook_converter/ebooks/conversion/plugins/docx_output.py", line 7, in <module>
    from ebook_converter.ebooks.docx.dump import do_dump
ModuleNotFoundError: No module named 'ebook_converter.ebooks.docx.dump'

from ebook_converter.ebooks.docx.dump import do_dump

In current tree, there is only do_dump call, no dump.py file or any other providing do_dump function.

@gryf
Copy link
Owner

gryf commented Jun 7, 2020

Ha. For some reason, I forgot to add dump module to the repo, although I do have it locally, perhaps this is the reason, why my smoke tests has run just fine. Commit 7419954 will fix it.

@zagura
Copy link
Author

zagura commented Jun 7, 2020

Thanks for quick fix :)

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

2 participants