Page 1 of 1

Solfege won't start

PostPosted: Tue Mar 07, 2017 12:27 pm
by unohu62
I tried to build solfege from Ports, it compiled, but it won't run. Here is my output from a terminal: I have sqlite3 installed.

[meurglys@ma3a ~]$ solfege
Traceback (most recent call last):
File "/usr/local/bin/solfege", line 64, in <module>
import solfege.startup
File "/usr/local/share/solfege/solfege/startup.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
[meurglys@ma3a ~]$


Any ideas would be most welcome.

Regards,
Robert

Re: Solfege won't start

PostPosted: Tue Mar 07, 2017 1:18 pm
by kraileth
Hi Robert,

unohu62 wrote: [...]
File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3
[...]


This sounds like Python is unable to import the sqlite3 module. Note that this refers to the Python module (effectively the sqlite3 binding for python) and not the actual Sqlite3!

I would suggest that you install the databases/py-sqlite3 port or py27-sqlite3 package since you seem to be using Python 2.7. This should solve your problem.

Re: Solfege won't start  [SOLVED]

PostPosted: Tue Mar 07, 2017 1:38 pm
by unohu62
Thanks Kraileth, I installed the py27-sqlite3 package and solfege runs perfectly now. I appreciate the help.

Regards,
Robert