Solfege won't start  [SOLVED]

Installing and maintaining software with the FreeBSD Ports Collection.
Post Reply
unohu62
Posts: 9
Joined: Wed Jan 18, 2017 9:28 pm
Has thanked: 0
Been thanked: 0

Solfege won't start

Post by unohu62 » Tue Mar 07, 2017 12:27 pm

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

kraileth
Posts: 312
Joined: Sun Sep 04, 2016 12:30 pm
Has thanked: 0
Been thanked: 0

Re: Solfege won't start

Post by kraileth » Tue Mar 07, 2017 1:18 pm

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.

unohu62
Posts: 9
Joined: Wed Jan 18, 2017 9:28 pm
Has thanked: 0
Been thanked: 0

Re: Solfege won't start  [SOLVED]

Post by unohu62 » Tue Mar 07, 2017 1:38 pm

Thanks Kraileth, I installed the py27-sqlite3 package and solfege runs perfectly now. I appreciate the help.

Regards,
Robert

Post Reply