Closed przerada closed 6 years ago
Have you run dev_setup.sh? The package needs to be installed within the venv. You installed it manually into the default global environment.
The dev_setup takes care of this for you. You can manually activate the venv, also, but that shouldn't be necessary.
Happened to me too. There's an error during the execution of dev_setup.sh:
Command "/home/veggero/mycroft-core/.venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-dvvlj9u7/pyyaml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-3i_4qp8n-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/veggero/mycroft-core/.venv/include/site/python3.7/pyyaml" failed with error code 1 in /tmp/pip-build-dvvlj9u7/pyyaml/ You are using pip version 9.0.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Warning: Failed to install all requirements. Continue? y/N
After this longer traceback:
Running setup.py install for pyyaml ... error Complete output from command /home/veggero/mycroft-core/.venv/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-dvvlj9u7/pyyaml/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-3i_4qp8n-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/veggero/mycroft-core/.venv/include/site/python3.7/pyyaml: running install running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/representer.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/constructor.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/error.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/tokens.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/dumper.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/reader.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/parser.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/init.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/nodes.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/resolver.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/composer.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/events.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/emitter.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/loader.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/scanner.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/serializer.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/cyaml.py -> build/lib.linux-x86_64-3.7/yaml running build_ext creating build/temp.linux-x86_64-3.7 checking if libyaml is compilable gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -I/home/veggero/mycroft-core/.venv/include -I/usr/include/python3.7m -c build/temp.linux-x86_64-3.7/check_libyaml.c -o build/temp.linux-x86_64-3.7/check_libyaml.o checking if libyaml is linkable gcc -pthread build/temp.linux-x86_64-3.7/check_libyaml.o -L/usr/lib -lyaml -o build/temp.linux-x86_64-3.7/check_libyaml building '_yaml' extension creating build/temp.linux-x86_64-3.7/ext Running setup.py install for pyyaml ... error Complete output from command /home/veggero/mycroft-core/.venv/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-dvvlj9u7/pyyaml/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-3i_4qp8n-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/veggero/mycroft-core/.venv/include/site/python3.7/pyyaml: running install running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/representer.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/constructor.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/error.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/tokens.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/dumper.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/reader.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/parser.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/init.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/nodes.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/resolver.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/composer.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/events.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/emitter.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/loader.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/scanner.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/serializer.py -> build/lib.linux-x86_64-3.7/yaml copying lib3/yaml/cyaml.py -> build/lib.linux-x86_64-3.7/yaml running build_ext creating build/temp.linux-x86_64-3.7 checking if libyaml is compilable gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -I/home/veggero/mycroft-core/.venv/include -I/usr/include/python3.7m -c build/temp.linux-x86_64-3.7/check_libyaml.c -o build/temp.linux-x86_64-3.7/check_libyaml.o checking if libyaml is linkable gcc -pthread build/temp.linux-x86_64-3.7/check_libyaml.o -L/usr/lib -lyaml -o build/temp.linux-x86_64-3.7/check_libyaml building '_yaml' extension creating build/temp.linux-x86_64-3.7/ext gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -I/home/veggero/mycroft-core/.venv/include -I/usr/include/python3.7m -c ext/_yaml.c -o build/temp.linux-x86_64-3.7/ext/_yaml.o In file included from ext/_yaml.c:343: ext/_yaml.h:10: warning: "PyString_CheckExact" redefined
ext/_yaml.c:184: note: this is the location of the previous definition
#define PyString_CheckExact PyUnicode_CheckExact
ext/_yaml.c: In function '__pyx_pf_5_yaml_get_version_string':
ext/_yaml.c:1346:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
__pyx_v_value = yaml_get_version_string();
^
ext/_yaml.c: In function '__pyx_pf_5_yaml_7CParser___init__':
ext/_yaml.c:2471:52: warning: passing argument 2 of 'yaml_parser_set_input' from incompatible pointer type [-Wincompatible-pointer-types]
yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:1368: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 *)'
yaml_read_handler_t *handler, void *data);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:79,
from ext/_yaml.c:16:
/usr/include/python3.7m/bytesobject.h:87:57: warning: pointer targets in passing argument 2 of 'yaml_parser_set_input_string' differ in signedness [-Wpointer-sign]
#define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
(((PyBytesObject *)(op))->ob_sval))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:11:29: note: in expansion of macro 'PyBytes_AS_STRING'
#define PyString_AS_STRING PyBytes_AS_STRING
^~~~~~~~~~~~~~~~~
ext/_yaml.c:2664:59: note: in expansion of macro 'PyString_AS_STRING'
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/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:1341:1: note: expected 'const unsigned char *' but argument is of type 'char *'
yaml_parser_set_input_string(yaml_parser_t *parser,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__pyx_f_5_yaml_7CParser__token_to_object':
ext/_yaml.c:4183:71: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:4195:71: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:4741:63: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:4792:64: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:4843:61: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:4855:61: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:4938:64: warning: pointer targets in passing argument 1 of 'PyUnicode_DecodeUTF8' differ in signedness [-Wpointer-sign]
__pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, __pyx_k_strict); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:1298:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__pyx_f_5_yaml_7CParser__event_to_object':
ext/_yaml.c:6435:63: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 574; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:6447:63: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:6616:63: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:6687:66: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_1 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:6722:66: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_1 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 594; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:6737:64: warning: pointer targets in passing argument 1 of 'PyUnicode_DecodeUTF8' differ in signedness [-Wpointer-sign]
__pyx_t_1 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, __pyx_k_strict); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:1298:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:7031:74: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_3 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 620; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:7066:74: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_3 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:7253:73: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:7288:73: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 640; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__pyx_f_5_yaml_7CParser__compose_node':
ext/_yaml.c:8704:75: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 734; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:8924:76: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 750; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:8962:84: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:9000:83: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__pyx_f_5_yaml_7CParser__compose_scalar_node':
ext/_yaml.c:9532:74: warning: pointer targets in passing argument 1 of 'PyUnicode_DecodeUTF8' differ in signedness [-Wpointer-sign]
__pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, __pyx_k_strict); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 791; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:1298:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:9688:76: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_9 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 804; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__pyx_f_5_yaml_7CParser__compose_sequence_node':
ext/_yaml.c:10128:84: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__pyx_f_5_yaml_7CParser__compose_mapping_node':
ext/_yaml.c:10654:83: warning: pointer targets in passing argument 1 of 'PyUnicode_FromString' differ in signedness [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/python3.7m/Python.h:80,
from ext/_yaml.c:16:
/usr/include/python3.7m/unicodeobject.h:702:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'}
PyAPI_FUNC(PyObject*) PyUnicode_FromString(
^~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__pyx_pf_5_yaml_8CEmitter___init__':
ext/_yaml.c:11721:53: warning: passing argument 2 of 'yaml_emitter_set_output' from incompatible pointer type [-Wincompatible-pointer-types]
yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_5_yaml_output_handler, ((void *)__pyx_v_self));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:1830: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)'
yaml_write_handler_t *handler, void *data);
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ext/_yaml.c: In function '__pyx_f_5_yaml_8CEmitter__object_to_event':
ext/_yaml.c:12898:44: warning: pointer targets in assignment from 'char *' to 'yaml_char_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
__pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
^
ext/_yaml.c:12991:44: warning: pointer targets in assignment from 'char *' to 'yaml_char_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
__pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
^
ext/_yaml.c:13248:62: warning: pointer targets in passing argument 2 of 'yaml_alias_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_4 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
^~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:553:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:13824:63: warning: pointer targets in passing argument 2 of 'yaml_scalar_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_3 = ((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);
^~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:578:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_scalar_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:13824:79: warning: pointer targets in passing argument 3 of 'yaml_scalar_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_3 = ((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);
^~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:578:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_scalar_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:13824:92: warning: pointer targets in passing argument 4 of 'yaml_scalar_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_3 = ((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);
^~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:578:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_scalar_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:14166:71: warning: pointer targets in passing argument 2 of 'yaml_sequence_start_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_4 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
^~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:601:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_sequence_start_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:14166:87: warning: pointer targets in passing argument 3 of 'yaml_sequence_start_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_4 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
^~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:601:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_sequence_start_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:14508:70: warning: pointer targets in passing argument 2 of 'yaml_mapping_start_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_3 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
^~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:633:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_mapping_start_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:14508:86: warning: pointer targets in passing argument 3 of 'yaml_mapping_start_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_3 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
^~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:633:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_mapping_start_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__pyx_pf_5_yaml_8CEmitter_12serialize':
ext/_yaml.c:15784:42: warning: pointer targets in assignment from 'char *' to 'yaml_char_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
__pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
^
ext/_yaml.c:15877:42: warning: pointer targets in assignment from 'char *' to 'yaml_char_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
__pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
^
ext/_yaml.c: In function '__pyx_f_5_yaml_8CEmitter__serialize_node':
ext/_yaml.c:16616:65: warning: pointer targets in passing argument 2 of 'yaml_alias_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
^~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:553:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:17195:68: warning: pointer targets in passing argument 2 of 'yaml_scalar_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_8 = ((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);
^~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:578:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_scalar_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:17195:84: warning: pointer targets in passing argument 3 of 'yaml_scalar_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_8 = ((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);
^~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:578:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_scalar_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:17195:97: warning: pointer targets in passing argument 4 of 'yaml_scalar_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_8 = ((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);
^~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:578:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_scalar_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:17473:76: warning: pointer targets in passing argument 2 of 'yaml_sequence_start_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_8 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
^~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:601:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_sequence_start_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:17473:92: warning: pointer targets in passing argument 3 of 'yaml_sequence_start_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_8 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
^~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:601:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_sequence_start_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:17874:75: warning: pointer targets in passing argument 2 of 'yaml_mapping_start_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_8 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
^~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:633:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_mapping_start_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:17874:91: warning: pointer targets in passing argument 3 of 'yaml_mapping_start_event_initialize' differ in signedness [-Wpointer-sign]
__pyx_t_8 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
^~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:343:
/usr/include/yaml.h:633:1: note: expected 'yaml_char_t *' {aka 'unsigned char *'} but argument is of type 'char *'
yaml_mapping_start_event_initialize(yaml_event_t *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function '__Pyx_ExceptionSave':
ext/_yaml.c:20800:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
*type = tstate->exc_type;
^~~~~~~~
curexc_type
ext/_yaml.c:20801:22: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_value'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
ext/_yaml.c:20802:19: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
ext/_yaml.c: In function '__Pyx_ExceptionReset':
ext/_yaml.c:20814:24: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
ext/_yaml.c:20815:25: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_value'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
ext/_yaml.c:20816:22: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
ext/_yaml.c:20817:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
tstate->exc_type = type;
^~~~~~~~
curexc_type
ext/_yaml.c:20818:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_value'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
ext/_yaml.c:20819:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
ext/_yaml.c: In function '__Pyx_GetException':
ext/_yaml.c:20862:24: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
ext/_yaml.c:20863:25: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_value'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
ext/_yaml.c:20864:22: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
ext/_yaml.c:20865:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
tstate->exc_type = local_type;
^~~~~~~~
curexc_type
ext/_yaml.c:20866:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_value'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
ext/_yaml.c:20867:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
error: command 'gcc' failed with exit status 1
----------------------------------------
I suspect this is due to something unique to your environments. Can you share what flavor of Linux you are running, language (if not English), etc.
I'm using Antergos Gnome with Polish language
This is what ive got when start start-mycrosoft.sh debug
sudo ./start-mycroft.sh debug
Starting all mycroft-core services
Initializing...
Changing ownership of /opt/mycroft to user: root with group: root
właściciel '/opt/mycroft/skills' zmieniony z mprzerada:users na root:root
właściciel '/opt/mycroft' zmieniony z mprzerada:users na root:root
Starting background service bus
CAUTION: The Mycroft bus is an open websocket with no built-in security
measures. You are responsible for protecting the local port
8181 with a firewall as appropriate.
Starting background service skills
Starting background service audio
Starting background service voice
Starting cli
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.7/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/home/mprzerada/mycroft-core/mycroft/init.py", line 17, in
I'm almost certain that the problem is that 'inflection' didn't get into the venv. You should be able to do the following:
cd ~/mycroft-core
source venv-activate.sh
pip3 list
I'll bet 'inflection' isn't in that listing, which is within the mycroft venv. If not, you are in that environment, and can go ahead and run:
pip3 install inflection==0.3.1
Let's see if that works for you, and if so then we can figure out why dev_setup.sh didn't do this for you.
Ok, I checked pip3 list and Ive got information that my pip3 version is 9 and I need upgrade, so i do that with the command that was show in this information. Pip3 was upgraded and pip3 --version show me that Im using pip3 18.0, now Im start dev-setup and got this
Installing collected packages: pip Found existing installation: pip 18.0 Uninstalling pip-18.0: Successfully uninstalled pip-18.0 Successfully installed pip-18.0 Searching for pip==9.0.1
but few seconds later I see this
You are using pip version 9.0.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
If i say yes to continue I got this
./dev_setup.sh: linia 203: / 512000: błąd składni: spodziewany argument (błędny znacznik to "/ 512000") Building with 1 cores. Skipping mimic build.
and after this tray I got this on pip3 list
$ pip3 list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. attrs (18.1.0) backports.ssl-match-hostname (3.4.0.2) certifi (2018.8.24) chardet (3.0.4) cov-core (1.15.0) coverage (4.5.1) future (0.16.0) futures (3.0.3) gTTS (1.1.7) gTTS-token (1.1.1) idna (2.7) inflection (0.3.1) mock (2.0.0) more-itertools (4.3.0) pbr (4.2.0) pep8 (1.7.0) pip (9.0.1) pluggy (0.6.0) py (1.6.0) PyAudio (0.2.11) pyee (1.0.1) pytest (3.5.0) pytest-cov (2.5.1) python-coveralls (2.9.1) PyYAML (3.13) requests (2.19.1) requests-futures (0.9.5) setuptools (40.2.0) six (1.10.0) SpeechRecognition (3.8.1) tornado (4.2.1) urllib3 (1.23) websocket-client (0.32.0) wheel (0.31.1) You are using pip version 9.0.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. (.venv)
I can upgrade pip3 and I'll get this
$ pip3 list Package Version
attrs 18.1.0
backports.ssl-match-hostname 3.4.0.2
certifi 2018.8.24 chardet 3.0.4
cov-core 1.15.0
coverage 4.5.1
future 0.16.0
futures 3.0.3
gTTS 1.1.7
gTTS-token 1.1.1
idna 2.7
inflection 0.3.1
mock 2.0.0
more-itertools 4.3.0
pbr 4.2.0
pep8 1.7.0
pip 18.0
pluggy 0.6.0
py 1.6.0
PyAudio 0.2.11
pyee 1.0.1
pytest 3.5.0
pytest-cov 2.5.1
python-coveralls 2.9.1
PyYAML 3.13
requests 2.19.1
requests-futures 0.9.5
setuptools 40.2.0
six 1.10.0
SpeechRecognition 3.8.1
tornado 4.2.1
urllib3 1.23
websocket-client 0.32.0
wheel 0.31.1
(.venv)
I second this problem. Distro: Arch Language: English
Infliction was missing but installing it did not change anything. I get pretty much the same errors as @przerada. issue.log
@Kopsi did you get the dev_setup install error as well? I'm not sure how well the dev_setup script is updated for Arch so that may be an issue.
Yes I did. I hope the logfile is helpful. I did however try to change pip 9.0.1 to 18.0 in the dev_setup.sh, which did not accomplich anything as far as I could tell.
In case anyone is experiencing the same issue I am, I got Mycroft to work the first time and got this error after moving mycroft-core
into another folder. I described this in a separate issue in #1787.
I use Arch, too.
I tried to pip install the missing modules within the venv. After installing inflection, python will raise an error about missing psutil. If I install that too, dateutil is still missing. If I try to install that, pip will raise an error: Could not find a version that satisfies the requirement dateutile (from versions: ) No matching distribution found for dateutile
These are the modules that pip list shows: test.txt
I just posted in the chat about this. The zypper and pacman portions of mycroft-core dev_setup.sh have never been upgraded for Python 3. So Arch and SUSE will only work for someone who has already installed pieces for other work.
So... anyone looking for a project? PRs welcomed for these!
I also have the issue best described I think by veggero. On Arch, in English and having run latest dev_setup.sh including the recent pip==18.0 addition.
I have tried the vanilla dev_setup and also updated it to python3 packages with same result
$SUDO pacman -S --needed --noconfirm git python python-pip python-setuptools python-virtualenv python-gobject python-virtualenvwrapper ...
Both appear to fail at building pyyaml wheel with them giving the same errors and I will just provide what I am guessing may be useful instead of the entire traces
Running setup.py bdist_wheel for pyyaml ... error Complete output from command /home/chris/Builds/from-source/mycroft-core/.venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-e51iz07y/pyyaml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-qyr2ymp7 --python-tag cp37:
Then a huge load of output from gcc (I think, though I can't even tell if they are warnings or errors) which ends with this bit next
error: command 'gcc' failed with exit status 1
-----------------------------------------
Failed building wheel for pyyaml
Running setup.py clean for pyyaml
Failed to build pyyaml
Installing collected packages: six, urllib3, certifi, chardet, idna, requests, gTTS-token, gTTS, backports.ssl-match-hostname, PyAudio, pyee, SpeechRecognition, tornado, websocket-client, futures, future, requests-futures, pyyaml, pyalsaaudio, xmlrunner, pyserial, psutil, pocketsphinx, inflection, olefile, pillow, python-dateutil, netifaces, zeroconf, protobuf, pychromecast, python-vlc, pulsectl, uritemplate, pyasn1, pyasn1-modules, httplib2, rsa, oauth2client, google-api-python-client, typing, smmap2, gitdb2, GitPython, msm, pyjwt, pygithub, msk, adapt-parser, fann2, padaos, xxhash, padatious, precise-runner, petact, pep8
Running setup.py install for pyyaml ... error
Complete output from command /home/chris/Builds/from-source/mycroft-core/.venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-e51iz07y/pyyaml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-jbjkdvck/install-record.txt --single-version-externally-managed --compile --install-headers /home/chris/Builds/from-source/mycroft-core/.venv/include/site/python3.7/pyyaml:
Then another huge output and it ends like so
error: command 'gcc' failed with exit status 1
--------------------------------------------------
Command "/home/chris/Builds/from-source/mycroft-core/.venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-e51iz07y/pyyaml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-jbjkdvck/install-record.txt --single-version-externally-managed --compile --install-headers /home/chris/Builds/from-source/mycroft-core/.venv/include/site/python3.7/pyyaml" failed with error code 1 in /tmp/pip-install-e51iz07y/pyyaml/
Warning: Failed to install all requirements. Continue? y/N
n
So just updating dev_setup to install python3 etc with pacman does not fix the issue.
I also looked through the history of dev_setup for clues from when the script was updated for other package managers and presumably they were fine with just python3 instead. Checked the environment vars mid-execution and they all checked out.
Having no python experience and very little pip experience if i had to guess I would say it is a problem with pip, gcc or the python code itself but that is with aforementioned lack of knowledge. Here I was hoping it was just a bash script issue. Have been looking forward to trying out this software.
I worked on this with @chowbok and created PR #1798. Let's see if that does the trick, and if so we can close this one.
Note that there was a comment in that PR about a problem with another Arch package (libyaml), but I think that is outside the scope of our setup script. They were reaching out to the maintainer of libyaml to update the dated package.
I still get the "ModuleNotFoundError: No module named 'inflection'" error using the standard README's Getting Started instructions; nothing in the installation has apparently changed. I checked git log just for sure, and I see the Arch commit. EDIT: got it working by removing pyyaml before.
Indeed removing libyaml as mentioned in the PR, which i think is what veggero meant, allows installation. Amazing for open source I am really impressed and not at the mercy of google or amazon. Hooray! Thanks guys and hopefully the arch package will be updated soon.
@KathyReid (with help from @adocampo) updated the pyyaml module version in #1807. Would this resolve the issue?
I've just tried dev_setup.sh on a brand new arch linux installation. I found no problem at all. :)
Ok closing the issue @przerada if you still have issues with this feel free to reopen
Hi I have problem with start mycroft this is what i've got
But it's installed