Problem octoprint wont restart in normal mode, only safe

What is the problem?

my octoprint wont restart in normal mode after a lang install
only safe mode

What did you already try to solve it?

tried to delete lang pack.. no solved

Have you tried running in safe mode?

yes in safe mode it work

Systeminfo Bundle (1.3 MB)

Additional information about your setup

octoprint 1.8.0rc5 on raspberry

this is the error log:

2022-05-07 19:19:18,786 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2022-05-07 19:19:18,793 - octoprint.cli.server - ERROR - Uncaught exception
Traceback (most recent call last):
File "/home/pi/oprint/bin/octoprint", line 8, in
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/", line 936, in main
octo(args=args, prog_name="octoprint", auto_envvar_prefix="OCTOPRINT")
File "/home/pi/oprint/lib/python3.7/site-packages/click/", line 1130, in call
return self.main(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/click/", line 1055, in main
rv = self.invoke(ctx)
File "/home/pi/oprint/lib/python3.7/site-packages/click/", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/pi/oprint/lib/python3.7/site-packages/click/", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/oprint/lib/python3.7/site-packages/click/", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/click/", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/cli/", line 330, in serve_command
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/cli/", line 163, in run_server
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/", line 358, in run
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/", line 1454, in _setup_i18n
LOCALES = babel.list_translations()
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/util/", line 86, in fixed_list_translations
result += list_translations(dir)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/util/", line 70, in list_translations
File "/home/pi/oprint/lib/python3.7/site-packages/babel/", line 268, in parse
parts = parse_locale(identifier, sep=sep)
File "/home/pi/oprint/lib/python3.7/site-packages/babel/", line 1094, in parse_locale
raise ValueError('expected only letters, got %r' % lang)
ValueError: expected only letters, got 'it-1'

I got solution!!!

pi@OctoPi:~/.octoprint/translations $ ls
it-1 __MACOSX

simply remove dir it-1

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.