# Issue with when I create SQLite

**URL:** <https://discuss.openedx.org/t/issue-with-when-i-create-sqlite/7795>\
**Category:** Site Operators\
**Tags:** how-to\
**Created:** [July 12, 2022, 5:16pm UTC](https://discuss.openedx.org/t/issue-with-when-i-create-sqlite/7795 "2022-07-12T17:16:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![srivarshith\_daladuli](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/srivarshith_daladuli/32/3953_2.png) [@srivarshith\_daladuli](https://discuss.openedx.org/u/srivarshith_daladuli)\
**Post date:** [July 12, 2022, 5:16pm UTC](https://discuss.openedx.org/t/issue-with-when-i-create-sqlite/7795/1 "2022-07-12T17:16:47Z")

</div>

$ python xblock-sdk/manage.py migrate  
Traceback (most recent call last):  
File “C:\Program Files\Python38\lib\logging\config.py”, line 563, in configure  
handler = self.configure\_handler(handlers[name])  
File “C:\Program Files\Python38\lib\logging\config.py”, line 744, in configure\_handler  
result = factory(\*\*kwargs)  
File “C:\Program Files\Python38\lib\logging\handlers.py”, line 148, in **init**  
BaseRotatingHandler. **init** (self, filename, mode, encoding, delay)  
File “C:\Program Files\Python38\lib\logging\handlers.py”, line 55, in **init**  
logging.FileHandler. **init** (self, filename, mode, encoding, delay)  
File “C:\Program Files\Python38\lib\logging\__init_\_.py”, line 1143, in **init**  
StreamHandler. **init** (self, self._open())  
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/manage.py”, line 12, in   
execute\_from\_command\_line(sys.argv)  
File “F:\Xblock\_dev\venv\lib\site-packages\django\core\management\__init_\_.py”, line 419, in execute\_from\_command\_line  
utility.execute()  
File “F:\Xblock\_dev\venv\lib\site-packages\django\core\management\__init_\_.py”, line 395, in execute  
django.setup()  
File “F:\Xblock\_dev\venv\lib\site-packages\django\__init_\_.py”, line 19, in setup  
configure\_logging(settings.LOGGING\_CONFIG, settings.LOGGING)  
File “F:\Xblock\_dev\venv\lib\site-packages\django\utils\log.py”, line 75, in configure\_logging  
logging\_config\_func(logging\_settings)  
File “C:\Program Files\Python38\lib\logging\config.py”, line 808, in dictConfig  
dictConfigClass(config).configure()  
File “C:\Program Files\Python38\lib\logging\config.py”, line 570, in configure  
raise ValueError('Unable to configure handler ’  
ValueError: Unable to configure handler ‘logfile’  
(venv)

@braden

---

<div class="post-metadata">

**Author:** ![chintan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/chintan/32/52_2.png) [@chintan](https://discuss.openedx.org/u/chintan)\
**Post date:** [July 28, 2022, 11:45am UTC](https://discuss.openedx.org/t/issue-with-when-i-create-sqlite/7795/2 "2022-07-28T11:45:52Z")

</div>

Hello @srivarshith_daladuli

Please tell us what your issue is properly, you can go through [How to get help](https://discuss.openedx.org/t/how-to-get-help/200) 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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [October 26, 2022, 11:46am UTC](https://discuss.openedx.org/t/issue-with-when-i-create-sqlite/7795/3 "2022-10-26T11:46:21Z")

</div>

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