|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
|
|
Can't install radiantHi, I have followed the steps mentioned at the radiant site.
1.- Created a project, radiant --database mysql my_project 2.- Created a mysql database "my_project" 3.- cd into my_project directory 4.- created a databases.yml in ../my_project/config here is the content of that file production: adapter: mysql database: my_project username: root password: xxxxxxxx socket: /var/lib/mysql/mysql.sock host: localhost 5.- I issued command : rake production db:bootstrap and I get following error: rake aborted! Mysql::Error: #42S02Table 'my_project.config' doesn't exist: SHOW FIELDS FROM `config` Is there anything that I am doing wrong? Can anybody help me on this? Thanks _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantAlfredo Perez wrote:
> Hi, I have followed the steps mentioned at the radiant site. > > 1.- Created a project, radiant --database mysql my_project > 2.- Created a mysql database "my_project" > 3.- cd into my_project directory > 4.- created a databases.yml in ../my_project/config > > here is the content of that file > > production: > adapter: mysql > database: my_project > username: root > password: xxxxxxxx > socket: /var/lib/mysql/mysql.sock > host: localhost > > 5.- I issued command : rake production db:bootstrap > > and I get following error: > > rake aborted! > Mysql::Error: #42S02Table 'my_project.config' doesn't exist: SHOW FIELDS FROM `config` > > Is there anything that I am doing wrong? > Can anybody help me on this? > > Thanks > Two questions that might help: 1. Which platform? 2. How did you get Radiant? Cheers, Mohit. 6/26/2008 | 12:23 AM. _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantAlfredo,
Which version are you using? Sean Alfredo Perez wrote: > Hi, I have followed the steps mentioned at the radiant site. > > 1.- Created a project, radiant --database mysql my_project > 2.- Created a mysql database "my_project" > 3.- cd into my_project directory > 4.- created a databases.yml in ../my_project/config > > here is the content of that file > > production: > adapter: mysql > database: my_project > username: root > password: xxxxxxxx > socket: /var/lib/mysql/mysql.sock > host: localhost > > 5.- I issued command : rake production db:bootstrap > > and I get following error: > > rake aborted! > Mysql::Error: #42S02Table 'my_project.config' doesn't exist: SHOW FIELDS FROM `config` > > Is there anything that I am doing wrong? > Can anybody help me on this? > > Thanks > > _______________________________________________ > 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 |
|
|
Re: Can't install radiantAlso, can you run `rake production db:bootstrap --trace` and put the
output in a pastie? (http://pastie.org) Sean Alfredo Perez wrote: > Hi, I have followed the steps mentioned at the radiant site. > > 1.- Created a project, radiant --database mysql my_project > 2.- Created a mysql database "my_project" > 3.- cd into my_project directory > 4.- created a databases.yml in ../my_project/config > > here is the content of that file > > production: > adapter: mysql > database: my_project > username: root > password: xxxxxxxx > socket: /var/lib/mysql/mysql.sock > host: localhost > > 5.- I issued command : rake production db:bootstrap > > and I get following error: > > rake aborted! > Mysql::Error: #42S02Table 'my_project.config' doesn't exist: SHOW FIELDS FROM `config` > > Is there anything that I am doing wrong? > Can anybody help me on this? > > Thanks > > _______________________________________________ > 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 |
|
|
Re: Can't install radiantOn Wed, Jun 25, 2008 at 11:29:40AM -0500, Sean Cribbs wrote:
> Alfredo, > > Which version are you using? > > Sean > > Alfredo Perez wrote: >> Hi, I have followed the steps mentioned at the radiant site. >> >> 1.- Created a project, radiant --database mysql my_project >> 2.- Created a mysql database "my_project" >> 3.- cd into my_project directory >> 4.- created a databases.yml in ../my_project/config >> >> here is the content of that file >> >> production: >> adapter: mysql >> database: my_project username: root >> password: xxxxxxxx socket: /var/lib/mysql/mysql.sock >> host: localhost >> >> 5.- I issued command : rake production db:bootstrap >> >> and I get following error: >> >> rake aborted! >> Mysql::Error: #42S02Table 'my_project.config' doesn't exist: SHOW FIELDS FROM `config` >> >> Is there anything that I am doing wrong? >> Can anybody help me on this? >> >> Thanks I am using version version 0.6.7 _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantAlfredo Perez wrote:
> On Wed, Jun 25, 2008 at 11:29:40AM -0500, Sean Cribbs wrote: > >> Alfredo, >> >> Which version are you using? >> >> Sean >> >> Alfredo Perez wrote: >> >>> Hi, I have followed the steps mentioned at the radiant site. >>> >>> 1.- Created a project, radiant --database mysql my_project >>> 2.- Created a mysql database "my_project" >>> 3.- cd into my_project directory >>> 4.- created a databases.yml in ../my_project/config >>> >>> here is the content of that file >>> >>> production: >>> adapter: mysql >>> database: my_project username: root >>> password: xxxxxxxx socket: /var/lib/mysql/mysql.sock >>> host: localhost >>> >>> 5.- I issued command : rake production db:bootstrap >>> >>> and I get following error: >>> >>> rake aborted! >>> Mysql::Error: #42S02Table 'my_project.config' doesn't exist: SHOW FIELDS FROM `config` >>> >>> Is there anything that I am doing wrong? >>> Can anybody help me on this? >>> >>> Thanks >>> > > I am using version version 0.6.7 > Alfredo, I'm on Windows, so I can't directly help. Do you want to try with a sqlite project first? Cheers, Mohit. 6/26/2008 | 1:00 AM. _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantHere it is with --trace:
(in /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/photos) ** Invoke production (first_time) ** Execute production ** Invoke environment (first_time) ** Execute environment rake aborted! Mysql::Error: #42S02Table 'my_project.config' doesn't exist: SHOW FIELDS FROM `config` /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:281:in `execute' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `columns' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1080:in `columns' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1093:in `column_names' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1106:in `column_methods_hash' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1555:in `all_attributes_exists?' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb:131:in `all?' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1555:in `each' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1555:in `all?' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1555:in `all_attributes_exists?' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1483:in `method_missing' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/app/models/radiant/config.rb:34:in `[]' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/app/models/gallery_item.rb:16 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:104:in `require_or_load' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in `const_missing' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in `const_missing' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:260:in `load_missing_constant' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:469:in `const_missing' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/gallery_extension.rb:58:in `init' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/gallery_extension.rb:57:in `class_eval' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/gallery_extension.rb:57:in `init' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/gallery_extension.rb:31:in `activate' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/lib/radiant/extension.rb:34:in `activate' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/symbol.rb:11:in `__send__' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/symbol.rb:11:in `to_proc' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/lib/radiant/extension_loader.rb:92:in `each' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/lib/radiant/extension_loader.rb:92:in `activate_extensions' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/lib/radiant/initializer.rb:110:in `after_initialize' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/railties/lib/initializer.rb:114:in `process' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/railties/lib/initializer.rb:49:in `send' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/railties/lib/initializer.rb:49:in `run' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/lib/radiant/initializer.rb:89:in `run' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/photos/config/environment.rb:12 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/railties/lib/tasks/misc.rake:3 /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/lib/tasks/environments.rake:10 /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19 On Wed, Jun 25, 2008 at 11:31:08AM -0500, Sean Cribbs wrote: > Also, can you run `rake production db:bootstrap --trace` and put the > output in a pastie? (http://pastie.org) > > Sean > > Alfredo Perez wrote: >> Hi, I have followed the steps mentioned at the radiant site. >> >> 1.- Created a project, radiant --database mysql my_project >> 2.- Created a mysql database "my_project" >> 3.- cd into my_project directory >> 4.- created a databases.yml in ../my_project/config >> >> here is the content of that file >> >> production: >> adapter: mysql >> database: my_project username: root >> password: xxxxxxxx socket: /var/lib/mysql/mysql.sock >> host: localhost >> >> 5.- I issued command : rake production db:bootstrap >> >> and I get following error: >> >> rake aborted! >> Mysql::Error: #42S02Table 'my_project.config' doesn't exist: SHOW FIELDS FROM `config` >> >> Is there anything that I am doing wrong? >> Can anybody help me on this? >> >> Thanks >> >> _______________________________________________ >> 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 _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiant > /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/
app/models/gallery_item.rb:16 There's your problem. Try removing that extension, bootstrapping, then putting it back in. -Alex http://beautifulpixel.com On Jun 25, 2008, at 10:01 AM, Alfredo Perez wrote: > /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ > app/models/gallery_item.rb:16 _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantSorry I am a big time newbie
How do I do that? Thanks Alex Alfredo On Wed, Jun 25, 2008 at 10:31:22AM -0700, Alex Wayne wrote: > > /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ > app/models/gallery_item.rb:16 > > There's your problem. Try removing that extension, bootstrapping, then > putting it back in. > > -Alex > http://beautifulpixel.com > > On Jun 25, 2008, at 10:01 AM, Alfredo Perez wrote: > >> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ >> app/models/gallery_item.rb:16 > > _______________________________________________ > 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 |
|
|
Re: Can't install radiantJust remove the "gallery" folder from "vendor/extensions", get
yourself up and running just as you were trying to do before (rake db:bootstrap), and then put the gallery extension back where it was. -Alex http://beautifulpixel.com On Jun 25, 2008, at 10:38 AM, Alfredo Perez wrote: > Sorry I am a big time newbie > > How do I do that? > > Thanks Alex > > Alfredo > > > On Wed, Jun 25, 2008 at 10:31:22AM -0700, Alex Wayne wrote: >>> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ >> app/models/gallery_item.rb:16 >> >> There's your problem. Try removing that extension, bootstrapping, >> then >> putting it back in. >> >> -Alex >> http://beautifulpixel.com >> >> On Jun 25, 2008, at 10:01 AM, Alfredo Perez wrote: >> >>> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ >>> app/models/gallery_item.rb:16 >> >> _______________________________________________ >> 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 _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantI deleted the gallery folder extension and now it works.
However, I would like to install gallery extension, can I do that now? Alex, why was the gallery extension causing the problem? Alfredo On Wed, Jun 25, 2008 at 10:31:22AM -0700, Alex Wayne wrote: > > /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ > app/models/gallery_item.rb:16 > > There's your problem. Try removing that extension, bootstrapping, then > putting it back in. > > -Alex > http://beautifulpixel.com > > On Jun 25, 2008, at 10:01 AM, Alfredo Perez wrote: > >> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ >> app/models/gallery_item.rb:16 > > _______________________________________________ > 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 |
|
|
Re: Can't install radiantYou should be able to install it now without a problem. That
extension, apparently, depends on some database table being present when your radiant instance boots up. Running rake db:bootstrap boots up your radiant, but if those tables aren't there yet, and that extension doesn't handle that very well. Once your bootstrapped, your database exists, and the extension will no longer crash. The extension should probably allow you bootstrap with the extension installed. It's a bug. -Alex http://beautifulpixel.com On Jun 25, 2008, at 10:44 AM, Alfredo Perez wrote: > I deleted the gallery folder extension and now it works. > > However, I would like to install gallery extension, can I do that now? > > Alex, why was the gallery extension causing the problem? > > Alfredo > > > On Wed, Jun 25, 2008 at 10:31:22AM -0700, Alex Wayne wrote: >>> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ >> app/models/gallery_item.rb:16 >> >> There's your problem. Try removing that extension, bootstrapping, >> then >> putting it back in. >> >> -Alex >> http://beautifulpixel.com >> >> On Jun 25, 2008, at 10:01 AM, Alfredo Perez wrote: >> >>> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/gallery/ >>> app/models/gallery_item.rb:16 >> >> _______________________________________________ >> 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 _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantAlex Wayne wrote:
> Just remove the "gallery" folder from "vendor/extensions", get > yourself up and running just as you were trying to do before (rake > db:bootstrap), and then put the gallery extension back where it was. > > -Alex > http://beautifulpixel.com > Alex, should this be added to the wiki? Always bootstrap without any extensions? Cheers, Mohit. 6/26/2008 | 1:59 AM. _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantWhat would be the way to fix this for extension developers?
On Jun 25, 2008, at 1:59 PM, Alex Wayne wrote: > You should be able to install it now without a problem. That > extension, apparently, depends on some database table being present > when your radiant instance boots up. Running rake db:bootstrap > boots up your radiant, but if those tables aren't there yet, and > that extension doesn't handle that very well. Once your > bootstrapped, your database exists, and the extension will no longer > crash. > > The extension should probably allow you bootstrap with the extension > installed. It's a bug. > > -Alex > http://beautifulpixel.com > > On Jun 25, 2008, at 10:44 AM, Alfredo Perez wrote: > >> I deleted the gallery folder extension and now it works. >> >> However, I would like to install gallery extension, can I do that >> now? >> >> Alex, why was the gallery extension causing the problem? >> >> Alfredo >> >> >> On Wed, Jun 25, 2008 at 10:31:22AM -0700, Alex Wayne wrote: >>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/ >>>> gallery/ >>> app/models/gallery_item.rb:16 >>> >>> There's your problem. Try removing that extension, bootstrapping, >>> then >>> putting it back in. >>> >>> -Alex >>> http://beautifulpixel.com Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Can't install radiantThat's kind of a poor solution in general. Say you commit your
radiant to git, and deploy via capistrano, extensions included. It would suck to uninstall those on the webserver. The better solution is that extension should be written so that they don't break bootstrapping. -Alex http://beautifulpixel.com On Jun 25, 2008, at 10:59 AM, Mohit Sindhwani wrote: > Alex Wayne wrote: >> Just remove the "gallery" folder from "vendor/extensions", get >> yourself up and running just as you were trying to do before (rake >> db:bootstrap), and then put the gallery extension back where it was. >> >> -Alex >> http://beautifulpixel.com >> > > Alex, should this be added to the wiki? Always bootstrap without > any extensions? > > Cheers, > Mohit. > 6/26/2008 | 1:59 AM. > > _______________________________________________ > 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 |
|
|
Re: Can't install radiantMaybe config['foo'] should just return nil if no config table exists?
Or radiant maybe shouldn't load plugins at all if the project has no database yet? -Alex http://beautifulpixel.com On Jun 25, 2008, at 11:11 AM, Jim Gay wrote: > What would be the way to fix this for extension developers? > > On Jun 25, 2008, at 1:59 PM, Alex Wayne wrote: > >> You should be able to install it now without a problem. That >> extension, apparently, depends on some database table being present >> when your radiant instance boots up. Running rake db:bootstrap >> boots up your radiant, but if those tables aren't there yet, and >> that extension doesn't handle that very well. Once your >> bootstrapped, your database exists, and the extension will no >> longer crash. >> >> The extension should probably allow you bootstrap with the >> extension installed. It's a bug. >> >> -Alex >> http://beautifulpixel.com >> >> On Jun 25, 2008, at 10:44 AM, Alfredo Perez wrote: >> >>> I deleted the gallery folder extension and now it works. >>> >>> However, I would like to install gallery extension, can I do that >>> now? >>> >>> Alex, why was the gallery extension causing the problem? >>> >>> Alfredo >>> >>> >>> On Wed, Jun 25, 2008 at 10:31:22AM -0700, Alex Wayne wrote: >>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/extensions/ >>>>> gallery/ >>>> app/models/gallery_item.rb:16 >>>> >>>> There's your problem. Try removing that extension, >>>> bootstrapping, then >>>> putting it back in. >>>> >>>> -Alex >>>> http://beautifulpixel.com > _______________________________________________ > 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 |
|
|
|