Forum: Radiant CMS page_attachments fails on rake radiant:extensions:page_attac

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8256939170b23d537b83640906c9e19a?d=identicon&s=25 Peter Berkenbosch (Guest)
on 2007-06-12 23:24
(Received via mailing list)
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:in
`const_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:in `call'
/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:in `each'
/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:in `invoke'
/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:in `invoke'
/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:in `each'
/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:in
`standard_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:in `run'
/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:in `run'
/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 Berkenbosch
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-13 01:08
(Received via mailing list)
Peter,

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

Sean
8256939170b23d537b83640906c9e19a?d=identicon&s=25 Peter Berkenbosch (Guest)
on 2007-06-14 09:43
(Received via mailing list)
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 Cribbs <seancribbs@gmail.com> 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:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



--
met vriendelijke groet,

Peter Berkenbosch
8256939170b23d537b83640906c9e19a?d=identicon&s=25 Peter Berkenbosch (Guest)
on 2007-06-14 21:58
(Received via mailing list)
Hi Sean,

vendor/extentions only has a folder page_attachments.

Should there be more?

Peter.



On 6/13/07, Sean Cribbs <seancribbs@gmail.com> 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:   Radiant@lists.radiantcms.org
> >
>
>
>
> --
> met vriendelijke groet,
>
> Peter Berkenbosch




--
met vriendelijke groet,

Peter Berkenbosch
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-14 22:06
(Received via mailing list)
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
8256939170b23d537b83640906c9e19a?d=identicon&s=25 Peter Berkenbosch (Guest)
on 2007-06-14 22:26
(Received via mailing list)
Ok, I will give it another try tomorrow. Will investigate some more if
it
fails...

Thanks

Peter.

On 6/14/07, Sean Cribbs <seancribbs@gmail.com> wrote:
> On 6/14/07, Peter Berkenbosch <peter.berkenbosch@gmail.com> wrote:
> > On 6/13/07, Sean Cribbs <seancribbs@gmail.com> 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:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



--
met vriendelijke groet,

Peter Berkenbosch
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-14 23:04
(Received via mailing list)
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
8256939170b23d537b83640906c9e19a?d=identicon&s=25 Peter Berkenbosch (Guest)
on 2007-06-15 08:32
(Received via mailing list)
will do! Thanks.

On 6/14/07, Sean Cribbs <seancribbs@gmail.com> 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:   Radiant@lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



--
met vriendelijke groet,

Peter Berkenbosch
8256939170b23d537b83640906c9e19a?d=identicon&s=25 Peter Berkenbosch (Guest)
on 2007-06-16 20:10
(Received via mailing list)
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:in
`const_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:in `call'
/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:in `each'
/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:in `invoke'
/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:in `invoke'
/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:in `each'
/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:in
`standard_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:in `run'
/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:in `run'
/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
This topic is locked and can not be replied to.