Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fastflix will no longer load #282

Closed
Nhunz opened this issue Jan 6, 2022 · 8 comments
Closed

Fastflix will no longer load #282

Nhunz opened this issue Jan 6, 2022 · 8 comments

Comments

@Nhunz
Copy link

Nhunz commented Jan 6, 2022

I hadn't used the program for a few weeks and now find that the program won't run at all. Using your instructions to run from source code I get two sets of errors. This first happens when installing requirements:

ERROR: Could not find a version that satisfies the requirement PySide6==6.1.3 (from versions: 6.2.0, 6.2.1, 6.2.2, 6.2.2.1)
ERROR: No matching distribution found for PySide6==6.1.3

The second happens when I run python -m fastflix

Traceback (most recent call last):
File "/home/nealh/FastFlix/fastflix/entry.py", line 8, in
import coloredlogs
ModuleNotFoundError: No module named 'coloredlogs'
Could not load FastFlix properly!
Please report this issue on https://github.com/cdgriffith/FastFlix/issues (press any key to exit) q^[[3~^CTraceback (most recent call last):
File "/home/nealh/FastFlix/fastflix/entry.py", line 8, in
import coloredlogs
ModuleNotFoundError: No module named 'coloredlogs'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/nealh/FastFlix/fastflix/main.py", line 6, in
from fastflix.entry import main
File "/home/nealh/FastFlix/fastflix/entry.py", line 25, in
input("Please report this issue on https://github.com/cdgriffith/FastFlix/issues (press any key to exit)")

My machine has python version 3.10.1-2 installed. My version of pyside6 ia 6.2.2-2.

Any thoughts on how to fix this?

Thanks!

@cdgriffith
Copy link
Owner

Ah, looks like they didn't release PySide6 6.1.3 for Python 3.10, just 6.2+

Change the requirements.txt file like for PySide6==6.1.3 to just say PySide6 and try installing requirements again. (I imagine it got to that one, couldn't install it, and didn't install the rest either, hence the further issues.)

@Nhunz
Copy link
Author

Nhunz commented Jan 6, 2022

After editing the requirements.txt file it did download a new version of pyside6. However at the end of the requirements routine it generated a very long sequence of errors and fastflix still won't run. Here is what I got:

╰─ pip install -r requirements.txt ─╯
Collecting appdirs==1.4.4
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting colorama==0.4.4
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting coloredlogs==15.0
Using cached coloredlogs-15.0-py2.py3-none-any.whl (45 kB)
Collecting iso639-lang==0.0.9
Using cached iso639_lang-0.0.9-py3-none-any.whl (70 kB)
Collecting mistune==0.8.4
Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting pathvalidate==2.4.1
Using cached pathvalidate-2.4.1-py3-none-any.whl (18 kB)
Collecting psutil==5.8.0
Using cached psutil-5.8.0.tar.gz (470 kB)
Collecting pydantic==1.8.2
Using cached pydantic-1.8.2-py3-none-any.whl (126 kB)
Collecting PySide6
Downloading PySide6-6.2.2.1-6.2.2-cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl (269.7 MB)
|████████████████████████████████| 269.7 MB 93.3 MB/s
Collecting python-box==5.3.0
Using cached python_box-5.3.0-py3-none-any.whl (21 kB)
Collecting requests==2.25.1
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting reusables==0.9.6
Using cached reusables-0.9.6-py3-none-any.whl (61 kB)
Collecting ruamel.yaml<0.16
Using cached ruamel.yaml-0.15.100.tar.gz (318 kB)
Collecting humanfriendly>=9.1
Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Collecting typing-extensions>=3.7.4.3
Using cached typing_extensions-4.0.1-py3-none-any.whl (22 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting shiboken6==6.2.2.1
Downloading shiboken6-6.2.2.1-6.2.2-cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl (1.0 MB)
|████████████████████████████████| 1.0 MB 76.2 MB/s
Using legacy 'setup.py install' for psutil, since package 'wheel' is not installed.
Using legacy 'setup.py install' for ruamel.yaml, since package 'wheel' is not installed.
Installing collected packages: urllib3, typing-extensions, shiboken6, idna, humanfriendly, chardet, certifi, ruamel.yaml, reusables, requests, python-box, PySide6, pydantic, psutil, pathvalidate, mistune, iso639-lang, coloredlogs, colorama, appdirs
Running setup.py install for ruamel.yaml ... error
ERROR: Command errored out with exit status 1:
command: /home/nealh/FastFlix/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ellbh2xs/ruamel-yaml_a10a0c295f1f4fb08f1b04eeaa7a3c4a/setup.py'"'"'; file='"'"'/tmp/pip-install-ellbh2xs/ruamel-yaml_a10a0c295f1f4fb08f1b04eeaa7a3c4a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-y4_wo_z_/install-record.txt --single-version-externally-managed --compile --install-headers /home/nealh/FastFlix/venv/include/site/python3.10/ruamel.yaml
cwd: /tmp/pip-install-ellbh2xs/ruamel-yaml_a10a0c295f1f4fb08f1b04eeaa7a3c4a/
Complete output (654 lines):
sys.argv ['/tmp/pip-install-ellbh2xs/ruamel-yaml_a10a0c295f1f4fb08f1b04eeaa7a3c4a/setup.py', 'install', '--record', '/tmp/pip-record-y4_wo_z_/install-record.txt', '--single-version-externally-managed', '--compile', '--install-headers', '/home/nealh/FastFlix/venv/include/site/python3.10/ruamel.yaml']
test compiling test_ruamel_yaml
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/ruamel
copying .ruamel/init.py -> build/lib.linux-x86_64-3.10/ruamel
creating build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./main.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./util.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./tokens.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./scalarfloat.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./scanner.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./comments.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./loader.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./serializer.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./resolver.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./nodes.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./dumper.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./configobjwalker.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./timestamp.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./error.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./reader.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./cyaml.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./parser.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./init.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./representer.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./events.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./scalarbool.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./composer.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./scalarint.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./emitter.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./anchor.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./compat.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./constructor.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./scalarstring.py -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./LICENSE -> build/lib.linux-x86_64-3.10/ruamel/yaml
copying ./py.typed -> build/lib.linux-x86_64-3.10/ruamel/yaml
running build_ext
building '_ruamel_yaml' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/ext
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC -I/home/nealh/FastFlix/venv/include -I/usr/include/python3.10 -c ext/_ruamel_yaml.c -o build/temp.linux-x86_64-3.10/ext/_ruamel_yaml.o
In file included from ext/_ruamel_yaml.c:596:
ext/_ruamel_yaml.h:10: warning: "PyString_CheckExact" redefined
10 | #define PyString_CheckExact PyBytes_CheckExact
|
ext/_ruamel_yaml.c:486: note: this is the location of the previous definition
486 | #define PyString_CheckExact PyUnicode_CheckExact
|
ext/_ruamel_yaml.c: In function ‘__pyx_pf_12_ruamel_yaml_get_version_string’:
ext/_ruamel_yaml.c:1886:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1886 | __pyx_v_value = yaml_get_version_string();
| ^
ext/_ruamel_yaml.c: In function ‘pyx_pf_12_ruamel_yaml_7CParser___init’:
ext/_ruamel_yaml.c:3386:52: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [-Wincompatible-pointer-types]
3386 | yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_12_ruamel_yaml_input_handler, ((void )__pyx_v_self));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (
)(void *, char *, int, int )
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:1370:30: note: expected ‘int (
)(void *, unsigned char *, size_t, size_t )’ {aka ‘int ()(void *, unsigned char *, long unsigned int, long unsigned int )’} but argument is of type ‘int ()(void *, char *, int, int *)’
1370 | yaml_read_handler_t *handler, void *data);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.10/bytesobject.h:62,
from /usr/include/python3.10/Python.h:82,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/bytesobject.h:32:57: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness [-Wpointer-sign]
32 | #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| |
| char *
33 | (((PyBytesObject *)(op))->ob_sval))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.h:11:29: note: in expansion of macro ‘PyBytes_AS_STRING’
11 | #define PyString_AS_STRING PyBytes_AS_STRING
| ^~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:3627:59: note: in expansion of macro ‘PyString_AS_STRING’
3627 | yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
| ^~~~~~~~~~~~~~~~~~
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:1344:30: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
1344 | const unsigned char *input, size_t size);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__token_to_object’:
ext/_ruamel_yaml.c:5461:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5461 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 416, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:5473:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5473 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:6475:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
6475 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 447, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:6559:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
6559 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 450, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:6643:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
6643 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 453, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:6655:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
6655 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:6779:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
6779 | __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 459, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char string, / UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__event_to_object’:
ext/_ruamel_yaml.c:8460:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8460 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 573, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:8472:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8472 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:8715:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8715 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 585, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:8819:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8819 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 590, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:8860:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8860 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 593, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:8881:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
8881 | __pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char string, / UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:9222:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9222 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 619, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:9263:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9263 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 622, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:9495:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9495 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 636, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:9536:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9536 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 639, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__compose_node’:
ext/_ruamel_yaml.c:11209:75: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11209 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 733, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:11529:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11529 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 749, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:11585:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11585 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 752, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c:11641:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11641 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 755, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__compose_scalar_node’:
ext/_ruamel_yaml.c:12299:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
12299 | __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 790, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char string, / UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:12522:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
12522 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 803, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__compose_sequence_node’:
ext/_ruamel_yaml.c:13060:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
13060 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 836, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__compose_mapping_node’:
ext/_ruamel_yaml.c:13685:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
13685 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 875, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char u / UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_ruamel_yaml.c: In function ‘pyx_pf_12_ruamel_yaml_8CEmitter___init’:
ext/_ruamel_yaml.c:15016:53: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [-Wincompatible-pointer-types]
15016 | yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_12_ruamel_yaml_output_handler, ((void )__pyx_v_self));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (
)(void *, char , int)
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:1837:31: note: expected ‘int (
)(void *, unsigned char , size_t)’ {aka ‘int ()(void *, unsigned char , long unsigned int)’} but argument is of type ‘int ()(void *, char *, int)’
1837 | yaml_write_handler_t *handler, void *data);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_8CEmitter__object_to_event’:
ext/_ruamel_yaml.c:16368:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
16368 | __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
| ^
ext/_ruamel_yaml.c:16483:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
16483 | __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
| ^
ext/_ruamel_yaml.c:16820:62: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
16820 | __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:555:63: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
555 | yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
| ~~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:17535:63: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
17535 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:581:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
581 | yaml_char_t *anchor, yaml_char_t *tag,
| ~~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:17535:79: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
17535 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:581:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
581 | yaml_char_t *anchor, yaml_char_t *tag,
| ~~~~~~~~~~~~~^~~
ext/_ruamel_yaml.c:17535:92: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
17535 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:582:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
582 | yaml_char_t *value, int length,
| ~~~~~~~~~~~~~^~~~~
ext/_ruamel_yaml.c:17969:71: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
17969 | __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:604:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
604 | yaml_char_t *anchor, yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:17969:87: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
17969 | __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:604:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
604 | yaml_char_t *anchor, yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~^~~
ext/_ruamel_yaml.c:18403:70: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
18403 | __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:636:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
636 | yaml_char_t *anchor, yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:18403:86: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
18403 | __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:636:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
636 | yaml_char_t *anchor, yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~^~~
ext/_ruamel_yaml.c: In function ‘__pyx_pf_12_ruamel_yaml_8CEmitter_12serialize’:
ext/_ruamel_yaml.c:19973:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
19973 | __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
| ^
ext/_ruamel_yaml.c:20088:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
20088 | __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
| ^
ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_8CEmitter__serialize_node’:
ext/_ruamel_yaml.c:20945:65: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
20945 | __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:555:63: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
555 | yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
| ~~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:21756:68: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
21756 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:581:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
581 | yaml_char_t *anchor, yaml_char_t *tag,
| ~~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:21756:84: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
21756 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:581:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
581 | yaml_char_t *anchor, yaml_char_t *tag,
| ~~~~~~~~~~~~~^~~
ext/_ruamel_yaml.c:21756:97: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
21756 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:582:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
582 | yaml_char_t *value, int length,
| ~~~~~~~~~~~~~^~~~~
ext/_ruamel_yaml.c:22143:76: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
22143 | __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:604:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
604 | yaml_char_t *anchor, yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:22143:92: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
22143 | __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:604:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
604 | yaml_char_t *anchor, yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~^~~
ext/_ruamel_yaml.c:22673:75: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
22673 | __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:636:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
636 | yaml_char_t *anchor, yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~^~~~~~
ext/_ruamel_yaml.c:22673:91: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
22673 | __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_ruamel_yaml.h:2,
from ext/_ruamel_yaml.c:596:
ext/yaml.h:636:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
636 | yaml_char_t *anchor, yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~^~~
ext/_ruamel_yaml.c: In function ‘__pyx_tp_dealloc_12_ruamel_yaml_CParser’:
ext/_ruamel_yaml.c:23877:5: error: lvalue required as increment operand
23877 | ++Py_REFCNT(o);
| ^~
ext/_ruamel_yaml.c:23879:5: error: lvalue required as decrement operand
23879 | --Py_REFCNT(o);
| ^~
ext/_ruamel_yaml.c: In function ‘__pyx_tp_dealloc_12_ruamel_yaml_CEmitter’:
ext/_ruamel_yaml.c:24050:5: error: lvalue required as increment operand
24050 | ++Py_REFCNT(o);
| ^~
ext/_ruamel_yaml.c:24052:5: error: lvalue required as decrement operand
24052 | --Py_REFCNT(o);
| ^~
ext/_ruamel_yaml.c: In function ‘__Pyx_ParseOptionalKeywords’:
ext/_ruamel_yaml.c:26221:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
26221 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26221:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
26221 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26221:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
26221 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26221:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
26221 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26221:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
26221 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26221:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
26221 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26237:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
26237 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26237:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
26237 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26237:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
26237 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26237:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
26237 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26237:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
26237 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_ruamel_yaml.c:26237:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
26237 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_ruamel_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/nealh/FastFlix/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ellbh2xs/ruamel-yaml_a10a0c295f1f4fb08f1b04eeaa7a3c4a/setup.py'"'"'; file='"'"'/tmp/pip-install-ellbh2xs/ruamel-yaml_a10a0c295f1f4fb08f1b04eeaa7a3c4a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-y4_wo_z
/install-record.txt --single-version-externally-managed --compile --install-headers /home/nealh/FastFlix/venv/include/site/python3.10/ruamel.yaml Check the logs for full command output.

@cdgriffith
Copy link
Owner

cdgriffith commented Jan 9, 2022

Hopeful temp solution: Remove ruamel.yaml==<whatever> from the requirements file and just pip install pyyaml

longer answer:
Seems like the version required of ruamel.yaml is now no longer building properly with newer python versions, and this is more of a big problem with the library using it, python-box cdgriffith/Box#215

So I need to update Box to be able to use latest and greatest ruamel.yaml and then can update this to use latest and hopeful would stop these issues. Going to test with latest PySide6 as well to hopefully nip that one early as well.

@Nhunz
Copy link
Author

Nhunz commented Jan 11, 2022

Still no luck unfortunately. I removed the ruamel.yaml fro the requirements file and when I ran the install requirements command it completed without errors. But, when I tried to start FastFlix it game me an error that either ruamel or pyyaml where required. So I added PyYAML to the requirements file and re-ran the install. It did download and install PyYAML but when I tried to start FastFlix I got the following error:

❯ python -m fastflix
2022-01-11 10:58:14 neal-legion.hunz.local fastflix-core[5173] INFO Starting FastFlix 4.5.1
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/nealh/FastFlix/fastflix/entry.py", line 31, in separate_app_process
from fastflix.application import start_app
File "/home/nealh/FastFlix/fastflix/application.py", line 19, in
from fastflix.widgets.container import Container
File "/home/nealh/FastFlix/fastflix/widgets/container.py", line 27, in
from fastflix.widgets.main import Main
File "/home/nealh/FastFlix/fastflix/widgets/main.py", line 38, in
from fastflix.ff_queue import save_queue
File "/home/nealh/FastFlix/fastflix/ff_queue.py", line 10, in
from ruamel.yaml import YAMLError
ModuleNotFoundError: No module named 'ruamel'

Any other thoughts or do I have to wait for the next version?

Thanks again,
Neal

@cdgriffith
Copy link
Owner

Blea. I don't know what versions of ruamel that building problem will occur with, or if anything without a pre-built wheel for that python version may have issues. Would first just trying a middleground version of pip install ruamel.yaml==0.16.13

If that doesn't work would probably just need to step back to Python3.8 or so until new box release

@Nhunz
Copy link
Author

Nhunz commented Jan 11, 2022

That did the trick. FastFlix is up and running again. Thanks for all your help and support.

@lgx419
Copy link

lgx419 commented Jan 20, 2022

Hello, Excuse me, how can I use the source program to transcode the video? Did you modify the parameters in the program? Confused, looking forward to your help!

@cdgriffith
Copy link
Owner

As topic is over closing this one, other new topic from Igx419 was continued #288

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants