using config file '/home/studio/src/campcaster/src/products/scheduler/etc/scheduler.xml'
[GstreamerPlayer] [virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::configure(const xmlpp::Element&)]
error executing command start
database installation problem: Failed to connect to datasource: [unixODBC][Driver Manager]Data source name not found, and no default driver specified
Distro is Debian testing (etch)
I have the odbc-postgresql and unixodbc-dev packages installed. The only thing I can find in the XML config file that relates to a database is:
If so, your database and ODBC data source should have been set up by the
bin/user_setup_db.sh script. Re-running it might give you useful error
messages.
Check your ODBC settings in /etc/odbc.ini and especially
/etc/odbcinst.ini, which should look like this:
[PostgreSQL]
Description = PostgreSQL driver
Driver = /usr/lib/odbc/psqlodbcw.so
Setup = /usr/lib/odbc/libodbcpsqlS.so
UsageCount = 1
You can test your ODBC driver installation by typing
isql Campcaster- test test
it should say "Connected!" if it is set up correctly.
After last night I decided to wipe the code I was was trying to compile and do a fresh checkout from SVN. This magically fixed all the problems I was having. Everything works as expected.
-lee
----- Ferenc Gerlits wrote:
> Hi Lee,
>
> Did you set up Campcaster according to the DevelopmentEnvironment
> wiki?
> http://code.campware.org/projects/campcaster/wiki/DevelopmentEnvironment
>
> If so, your database and ODBC data source should have been set up by
> the
> bin/user_setup_db.sh script. Re-running it might give you useful
> error
> messages.
>
> Check your ODBC settings in /etc/odbc.ini and especially
> /etc/odbcinst.ini, which should look like this:
> [PostgreSQL]
> Description = PostgreSQL driver
> Driver = /usr/lib/odbc/psqlodbcw.so
> Setup = /usr/lib/odbc/libodbcpsqlS.so
> UsageCount = 1
>
> You can test your ODBC driver installation by typing
> isql Campcaster- test test
> it should say "Connected!" if it is set up correctly.
>
> Ferenc