Panda Encoding Setup

0 views
Skip to first unread message

Loomis

unread,
Aug 7, 2009, 7:29:21 PM8/7/09
to Panda
I've settled on Panda for my Video Project and am trying to get the
panda instance up and running until I try to call merb with the irb
book with : merb -i

<http://pandastream.com/docs/getting_started>

I'm stuck on the S3 steps getting the buckets set up:

cd /var/local/www/panda
merb -i
Panda::Setup.create_s3_bucket
Panda::Setup.create_sdb_domains

right after issueing merb -i I get this output:

/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/controller/
merb_controller.rb:479:in `method_added': You tried to define form on
Videos but it was already defined on Merb::Controller. If you meant to
override a core method, use override! (Merb::ReservedError)
from /var/local/www/panda/app/controllers/videos.rb:70
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/
active_support/dependencies.rb:510:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/
active_support/dependencies.rb:355:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/
active_support/dependencies.rb:510:in `require'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:865:in `load_file'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:899:in `load_classes'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:897:in `each'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:897:in `load_classes'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:896:in `each'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:896:in `load_classes'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:643:in `run'
from /usr/lib/ruby/gems/1.8/gems/extlib-0.9.10/lib/extlib/
dictionary.rb:268:in `each'
from /usr/lib/ruby/gems/1.8/gems/extlib-0.9.10/lib/extlib/
dictionary.rb:268:in `each'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:641:in `run'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
bootloader.rb:99:in `run'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
server.rb:172:in `bootup'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core/
server.rb:42:in `start'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/lib/merb-core.rb:
170:in `start'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.9/bin/merb:11
from /usr/bin/merb:19:in `load'
from /usr/bin/merb:19

Note, when I had installed the EC2 instance for Panda I had to do a
bunch of gem updates, among them, rvideo, amazon_sdb, and starting
with merb_helpers.

Any ideas where to go from here?

Brian

blueporpoise

unread,
Oct 4, 2009, 6:43:24 PM10/4/09
to Panda
Hey Brian,

I get the same error after typing merb -i. I'm on CentOS. Were you
able to resolve it?

Thanks,
Bharat.

Damien Tanner

unread,
Oct 5, 2009, 6:52:03 AM10/5/09
to panda...@googlegroups.com
Hi,

This was due to an issue with the new Merb already defining the form
method. I've committed a fix to master and stable. Let me know how it
goes.

Kind Regards,
Damien Tanner
Co-Founder and Director, New Bamboo

Creating fresh, flexible and fast-growing web applications is our passion.

3rd Floor, Gensurco House, 46A Rosebery Avenue, London, EC1R 4RP

+44 (0)78 6312 7999
+44 (0)20 7099 7486
http://www.new-bamboo.co.uk
Reply all
Reply to author
Forward
0 new messages