sqlite file missing

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:

 

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

 

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

 

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?

 

And running QNAP here

 

/Tommy

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

/T

And also this one:

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

/Tommy

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 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

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

WOW...I'm not  alone here

WOW...I'm not  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   (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

2021 clean-up: implemented