-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathquantcli.log
94 lines (84 loc) · 7.74 KB
/
quantcli.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
2025-03-23 19:30:42,846 - quantcli.utils - INFO - Logging is set up.
2025-03-23 19:30:42,846 - quantcli.utils - ERROR - OPENAI_API_KEY not found in the environment variables.
2025-03-23 19:37:20,792 - quantcli.utils - INFO - Logging is set up.
2025-03-23 19:37:20,792 - quantcli.utils - INFO - OpenAI API key loaded and set globally.
2025-03-23 19:37:25,417 - HeadingDetector - ERROR - Failed to load SpaCy model 'en_core_web_sm': [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory.
2025-03-23 19:44:27,120 - quantcli.utils - INFO - Logging is set up.
2025-03-23 19:44:27,122 - quantcli.utils - INFO - OpenAI API key loaded and set globally.
2025-03-23 19:44:33,216 - HeadingDetector - INFO - SpaCy model 'en_core_web_sm' loaded successfully.
2025-03-23 19:44:33,216 - OpenAIHandler - INFO - Generating QuantConnect code using OpenAI.
2025-03-23 19:44:33,216 - OpenAIHandler - ERROR - OpenAI API error during code generation:
You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
2025-03-23 19:44:56,518 - HeadingDetector - INFO - SpaCy model 'en_core_web_sm' loaded successfully.
2025-03-23 19:44:56,528 - ArticleProcessor - INFO - Starting extraction process for PDF: C:/Users/slrig/Downloads/Trading range breakout.pdf
2025-03-23 19:44:56,534 - PDFLoader - INFO - Loading PDF: C:/Users/slrig/Downloads/Trading range breakout.pdf
2025-03-23 19:44:57,644 - PDFLoader - INFO - PDF loaded successfully.
2025-03-23 19:44:57,644 - TextPreprocessor - INFO - Starting text preprocessing.
2025-03-23 19:44:57,644 - TextPreprocessor - INFO - Text preprocessed successfully. Reduced from 18434 to 17787 characters.
2025-03-23 19:44:57,657 - HeadingDetector - INFO - Starting heading detection.
2025-03-23 19:44:58,229 - HeadingDetector - INFO - Detected 0 headings.
2025-03-23 19:44:58,229 - ArticleProcessor - WARNING - No headings detected. Proceeding with default sectioning.
2025-03-23 19:44:58,229 - SectionSplitter - INFO - Starting section splitting.
2025-03-23 19:44:58,242 - SectionSplitter - INFO - Split text into 1 sections.
2025-03-23 19:44:58,242 - KeywordAnalyzer - INFO - Starting keyword analysis.
2025-03-23 19:44:58,248 - KeywordAnalyzer - INFO - Keyword analysis completed.
2025-03-23 19:44:58,248 - OpenAIHandler - INFO - Generating summary using OpenAI.
2025-03-23 19:44:58,248 - OpenAIHandler - ERROR - OpenAI API error during summary generation:
You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
2025-03-23 19:46:52,843 - quantcli.utils - INFO - Logging is set up.
2025-03-23 19:46:52,843 - quantcli.utils - INFO - OpenAI API key loaded and set globally.
2025-03-23 19:46:59,493 - HeadingDetector - INFO - SpaCy model 'en_core_web_sm' loaded successfully.
2025-03-23 19:46:59,495 - OpenAIHandler - INFO - Generating QuantConnect code using OpenAI.
2025-03-23 19:47:11,820 - OpenAIHandler - INFO - QuantConnect code generated successfully.
2025-03-23 19:47:11,820 - CodeValidator - INFO - Validating generated code for syntax errors.
2025-03-23 19:47:11,820 - CodeValidator - ERROR - Syntax error in generated code: invalid syntax (<unknown>, line 1)
2025-03-23 19:47:11,820 - CodeRefiner - INFO - Refining code using OpenAI.
2025-03-23 19:47:11,834 - OpenAIHandler - INFO - Refining generated code using OpenAI.
2025-03-23 19:47:25,534 - OpenAIHandler - INFO - Code refined successfully.
2025-03-23 19:47:38,478 - HeadingDetector - INFO - SpaCy model 'en_core_web_sm' loaded successfully.
2025-03-23 19:47:38,478 - ArticleProcessor - INFO - Starting extraction process for PDF: C:/Users/slrig/Downloads/Trading range breakout.pdf
2025-03-23 19:47:38,480 - PDFLoader - INFO - Loading PDF: C:/Users/slrig/Downloads/Trading range breakout.pdf
2025-03-23 19:47:39,552 - PDFLoader - INFO - PDF loaded successfully.
2025-03-23 19:47:39,552 - TextPreprocessor - INFO - Starting text preprocessing.
2025-03-23 19:47:39,552 - TextPreprocessor - INFO - Text preprocessed successfully. Reduced from 18434 to 17787 characters.
2025-03-23 19:47:39,552 - HeadingDetector - INFO - Starting heading detection.
2025-03-23 19:47:40,170 - HeadingDetector - INFO - Detected 0 headings.
2025-03-23 19:47:40,171 - ArticleProcessor - WARNING - No headings detected. Proceeding with default sectioning.
2025-03-23 19:47:40,171 - SectionSplitter - INFO - Starting section splitting.
2025-03-23 19:47:40,171 - SectionSplitter - INFO - Split text into 1 sections.
2025-03-23 19:47:40,171 - KeywordAnalyzer - INFO - Starting keyword analysis.
2025-03-23 19:47:40,175 - KeywordAnalyzer - INFO - Keyword analysis completed.
2025-03-23 19:47:40,175 - OpenAIHandler - INFO - Generating summary using OpenAI.
2025-03-23 19:47:44,489 - OpenAIHandler - INFO - Summary generated successfully.
2025-03-23 19:47:55,540 - HeadingDetector - INFO - SpaCy model 'en_core_web_sm' loaded successfully.
2025-03-23 19:47:55,540 - OpenAIHandler - INFO - Generating QuantConnect code using OpenAI.
2025-03-23 19:48:03,574 - OpenAIHandler - INFO - QuantConnect code generated successfully.
2025-03-23 19:48:03,576 - CodeValidator - INFO - Validating generated code for syntax errors.
2025-03-23 19:48:03,578 - CodeValidator - ERROR - Syntax error in generated code: invalid syntax (<unknown>, line 1)
2025-03-23 19:48:03,578 - CodeRefiner - INFO - Refining code using OpenAI.
2025-03-23 19:48:03,578 - OpenAIHandler - INFO - Refining generated code using OpenAI.
2025-03-23 19:48:20,802 - OpenAIHandler - INFO - Code refined successfully.
2025-03-23 19:48:20,805 - CodeValidator - INFO - Validating generated code for syntax errors.
2025-03-23 19:48:20,811 - CodeValidator - INFO - Generated code is syntactically correct.
2025-03-23 19:48:20,812 - CodeValidator - INFO - Validating generated code for syntax errors.
2025-03-23 19:48:20,817 - CodeValidator - INFO - Generated code is syntactically correct.
2025-03-23 20:05:23,544 - quantcli.utils - INFO - Logging is set up.
2025-03-23 20:05:23,544 - quantcli.utils - INFO - OpenAI API key loaded and set globally.
2025-03-23 20:05:29,534 - HeadingDetector - INFO - SpaCy model 'en_core_web_sm' loaded successfully.
2025-03-23 20:05:29,534 - OpenAIHandler - INFO - Generating QuantConnect code using OpenAI.
2025-03-23 20:05:43,191 - OpenAIHandler - INFO - QuantConnect code generated successfully.
2025-03-23 20:05:43,191 - CodeValidator - INFO - Validating generated code for syntax errors.
2025-03-23 20:05:43,194 - CodeValidator - ERROR - Syntax error in generated code: invalid syntax (<unknown>, line 1)
2025-03-23 20:05:43,194 - CodeRefiner - INFO - Refining code using OpenAI.
2025-03-23 20:05:43,200 - OpenAIHandler - INFO - Refining generated code using OpenAI.
2025-03-23 20:05:57,315 - OpenAIHandler - INFO - Code refined successfully.
2025-03-23 20:05:57,316 - CodeValidator - INFO - Validating generated code for syntax errors.
2025-03-23 20:05:57,322 - CodeValidator - INFO - Generated code is syntactically correct.
2025-03-23 20:05:57,323 - CodeValidator - INFO - Validating generated code for syntax errors.
2025-03-23 20:05:57,329 - CodeValidator - INFO - Generated code is syntactically correct.