We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot is running fine and adding jobs to success.json but not actually applying
python main.py --resume D:\GitHub\Auto_Jobs_Applier_AIHawk\data_folder\Resume.pdf
Output in PowerShell: --- Logging error in Loguru Handler #1 --- Record was: {'elapsed': datetime.timedelta(seconds=152, microseconds=399179), 'exception': None, 'extra': {}, 'file': (name='llm_manager.py', path='D:\GitHub\Auto_Jobs_Applier_AIHawk\src\ai_hawk\llm\llm_manager.py'), 'function': 'invoke', 'level': (name='DEBUG', no=10, icon='🐞'), 'line': 40, 'message': 'Invoking OpenAI API', 'module': 'llm_manager', 'name': 'ai_hawk.llm.llm_manager', 'process': (id=16260, name='MainProcess'), 'thread': (id=2852, name='MainThread'), 'time': datetime(2024, 11, 13, 18, 23, 52, 391365, tzinfo=datetime.timezone(datetime.timedelta(days=-1, seconds=64800), 'Central Standard Time'))} Traceback (most recent call last): File "C:\Python312\Lib\site-packages\loguru_handler.py", line 206, in emit self._sink.write(str_record) File "C:\Python312\Lib\site-packages\loguru_file_sink.py", line 204, in write self._terminate_file(is_rotating=True) File "C:\Python312\Lib\site-packages\loguru_file_sink.py", line 276, in _terminate_file os.rename(old_path, renamed_path) PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'D:\GitHub\Auto_Jobs_Applier_AIHawk\log\app.log' -> 'D:\GitHub\Auto_Jobs_Applier_AIHawk\log\app.2024-11-06_16-31-07_172728.log' --- End of logging error --- 2024-11-13 18:23:52.391 | DEBUG | ai_hawk.llm.llm_manager:invoke:40 - Invoking OpenAI API
run correctly
doesn't actually apply for jobs
main
No response
3.13.0
gpt
4o-mini
The text was updated successfully, but these errors were encountered:
failed.json skipped.json success.json
Sorry, something went wrong.
@irehsrg this was fixed in release. @cjbbb fixed it.
feel free to reopen if you are still facing it.
49Simon
No branches or pull requests
Describe the bug
Bot is running fine and adding jobs to success.json but not actually applying
Steps to reproduce
python main.py --resume D:\GitHub\Auto_Jobs_Applier_AIHawk\data_folder\Resume.pdf
Output in PowerShell:
--- Logging error in Loguru Handler #1 ---
Record was: {'elapsed': datetime.timedelta(seconds=152, microseconds=399179), 'exception': None, 'extra': {}, 'file': (name='llm_manager.py', path='D:\GitHub\Auto_Jobs_Applier_AIHawk\src\ai_hawk\llm\llm_manager.py'), 'function': 'invoke', 'level': (name='DEBUG', no=10, icon='🐞'), 'line': 40, 'message': 'Invoking OpenAI API', 'module': 'llm_manager', 'name': 'ai_hawk.llm.llm_manager', 'process': (id=16260, name='MainProcess'), 'thread': (id=2852, name='MainThread'), 'time': datetime(2024, 11, 13, 18, 23, 52, 391365, tzinfo=datetime.timezone(datetime.timedelta(days=-1, seconds=64800), 'Central Standard Time'))}
Traceback (most recent call last):
File "C:\Python312\Lib\site-packages\loguru_handler.py", line 206, in emit
self._sink.write(str_record)
File "C:\Python312\Lib\site-packages\loguru_file_sink.py", line 204, in write
self._terminate_file(is_rotating=True)
File "C:\Python312\Lib\site-packages\loguru_file_sink.py", line 276, in _terminate_file
os.rename(old_path, renamed_path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'D:\GitHub\Auto_Jobs_Applier_AIHawk\log\app.log' -> 'D:\GitHub\Auto_Jobs_Applier_AIHawk\log\app.2024-11-06_16-31-07_172728.log'
--- End of logging error ---
2024-11-13 18:23:52.391 | DEBUG | ai_hawk.llm.llm_manager:invoke:40 - Invoking OpenAI API
Expected behavior
run correctly
Actual behavior
doesn't actually apply for jobs
Branch
main
Branch name
No response
Python version
3.13.0
LLM Used
gpt
Model used
4o-mini
Additional context
No response
The text was updated successfully, but these errors were encountered: