Runtime Error 500 Uploading Videos

5 views
Skip to first unread message

PhillC

unread,
Oct 21, 2009, 11:21:23 AM10/21/09
to Panda
I'm having some issue uploading the first video in my EC2 instance of
Panda, just installed today.

- I go to the URL of my EC2 instance
- I click Upload a test Video
- Browser pop-up happens with link to Continue to upload form
- I click the link
- Next page gives a Runtime Error 500

There's a few check boxes = All, App, Framework, Gem, Other

The App checkbox is ticked.

URL showing the error is: http://myec2-instance-name.compute-1.amazonaws.com/videos

If I Reload this page, I'm redirected to the Videos page in the Panda
app.

I've read the thread here, and re-installed gem uuid, but same problem
still apparent:

http://groups.google.com/group/pandastream/browse_thread/thread/911105480d70e5c5/f9f0bca1c8cbe0dc?lnk=gst&q=Continue+to+Upload+Form#f9f0bca1c8cbe0dc

I've changed user and group for /var/tmp/videos to www-data, from
root, to see if that was the issue, but no luck.

My install is pretty standard, using the supplied AMI on a High-CPU
Medium instance, with S3 for the storage.

Any ideas much appreciated.

Phill

Message has been deleted
Message has been deleted

Makism

unread,
Oct 23, 2009, 8:36:57 PM10/23/09
to Panda
I'm getting same error on EC2. Here is my log:

----------------------------------
~ Started request handling: Sat Oct 24 00:35:07 +0000 2009
~ Params: {"panda_video"=>{"account_token"=>""}, "format"=>nil,
"action"=>"create", "controller"=>"videos"}
~ 00d2ac30-a263-012c-92f5-12313801d5d1: Created video
~ Named route not found: upload_form_video - (RuntimeError)
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
dispatch/router.rb:148:in `generate'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
controller/abstract_controller.rb:434:in `url'
/var/local/www/panda/app/controllers/videos.rb:59:in `create'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
controller/abstract_controller.rb:276:in `send'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
controller/abstract_controller.rb:276:in `_call_action'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
controller/abstract_controller.rb:254:in `_dispatch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
controller/merb_controller.rb:190:in `_dispatch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
dispatch/dispatcher.rb:115:in `dispatch_action'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
dispatch/dispatcher.rb:115:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
dispatch/dispatcher.rb:115:in `dispatch_action'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
dispatch/dispatcher.rb:61:in `handle'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
dispatch/dispatcher.rb:29:in `handle'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/rack/
application.rb:7:in `call'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/rack/
middleware/static.rb:22:in `call'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/rack/
handler/mongrel.rb:72:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:155:in
`process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:154:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:154:in
`process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in
`run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in
`initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in
`new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in
`run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in
`initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in
`new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in
`run'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/rack/
adapter/mongrel.rb:22:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core/
server.rb:54:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/lib/merb-core.rb:
108:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.7/bin/merb:11
/usr/local/bin/merb:19:in `load'
/usr/local/bin/merb:19
~ Params: {"panda_video"=>{"account_token"=>""}, "format"=>nil,
"action"=>"create", "controller"=>"videos"}
~
---------------------------

Any idea?

On Oct 21, 8:21 am, PhillC <phillcla...@gmail.com> wrote:
> I'm having some issue uploading the first video in my EC2 instance of
> Panda, just installed today.
>
> - I go to the URL of my EC2 instance
> - I click Upload a test Video
> - Browser pop-up happens with link to Continue to upload form
> - I click the link
> - Next page gives a Runtime Error 500
>
> There's a few check boxes = All, App, Framework, Gem, Other
>
> The App checkbox is ticked.
>
> URL showing the error is:http://myec2-instance-name.compute-1.amazonaws.com/videos
>
> If I Reload this page, I'm redirected to the Videos page in the Panda
> app.
>
> I've read the thread here, and re-installed gem uuid, but same problem
> still apparent:
>
> http://groups.google.com/group/pandastream/browse_thread/thread/91110...

Makism

unread,
Oct 26, 2009, 4:22:10 PM10/26/09
to Panda
When I'm starting panda manually (without using 'god') then I can see
debug info on the page with 500 error message. Here is what I can see:

http://s3.amazonaws.com/randomstuffforus/panda-error500.jpg

I'm not ruby developer and have no idea not to solve this problem.
please help.

dctanner

unread,
Oct 27, 2009, 7:38:02 AM10/27/09
to Panda
Hi Maksim and Phill,

There was an issue in the latest stable, yickster kindly submitted a
patch. If you do a git pull you should find things work.

Makism

unread,
Oct 27, 2009, 12:52:24 PM10/27/09
to Panda
Awesome! It works now....
Thanks!
Reply all
Reply to author
Forward
0 new messages