[Radiant] Problem installing extensions

2009-11-04 Thread Dain Bentley
Okay, I managed to uninstall mailer and tried to reinstall it and this is
what I get now:
# script/extension install mailer --trace
Initialized empty Git repository in /tmp/mailer/.git/
remote: Counting objects: 184, done.
remote: Compressing objects: 100% (168/168), done.
remote: Total 184 (delta 72), reused 25 (delta 1)
Receiving objects: 100% (184/184), 35.66 KiB, done.
Resolving deltas: 100% (72/72), done.
rake aborted!
Mysql::Error: Table 'test_development.extension_meta' doesn't exist: SELECT
schema_version FROM extension_meta WHERE name = 'Mailer'

(See full trace by running task with --trace)
rake aborted!
Don't know how to build task 'radiant:extensions:mailer:update'

(See full trace by running task with --trace)

This is what I have installed:
# gem list

*** LOCAL GEMS ***

actionmailer (2.3.4, 2.3.3)
actionpack (2.3.4, 2.3.3)
activerecord (2.3.4, 2.3.3)
activeresource (2.3.4, 2.3.3)
activesupport (2.3.4, 2.3.3)
fastthread (1.0.7)
git (1.2.5)
json (1.1.9)
login_generator (1.2.2)
mysql (2.8.1)
passenger (2.2.5)
rack (1.0.0)
radiant (0.8.1)
rails (2.3.4, 2.3.3)
rake (0.8.7)
RedCloth (4.2.2)
rubygems-update (1.3.5)



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Problem with Extensions

2009-05-14 Thread Emanuel Vinzent
Hello all,

i have a problem with installing Extensions,

the error-message

Could not load extension from file: drag-order_extension.
#NameError: wrong constant name Drag-orderExtension
rake aborted!
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.+

the directory drag_ordner is on vendor/drag-order

any ideas?

greets
emanuel
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Problem with Extensions

2009-05-14 Thread N. Turnage

Emanuel Vinzent wrote:

Hello all,

i have a problem with installing Extensions,

the error-message

Could not load extension from file: drag-order_extension.
#NameError: wrong constant name Drag-orderExtension
rake aborted!
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.+

the directory drag_ordner is on vendor/drag-order

any ideas?
  


First off, which version of Radiant are you using? And second, you'll 
want to name your directories for your extensions using underscores ( _ 
) instead of dashes ( - ).


I have never used that extension, but I would check compatibility with 
the version of Radiant you are using.




~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Problem with Extensions

2009-05-14 Thread Emanuel Vinzent
thank's!

with the underscores in the directiories will should be work ;-)

2009/5/14 N. Turnage pixeln...@gmail.com

 Emanuel Vinzent wrote:

 Hello all,

 i have a problem with installing Extensions,

 the error-message

 Could not load extension from file: drag-order_extension.
 #NameError: wrong constant name Drag-orderExtension
 rake aborted!
 You have a nil object when you didn't expect it!
 You might have expected an instance of Array.
 The error occurred while evaluating nil.+

 the directory drag_ordner is on vendor/drag-order

 any ideas?



 First off, which version of Radiant are you using? And second, you'll want
 to name your directories for your extensions using underscores ( _ ) instead
 of dashes ( - ).

 I have never used that extension, but I would check compatibility with the
 version of Radiant you are using.



 ~Nate
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Problem with Extensions

2009-05-14 Thread Mohit Sindhwani

Emanuel Vinzent wrote:

thank's!

with the underscores in the directiories will should be work ;-)
  
With the advent of git, we need a FAQ that explains how to rename 
extension directories after the extension is cloned to 
vendor/extensions.  I guess there's a clean way to guess the directory 
name by looking at the _extension.rb in the newly created directory?


Examples:
* when it's blog_tags_extension.rb - the directory should be blog_tags;
* similarly, it's page_attachments when the file is called 
page_attachments_extension.rb

* and simply enough, gallery when the file is gallery_extension.rb

This should be foolproof, isn't it?  Are there any known extensions that 
tend to use CamelCase (guess not!) or dashed-names (theoretically 
possible, but I haven't seen any).


Cheers,
Mohit.
5/14/2009 | 11:02 PM.


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Problem with Extensions

2009-05-14 Thread john muhl
http://wiki.github.com/radiant/radiant/installing-extensions

On Thu, May 14, 2009 at 9:02 AM, Mohit Sindhwani t...@onghu.com wrote:
 Emanuel Vinzent wrote:

 thank's!

 with the underscores in the directiories will should be work ;-)


 With the advent of git, we need a FAQ that explains how to rename extension
 directories after the extension is cloned to vendor/extensions.  I guess
 there's a clean way to guess the directory name by looking at the
 _extension.rb in the newly created directory?

 Examples:
 * when it's blog_tags_extension.rb - the directory should be blog_tags;
 * similarly, it's page_attachments when the file is called
 page_attachments_extension.rb
 * and simply enough, gallery when the file is gallery_extension.rb

 This should be foolproof, isn't it?  Are there any known extensions that
 tend to use CamelCase (guess not!) or dashed-names (theoretically possible,
 but I haven't seen any).

 Cheers,
 Mohit.
 5/14/2009 | 11:02 PM.


 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Problem with Extensions

2009-05-14 Thread Emanuel Vinzent
Sry,

thanks, now work's fine! ;-)

2009/5/14 john muhl johnm...@gmail.com

 http://wiki.github.com/radiant/radiant/installing-extensions

 On Thu, May 14, 2009 at 9:02 AM, Mohit Sindhwani t...@onghu.com wrote:
  Emanuel Vinzent wrote:
 
  thank's!
 
  with the underscores in the directiories will should be work ;-)
 
 
  With the advent of git, we need a FAQ that explains how to rename
 extension
  directories after the extension is cloned to vendor/extensions.  I guess
  there's a clean way to guess the directory name by looking at the
  _extension.rb in the newly created directory?
 
  Examples:
  * when it's blog_tags_extension.rb - the directory should be blog_tags;
  * similarly, it's page_attachments when the file is called
  page_attachments_extension.rb
  * and simply enough, gallery when the file is gallery_extension.rb
 
  This should be foolproof, isn't it?  Are there any known extensions that
  tend to use CamelCase (guess not!) or dashed-names (theoretically
 possible,
  but I haven't seen any).
 
  Cheers,
  Mohit.
  5/14/2009 | 11:02 PM.
 
 
  ___
  Radiant mailing list
  Post:   Radiant@radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Problem with Extensions

2009-05-14 Thread N. Turnage

Mohit Sindhwani wrote:

Emanuel Vinzent wrote:

thank's!

with the underscores in the directiories will should be work ;-)
  
With the advent of git, we need a FAQ that explains how to rename 
extension directories after the extension is cloned to 
vendor/extensions.  I guess there's a clean way to guess the directory 
name by looking at the _extension.rb in the newly created 
directory?


Examples:
* when it's blog_tags_extension.rb - the directory should be blog_tags;
* similarly, it's page_attachments when the file is called 
page_attachments_extension.rb

* and simply enough, gallery when the file is gallery_extension.rb

This should be foolproof, isn't it?  Are there any known extensions 
that tend to use CamelCase (guess not!) or dashed-names (theoretically 
possible, but I haven't seen any).


Or you could just use Ray to install extensions. If you manage your 
project with git, this is super easy to use. And if it, for some reason, 
can't install an extension, there is always git submodule add. Ray is 
now the first extension I add to a project.


The only extension that throws me for a loop when I install it is the 
radiant-extensions-extension. Try searching for that one in github. 
Searching radiant extension returns all of them.





~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Problem with Extensions

2009-05-14 Thread Mohit Sindhwani

john muhl wrote:

http://wiki.github.com/radiant/radiant/installing-extensions
  
This is my Homer Simpson moment.  Ever since the wiki moved from 
Junebug, I haven't properly connected with it (I think it's the color 
scheme!).  I shall be more diligent :)


Cheers,
Mohit.
5/14/2009 | 11:53 PM.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant