mirror of
https://github.com/keiffster/program-y.git
synced 2026-04-03 00:19:21 -06:00
Logging Error #54
Labels
No labels
News
News
News
News
News
News
News
News
bug
bug
bug
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
enhancement
enhancement
enhancement
enhancement
enhancement
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/program-y#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vikaspattathe on 7/22/2020
--- Logging error ---
Traceback (most recent call last):
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\clients\events\console\client.py", line 75, in wait_and_answer
self.process_question_answer(client_context)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\clients\events\console\client.py", line 67, in process_question_answer
question = self.get_question(client_context)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\clients\events\console\client.py", line 47, in get_question
return input(ask) #pylint: disable=input-builtin
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\logging\handlers.py", line 69, in emit
self.doRollover()
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\logging\handlers.py", line 170, in
doRollover
self.rotate(self.baseFilename, dfn)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\logging\handlers.py", line 110, in
rotate
os.rename(source, dest)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'D:\mybot\scripts\windows\template.log' -> 'D:\mybot\scripts\windows\template.log.1'
Call stack:
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\clients\events\console\client.py", line 100, in
run()
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\clients\events\console\client.py", line 98, in run
console_app.run()
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\clients\events\client.py", line 53, in run
self.run_loop()
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\clients\events\client.py", line 34, in run_loop
self._running = self.wait_and_answer()
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\clients\events\console\client.py", line 80, in wait_and_answer
self._renderer.render(client_context, client_context.bot.get_exit_response(client_context))
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\bot.py", line 259, in get_exit_response
exit_response = client_context.brain.ask_question(client_context, sentence)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\brain.py", line 413, in ask_question
conversation = client_context.bot.get_conversation(client_context)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\bot.py", line 216, in get_conversation
return self._conversation_mgr.get_conversation(client_context)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\dialog\convo_mgr.py", line 70, in get_conversation
YLogger.debug(client_context, "Retrieving conversation for client %s", client_context.userid)
File "C:\Users\vikas_6bd7bsg\AppData\Local\Programs\Python\Python37-32\lib\site-packages\programy\utils\logging\ylogger.py", line 184, in debug
logging.debug(YLogger.format_message(caller, message), *args, **kwargs)
Message: '[Console] [bot] [brain] [Console] - Retrieving conversation for client %s'
Arguments: ('Console',)