You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just ran yamlfix on folders with several yaml files
(pythonvenv) [root@luca-vmwarevirtualplatform bin]# yamlfix -v --check /home/luca/Documenti/GitHub/devicetype-library
Traceback (most recent call last):
File "/home/luca/pythonvenv/bin/yamlfix", line 8, in
sys.exit(cli())
^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/yamlfix/entrypoints/cli.py", line 106, in cli
files_to_fix = [file.open("r+") for file in real_files]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/yamlfix/entrypoints/cli.py", line 106, in
files_to_fix = [file.open("r+") for file in real_files]
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/pathlib.py", line 1044, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 24] Too many open files: '/home/luca/Documenti/GitHub/devicetype-library/device-types/Arista/DCS-7280CR2K-60-DC-F.yaml'
I have just ran yamlfix on folders with several yaml files
(pythonvenv) [root@luca-vmwarevirtualplatform bin]# yamlfix -v --check /home/luca/Documenti/GitHub/devicetype-library
Traceback (most recent call last):
File "/home/luca/pythonvenv/bin/yamlfix", line 8, in
sys.exit(cli())
^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/yamlfix/entrypoints/cli.py", line 106, in cli
files_to_fix = [file.open("r+") for file in real_files]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/pythonvenv/lib/python3.11/site-packages/yamlfix/entrypoints/cli.py", line 106, in
files_to_fix = [file.open("r+") for file in real_files]
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/pathlib.py", line 1044, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 24] Too many open files: '/home/luca/Documenti/GitHub/devicetype-library/device-types/Arista/DCS-7280CR2K-60-DC-F.yaml'
(pythonvenv) [root@luca-vmwarevirtualplatform bin]# python -c "import yamlfix.version; print(yamlfix.version.version_info())"
The text was updated successfully, but these errors were encountered: