# sqlite file missing

**URL:** <https://forums.plex.tv/t/sqlite-file-missing/39851>\
**Category:** Feature Suggestions\
**Created:** [August 5, 2013, 11:56pm UTC](https://forums.plex.tv/t/sqlite-file-missing/39851 "2013-08-05T23:56:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [August 5, 2013, 11:56pm UTC](https://forums.plex.tv/t/sqlite-file-missing/39851/1 "2013-08-05T23:56:17Z")

</div>

Seems like you guy's are blocking people from accessing the Plex database using the (Comes with Plex) python files, due to files missing (So far the only one I've detected though), like:

&nbsp;

PlexMediaServer/Resources/Python/lib/python2.7/lib-dynload/\_sqlite3.so

&nbsp;

The above missing file cause, AFAICT, cause problems from python to import sqlite

&nbsp;

So, and since I'm not a python dude, and as such can be wrong, could somebody verify this, and if confirmed, get it added to the Plex distro?

&nbsp;

And running QNAP here

&nbsp;

/Tommy

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [August 6, 2013, 1:05am UTC](https://forums.plex.tv/t/sqlite-file-missing/39851/2 "2013-08-06T01:05:44Z")

</div>

In the mean time, I found this:

[http://stackoverflow.com/questions/12385634/shared-library-sqlite3-so-not-found-when-importing-sqlite3-on-python-2-6-6](http://stackoverflow.com/questions/12385634/shared-library-sqlite3-so-not-found-when-importing-sqlite3-on-python-2-6-6)

/T

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [August 6, 2013, 9:09am UTC](https://forums.plex.tv/t/sqlite-file-missing/39851/3 "2013-08-06T09:09:08Z")

</div>

And also this one:

[http://forum.slitaz.org/topic/incomplete-sqlite3-module-in-python-272-package-slitaz-40](http://forum.slitaz.org/topic/incomplete-sqlite3-module-in-python-272-package-slitaz-40)

/Tommy

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [August 7, 2013, 6:12pm UTC](https://forums.plex.tv/t/sqlite-file-missing/39851/4 "2013-08-07T18:12:42Z")

</div>

Yep....Me again, talking to myself...SNIFF.....Man...I feel lonely in this thread :(

Anyway, I added the missing file, and yep....now it worked, so I tweeked a very nice script found [here](http://forums.plexapp.com/index.php/topic/39712-list-unmatched-media/?p=441065) in order to find unmatched items, using the Plex supplied version of python.

As such, I kinda have confirmed, that this is a compiler bug from Plex, so could we please get the missing file added to the distro?

/Tommy

---

<div class="post-metadata">

**Author:** ![ziggimon](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ziggimon/32/305_2.png) [@ziggimon](https://forums.plex.tv/u/ziggimon)\
**Post date:** [August 7, 2013, 10:27pm UTC](https://forums.plex.tv/t/sqlite-file-missing/39851/5 "2013-08-07T22:27:58Z")

</div>

Not a bug. And this is currently not a huge use case, and is also currently out of scope for the devs. PMS itself includes sqlite for the server itself and for the Python included there isn’t a need/requirement for adding it to the build process. Accessing the sqlite db with a standalone python version will still work and is the current solution for using python scripts to query the sqlite db.  
  
  
/Mark

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [August 7, 2013, 10:39pm UTC](https://forums.plex.tv/t/sqlite-file-missing/39851/6 "2013-08-07T22:39:05Z")

</div>

WOW...I'm not&nbsp; alone here

WOW...I'm not&nbsp; alone here

Second line was a declining echo :)

Huge ThanX for responding here Mark, and I fully understand this, as well as the devs perspective on this....

But please forward the following to them:

When creating cool scripts etc to support the Plex ecosystem, one can do a lot of different stuff, like creating native apps maybe only supported by one OS, like an exe file etc, but by settling on using python, and the one that's already embedded with PMS, then one cool python script will work on **all** supported PMS platforms.

So far I've seen lot's of posts with cool scripts that only works with a specific version of python, and that version simply might not be avail on all platforms&nbsp;&nbsp; (And here you read NAS, cuz they are always behind)

Anyway, **huge** thanX again for the respond here, and so nice, that the Ninja's are watching us

best regards

Tommy

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [June 13, 2021, 2:11am UTC](https://forums.plex.tv/t/sqlite-file-missing/39851/7 "2021-06-13T02:11:54Z")

</div>

Archived on June 13, 2021, 2:11am UTC

2021 clean-up: implemented
