#34785: Contribution guide comes out non successful
---------------------------------+--------------------------------------
Reporter: Shamil | Owner: (none)
Type: Uncategorized | Status: new
Component: Error reporting | Version: dev
Severity: Normal | Resolution:
Keywords: test | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Description changed by Shamil:
Old description:
> Greetings to all!
> When I installed all the dependencies following the documentation for
> contributors and ran the tests, I got 4 tests. Here are the error logs:
> {{{
> ======================================================================
> ERROR: test_strip_tags_files
> (utils_tests.test_html.TestUtilsHtml.test_strip_tags_files) [<object
> object at 0x00000242735A0580>] (filename='strip_tags1.html')
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 57, in testPartExecutor
> yield
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 538, in subTest
> yield
> File "D:\django-dev\typing-django\tests\utils_tests\test_html.py", line
> 138, in test_strip_tags_files
> content = fp.read()
> ^^^^^^^^^^^^^^^^^
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1251.py",
> line 23, in decode
> return codecs.charmap_decode(input,self.errors,decoding_table)[0]
> ^^^^^^^^^^^^^^^^^
> UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position
> 33051: character maps to <undefined>
>
> ======================================================================
> ERROR: test_content_saving
> (file_storage.tests.ContentFileStorageTestCase.test_content_saving)
> ContentFile can be saved correctly with the filesystem storage,
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 57, in testPartExecutor
> yield
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 623, in run
> self._callTestMethod(testMethod)
> ^^^^^^^^^^^^^^^^^
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 579, in _callTestMethod
> if method() is not None:
> ^^^^^^^^^^^^^^^^^
> File "D:\django-dev\typing-django\tests\file_storage\tests.py", line
> 1165, in test_content_saving
> self.storage.save("unicode.txt", ContentFile("español"))
> ^^^^^^^^^^^^^^^^^
> File "D:\django-dev\typing-django\django\core\files\storage\base.py",
> line 38, in save
> name = self._save(name, content)
> ^^^^^^^^^^^^^^^^^
> File "D:\django-dev\typing-
> django\django\core\files\storage\filesystem.py", line 114, in _save
> _file.write(chunk)
> ^^^^^^^^^^^^^^^^^
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1251.py",
> line 19, in encode
> return codecs.charmap_encode(input,self.errors,encoding_table)[0]
> ^^^^^^^^^^^^^^^^^
> UnicodeEncodeError: 'charmap' codec can't encode character '\xf1' in
> position 4: character maps to <undefined>
>
> ======================================================================
> FAIL: test_all (admin_scripts.tests.DiffSettings.test_all)
> The all option also shows settings with the default value.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 57, in testPartExecutor
> yield
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 623, in run
> self._callTestMethod(testMethod)
> ^^^^^^^^^^^^^^^^^
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 579, in _callTestMethod
> if method() is not None:
> ^^^^^^^^^^^^^^^^^
> File "D:\django-dev\typing-django\tests\admin_scripts\tests.py", line
> 2965, in test_all
> self.assertNoOutput(err)
> ^^^^^^^^^^^^^^^^^
> File "D:\django-dev\typing-django\tests\admin_scripts\tests.py", line
> 168, in assertNoOutput
> self.assertEqual(
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 873, in assertEqual
> assertion_func(first, second, msg=msg)
> ^^^^^^^^^^^^^^^^^
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 866, in _baseAssertEqual
> raise self.failureException(msg)
> ^^^^^^^^^^^^^^^^^
> AssertionError: 1988 != 0 : Stream should be empty: actually contains
> 'Traceback (most recent call last):
> File
> "C:\Users\shamil\AppData\Local\Temp\django_9_srzxl8\django_hjg08d97\tmp517p7rqg\test_project\manage.py",
> line 22, in <module>
> main()
> File
> "C:\Users\shamil\AppData\Local\Temp\django_9_srzxl8\django_hjg08d97\tmp517p7rqg\test_project\manage.py",
> line 18, in main
> execute_from_command_line(sys.argv)
> File "D:\django-dev\typing-django\django\core\management\__init__.py",
> line 442, in execute_from_command_line
> utility.execute()
> File "D:\django-dev\typing-django\django\core\management\__init__.py",
> line 436, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File "D:\django-dev\typing-django\django\core\management\base.py", line
> 412, in run_from_argv
> self.execute(*args, **cmd_options)
> File "D:\django-dev\typing-django\django\core\management\base.py", line
> 467, in execute
> self.stdout.write(output)
> File "D:\django-dev\typing-django\django\core\management\base.py", line
> 180, in write
> self._out.write(style_func(msg))
> File "D:\django-dev\.venv\django\Lib\site-
> packages\colorama\ansitowin32.py", line 47, in write
> self.__convertor.write(text)
> File "D:\django-dev\.venv\django\Lib\site-
> packages\colorama\ansitowin32.py", line 177, in write
> self.write_and_convert(text)
> File "D:\django-dev\.venv\django\Lib\site-
> packages\colorama\ansitowin32.py", line 205, in write_and_convert
> self.write_plain_text(text, cursor, len(text))
> File "D:\django-dev\.venv\django\Lib\site-
> packages\colorama\ansitowin32.py", line 210, in write_plain_text
> self.wrapped.write(text[start:end])
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1251.py",
> line 19, in encode
> return codecs.charmap_encode(input,self.errors,encoding_table)[0]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> UnicodeEncodeError: 'charmap' codec can't encode character '\xe5' in
> position 5237: character maps to <undefined>
> '
>
> ======================================================================
> FAIL: test_unified_all
> (admin_scripts.tests.DiffSettings.test_unified_all)
> --output=unified --all emits settings diff in unified mode and includes
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 57, in testPartExecutor
> yield
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 623, in run
> self._callTestMethod(testMethod)
> ^^^^^^^^^^^^^^^^^
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 579, in _callTestMethod
> if method() is not None:
> ^^^^^^^^^^^^^^^^^
> File "D:\django-dev\typing-django\tests\admin_scripts\tests.py", line
> 3014, in test_unified_all
> self.assertNoOutput(err)
> ^^^^^^^^^^^^^^^^^
> File "D:\django-dev\typing-django\tests\admin_scripts\tests.py", line
> 168, in assertNoOutput
> self.assertEqual(
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 873, in assertEqual
> assertion_func(first, second, msg=msg)
> ^^^^^^^^^^^^^^^^^
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
> line 866, in _baseAssertEqual
> raise self.failureException(msg)
> ^^^^^^^^^^^^^^^^^
> AssertionError: 1988 != 0 : Stream should be empty: actually contains
> 'Traceback (most recent call last):
> File
> "C:\Users\shamil\AppData\Local\Temp\django_9_srzxl8\django_hjg08d97\tmpfa1pyxar\test_project\manage.py",
> line 22, in <module>
> main()
> File
> "C:\Users\shamil\AppData\Local\Temp\django_9_srzxl8\django_hjg08d97\tmpfa1pyxar\test_project\manage.py",
> line 18, in main
> execute_from_command_line(sys.argv)
> File "D:\django-dev\typing-django\django\core\management\__init__.py",
> line 442, in execute_from_command_line
> utility.execute()
> File "D:\django-dev\typing-django\django\core\management\__init__.py",
> line 436, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File "D:\django-dev\typing-django\django\core\management\base.py", line
> 412, in run_from_argv
> self.execute(*args, **cmd_options)
> File "D:\django-dev\typing-django\django\core\management\base.py", line
> 467, in execute
> self.stdout.write(output)
> File "D:\django-dev\typing-django\django\core\management\base.py", line
> 180, in write
> self._out.write(style_func(msg))
> File "D:\django-dev\.venv\django\Lib\site-
> packages\colorama\ansitowin32.py", line 47, in write
> self.__convertor.write(text)
> File "D:\django-dev\.venv\django\Lib\site-
> packages\colorama\ansitowin32.py", line 177, in write
> self.write_and_convert(text)
> File "D:\django-dev\.venv\django\Lib\site-
> packages\colorama\ansitowin32.py", line 205, in write_and_convert
> self.write_plain_text(text, cursor, len(text))
> File "D:\django-dev\.venv\django\Lib\site-
> packages\colorama\ansitowin32.py", line 210, in write_plain_text
> self.wrapped.write(text[start:end])
> File "C:\Program
> Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1251.py",
> line 19, in encode
> return codecs.charmap_encode(input,self.errors,encoding_table)[0]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> UnicodeEncodeError: 'charmap' codec can't encode character '\xe5' in
> position 5163: character maps to <undefined>
> '
> }}}
> Here are all the installed dependencies (command {{{pip freeze}}}):
> {{{
> aiohttp==3.8.5
> aiosignal==1.3.1
> aiosmtpd==1.4.4.post2
> argon2-cffi==23.1.0
> argon2-cffi-bindings==21.2.0
> asgiref==3.7.2
> async-timeout==4.0.3
> atpublic==4.0
> attrs==23.1.0
> bcrypt==4.0.1
> black==23.7.0
> cachetools==5.3.1
> certifi==2023.7.22
> cffi==1.15.1
> cfgv==3.4.0
> chardet==5.2.0
> charset-normalizer==3.2.0
> click==8.1.7
> colorama==0.4.6
> distlib==0.3.7
> -e git+ssh://[email protected]/ashm-tech/typing-
> django.git@6b965c600054f970bdf94017ecf2e0e6e0a4326b#egg=Django
> docutils==0.20.1
> exceptiongroup==1.1.3
> filelock==3.12.2
> frozenlist==1.4.0
> geoip2==4.7.0
> h11==0.14.0
> identify==2.5.26
> idna==3.4
> Jinja2==3.1.2
> MarkupSafe==2.1.3
> maxminddb==2.4.0
> multidict==6.0.4
> mypy-extensions==1.0.0
> nodeenv==1.8.0
> numpy==1.25.2
> outcome==1.2.0
> packaging==23.1
> pathspec==0.11.2
> Pillow==10.0.0
> platformdirs==3.10.0
> pluggy==1.2.0
> pre-commit==3.3.3
> pycparser==2.21
> pymemcache==4.0.0
> pyproject-api==1.5.4
> PySocks==1.7.1
> PyYAML==6.0.1
> redis==5.0.0
> requests==2.31.0
> selenium==4.11.2
> sniffio==1.3.0
> sortedcontainers==2.4.0
> sqlparse==0.4.4
> tblib==2.0.0
> tox==4.9.0
> trio==0.22.2
> trio-websocket==0.10.3
> tzdata==2023.3
> urllib3==2.0.4
> virtualenv==20.24.3
> wsproto==1.2.0
> yarl==1.9.2
> }}}
> Python version -> 3.11.4
> Pip version -> 23.2.1
> OS -> Windows 11 Home
New description:
Greetings to all!
When I installed all the dependencies following the documentation for
contributors and ran the tests, I got 4 tests. Here are the error logs:
{{{
======================================================================
ERROR: test_strip_tags_files
(utils_tests.test_html.TestUtilsHtml.test_strip_tags_files) [<object
object at 0x00000242735A0580>] (filename='strip_tags1.html')
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 57, in testPartExecutor
yield
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 538, in subTest
yield
File "D:\django-dev\typing-django\tests\utils_tests\test_html.py", line
138, in test_strip_tags_files
content = fp.read()
^^^^^^^^^^^^^^^^^
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1251.py",
line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position
33051: character maps to <undefined>
======================================================================
ERROR: test_content_saving
(file_storage.tests.ContentFileStorageTestCase.test_content_saving)
ContentFile can be saved correctly with the filesystem storage,
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 57, in testPartExecutor
yield
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 623, in run
self._callTestMethod(testMethod)
^^^^^^^^^^^^^^^^^
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 579, in _callTestMethod
if method() is not None:
^^^^^^^^^^^^^^^^^
File "D:\django-dev\typing-django\tests\file_storage\tests.py", line
1165, in test_content_saving
self.storage.save("unicode.txt", ContentFile("español"))
^^^^^^^^^^^^^^^^^
File "D:\django-dev\typing-django\django\core\files\storage\base.py",
line 38, in save
name = self._save(name, content)
^^^^^^^^^^^^^^^^^
File "D:\django-dev\typing-
django\django\core\files\storage\filesystem.py", line 114, in _save
_file.write(chunk)
^^^^^^^^^^^^^^^^^
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1251.py",
line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode character '\xf1' in
position 4: character maps to <undefined>
======================================================================
FAIL: test_all (admin_scripts.tests.DiffSettings.test_all)
The all option also shows settings with the default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 57, in testPartExecutor
yield
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 623, in run
self._callTestMethod(testMethod)
^^^^^^^^^^^^^^^^^
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 579, in _callTestMethod
if method() is not None:
^^^^^^^^^^^^^^^^^
File "D:\django-dev\typing-django\tests\admin_scripts\tests.py", line
2965, in test_all
self.assertNoOutput(err)
^^^^^^^^^^^^^^^^^
File "D:\django-dev\typing-django\tests\admin_scripts\tests.py", line
168, in assertNoOutput
self.assertEqual(
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 873, in assertEqual
assertion_func(first, second, msg=msg)
^^^^^^^^^^^^^^^^^
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 866, in _baseAssertEqual
raise self.failureException(msg)
^^^^^^^^^^^^^^^^^
AssertionError: 1988 != 0 : Stream should be empty: actually contains
'Traceback (most recent call last):
File
"C:\Users\shamil\AppData\Local\Temp\django_9_srzxl8\django_hjg08d97\tmp517p7rqg\test_project\manage.py",
line 22, in <module>
main()
File
"C:\Users\shamil\AppData\Local\Temp\django_9_srzxl8\django_hjg08d97\tmp517p7rqg\test_project\manage.py",
line 18, in main
execute_from_command_line(sys.argv)
File "D:\django-dev\typing-django\django\core\management\__init__.py",
line 442, in execute_from_command_line
utility.execute()
File "D:\django-dev\typing-django\django\core\management\__init__.py",
line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "D:\django-dev\typing-django\django\core\management\base.py", line
412, in run_from_argv
self.execute(*args, **cmd_options)
File "D:\django-dev\typing-django\django\core\management\base.py", line
467, in execute
self.stdout.write(output)
File "D:\django-dev\typing-django\django\core\management\base.py", line
180, in write
self._out.write(style_func(msg))
File "D:\django-dev\.venv\django\Lib\site-
packages\colorama\ansitowin32.py", line 47, in write
self.__convertor.write(text)
File "D:\django-dev\.venv\django\Lib\site-
packages\colorama\ansitowin32.py", line 177, in write
self.write_and_convert(text)
File "D:\django-dev\.venv\django\Lib\site-
packages\colorama\ansitowin32.py", line 205, in write_and_convert
self.write_plain_text(text, cursor, len(text))
File "D:\django-dev\.venv\django\Lib\site-
packages\colorama\ansitowin32.py", line 210, in write_plain_text
self.wrapped.write(text[start:end])
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1251.py",
line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode character '\xe5' in
position 5237: character maps to <undefined>
'
======================================================================
FAIL: test_unified_all (admin_scripts.tests.DiffSettings.test_unified_all)
--output=unified --all emits settings diff in unified mode and includes
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 57, in testPartExecutor
yield
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 623, in run
self._callTestMethod(testMethod)
^^^^^^^^^^^^^^^^^
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 579, in _callTestMethod
if method() is not None:
^^^^^^^^^^^^^^^^^
File "D:\django-dev\typing-django\tests\admin_scripts\tests.py", line
3014, in test_unified_all
self.assertNoOutput(err)
^^^^^^^^^^^^^^^^^
File "D:\django-dev\typing-django\tests\admin_scripts\tests.py", line
168, in assertNoOutput
self.assertEqual(
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 873, in assertEqual
assertion_func(first, second, msg=msg)
^^^^^^^^^^^^^^^^^
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py",
line 866, in _baseAssertEqual
raise self.failureException(msg)
^^^^^^^^^^^^^^^^^
AssertionError: 1988 != 0 : Stream should be empty: actually contains
'Traceback (most recent call last):
File
"C:\Users\shamil\AppData\Local\Temp\django_9_srzxl8\django_hjg08d97\tmpfa1pyxar\test_project\manage.py",
line 22, in <module>
main()
File
"C:\Users\shamil\AppData\Local\Temp\django_9_srzxl8\django_hjg08d97\tmpfa1pyxar\test_project\manage.py",
line 18, in main
execute_from_command_line(sys.argv)
File "D:\django-dev\typing-django\django\core\management\__init__.py",
line 442, in execute_from_command_line
utility.execute()
File "D:\django-dev\typing-django\django\core\management\__init__.py",
line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "D:\django-dev\typing-django\django\core\management\base.py", line
412, in run_from_argv
self.execute(*args, **cmd_options)
File "D:\django-dev\typing-django\django\core\management\base.py", line
467, in execute
self.stdout.write(output)
File "D:\django-dev\typing-django\django\core\management\base.py", line
180, in write
self._out.write(style_func(msg))
File "D:\django-dev\.venv\django\Lib\site-
packages\colorama\ansitowin32.py", line 47, in write
self.__convertor.write(text)
File "D:\django-dev\.venv\django\Lib\site-
packages\colorama\ansitowin32.py", line 177, in write
self.write_and_convert(text)
File "D:\django-dev\.venv\django\Lib\site-
packages\colorama\ansitowin32.py", line 205, in write_and_convert
self.write_plain_text(text, cursor, len(text))
File "D:\django-dev\.venv\django\Lib\site-
packages\colorama\ansitowin32.py", line 210, in write_plain_text
self.wrapped.write(text[start:end])
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1251.py",
line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode character '\xe5' in
position 5163: character maps to <undefined>
'
}}}
And when I run tox, this error {{{Error: This field cannot be blank.}}}
falls infinitely, and it stops only when manually stopped (by pressing
{{{CTRL + C}}})
Here are all the installed dependencies (command {{{pip freeze}}}):
{{{
aiohttp==3.8.5
aiosignal==1.3.1
aiosmtpd==1.4.4.post2
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
asgiref==3.7.2
async-timeout==4.0.3
atpublic==4.0
attrs==23.1.0
bcrypt==4.0.1
black==23.7.0
cachetools==5.3.1
certifi==2023.7.22
cffi==1.15.1
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.2.0
click==8.1.7
colorama==0.4.6
distlib==0.3.7
-e git+ssh://[email protected]/ashm-tech/typing-
django.git@6b965c600054f970bdf94017ecf2e0e6e0a4326b#egg=Django
docutils==0.20.1
exceptiongroup==1.1.3
filelock==3.12.2
frozenlist==1.4.0
geoip2==4.7.0
h11==0.14.0
identify==2.5.26
idna==3.4
Jinja2==3.1.2
MarkupSafe==2.1.3
maxminddb==2.4.0
multidict==6.0.4
mypy-extensions==1.0.0
nodeenv==1.8.0
numpy==1.25.2
outcome==1.2.0
packaging==23.1
pathspec==0.11.2
Pillow==10.0.0
platformdirs==3.10.0
pluggy==1.2.0
pre-commit==3.3.3
pycparser==2.21
pymemcache==4.0.0
pyproject-api==1.5.4
PySocks==1.7.1
PyYAML==6.0.1
redis==5.0.0
requests==2.31.0
selenium==4.11.2
sniffio==1.3.0
sortedcontainers==2.4.0
sqlparse==0.4.4
tblib==2.0.0
tox==4.9.0
trio==0.22.2
trio-websocket==0.10.3
tzdata==2023.3
urllib3==2.0.4
virtualenv==20.24.3
wsproto==1.2.0
yarl==1.9.2
}}}
Python version -> 3.11.4
Pip version -> 23.2.1
OS -> Windows 11 Home
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34785#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018a0cb2b6ea-6a85fc1a-8dfc-49f1-a24e-5b260313c662-000000%40eu-central-1.amazonses.com.