Solfege won't start  [SOLVED]

Installing and maintaining software with the FreeBSD Ports Collection.

Solfege won't start

Postby 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
unohu62
 
Posts: 9
Joined: Wed Jan 18, 2017 9:28 pm
Has thanked: 0 time
Been thanked: 0 time

Solfege won't start


Re: Solfege won't start

Postby 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.
kraileth
Developer
 
Posts: 309
Joined: Sun Sep 04, 2016 11:30 am
Has thanked: 57 times
Been thanked: 51 times

Re: Solfege won't start  [SOLVED]

Postby 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
unohu62
 
Posts: 9
Joined: Wed Jan 18, 2017 9:28 pm
Has thanked: 0 time
Been thanked: 0 time


Return to Installation and Maintenance of software with Ports

Who is online

Users browsing this forum: No registered users and 2 guests