Issue with when I create SQLite

$ python xblock-sdk/ migrate
Traceback (most recent call last):
File “C:\Program Files\Python38\lib\logging\”, line 563, in configure
handler = self.configure_handler(handlers[name])
File “C:\Program Files\Python38\lib\logging\”, line 744, in configure_handler
result = factory(**kwargs)
File “C:\Program Files\Python38\lib\logging\”, line 148, in init
BaseRotatingHandler.init(self, filename, mode, encoding, delay)
File “C:\Program Files\Python38\lib\logging\”, line 55, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File “C:\Program Files\Python38\lib\”, line 1143, in init
File "C:\Program Files\Python38\lib\logging_init
.py", line 1172, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: ‘F:\Xblock_dev\var\workbench.log’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “xblock-sdk/”, line 12, in
File “F:\Xblock_dev\venv\lib\site-packages\django\core\”, line 419, in execute_from_command_line
File “F:\Xblock_dev\venv\lib\site-packages\django\core\”, line 395, in execute
File “F:\Xblock_dev\venv\lib\site-packages\”, line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File “F:\Xblock_dev\venv\lib\site-packages\django\utils\”, line 75, in configure_logging
File “C:\Program Files\Python38\lib\logging\”, line 808, in dictConfig
File “C:\Program Files\Python38\lib\logging\”, line 570, in configure
raise ValueError('Unable to configure handler ’
ValueError: Unable to configure handler ‘logfile’


Hello @srivarshith_daladuli

Please tell us what your issue is properly, you can go through How to get help to know how to structure a question more properly.

Also please refrain from tagging people, you’ll get desired help once people are available and have had a look at the question.

As for your query, from the error it looks like you are facing the error becuase

FileNotFoundError: [Errno 2] No such file or directory: ‘F:\Xblock_dev\var\workbench.log’

Probably file is not available or it might not have permission to access the file.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.