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
This error indicates that the mermaid file generated by llm is not standardized. Therefore, the parsing error occurs.
It is recommended to rerun or replace it with a better llm model.
Bug description
Another bug with playwright.
Error: Parse error on line 42:...Handler --> selenium.webdriver
Bug solved method
Environment information
Screenshots or logs
2024-11-22 17:03:13.898 | INFO | metagpt.utils.file_repository:save:57 - save to: /root/workspace/workspace/design_pattern_simulation/docs/system_design/20241122170240.json
2024-11-22 17:03:13.899 | INFO | metagpt.utils.file_repository:save:62 - update dependency: /root/workspace/workspace/design_pattern_simulation/docs/system_design/20241122170240.json:{'docs/prd/20241122170240.json'}
2024-11-22 17:03:14.997 | ERROR | metagpt.utils.mmdc_playwright:mermaid_to_file:121 - Page.evaluate: Error: Parse error on line 42:...Handler --> selenium.webdriver Docum-----------------------^Expecting 'NEWLINE', 'EOF', 'SQS', 'STR', 'GENERICTYPE', 'LABEL', 'STRUCT_START', 'STRUCT_STOP', 'STYLE_SEPARATOR', 'ANNOTATION_END', 'AGGREGATION', 'EXTENSION', 'COMPOSITION', 'DEPENDENCY', 'LOLLIPOP', 'LINE', 'DOTTED_LINE', 'CALLBACK_NAME', 'HREF', 'MINUS', 'UNICODE_TEXT', 'NUM', 'ALPHA', 'BQUOTE_STR', got 'DOT'
at WA.parseError (file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html:1:894276)
at WA.parse (file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html:1:895563)
at CUe.parser.parse (file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html:1:276633)
at CUe.parse (file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html:1:276867)
at new CUe (file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html:1:276708)
at YjA (file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html:1:277173)
at async Object.eDt [as render] (file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html:1:281122)
The text was updated successfully, but these errors were encountered: