can't access Config card on 1.4

Support Ticket

+status
closed
+tags
 

When I click the "Configure your wagn" link on the default homepage after creating the default admin user, I receive the following error:

 

ActionView::TemplateError (No card name for class Knob) on line #5 of app/views/views/_open.rhtml:
2:     <%= slot.header %> 
3: <% end %>
4:
5: <%= slot.wrap_content( slot.render(:expanded_view_content) ) %>
6:
7: <%= slot.notice %>   
8: <% if card.ok?(:comment) %> <%#and !card.hard_template %>

 

    app/models/cardtype.rb:51:in `name_for'
    lib/cardlib/cacheable.rb:76:in `cardtype_name'
    lib/wagn/pattern.rb:100:in `set_name'
    lib/wagn/pattern.rb:23:in `set_names'
    lib/wagn/pattern.rb:22:in `map'
    lib/wagn/pattern.rb:22:in `set_names'
    lib/wagn/pattern.rb:29:in `css_names'
    app/helpers/slot.rb:128:in `wrap'
    app/helpers/slot.rb:327:in `render'
    app/helpers/slot.rb:553:in `process_inclusion'
    app/helpers/slot.rb:450:in `expand_inclusion'
    app/helpers/slot.rb:412:in `expand_inclusions'
    app/helpers/slot.rb:411:in `gsub'
    app/helpers/slot.rb:411:in `expand_inclusions'
    app/helpers/slot.rb:342:in `render_expanded_view_content'
    app/helpers/slot.rb:281:in `render'
    app/views/views/_open.rhtml:5:in `_run_rhtml_app47views47views47_open46rhtml_locals_card_object_open_slot'
    app/helpers/slot.rb:513:in `render_partial'
    app/helpers/slot.rb:235:in `render'
    app/helpers/slot.rb:553:in `process_inclusion'
    app/helpers/slot.rb:450:in `expand_inclusion'
    app/helpers/slot.rb:412:in `expand_inclusions'
    app/helpers/slot.rb:411:in `gsub'
    app/helpers/slot.rb:411:in `expand_inclusions'
    app/helpers/slot.rb:342:in `render_expanded_view_content'
    app/helpers/slot.rb:281:in `render'
    app/views/views/_open.rhtml:5:in `_run_rhtml_app47views47views47_open46rhtml_locals_card_object_open_slot'
    app/helpers/slot.rb:513:in `render_partial'
    app/helpers/slot.rb:235:in `render'
    app/helpers/slot.rb:553:in `process_inclusion'
    app/helpers/slot.rb:450:in `expand_inclusion'
    app/helpers/slot.rb:412:in `expand_inclusions'
    app/helpers/slot.rb:411:in `gsub'
    app/helpers/slot.rb:411:in `expand_inclusions'
    app/helpers/slot.rb:342:in `render_expanded_view_content'
    app/helpers/slot.rb:281:in `render'
    app/helpers/wagn_helper.rb:296:in `render_layout_card'
    app/views/layouts/application.html.erb:32
    app/controllers/card_controller.rb:63:in `render_show'
    app/controllers/card_controller.rb:57:in `show'
    /opt/ruby-enterprise-1.8.6-20090113/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.2.6/lib/hoptoad_notifier/rack.rb:27:in `call'
    passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
    passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

** [Hoptoad] Failure: Net::HTTPClientError
** [Hoptoad] Environment Info: [Ruby: 1.8.7] [Rails: 2.3.8] [Env: production]
** [Hoptoad] Response from Hoptoad:
<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>No project exists with the given API key.</error>
</errors>
Rendering /apps/wagn/public/500.html (500 Internal Server Error)

 

consistently when I try to lauch v1.4.  I was previously running v1.0 without error.  I've tried an upgrade as well as a clean install, both from the package on rubyforge as well as from the .git repository.  I've followd all of the tips on the installation page to no avail.  Am I missing something?

 

Hmm, what is Knob?  Is there a Knob cardtype that you've created?  The error suggests that it's expecting there to be one but can't find one...


 

This is with a plain vanilla install; I haven't created any cards. I agree that it seems to be looking for one.

  --Anonymous (Not signed in).....Wed Jun 23 12:38:43 -0700 2010


interesting. I just found that "Knob" was somewhat arbitrarily used in a migration for "Setting" and then migrated back to its real name. What happens if you run rake db:migrate? any issues? Wondering if it got stuck in a former migration.

  --Ethan McCutchen.....Wed Jun 23 15:03:29 -0700 2010


I get a deprecation warning but no errors. Looking at the schema_migrations table, it appears that all of the migration were run successfully.

  --Anonymous (Not signed in).....Thu Jun 24 10:51:05 -0700 2010