Page_attachments fails on rake radiant:extensions:page_attac

Hello List,

I’m currently trying to install the page_attachments extention, but
facing a
problem when I run rake radiant:extensions:page_attachments:update.

This is the trace:

** Invoke environment (first_time)
** Execute environment
Extensions cannot be used until Radiant migrations are up to date.
** Execute radiant:extensions:page_attachments:update
rake aborted!
uninitialized constant PageAttachmentsExtension
/cygdrive/c/dev/Source/radiant_workspace/demo/config/…/vendor/radiant/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:266:in
load_missing_constant' /cygdrive/c/dev/Source/radiant_workspace/demo/config/../vendor/radiant/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:452:inconst_missing’
/cygdrive/c/dev/Source/radiant_workspace/demo/config/…/vendor/radiant/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:464:in
const_missing' /cygdrive/c/dev/Source/radiant_workspace/demo/config/../vendor/extensions/page_attachments/lib/tasks/page_attachments_extension_tasks.rake:12 /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:incall’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:ineach’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:ineach’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:16:in `load’
/usr/bin/rake:16

Any thoughts ?

Thanks

Peter B.

Peter,

Could you give a directory listing of vendor/extensions? Thanks.

Sean

Hi Sean,

vendor/extentions only has a folder page_attachments.

Should there be more?

Peter.

On 6/13/07, Sean C. [email protected] wrote:

I’m currently trying to install the page_attachments extention, but
uninitialized constant PageAttachmentsExtension

/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
Post: [email protected]


met vriendelijke groet,

Peter B.


met vriendelijke groet,

Peter B.

Nope. Although it shouldn’t be necessary, you might try

rake production radiant:extensions:page_attachments:update

If that task didn’t need RAILS_ROOT to know where to copy files, I
would make it independent of the current environment altogether.

Sean

Hi Sean,

I will do that this evening. The code is on my laptop, atm I’m at a job
where I work on a workstation.

Peter.

On 6/13/07, Sean C. [email protected] wrote:

I’m currently trying to install the page_attachments extention, but
uninitialized constant PageAttachmentsExtension
/cygdrive/c/dev/Source/radiant_workspace/demo/config/…/vendor/extensions/page_attachments/lib/tasks/page_attachments_extension_tasks.rake:12
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
Any thoughts ?


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


met vriendelijke groet,

Peter B.

Ok, I will give it another try tomorrow. Will investigate some more if
it
fails…

Thanks

Peter.

On 6/14/07, Sean C. [email protected] wrote:

On 6/14/07, Peter B. [email protected] wrote:

On 6/13/07, Sean C. [email protected] wrote:

I’m currently trying to install the page_attachments extention,
** Execute radiant:extensions:page_attachments:update
const_missing' execute’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
/usr/bin/rake:16:in `load’
Search: http://radiantcms.org/mailing-list/search/


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


met vriendelijke groet,

Peter B.

Make sure to bug me again with any specific errors. It seems lots of
people are having trouble and I’d like to keep track of the pain
points as much as possible so I can fix them.

Sean

will do! Thanks.

On 6/14/07, Sean C. [email protected] wrote:

fails…

Should there be more?
vendor/extensions? Thanks.

problem when I run rake
uninitialized constant PageAttachmentsExtension
const_missing' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in synchronize’
/usr/lib/ruby/gems/1.8/gems/rake- 0.7.3/lib/rake.rb:1733:in

Search: http://radiantcms.org/mailing-list/search/
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


met vriendelijke groet,

Peter B.

I just did all the steps on the wiki, but I still keep getting the same
errors:

gebruiker@QNH-PBerkenbosch ~/radiant_workspace/demo
$ rake radiant:extensions:page_attachments:update --trace
(in /cygdrive/c/dev/Source/radiant_workspace/demo)
** Invoke radiant:extensions:page_attachments:update (first_time)
** Invoke environment (first_time)
** Execute environment
Extensions cannot be used until Radiant migrations are up to date.
** Execute radiant:extensions:page_attachments:update
rake aborted!
uninitialized constant PageAttachmentsExtension
/cygdrive/c/dev/Source/radiant_workspace/demo/config/…/vendor/radiant/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:266:in
load_missing_constant' /cygdrive/c/dev/Source/radiant_workspace/demo/config/../vendor/radiant/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:452:inconst_missing’
/cygdrive/c/dev/Source/radiant_workspace/demo/config/…/vendor/radiant/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:464:in
const_missing' /cygdrive/c/dev/Source/radiant_workspace/demo/config/../vendor/extensions/page_attachments/lib/tasks/page_attachments_extension_tasks.rake:12 /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:incall’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:ineach’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:ineach’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:16:in `load’
/usr/bin/rake:16

I’m confused. The radiant instance is working perfectly, but the
extention
is not working… I will dive into the stacktrace, it has to be something
small…

Any hints into the right direction?

Peter