scozzaro / sma-bluetooth

Automatically exported from code.google.com/p/sma-bluetooth
0 stars 0 forks source link

Error finding db using cphills-sma-bluetooth-dbabstraction #133

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I installed cphills-sma-bluetooth-dbabstraction in my pc but when I'm 
running ./smatool I have this error :

andreac@andreac-HP-Mini-110-3500:~/bin/sma-bluetooth$ ./smatool -v
2014-08-02T07:03:14.549565:INFO:Starting pvlogger
2014-08-02T07:03:14.550064:INFO:Log Level set to [VERBOSE]
2014-08-02T07:03:14.550477:INFO:Log Level set to [VERBOSE]
2014-08-02T07:03:14.551190:ERROR:Error opening sqlite3 db 
~/smatool/smatool.sqlite3.db:unable to open database file
2014-08-02T07:03:14.551358:ERROR:db_get_schema error
2014-08-02T07:03:14.551480:FATAL:Please Update database schema. Use --UPDATE

In the smatool.conf file there is :

# Mysql (optional) required for storing data
MySqlHost   localhost
MySqlDatabase   ~/smatool/smatool.sqlite3.db
MySqlUser x
MySqlPwd x

as suggested in the installation guide but the file does not exist .

I tried to run "make sqlite3" but I have the same error .

Someone can help me ?
Thanks a lot 

Original issue reported on code.google.com by andreaca...@gmail.com on 2 Aug 2014 at 5:13