Guest User

Untitled

a guest
Jul 9th, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.53 KB | None | 0 0
  1. | Traceback (most recent call last): |
  2. | File "/modules/request.py", line 251, in __init__ |
  3. | self.data = self.yaml.load(fp) |
  4. | ^^^^^^^^^^^^^^^^^^ |
  5. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/main.py", line 451, in load |
  6. | return constructor.get_single_data() |
  7. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  8. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 114, in get_single_data |
  9. | node = self.composer.get_single_node() |
  10. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  11. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 72, in get_single_node |
  12. | document = self.compose_document() |
  13. | ^^^^^^^^^^^^^^^^^^^^^^^ |
  14. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 94, in compose_document |
  15. | node = self.compose_node(None, None) |
  16. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  17. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 130, in compose_node |
  18. | node = self.compose_mapping_node(anchor) |
  19. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  20. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node |
  21. | item_value = self.compose_node(node, item_key) |
  22. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  23. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 130, in compose_node |
  24. | node = self.compose_mapping_node(anchor) |
  25. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  26. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node |
  27. | item_value = self.compose_node(node, item_key) |
  28. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  29. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 130, in compose_node |
  30. | node = self.compose_mapping_node(anchor) |
  31. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  32. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 204, in compose_mapping_node |
  33. | while not self.parser.check_event(MappingEndEvent): |
  34. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  35. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/parser.py", line 141, in check_event |
  36. | self.current_event = self.state() |
  37. | ^^^^^^^^^^^^ |
  38. | File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/parser.py", line 614, in parse_block_mapping_key |
  39. | raise ParserError( |
  40. | ruamel.yaml.parser.ParserError: while parsing a block mapping |
  41. | in "//config/config.yml", line 3, column 5 |
  42. | expected <block end>, but found '-' |
  43. | in "//config/config.yml", line 13, column 5 |
  44. | |
  45. | During handling of the above exception, another exception occurred: |
  46. | |
  47. | Traceback (most recent call last): |
  48. | File "//kometa.py", line 325, in start |
  49. | config = ConfigFile(my_requests, default_dir, attrs, secret_args) |
  50. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  51. | File "/modules/config.py", line 196, in __init__ |
  52. | self.data = self.Requests.file_yaml(self.config_path).data |
  53. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  54. | File "/modules/request.py", line 103, in file_yaml |
  55. | return YAML(path=path_to_file, check_empty=check_empty, create=create, start_empty=start_empty) |
  56. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
  57. | File "/modules/request.py", line 254, in __init__ |
  58. | raise Failed(f"YAML Error: {e}") |
  59. | modules.util.Failed: YAML Error: while parsing a block mapping |
  60. | in "//config/config.yml", line 3, column 5 |
  61. | expected <block end>, but found '-' |
  62. | in "//config/config.yml", line 13, column 5 |
  63. | |
  64. | YAML Error: while parsing a block mapping |
  65. | in "//config/config.yml", line 3, column 5 |
  66. | expected <block end>, but found '-' |
  67. | in "//config/config.yml", line 13, column 5 |
  68. | |
  69. |========================================= Critical Summary =========================================|
  70. | |
  71. | Count | Message |
  72. |=======|============================================================================================|
  73. | 1 | YAML Error: while parsing a block mapping |
  74. |
Advertisement
Add Comment
Please, Sign In to add comment