Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
Created May 11, 2021 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobsilverberg/608447fe07319dafe12aba58b434b4e5 to your computer and use it in GitHub Desktop.
Save bobsilverberg/608447fe07319dafe12aba58b434b4e5 to your computer and use it in GitHub Desktop.
Extracting all strings in domain django...
src/olympia/__init__.py
src/olympia/urls.py
src/olympia/wsgi.py
src/olympia/abuse/__init__.py
src/olympia/abuse/admin.py
src/olympia/abuse/models.py
src/olympia/abuse/serializers.py
src/olympia/abuse/urls.py
src/olympia/abuse/views.py
src/olympia/abuse/management/__init__.py
src/olympia/abuse/management/commands/__init__.py
src/olympia/abuse/migrations/0001_initial.py
src/olympia/abuse/migrations/0002_add_amo_entrypoint.py
src/olympia/abuse/migrations/0003_abusereport_addon_install_source_url.py
src/olympia/abuse/migrations/0004_auto_20210506_1232.py
src/olympia/abuse/migrations/__init__.py
src/olympia/abuse/templates/admin/abuse/abusereport/date_hierarchy.html
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_from_command_line(sys.argv)
File "/deps/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/deps/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/deps/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/deps/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/deps/lib/python3.8/site-packages/puente/management/commands/extract.py", line 28, in handle
return extract_command(
File "/deps/lib/python3.8/site-packages/puente/commands.py", line 122, in extract_command
for filename, lineno, msg, cmts, ctxt in extracted:
File "/deps/lib/python3.8/site-packages/babel/messages/extract.py", line 149, in extract_from_dir
for message_tuple in check_and_call_extract_file(
File "/deps/lib/python3.8/site-packages/babel/messages/extract.py", line 207, in check_and_call_extract_file
for message_tuple in extract_from_file(
File "/deps/lib/python3.8/site-packages/babel/messages/extract.py", line 243, in extract_from_file
return list(extract(method, fileobj, keywords, comment_tags,
File "/deps/lib/python3.8/site-packages/babel/messages/extract.py", line 297, in extract
func = getattr(__import__(module, {}, {}, [attrname]), attrname)
ModuleNotFoundError: No module named 'django_babel'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment