rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.39k stars 600 forks source link

Won't start in FreeNAS 11.2-U3 iocage jail #3204

Open diedrichg opened 5 years ago

diedrichg commented 5 years ago

I've spent hours on this. I can't figure it out. Permissions are correct for the headphones folder and config file folder. I've even made sure the timezone is set to UTC. Here is my error. Traceback (most recent call last): File "Headphones.py", line 23, in <module> from headphones import webstart, logger File "/usr/local/headphones/headphones/__init__.py", line 23, in <module> import sqlite3 File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module> from dbapi2 import * File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28, in <module> from _sqlite3 import * ImportError: No module named _sqlite3

diedrichg commented 5 years ago

So.... I got it working. I guess there were some missing dependencies py27-sqlite3, etc...

I installed sabnzbdplus and that took care of dependencies.

But I was still left with errors that python couldn't start headphones. So I tried running python2.7 headphones and it ran just fine. I needed a way to get it to start with python2.7. I wound up doing the following: alias python=/usr/local/bin/python2.7 and that solved the issue. Everything is fine now with those two issues resolved.