Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Action Load #4

Closed
Contexter opened this issue Oct 3, 2009 · 1 comment
Closed

Failing Action Load #4

Contexter opened this issue Oct 3, 2009 · 1 comment

Comments

@Contexter
Copy link

Hi,

Doing this :

http://wiki.github.com/documentcloud/cloud-crowd/getting-started

I get this:

$ ~/config/cloud-crowd# crowd node
Starting CloudCrowd Node on port 9063...
/opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/cloud-crowd-0.2.5/lib/cloud-crowd.rb:167:in `actions': One of your actions failed to load. Please ensure that the name of your action class can be deduced from the name of the file. ex: 'word_count.rb' => 'WordCount' (NameError)
uninitialized constant Module::ShakespeareWordCount
    from /opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/cloud-crowd-0.2.5/lib/cloud_crowd/node.rb:70:in `initialize'
    from /opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:893:in `new'
    from /opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:893:in `new'
    from /opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/cloud-crowd-0.2.5/bin/../lib/cloud_crowd/command_line.rb:115:in `start_node'
    from /opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/cloud-crowd-0.2.5/bin/../lib/cloud_crowd/command_line.rb:104:in `run_node'
    from /opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/cloud-crowd-0.2.5/bin/../lib/cloud_crowd/command_line.rb:42:in `initialize'
    from /opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/cloud-crowd-0.2.5/bin/crowd:5:in `new'
    from /opt/ruby-1.8.7/lib/ruby/gems/1.8/gems/cloud-crowd-0.2.5/bin/crowd:5
    from /opt/ruby/bin/crowd:19:in `load'
    from /opt/ruby/bin/crowd:19

?? Am I missing something ??

Thanx!

@documentcloud
Copy link
Collaborator

It just looks like you're requesting an action that doesn't exist. The name of the built-in action is 'word_count', not 'shakespeare_word_count'.

Sorry for the confusion between the name of the script that launches the job and the name of the action itself -- I'll fix it.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant