rolfa / calendar-search

read/search entries in Jolla calendar db (Sailfish OS)
MIT License
3 stars 0 forks source link

erroror in executing the script after upgrading to sailfish 4 #3

Open matzgewinn opened 3 years ago

matzgewinn commented 3 years ago

Hello dear rolfa,

Its me and my friends Xperia X again :-)

After upgrading on sailfish os 4 a few days ago, there is an error appearing after running the script:

"File "calendar-search.py", line 52, in import os, sys, sqlite3 ImportError: No module named sqlite3"

What does that mean and do you have an idea how to fix this?

Best regards!

rolfa commented 3 years ago

Hi It works here after updating to Sailfish OS 4... It means that the module sqlite3 for Python 3 is missing. Try this command to install the missing module:

pkcon install python3-sqlite

matzgewinn commented 3 years ago

Hi again, We tried iyour suggestion, but it still don't work. It says Python 3.8.* is already installed, as well as the missing module.

I tried to exchange the "nemo"-path in the script with "defaultuser" - this didnt work either.

Maybe we have to remove something and try again? hm.