Comments (2)
Thanks for reporting this; just pushed a fix in grow 2.0.6
.
Steps to fix it:
- Update your
Pipfile
to include:
[packages]
grow = "==2.0.6"
- Run
pipenv --rm
- Run
pipenv install
- 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.
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)
- Possibility to import a public Google Sheet without OAuth/Verifcation Code?
- Add `--file|--pod-path` flag to `grow stage`
- Ability to determine source information from constructors
- Deleting files results in an error
- File or memcache backing for podcache
- Grow 1.0.0 Migration Guide HOT 2
- Update filter naming
- Running localhost under https protocol HOT 1
- Objectcache reading/writing with multiple shards
- Issue with `transit/long` encoding HOT 3
- Grow fails to extract HOT 3
- Adding other markup formats HOT 2
- Bug with next() and prev() when localised documents are present HOT 1
- grow/starter empty repository? HOT 2
- Grow uses OOB to authenticate, which is outdated HOT 2
- Can't install package due to broken pyyaml 5.4 dependency HOT 1
- question about $view HOT 2
- slug management HOT 1
- problem with localization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grow.