django-deepspeech-server icon indicating copy to clipboard operation
django-deepspeech-server copied to clipboard

TypeError: Required argument 'aNContext' (pos 3) not found

Open GauriDhande opened this issue 4 years ago • 2 comments

When I run python3 manage.py runsslserver, I get an error as

inside module
inside module
inside module
Traceback (most recent call last):
  File "manage.py", line 15, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 357, in execute
    django.setup()
  File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 89, in populate
    app_config = AppConfig.create(entry)
  File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/gauri/django-deepspeech-server/speech_server_main/apps.py", line 27, in <module>
    class SpeechServerMain(AppConfig):
  File "/home/gauri/django-deepspeech-server/speech_server_main/apps.py", line 35, in SpeechServerMain
    ds = Model(model, BEAM_WIDTH)
  File "/usr/local/lib/python3.6/dist-packages/deepspeech/__init__.py", line 12, in __init__
    status, impl = deepspeech.impl.CreateModel(*args, **kwargs)
TypeError: Required argument 'aNContext' (pos 3) not found

Can anybody help me with solving this issue. Thank you.

GauriDhande avatar Feb 24 '21 10:02 GauriDhande

Hi,i also have this error,do you sloved this issue?

MichaelMano3 avatar Apr 19 '21 08:04 MichaelMano3

hello . ,i also have this error,do you sloved this issue? please shere me

merdan1997 avatar Jan 20 '22 05:01 merdan1997