[GH-ISSUE #350] users stale-check unicode issue #269

Closed
opened 2026-02-26 09:37:06 +03:00 by kerem · 0 comments
Owner

Originally created by @ThomasWaldmann on GitHub (May 25, 2018).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/350

Traceback (most recent call last):
  File "/srv/nsupdate.info/env/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/srv/nsupdate.info/repo/nsupdate/management/commands/users.py", line 84, in handle
    self.stdout.write(log_msg)
  File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/base.py", line 110, in write
    self._out.write(force_str(style_func(msg)))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Originally created by @ThomasWaldmann on GitHub (May 25, 2018). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/350 ``` Traceback (most recent call last): File "/srv/nsupdate.info/env/bin/django-admin.py", line 5, in <module> management.execute_from_command_line() File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/__init__.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/base.py", line 330, in execute output = self.handle(*args, **options) File "/srv/nsupdate.info/repo/nsupdate/management/commands/users.py", line 84, in handle self.stdout.write(log_msg) File "/srv/nsupdate.info/env/lib/python3.5/site-packages/django/core/management/base.py", line 110, in write self._out.write(force_str(style_func(msg))) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128) ```
kerem closed this issue 2026-02-26 09:37:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#269
No description provided.