error after first run after installation

View: New views
3 Messages — Rating Filter:   Alert me  

error after first run after installation

by Grant Morgan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am getting this when I first go radiant after installation
ActiveRecord::StatementInvalid in SiteController#show_page

stack trace ends with
/Library/Ruby/Gems/1.8/gems/radiant-0.6.4/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:360:in
`table_structure

I am on OS X 10.5.2
the table exist I can see them in SQLite3 db although I don't what
they should look like.
Rake runs with no errors.
my gem list says
activerecord (1.15.6, 1.15.3)
sqlite3-ruby (1.2.1)
radiant (0.6.4)

ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]

Any suggestions on what the problem is or where to look?
--
Cheers,
Grant
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: error after first run after installation

by Mārtiņš Grunskis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Which sqlite3 database you checked for tables? If that was
production.sqlite3.db then you need to run scrip/server -e production
to start server.

Regards,
Martins Grunskis

On 2/20/08, Grant Morgan <grant@...> wrote:

> I am getting this when I first go radiant after installation
> ActiveRecord::StatementInvalid in SiteController#show_page
>
> stack trace ends with
> /Library/Ruby/Gems/1.8/gems/radiant-0.6.4/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:360:in
> `table_structure
>
> I am on OS X 10.5.2
> the table exist I can see them in SQLite3 db although I don't what
> they should look like.
> Rake runs with no errors.
> my gem list says
> activerecord (1.15.6, 1.15.3)
> sqlite3-ruby (1.2.1)
> radiant (0.6.4)
>
> ruby -v
> ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]
>
> Any suggestions on what the problem is or where to look?
> --
> Cheers,
> Grant
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@...
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

error after first run after installation

by Grant Morgan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry I found my mistake. I bootstrapped the development db and and
ran the production dn.


I am getting this when I first go radiant after installation
ActiveRecord::StatementInvalid in SiteController#show_page

stack trace ends with
/Library/Ruby/Gems/1.8/gems/radiant-0.6.4/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:360:in
`table_structure

I am on OS X 10.5.2
the table exist I can see them in SQLite3 db although I don't what
they should look like.
Rake runs with no errors.
my gem list says
activerecord (1.15.6, 1.15.3)
sqlite3-ruby (1.2.1)
radiant (0.6.4)

ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]

Any suggestions on what the problem is or where to look?
--
Cheers,
Grant


--
Cheers,
Grant
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant