Giter VIP home page Giter VIP logo

Comments (2)

jeremydw avatar jeremydw commented on June 27, 2024 2

Thanks for reporting this; just pushed a fix in grow 2.0.6.

Steps to fix it:

  1. Update your Pipfile to include:
[packages]
grow = "==2.0.6"
  1. Run pipenv --rm
  2. Run pipenv install
  3. Run pipenv run grow translations extract

Finally, ensure you've run pipenv run grow install prior to running (4) above to install the Kintaro extension. And if you're using local extensions, place them in the ext folder within your pod.

from grow.

jeremydw avatar jeremydw commented on June 27, 2024

I was able to reproduce this on a project using the Blogger extension; will investigate.

Traceback (most recent call last):
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/bin/grow", line 51, in <module>
    group.grow()
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/grow/commands/subcommands/translations_extract.py", line 62, in translations_extract
    catalogs.extract(include_obsolete=include_obsolete, localized=localized,
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/grow/translations/catalog_holder.py", line 363, in extract
    _babel_extract(doc_body, doc_locales, doc.pod_path)
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/grow/translations/catalog_holder.py", line 297, in _babel_extract
    for parts in all_parts:
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/babel/messages/extract.py", line 325, in extract
    for lineno, funcname, messages, comments in results:
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/jinja2/ext.py", line 652, in babel_extract
    extensions.add(import_string(extension))
  File "/Users/jeremydw/.local/share/virtualenvs/project-7m_dr9QI/lib/python3.8/site-packages/jinja2/utils.py", line 143, in import_string
    return getattr(__import__(module, None, None, [obj]), obj)
ModuleNotFoundError: No module named 'blog'

from grow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.