Dlib Linux Web Server Install Error

Hello,
First of all thank you for this technology.I combined a software I made with Dlib with Flask and turned it into a website.I wanted to share this project with people by putting it in a linux x86_64 host server.But I had a problem installing Dlib. No matter how much I searched, I could not find the solution, I would be glad if you could help.By the way, cmake was downloaded
When I try the pip install dlib command, I get the following result
`Collecting dlib
Using cached dlib-19.21.1.tar.gz (3.6 MB)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py'"'"'; file='"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/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-8wni5ums
cwd: /tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/
Complete output (65 lines):
running bdist_wheel
running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake /tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/lib.linux-x86_64-3.7 -DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -DCMAKE_BUILD_TYPE=Release'
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin (found version "3.7.8")
-- Found PythonLibs: /opt/alt/python37/lib64/libpython3.7m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Failed
-- Performing Test HAS_CPP11_FLAG
-- Performing Test HAS_CPP11_FLAG - Failed
CMake Error at /tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/dlib/external/pybind11/tools/pybind11Tools.cmake:32 (message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/dlib/external/pybind11/CMakeLists.txt:33 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 262, in
'Topic :: Software Development',
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/alt/python37/lib64/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 135, in run
self.build_extension(ext)
File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 172, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
ERROR: Failed building wheel for dlib
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib ... error
ERROR: Command errored out with exit status 1:
command: /home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py'"'"'; file='"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/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-j5mzdtzi/install-record.txt --single-version-externally-managed --compile --install-headers /home/ury5gska1oii/virtualenv/FaceShape/3.7/include/site/python3.7/dlib
cwd: /tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/
Complete output (67 lines):
running install
running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake /tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/lib.linux-x86_64-3.7 -DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -DCMAKE_BUILD_TYPE=Release'
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin (found version "3.7.8")
-- Found PythonLibs: /opt/alt/python37/lib64/libpython3.7m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Failed
-- Performing Test HAS_CPP11_FLAG
-- Performing Test HAS_CPP11_FLAG - Failed
CMake Error at /tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/dlib/external/pybind11/tools/pybind11Tools.cmake:32 (message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/dlib/external/pybind11/CMakeLists.txt:33 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 262, in <module>
    'Topic :: Software Development',
  File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/opt/alt/python37/lib64/python3.7/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/opt/alt/python37/lib64/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 135, in run
    self.build_extension(ext)
  File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 172, in build_extension
    subprocess.check_call(cmake_setup, cwd=build_folder)
  File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: /home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py'"'"'; file='"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/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-j5mzdtzi/install-record.txt --single-version-externally-managed --compile --install-headers /home/ury5gska1oii/virtualenv/FaceShape/3.7/include/site/python3.7/dlib Check the logs for full command output.`
When I try the python setup.py install --user command I get the following result. I could not reach the document mentioned.
`running install
Checking .pth file support in /home/ury5gska1oii/.local/lib/python3.7/site-packages/
/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -E -c pass
TEST FAILED: /home/ury5gska1oii/.local/lib/python3.7/site-packages/ does NOT support .pth files
bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/home/ury5gska1oii/.local/lib/python3.7/site-packages/

and your PYTHONPATH environment variable currently contains:
''

Here are some of your options for correcting the problem:

You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files

You can add the installation directory to the PYTHONPATH environment
variable.  (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)

You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations

Please make the appropriate changes for your system and try again.
running bdist_egg
running egg_info
writing tools/python/dlib.egg-info/PKG-INFO
writing dependency_links to tools/python/dlib.egg-info/dependency_links.txt
writing top-level names to tools/python/dlib.egg-info/top_level.txt
package init file 'tools/python/dlib/init.py' not found (or not a regular file)
reading manifest file 'tools/python/dlib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'tools/python/build*'
writing manifest file 'tools/python/dlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake /home/ury5gska1oii/FaceShape/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7 -DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -DCMAKE_BUILD_TYPE=Release'
CMake Error at /home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/tools/pybind11Tools.cmake:32 (message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/CMakeLists.txt:33 (include)
-- Configuring incomplete, errors occurred!
See also "/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 261, in
'Topic :: Software Development',
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/opt/alt/python37/lib64/python3.7/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 134, in run
self.build_extension(ext)
File "setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/ury5gska1oii/FaceShape/dlib/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.`
When I try the python setup.py install --compiler = cygwin command, I get the following result.
`running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake /home/ury5gska1oii/FaceShape/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7 -DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -DCMAKE_BUILD_TYPE=Release'
CMake Error at /home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/tools/pybind11Tools.cmake:32 (message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/CMakeLists.txt:33 (include)
-- Configuring incomplete, errors occurred!
See also "/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 261, in
'Topic :: Software Development',
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/alt/python37/lib64/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 134, in run
self.build_extension(ext)
File "setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/ury5gska1oii/FaceShape/dlib/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.`
When I try the python setup.py install command, I get the following result
`running install
running bdist_egg
running egg_info
writing tools/python/dlib.egg-info/PKG-INFO
writing dependency_links to tools/python/dlib.egg-info/dependency_links.txt
writing top-level names to tools/python/dlib.egg-info/top_level.txt
package init file 'tools/python/dlib/init.py' not found (or not a regular file)
reading manifest file 'tools/python/dlib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'tools/python/build*'
writing manifest file 'tools/python/dlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake /home/ury5gska1oii/FaceShape/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7 -DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -DCMAKE_BUILD_TYPE=Release'
CMake Error at /home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/tools/pybind11Tools.cmake:32 (message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/CMakeLists.txt:33 (include)
-- Configuring incomplete, errors occurred!
See also "/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 261, in
'Topic :: Software Development',
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/opt/alt/python37/lib64/python3.7/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 134, in run
self.build_extension(ext)
File "setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/ury5gska1oii/FaceShape/dlib/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.`
And I tried many more methods but it didn't work

In the text you posted is "Unsupported compiler -- pybind11 requires C++11
support!".   You need a compiler that supports C++11.
On Tue, Mar 23, 2021 at 3:25 PM hasretja @.***> wrote:

Hello,
First of all thank you for this technology.I combined a software I made
with Dlib with Flask and turned it into a website.I wanted to share this
project with people by putting it in a linux x86_64 host server.But I had a
problem installing Dlib. No matter how much I searched, I could not find
the solution, I would be glad if you could help.By the way, cmake was
downloaded
When I try the pip install dlib command, I get the following result
`Collecting dlib
Using cached dlib-19.21.1.tar.gz (3.6 MB)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -u
-c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py'"'"';
file='"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/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-8wni5ums
cwd: /tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/
Complete output (65 lines):
running bdist_wheel
running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a
regular file)
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake
/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/tools/python
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/lib.linux-x86_64-3.7
-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin
-DCMAKE_BUILD_TYPE=Release'
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp:
/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin (found
version "3.7.8")
-- Found PythonLibs: /opt/alt/python37/lib64/libpython3.7m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Failed
-- Performing Test HAS_CPP11_FLAG
-- Performing Test HAS_CPP11_FLAG - Failed
CMake Error at
/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/dlib/external/pybind11/tools/pybind11Tools.cmake:32
(message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/dlib/external/pybind11/CMakeLists.txt:33
(include)
-- Configuring incomplete, errors occurred!
See also
"/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also
"/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "", line 1, in
File
"/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py",
line 262, in
'Topic :: Software Development',
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/
init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in
setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in
run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/wheel/bdist_wheel.py",
line 299, in run
self.run_command('build')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File "/opt/alt/python37/lib64/python3.7/distutils/command/build.py", line
135, in run
self.run_command(cmd_name)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File
"/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py",
line 135, in run
self.build_extension(ext)
File
"/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py",
line 172, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in
check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake',
'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/tools/python',
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/lib.linux-x86_64-3.7',
'-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin',
'-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
ERROR: Failed building wheel for dlib
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib ... error
ERROR: Command errored out with exit status 1:
command: /home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -u
-c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py'"'"';
file='"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/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-j5mzdtzi/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/ury5gska1oii/virtualenv/FaceShape/3.7/include/site/python3.7/dlib
cwd: /tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/
Complete output (67 lines):
running install
running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a
regular file)
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake
/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/tools/python
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/lib.linux-x86_64-3.7
-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin
-DCMAKE_BUILD_TYPE=Release'
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp:
/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin (found
version "3.7.8")
-- Found PythonLibs: /opt/alt/python37/lib64/libpython3.7m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Failed
-- Performing Test HAS_CPP11_FLAG
-- Performing Test HAS_CPP11_FLAG - Failed
CMake Error at
/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/dlib/external/pybind11/tools/pybind11Tools.cmake:32
(message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/dlib/external/pybind11/CMakeLists.txt:33
(include)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 262, in
'Topic :: Software Development',
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/opt/alt/python37/lib64/python3.7/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/alt/python37/lib64/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 135, in run
self.build_extension(ext)
File "/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py", line 172, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
ERROR: Command errored out with exit status 1:
/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -u -c 'import
sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/setup.py'"'"';
file='"'"'/tmp/pip-install-7tjeokpb/dlib_cc737ae038ee4a50b6ae30a56b51bf38/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-j5mzdtzi/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/ury5gska1oii/virtualenv/FaceShape/3.7/include/site/python3.7/dlib
Check the logs for full command output.`
When I try the python setup.py install --user command I get the following
result. I could not reach the document mentioned.
`running install
Checking .pth file support in
/home/ury5gska1oii/.local/lib/python3.7/site-packages/
/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin -E -c pass
TEST FAILED: /home/ury5gska1oii/.local/lib/python3.7/site-packages/ does
NOT support .pth files
bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/home/ury5gska1oii/.local/lib/python3.7/site-packages/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:

You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again.
running bdist_egg
running egg_info
writing tools/python/dlib.egg-info/PKG-INFO
writing dependency_links to tools/python/dlib.egg-info/dependency_links.txt
writing top-level names to tools/python/dlib.egg-info/top_level.txt
package init file 'tools/python/dlib/init.py' not found (or not a
regular file)
reading manifest file 'tools/python/dlib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'tools/python/build*'
writing manifest file 'tools/python/dlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake
/home/ury5gska1oii/FaceShape/dlib/tools/python
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7
-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin
-DCMAKE_BUILD_TYPE=Release'
CMake Error at
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/tools/pybind11Tools.cmake:32
(message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/CMakeLists.txt:33
(include)
-- Configuring incomplete, errors occurred!
See also
"/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also
"/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 261, in
'Topic :: Software Development',
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/
init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in
setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in
run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py",
line 67, in run
self.do_egg_install()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py",
line 109, in do_egg_install
self.run_command('bdist_egg')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/bdist_egg.py",
line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/bdist_egg.py",
line 150, in call_command
self.run_command(cmdname)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install_lib.py",
line 11, in run
self.build()
File "/opt/alt/python37/lib64/python3.7/distutils/command/install_lib.py",
line 107, in build
self.run_command('build_ext')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File "setup.py", line 134, in run
self.build_extension(ext)
File "setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in
check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake',
'/home/ury5gska1oii/FaceShape/dlib/tools/python',
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7',
'-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin',
'-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.`
When I try the python setup.py install --compiler = cygwin command, I get
the following result.
`running build
running build_py
package init file 'tools/python/dlib/init.py' not found (or not a
regular file)
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake
/home/ury5gska1oii/FaceShape/dlib/tools/python
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7
-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin
-DCMAKE_BUILD_TYPE=Release'
CMake Error at
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/tools/pybind11Tools.cmake:32
(message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/CMakeLists.txt:33
(include)
-- Configuring incomplete, errors occurred!
See also
"/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also
"/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 261, in
'Topic :: Software Development',
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/
init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in
setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in
run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File "/opt/alt/python37/lib64/python3.7/distutils/command/build.py", line
135, in run
self.run_command(cmd_name)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File "setup.py", line 134, in run
self.build_extension(ext)
File "setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in
check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake',
'/home/ury5gska1oii/FaceShape/dlib/tools/python',
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7',
'-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin',
'-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.`
When I try the python setup.py install command, I get the following result
`running install
running bdist_egg
running egg_info
writing tools/python/dlib.egg-info/PKG-INFO
writing dependency_links to tools/python/dlib.egg-info/dependency_links.txt
writing top-level names to tools/python/dlib.egg-info/top_level.txt
package init file 'tools/python/dlib/init.py' not found (or not a
regular file)
reading manifest file 'tools/python/dlib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'tools/python/build*'
writing manifest file 'tools/python/dlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
Building extension for Python 3.7.8 (default, Aug 11 2020, 06:57:43)
Invoking CMake setup: 'cmake
/home/ury5gska1oii/FaceShape/dlib/tools/python
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7
-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin
-DCMAKE_BUILD_TYPE=Release'
CMake Error at
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/tools/pybind11Tools.cmake:32
(message):
Unsupported compiler -- pybind11 requires C++11 support!
Call Stack (most recent call first):
/home/ury5gska1oii/FaceShape/dlib/dlib/external/pybind11/CMakeLists.txt:33
(include)
-- Configuring incomplete, errors occurred!
See also
"/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also
"/home/ury5gska1oii/FaceShape/dlib/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 261, in
'Topic :: Software Development',
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/
init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/alt/python37/lib64/python3.7/distutils/core.py", line 148, in
setup
dist.run_commands()
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 966, in
run_commands
self.run_command(cmd)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py",
line 67, in run
self.do_egg_install()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install.py",
line 109, in do_egg_install
self.run_command('bdist_egg')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/bdist_egg.py",
line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/bdist_egg.py",
line 150, in call_command
self.run_command(cmdname)
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File
"/home/ury5gska1oii/virtualenv/FaceShape/3.7/lib/python3.7/site-packages/setuptools/command/install_lib.py",
line 11, in run
self.build()
File "/opt/alt/python37/lib64/python3.7/distutils/command/install_lib.py",
line 107, in build
self.run_command('build_ext')
File "/opt/alt/python37/lib64/python3.7/distutils/cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "/opt/alt/python37/lib64/python3.7/distutils/dist.py", line 985, in
run_command
cmd_obj.run()
File "setup.py", line 134, in run
self.build_extension(ext)
File "setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 363, in
check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake',
'/home/ury5gska1oii/FaceShape/dlib/tools/python',
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/ury5gska1oii/FaceShape/dlib/build/lib.linux-x86_64-3.7',
'-DPYTHON_EXECUTABLE=/home/ury5gska1oii/virtualenv/FaceShape/3.7/bin/python3.7_bin',
'-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.`
And I tried many more methods but it didn't work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/davisking/dlib/issues/2332, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYFRYPLIRTTFQYPC2P7VDTFDTL5ANCNFSM4ZV2LEEQ
.

Hi Davis,
Thanks for your return.
But the terminal only allows me to use python commands like pip, python setup.py install. Can I install such a c ++ 11 compiler with these methods?
Thanks.

Hello,
First Does not work on Cpanel, you need a VPS machine.And for second problem I solved the problem because of the lack of power of the machine. After copying the code on a better machine, you can install it with python setup.py install.
Thanks.


Can't compile - Project ERROR: Package ykpers-1 not found

System: Fedora 30
Hi guys,
While compiling (qmake && make), I get always the following output:
Project MESSAGE: Release build
Project MESSAGE: Unix build
sh: 1: pkg-config: not found
Project ERROR: Package ykpers-1 not found
Makefile:69: recipe for target 'src//Makefile' failed
make: *** [src//Makefile] Error 2
The packages have been installed as instructed.
Any Ideas?
Thanks!

You need to have pkg-config installed for finding the dependencies.
(and you might want to look at yubikey-manager rather than this).


fun commands should not require prefix

currently fun commands require prefix to run (ie ?hewwo, ?quote), this shouldn't be the case since the whole reason the fun commands are fun is because they aren't triggered manually.

there does not seem to be a way to do this in discord.py without restructuring the whole bot, so it seems that the best way will be to make a separate bot that logs into the same account and takes care of the fun commands

there does not seem to be a way to do this in discord.py without restructuring the whole bot, so it seems that the best way will be to make a separate bot that logs into the same account and takes care of the fun commands

Yeah no, we could just do a on_message in Fun.py and it'll be done
Since there's so much demand I'll add them back

the current implementation does not work like intended, ie they only trigger when the command is used and not when a message that contains the phrase is used
ie hewwo there wont trigger the bot even tho that is the intended behavior

Resolved


Fix ambient cni on OpenShift

This change handles the case where PrevResult is nil, as in the case when using Multus, e.g. on OpenShift.
Before this fix, we get this error:
error adding container to network "istio-cni": istio-cni panicked during cmdAdd: interface conversion: types.Result is nil, not *types100.Result

@bleggett done.

In response to a cherrypick label: #50916 failed to apply on top of branch "release-1.21":
Applying: Fix ambient cni on OpenShift
Using index info to reconstruct a base tree...
M	cni/pkg/plugin/plugin.go
M	cni/pkg/plugin/plugin_test.go
Falling back to patching base and 3-way merge...
Auto-merging cni/pkg/plugin/plugin_test.go
CONFLICT (content): Merge conflict in cni/pkg/plugin/plugin_test.go
Auto-merging cni/pkg/plugin/plugin.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fix ambient cni on OpenShift
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #50919

In response to a cherrypick label: new pull request created: #50920


PSR-7 v2

Feature Request
Support for PSR-7 v2 in league/uri-components.
See https://www.php-fig.org/psr/psr-7/meta/#72-type-additions

@kelunik I indeed saw that PSR-7 v2 was out. The question that I have is does it warrant an new version for all packages to correctly implements the return type or not ?
If so I could take the opportunity to bump correctly all repo and to have a clean release with all repo moving to v7. it might take a bit more time but the result would be worthwhile I think

Adding parameter types requires a new major version for packages shipping implementations, yes.
So the plan is bumping everything to v7 so the next version for league/uri-components will be 7.0.0?

Yes that's the plan so that tags can be added on the monorepo directly. Makes management easier for me

@kelunik turns out that moving to PSR-7 is a lot easier than I thought since the package is already fully typed but I will have to wait for the https://github.com/php-http/psr7-integration-tests package to supports:

PSR-7 version 2
PHPUnit 10

The master branch now supports PSR-7 version two.

[ ] Still need to make sure all the dependencies are respected.
[ ] Still need to update the documentation for v7

@kelunik most of the work to release version 7 is done
Updating the documentation is still a to do work but it will be an easy one as most of the public API is still the same.
I have a question for you as a user of the package though. I want to remove the create prefix from all the named constructor so in
- public static createFromString(Stringable|string $uri): self
+ public static fromString(Stringable|string $uri): self

It can be done in 2 ways:

either I do a hard BC break or
I keep the deprecated version at least in v7.

I presume the latter is better as it allows for a simpler migration path to v7 🤔 Another possibility is to think that renaming is not necessary.
I am just looking for feedback to see what's the best scenario (from the POV of maintenance burden). IMHO at some point the create prefix ought to be removed... the sooner the better, unless I am missing something

The createFrom* family of named constructor will be deprecatede in version 7 and remove in the next major version. So only thing missing now is documentation update

@nyamsprod Sorry, forgot to answer. It's best to deprecate and introduce aliases if you want to transition to the new naming.

I updated a branch of http-server this morning<EMAIL_ADDRESS>to give the 7.x-dev a try. Everything works without any code modifications. Retaining the old names as deprecated should allow us to support 6.x and 7.x.

league/uri:7.0.0-beta.2
league/uri-components:7.0.0-beta.2
league/uri-interfaces:7.0.0-beta.2

are tagged.
Unless some big bug are found if all goes well the new stable tag will be released next week 🤞🏾


Eco Version

Purpose
Fixes:
Examples
Checklist

[ ] Linked to an issue
[ ] Updated the changelog
[ ] Added tests

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f142d4d). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head d315f3a differs from pull request most recent head 3179480. Consider uploading reports for the commit 3179480 to get more accurate results

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   94.45%
  Complexity        ?      255
=========================================
  Files             ?       49
  Lines             ?     2417
  Branches          ?     1085
=========================================
  Hits              ?     2283
  Misses            ?      120
  Partials          ?       14

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f142d4d...3179480. Read the comment docs.


CLI with default task and a required argument

I am creating a very simple CLI for my gem, and would like the user to be able to simply type a single word (name of the CLI), followed by some arguments, i.e.:
$ test 'arg1'

First question: is having my main class inherit from Thor::Group instead of Thor the only way to do this, as follows?
#!/usr/bin/env ruby

require 'thor'

class Test < Thor::Group
  argument :arg, type: :string
  def foo
    puts "bar"
  end
end

Test.start

Given that script, I can run it as follows without trouble:
$ ./test.rb 'some arg'

Second question: How can I make the help stop essentially listing the name of the CLI twice.  Here is what "./test.rb --help" shows me:
Usage:
  test.rb test ARG

I would rather it read simply:
Usage:
  test.rb ARG

To whit, this help would be even more awkward once I package into a gem, where the help would read something like:
Usage:
  test test ARG

I would also like this, and I find it strange that it's not already the behavior of default command to try to feed args that aren't commands into the default command.

Same problem.

My quite ugly, but working workaround:
#!/usr/bin/env ruby
require 'thor'

class MyApp < Thor
  default_task :list

  desc "TARGET_DIR", "List all files in directory and subdirectories"
  def list(target_dir)
    puts "Listing files in #{target_dir} now"
  end

  map %w[--version -v] => :version
  desc "--version, -v", "Print the version"
  def version
    puts "#{MyApp} 0.0.1"
  end

end

ARGV.unshift(MyApp.default_task) unless MyApp.all_tasks.has_key?(ARGV[0]) || MyApp.instance_variable_get(:@map).has_key?(ARGV[0])
MyApp.start(ARGV)

With this class I can run it from command line:
$ myapp --help
Commands:
  my_app --version, -v   # Print the version
  my_app TARGET_DIR      # List all files in directory and subdirectories
  my_app help [COMMAND]  # Describe available commands or one specific command

$ myapp -v
MyApp 0.0.1

$ myapp -vv
Listing files in -vv now

$ myapp path/to/some/dir
Listing files in path/to/some/dir now

$ myapp list path/to/some/dir
Listing files in path/to/some/dir now

I can't find the default_task method on the wiki, it should probably be there 😅.


Cannot use --restart

I'm using the following to start minecraft:
sudo docker run -it \
        -p 25565:25565 \
        -v /docker/minecraft/data:/data \
        -e EULA=TRUE \
        --name minecraft_20190307 \
        itzg/minecraft-server

The output I'm getting is:
Checking type information.
server.properties already created, skipping
Checking for JSON files.
Copying any mods over...
Setting initial memory to 1G and max to 1G
[04:47:30] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[04:47:30] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[04:47:30] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[04:47:30] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[04:47:30] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[04:47:30] [main/INFO]: Loaded 0 recipes
[04:47:30] [main/INFO]: Loaded 0 advancements
[04:47:30] [Server thread/INFO]: Starting minecraft server version 1.13.2
[04:47:30] [Server thread/INFO]: Loading properties
[04:47:30] [Server thread/INFO]: Default game type: SURVIVAL
[04:47:30] [Server thread/INFO]: Generating keypair
[04:47:32] [Server thread/INFO]: Starting Minecraft server on *:25565
[04:47:32] [Server thread/INFO]: Using epoll channel type
[04:47:32] [Server thread/INFO]: Preparing level "20190307"
[04:47:33] [Server thread/INFO]: Reloading ResourceManager: Default
[04:47:35] [Server thread/INFO]: Loaded 524 recipes
[04:47:36] [Server thread/INFO]: Loaded 571 advancements
[04:47:37] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[04:47:38] [Server thread/INFO]: Preparing spawn area: 4%
etc...

Once the Setting initial memory to 1G and max to 1G line is displayed, there's a delay of over 2 minutes where nothing seems to be happening, but then it progresses and starts ok (is this normal??). The status of the container during this time is "unhealthy". If I modify the run command to include --restart=always, it looks like docker decides to restart it once unhealthy. Therefore it just goes starting to unhealthy to starting to unhealthy forever.

I double checked and the point at which you are seeing the lack of activity is during the minecraft server itself starting up. I was hoping to find some options to enable debug logs, but haven't found any info yet.
In any case, some delay is normal there, but a delay over 2 minutes is not unless the system is just not keeping up very well. (On RaspberryPi, I would see huge delays up in the several minutes realm.)
Back to the original problem statement though, the healthcheck is currently using the defaults, which are 30s interval and 3 retries.  Since it is a startup timing issue, I'd recommend increasing --health-start-period such as --health-start-period 2m.

Yeah I figured over 2 minutes was a bit odd. I'm running on a Core i7, which admittedly is only gen 3, but it would still be much faster than a RasPi. I'm running under VirtualBox and haven't changed the default to only use one processor, so I've upped it to 4 to see if that helps. I have already given it 2GB RAM, so will try more next. I'm also running Home Assistant on the same box, but the overall CPU was only 15-20%, so I didn't expect issues. However Portainer shows the minecraft container running at 80-90%, which sort of suggests it was running flat chat on one core.
Thanks for the heads up on --health-start-period - I hadn't seen that. I should be able to use --restart with that in place. Therefore you should be able to close this. I might add my findings should anybody else have similar issues.


Error when adding a new server with add-osd.yml

What happened:
TASK [set noup flag] ***************************************************************************************************************************************
Wednesday 10 July 2019  13:11:49 +0200 (0:00:00.156)       0:01:50.326 ********
fatal: [B-01-05-cephosd.maas -> B-03-11-cephctl.maas]: FAILED! => {"changed": false, "cmd": ["docker", "exec", "ceph-mon-B-03-11-cephctl", "ceph", "--cluster", "ceph", "osd", "set", "noup"], "delta": "0:00:00.042578", "end": "2019-07-10 11:11:49.423061", "msg": "non-zero return code", "rc": 126, "start": "2019-07-10 11:11:49.380483", "stderr": "", "stderr_lines": [], "stdout": "OCI runtime state failed: exec: \"docker-runc\": executable file not found in $PATH: : unknown", "stdout_lines": ["OCI runtime state failed: exec: \"docker-runc\": executable file not found in $PATH: : unknown"]}

NO MORE HOSTS LEFT *****************************************************************************************************************************************

PLAY RECAP *************************************************************************************************************************************************
B-01-05-cephosd.maas       : ok=33   changed=0    unreachable=0    failed=1

What you expected to happen:

I deploy a new server from MAAS, exactly the same way as our other ceph nodes.
From my management /opt/ceph-ansible box I run
ansible-playbook -i inventory --limit B-01-05-cephosd.maas add-osd.yml
Output:
http://pastefile.fr/04b8a5d2704665b55f76e1615a5eba0e

How to reproduce it (minimal and precise):
Don't know how to reproduce, just trying to bring another osd node into the cluster
VARS
combined
http://pastefile.fr/1562bec4cd11bbda1919bb94189e00ea
all.yml
http://pastefile.fr/9dbe6e39f6fbeff40b689847a44dfc4d
docker-commons.yml
http://pastefile.fr/cdb7b05cd367f7073aa4de41f0c2451a
mdss.yml
http://pastefile.fr/402e6b7a0afbe0a3435a40710caff366
mgrs.yml
http://pastefile.fr/7d1ba1ac33e5a4c37d6585843da97861
mons.yml
http://pastefile.fr/96b2d01798eadd0a2667adf1a8b136d1
osds.yml
http://pastefile.fr/8ae120a5a2a952af70cdf63ec0e269f1
inventory
http://pastefile.fr/85345bbb6cf0b96703759c783bede579
B-01-05-cephosd.maas wasn't previously in/or part of the cluster - this is what I'm trying to add in.
Environment:

OS (e.g. from /etc/os-release):
NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial Xerus)
Kernel (e.g. uname -a):
Linux sentry 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Docker version if applicable (e.g. docker version):
Ansible version (e.g. ansible-playbook --version):
ansible-playbook 2.5.15
ceph-ansible version (e.g. git head or tag or stable branch):
ref: refs/heads/stable-3.2
Ceph version (e.g. ceph -v):
ceph version 10.2.12

valid bug, this happens when an osd node has never been deployed previously, the role ceph-docker-common is called after that failing task.

@guits stable-3.2 branch isn't supposed to support jewel right?

@dsavineau i think it's a typo/mistake, he's well deploying luminous afaik

I'm using site-docker.yml and the playbook runs 100% with no issues. However the containers on the new node I'm trying to bring into the ceph cluster constantly restarts.
http://pastefile.fr/a0718d58cb599fb7822537e35cc1fc5d

It seems that the OSD already exist but the keyring isn't the same
Error EEXIST: entity osd.198 exists but key does not match

Yes that part I saw, but this is a new server/node I'm trying to bring into the cluster. How would one do it then since it seems like site-docker.yml nor add-osd.yml does the job correctly.

I manually added the fetch location in all.yml since the details in /opt/ceph-ansible/fetch looks correct

Added the fsid: "xxxxxxxx-xxxxxxxxxxx-xxxxxxxx-xxxx" and generated_fsid; false to all.yml

i found ceph auth now
ceph auth del osd.198 seems to be doing the trick.

Okay i've manually ceph auth del osd.198 -> osd.215 and all the containers came up stable on the new node & part of the cluster now


av1an: init at 0.4.2

Description of changes
av1an a cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
Fixes #255427
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg eval

Builds and runs great, closes https://github.com/NixOS/nixpkgs/issues/255427

I'm not deeply familiar with the nixpkgs merge process. What's blocking this one?


Diving Suit textures not applied as intended

They seem to apply but only partially colour the suit.

TR27, i'll fix later


WIP: Missing links

Here I'm adding all the remaining links that are missing.
We are discovering this while we are testing the interface in the new test environment - so hold on merging until we discover all the issues.
Remaining things to check:

[ ] Uploader - when you upload files, it is trying to do it against the main site, rather than test
[ ] Analysis - in the analysis pipeline, when moi creates the job group, something is acting up as it only creates the first job in the analysis (the creation one). All the links in moi look correct so I'm unsure where the source of the issue is in here.
[ ] Once the study is created, the link that shows with "study BLA created" is linking to the main site rather than the portal.

:+1:


Using modifier "self" on mousemove event is not working.

methods: {
        onMouseMove(e) {
          console.log(e.target);
        }
}

I wanna that console.log always print "div#synonym-list-wrapper", but if I using @mousemove="onMouseMove($event)",then target would be its child element, li element or ul element, but If I am using @mousemove.self="onMouseMove($event)", then onMouseMove will never be triggered.

version : 2.1.6

Use forum or gitter for questions.
Drop .self.

...
onMouseMove($event) {
    let target = $event.target;

    while (target !== this.$refs.t) { target = target.parentNode; }

   console.log(target);
}

@znck when I am trying console.log(this.$refs), its an empty object...

Use forum or gitter for questions.

forum.vuejs.org


Using MultiValueEnum for MCMICRO

In some cases, there are multiple directories for which it contents needs to be parsed using a specific model. For example, the directory 'registration', 'dearray' and 'probability_maps' all contain images and should be parsed with the spatialdata ImageModel. Currently, the ModeEnum is not able to handle this. An alternative could be the MultiValueEnum which is part of the aenum library.
Currently this would lead to a metadata conflict, but I think it should be considered as otherwise it is not possible to handle enums with multiple values.

Thanks for the info. I think it would be a good solution indeed!


cannot run on macOS

following the instructions in README, results in a blue screen
(on macOS sierra, node/npm 6.8.1)

and clicking on Start Node crashes the app.
error: Uncaught Exception: ENOENT: no such file or directory, open '/Users/satra/.ipfs/config' Error: ENOENT: no such file or directory, open '/Users/satra/.ipfs/config'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:168:20)
    at Object.fs.readFileSync (fs.js:508:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:501:29)
    at parseConfig (/software/sources/station/node_modules/ipfsd-ctl/lib/node.js:53:17)
    at Node.startDaemon (/software/sources/station/node_modules/ipfsd-ctl/lib/node.js:149:7)
    at onStartDaemon (/software/sources/station/src/init.js:96:8)
    at emitOne (events.js:96:13)
    at EventEmitter.emit (events.js:188:7)

npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/Cellar/node/6.8.1/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.8.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: `electron src/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'electron src/index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ipfs-station package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron src/index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ipfs-station
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ipfs-station
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /software/sources/station/npm-debug.log

In my case something went wrong during the installation process:
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart<EMAIL_ADDRESS>6 info start<EMAIL_ADDRESS>7 verbose unsafe-perm in lifecycle true
8 info<EMAIL_ADDRESS>Failed to exec start script
9 verbose stack Error<EMAIL_ADDRESS>start: electron src/index.js
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack     at EventEmitter.emit (events.js:110:17)
9 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at ChildProcess.emit (events.js:110:17)
9 verbose stack     at maybeClose (child_process.js:1015:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
10 verbose pkgid<EMAIL_ADDRESS>11 verbose cwd /Users/AK47/station
12 error Darwin 16.3.0
13 error argv "node" "/usr/local/bin/npm" "start"
14 error node v0.12.7
15 error npm  v2.11.3
16 error code ELIFECYCLE
17 error<EMAIL_ADDRESS>start: electron src/index.js
17 error Exit status 1
18 error Failed at the<EMAIL_ADDRESS>start script 'electron src/index.js'.
18 error This is most likely a problem with the ipfs-station package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     electron src/index.js
18 error You can get their info via:
18 error     npm owner ls ipfs-station
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

Anybody got this working on OSX?

Same problem!
mkdir ~/.ipfs && echo "{}" >> ~/.ipfs/config

GVA info: Successfully connected to the Intel plugin, offline Gen9
error: Uncaught Exception: non-zero exit code 1
while running: ~/station/node_modules/subcomandante/subcom 95616 ~/station/node_modules/go-ipfs-dep/go-ipfs/ipfs daemon
Error: no version file in repo at ~/.ipfs

As a workaround instead of that try running ipfs repo init. The ipfs binary wrapper should be somewhere in the node_modules.

Hi there! Station is alive and well again thanks to @hacdias 👏🏽👏🏽👏🏽👏🏽👏🏽👏🏽👏🏽

Try it out again and let us know if you hit an issue. Meanwhile, I'm closing this one :)


Add light theme

This website does not contain the light theme
I want to add the toggle button that switches from both the theme

Hello linga66, thanks for opening a issue, your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.

Same as #62 .If you would like to work on it,comment there

Yes I want to work on this!


Update Dockerfiles

Provide same labels for all base image variants (CentOS, RHEL, Fedora)
- add name, version, summary and description labels
- remove architecture label for RHEL based images (this label is set in RHE$
(don't use separate instruction for each label)
@jorton Any suggestions about values of summary and description?
@hhorak @praiskup @pkubatrh Please take a look and merge.

Missing backslashes in DESCRIPTION

Fixed, thanks.

io.k8s.description="DESCRIPTION"

missing $ before DESCRIPTION ^, otherwise LGTM.

Thanks for catching this. It is fixed now.

Thanks, merging.


Task - filter nomenclature - Combination of Classification Scope + TN Relationship returns no results

@proceps could you check if this commit fix the issue? It seems some parameters were missing on taxon_names controller

Fixed


RPI with armhrf architecture support

What is the issue?
I followed all possible guide online,
either using curl and your install.sh, the docker, or the snap package and I could manage to install ollama, not clear how to compile the code (there is no configure file). The main issue is that everyzthing has been prepared for arm64 and not for my architecture armhrf with I need for my current display. Is there as way to install the arm64 on the armhrf architecture?
OS
Linux
GPU
No response
CPU
Other
Ollama version
any

I don't think the core maintainers will have the bandwidth to add 32 bit support to the official builds, but you may be able to get it building from source.  https://github.com/ollama/ollama/blob/main/docs/development.md (I'd focus on the new Go server build)


Add new Google Tag Manager Code to bosonapp.io

original issue: https://github.com/bosonprotocol/bosonprotocol-website/issues/189

tested by Yasin https://boson-protocol.slack.com/archives/C01BBRWV2DS/p1712135512123279?thread_ts=1711021919.483809&cid=C01BBRWV2DS


关于stage2的json文件

请问你们stage2做微调的时候是默认使用llava_v1_5_mix665k_with_video_chatgpt_maxtime_5min.json这个文件吗？如果是的话，为什么要把视频限制在5分钟以内呢？

It's the default one for the model with vicuna 13B (the one for 7B without time limit), because we need to avoid the out-of-memory problem during training if the video is too long.

请问有预估需要多少内存吗？如果我的内存够用，是不是就不用限制5分钟了呢

Hi, for vicuna 7B, it requires <40G in my experiments, and 80G for vicuna 13B.

Thanks! Also, may I ask how much loss can you get in stages 1, 2, and 3? I want to check if my training is correct. Now in stage 1 I get loss=2 and in stage 2 I get loss=1

Hi, the loss for stages 1, 2, and 3 is about 1.9~2.1, 0.8~1.0 , 1.3~1.5, respectively.

Got it!


Indent size vs csscomb block-indent

Why does the Indent Size option in the plugin override the csscomb block-indent option?
This makes working on projects with different configs tedious, and creates inconsistencies in teams.
https://github.com/csscomb/csscomb.js/blob/master/doc/options.md#block-indent

Indeed. Now, options are from senchalabs/cssbeautify.
Indent Size should be overridden by block-indent option of CSScomb if it exists.

Regarding indent size, it seems that it does not respect .editorconfig’s indent size. Is that intentional? Should I rather open a new issue for that topic?

@jeroenverfallie Fixed in v2.0.0.
@anselmh Indent Size is provided as option by CSSComb, so it should be configured with .csscomb.json?


Problem decoding completion responses

Since updating from lsp-test 0.10 to 0.11, I get the following error in my tests:
   uncaught exception: ErrorCall
   Couldn't decode response for the request type: TextDocumentCompletion
   "{\"jsonrpc\":\"2.0\",\"result\":[{\"label\":\"raisebox\"}],\"id\":1}"
   CallStack (from HasCallStack):
     error, called at src/Language/Haskell/LSP/Test/Decoding.hs:120:32 in lsp-test-<IP_ADDRESS>-GD7z03pTFQZ9YYbBqXNnp9:Language.Haskell.LSP.Test.Decoding

Tests for other LSP methods still work, so it must really be something specific to how responses to completion requests are decoded. I also tried to make my server return a CompletionList object instead of just a list of CompletionItem objects, but that didn't help either.

This looks like an decoding issue with haskell-lsp, trying to decode that bit of JSON there gives:
*Language.Haskell.LSP.Test Data.Aeson BS> eitherDecode x :: Either String CompletionResponse
Left "Error in $.result[0]: When parsing the record CompletionItem of type Language.Haskell.LSP.Types.Completion.CompletionItem the key tags was not present."

Thanks for reporting this. Can you try out haskell-lsp master now and see if this fixes your crash? If that works then I can make a minor version release

I didn't want to look into how to build a Haskell library manually right now, but I can confirm that forcing every completion item to have a tags property makes the tests with the current Hackage version succeed again. So you must be on the right track here.

If you're using a cabal.project, try dropping this in
source-repository-package
    type: git
    location: https://github.com/alanz/haskell-lsp.git
    branch: master
    subdir: haskell-lsp-types

Any chance for a bugfix release including the fix? I can work around it by pulling from git, but it would be nicer if I could just point at a hackage release.

@kritzcreek haskell-lsp-<IP_ADDRESS> and haskell-lsp-types-<IP_ADDRESS> are up on hackage now, and lsp-test should have a new revision bump for them too!

Wow, what was quick! Thank you :)


Add support for custom working directory

With this PR, users can specify a custom working directory for theit Terraform project.

[x] Tests
[x] Docs (Readme)

I have removed the comment that this fixes #16. For #16 we should first update the builder library so that it supports changing the workding directory, and then use that in the terraform mixin.
https://github.com/getporter/porter/issues/1403

I'm unclear whether we want this change even if/when we add changes to fix #16 .  The changeset here looks good to me, if we wish to proceed with both.

Now that we have built-in support for setting the working directory on a mixin, here's how a mixin can support this too:

Update the dependency on porter in their go.mod file to v0.38.0+
Add a field "dir" to the mixin step instruction, just like the exec mixin
https://github.com/getporter/porter/blob/aa542e4cefe02605ffc9667b8af65cbdcccf022d/pkg/exec/action.go#L102
Implement the updated executable step interface
https://github.com/getporter/porter/blob/aa542e4cefe02605ffc9667b8af65cbdcccf022d/pkg/exec/action.go#L138-L140

@ThorstenHans now that it will be possible to add support in this mixin for the standardized method of setting the working dir per step, do we still wish to add this functionality at the mixin config level?

Obviously, the mixin should adopt the feature from porter instead of adding support for working directory by itself.

Should I create a dedicated PR (for updating the porter dep) and add an example there or could I reuse this PR instead

@ThorstenHans Although I might have a slight preference towards the creation of a new PR, I'll leave it up to you - whichever is most convenient.

@vdice that's fine for me I'll close this one 👍


lint errors fix

Hey @DanWahlin , As discussed I made some changes to fix the lint errors on this branch. Please review.

Thanks!


Make it possible to skip following stages when the plan result is 'No changes'

What would you like to be added:
It is very useful to skip WAIT_APPROVAL and the following stages when the plan result is No changes.
Add an option to StageTerraformPlan for it.
Why is this needed:

Nice issue.


Request: Synchronous mode

I saw the comment about the difficulty of making a synchronous option for this library, so I understand that this might not be feasible. Still, I wanted to log the request: top-level await isn't available in storybooks, particularly when taking snapshots for Chromatic. This means I have to jump through complex Storybook hoops of using loaders instead of standard args. It's a ton of boiler plate every time I use it, just to get the single await, and makes it really hard to override/set custom values per story. Would love a synchronous mode, it would really clean up our code.

Thanks for sending a feature request!

top-level await isn't available in storybooks

Is this true?  According to https://github.com/storybookjs/storybook/issues/15129 it seems possible. I actually tried it and was able to use top-level await.
https://github.com/mizdra/storybook-top-level-await-test
Perhaps your bundler (vite, webpack, tubopack) is misconfigured. top-level await is only available for ES Modules-style code, Check that bundler outputs ES Modules style code.
On the other hand, it makes sense to provide an API like buildSync() for those who want to write code synchronously. Frankly, I'm not really willing to do it, since the workaround is to use top-level await. But if it's easy to implement, I'm willing to try.


"late final" fields not included in completion suggestions

Observed using Dart 3.6.0-278.0.dev, both in IntelliJ and VS Code.

I've opened this CL for this https://dart-review.googlesource.com/c/sdk/+/393043


Mention composite builds in the configuration cache release notes

And update the configuration cache docs.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


Add .env option to specify Cyclone DDS network interface settings, fix DDS setting service shell for multiple hosts

Instead of following .env setting,
CYCLONEDDS_URI=/home/developer/cyclonedds_spdp.xml

I added following .env settings to change Cyclone DDS multicast and network interface settings.
CYCLONEDDS_ALLOW_MULTICAST=spdp
CYCLONEDDS_NETWORK_INTERFACE_NAME=(network interface name, e.g. eth1)

CYCLONEDDS_NETWORK_INTERFACE_NAME is necessary when PC has multiple network interface.
DCO 1.1 Signed-off-by: Tatsuya Ishihara<EMAIL_ADDRESS>

I found there is no need to create two Cyclone DDS XML files by using "autodetermine" attribute of Network Interface.
I think using one XML file will be better than switching two XML files.
Also, I fixed change DDS setting service shell to fix the issue that rviz freezes when showing multiple images from remote host.
Please review the changes.

Thank you for your comment. I commit changes. Please let me know if I need to update README file too.


setup routing and empty state query building pages

PULL REQUEST
Summary
First piece of the query building frontend work that sets up the empty state page and routing. Turning off the navigational link in production, but accessible locally via the gear icon once signed in / in demo.
For design:
Once you navigate to the query building page, do a generic sweep to make sure the empty state page matches designs - spacing / sizing / color of the empty state box pages
Did also tokenize the font styles for h1/h2's (to Merriweather), body (to Public Sans Web), and the site title / mono (to Consolas), so do a step-through of the pages in the rest of the app to ensure those fonts are applied correctly.
Related Issue
Fixes #74 and #73
Additional Information

Tokenized the fonts of the header files to use the new text styles that we're using across the application using the USWDS stylings. Updated heading, body, site title to match
Moved the SelectQuery.tsx file out of the root query directory
Moved the stepIndicator folder into the `components directory
Collapsed two utils files into one
Deleted some unnecessary stylings

Checklist

[x] Descriptive Pull Request title
[x] Link to relevant issues
[x] Provide necessary context for design reviewers
[x] Update documentation

I could only get the My queries button on npm run dev so we might need another way for @mikang to test since that workflow uses Docker.

Ahh yes good point! Realized the docker setups gauge those production flags differently.
The page is accessible via URL at /queryBuilding so we can do that too.


Add Hugo Liftoff theme

Whoops, I changed the wrong file. I'll amend the pull request in a sec.

Merged, thank you for this careful PR and this lovely theme!


standardized existing pipeline testing

For issue #24 .

I like the proposal in general. I would suggest some really minor tweaks before merging it!


Which Android versions were supported?

No description provided.

Currently, Fox and Bumblebee have confirmed this. I think it'll be available for all versions :)


Rationale behind custom edge functions

I would like to ask what the rationale for custom edge functions is. It seems to me that edges are an inherent part of a graph's topology and would be better handled by the library if they were always built into the graph. As we can see in the implementation of dijkstra and Bellman-Ford, this introduces some more convoluted implementation.
What are the benefits for allowing custom edge functions? Why not ask the user to create a new graph with their custom edges embedded?
Thanks!

I had to use the custom edge functions recently. I needed to simulate how removing an edge could affect the graph. With my own edge function, I was able to get shortest path between nodes without actually modifying or recreating the graph.

I'm not the original creator and don't know the reason behind the decision, so I'm going to close this. If it's an problem, reopen the issue and let me know what the problem is.


Create mobile-friendly header navigation or tabs.

closed via https://github.com/vetherasset/vader-dapp/pull/14


Game crashed on multiplayer game

Describe the Bug
The game crash while connecting to multiplayer, but it goes all fine in single player.
And after crashing for few times the game work.
Reproduction Steps
connecting to multiplayer server through ip and the game process crashed
Expected Result
won't crash
Screenshots and Videos
No response
Crash Report or Log
https://gist.github.com/Rorke76753/163a2390e6cc363d19fdfb0d874872cc
Operating System
windows 10
Mod Version
0.5.0g
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response

What launcher are you using?

If you can reproduce this on the latest patch open a new issue


NextTick doesn't work as expected

Currently, the @oddx/reactive's nextTick means render all the things currently in the queue then clear the queue, it seems like flushRenderQueue.
Currently:
state.a = 1
state.b = 2
nextTick()
state.b = 3
// a, b1 will be rendered in 1st render
// b2 will be rendered in 2st render

Expected:
state.a = 1
state.b = 2
nextTick(() => state.b = 3)
state.c = 4
// a, b1, c will be rendered in 1st render
// b2 will be rendered in 2st render

Reported by @huyng12

Should change from:
Current:
interface AsyncUpdateQueue {
  nextTick: () => void
}

To:
interface AsyncUpdateQueue {
  nextTick: (whenTheCurrentRenderPhaseIsDone: () => void) => Promise<void>
}


Issues on pura max

Hi @RobertD502 , since I added a Eversweet 3 fountain i'm experiencing issues with my pura max. Sometimes the cat litter just hangs, sometimes it restarts in the middle of a reset, sometimes it does not do the automatic cleaning. Sometimes it just shuts down and I have to unplug and plug it back to make it work. I honestly doubt that it's related to this integration, it seems more like a firmware issue or hardware problem.
Are you aware of any possible issue connected to BLE Relay and/or Pura Max like this ones?

Yes, this has been brought up in discord where we have narrowed it down to the BLE relay - the current default polling interval (2 minutes) causes the Pura Max to lock up. This issue is caused by the firmware in the Pura Max and it not being able to handle initiating the BLE relay every 2 minutes.
To get around this, change the polling interval to 7 minutes. I've already completed the fix for this issue and it will be in the next release - in the next release, you can change the polling interval back to 2 minutes since the library will have a separate time check that will only initiate the BLE relay if it has been 7 minutes since the last time the BLE relay has been initiated (this way you can still get new data from your devices every 2 minutes and only check for new water fountain data every 7 minutes).

Thank you for the feedback! I raised the polling interval to 420s and wait for the next release.

Hi @RobertD502 , i had to set it to 450s.
Sometimes I still have issues btw, automatic cleaning getting canceled, litter not cleaning... It seems that it's happening when getting data during cleaning.

Ouch! No i didn't! Let me try to disconnect and reconnect! Thanks

Hi @RobertD502 , it's still sporadically happening to me, even after setting the 450s timeout. I disabled the intergration for a week, today i enabled it again and the litter got stuck halfway up. Display off, no way to get it working except unplugging and replugging.
Do you think there is something else i can try?

Only thing you can do is keep bumping the time higher and higher until you find a sweet spot.

Yeah it was set up to 600 today and still happened - i should fine a safe value. Is the fix already available on main or should i wait for the release?

Not available on the main repo. However, the next release will have a set time of 420 with an option to manually set it to a higher value. This way you will be able to set the BLE relay time to a higher value that is separate from the rest of the polling process.
Increasing the time is the only potential fix since the culprit is something within the Max firmware. Have you checked to see, using the app, if there is a firmware update?

Yes I did, unfortunately I'm on latest and still having the issue sometimes. Do you think that polling during cat litter operations could be the issue? For example, if I don't poll while cleaning, there will be no issues?

I'll give this manifest.json a try and see if it gets better! :crossed_fingers: Thanks!

Yes I did, unfortunately I'm on latest and still having the issue sometimes. Do you think that polling during cat litter operations could be the issue? For example, if I don't poll while cleaning, there will be no issues?

Potentially, but since the data is obtained via polling (since PETKIT doesn't use push), you wouldn't know that the litter box is cleaning until you do a poll exactly at the time it is happening.
You could test to see if the BLE relay is causing the issue while the litter box is cleaning by performing manual tests - when the litter box is cleaning use the PETKIT app (with your phone's Bluetooth off to force it to use the remote relay for a water fountain) to initiate the BLE relay by clicking on the water fountain and noting the blue cloud icon.

Hi @RobertD502 , it seems that freezing the app on android prevents the issue from happening... even if the Petkit app i'm using on android is configured with a secondary account, could there be any connection?

Possibly. By freezing do you mean you force quit and kept the app (which uses your secondary account) closed / didn't use it?

Hi,
I just want to you know, I have similar problem like you @override80 . Same scenario at home with Pura Max and Eversweet 3. You are not alone :)

Hi,
I just want to you know, I have similar problem like you @override80 . Same scenario at home with Pura Max and Eversweet 3. You are not alone :)

I see some improvements if i disable the Petkit app on the phone, even if its using a different account

Hi,
I just want to you know, I have similar problem like you @override80 . Same scenario at home with Pura Max and Eversweet 3. You are not alone :)

I see some improvements if i disable the Petkit app on the phone, even if its using a different account

But I usualy using the petkit app on my phone, instead HA :(

Hi @RobertD502 , is there any other way se can contribute?
At this point I guess the petkit app has a role - I have no more issues after disabling it.

Hi @RobertD502 , is there any other way we can contribute?
At this point I guess the petkit app has a role - I have no more issues after disabling it.

If it is the app and integration both initiating the relay that is causing the issue, there isn't anything from the integration side that can be done - this is a bug in the litter box firmware (such issues aren't present on feeders if the relay is initiated through them through the app and integration).
I'll likely add an option for users to be able to disable using the BLE relay through the integration if they want to instead stick to using the PetKit app.


1.1.0

Codecov Report

Merging #16 (763c313) into master (80e011d) will increase coverage by 3.33%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   50.00%   53.33%   +3.33%
==========================================
  Files           1        1
  Lines          28       30       +2
==========================================
+ Hits           14       16       +2
  Misses         14       14

Impacted Files
Coverage Δ

lib/castle.dart
53.33% <100.00%> (+3.33%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 80e011d...763c313. Read the comment docs.