Sign up Sign in Samples Blog contact support
Pointer gives error for no apparent reason

Support Ticket

can't reproduce
 
+example

http://www.wagn.org/wagn/long_alphabetical_list_with_ways_to_navigate+tag

 

it's sporadic, but when it's an error, at least once (didn't always check) the sidebar had WagnBot+menu

 
+discussion
ActionView::TemplateError: 
ActionView::TemplateError (705: unexpected token at '{"or": { {"and": "type": ["in", "Ticket", "Idea"],
"right_plus": ["status", {"not": {"refer_to": "closed"}} ] },
"found_by": "tag+*right+*options",
"type": ["in", "Blueprint", "Deck"]
},
"sort": "name"
}') on line #2 of app/views/types/pointer/_content.rhtml:
1: <div class="pointer-list">
2: <%= pointer_item(slot, (slot.item_view||'closed')) %>
3: </div>
4: <%= link_to_function 'add/edit', %{editTransclusion(this)}, :class=>'add-edit-item' %> <%#ENGLISH%>

json (1.4.6) lib/json/common.rb:146:in `parse'
json (1.4.6) lib/json/common.rb:146:in `parse'
app/models/card/search.rb:45:in `get_spec'
app/models/user.rb:47:in `as'
app/models/card/search.rb:42:in `get_spec'
app/models/card/search.rb:37:in `spec'
app/models/card/pointer.rb:38:in `item_type'
app/helpers/wagn_helper.rb:203:in `pointer_item'
app/views/types/pointer/_content.rhtml:2:in `_run_rhtml_app47views47types47pointer47_content46rhtml_locals_card_content_object_slot'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:319:in `render'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:141:in `trace_execution_scoped'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:314:in `render'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:319:in `render_partial'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:141:in `trace_execution_scoped'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:314:in `render_partial'
app/models/renderer.rb:296:in `render_partial'
app/models/renderer.rb:305:in `render_card_partial'
app/models/renderer.rb:196:in `_final_render_naked'
app/models/renderer.rb:70:in `send'
app/models/renderer.rb:70:in `_render_naked'
app/models/renderer.rb:217:in `_final_render_open_content'
app/models/renderer.rb:70:in `send'
app/models/renderer.rb:70:in `_render_open_content'
app/views/views/_open.rhtml:5:in `_run_rhtml_app47views47views47_open46rhtml_locals_card_object_open_slot'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:319:in `render'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:141:in `trace_execution_scoped'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:314:in `render'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:319:in `render_partial'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:141:in `trace_execution_scoped'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:314:in `render_partial'
app/models/renderer.rb:296:in `render_partial'
app/models/slot.rb:63:in `_final_render_open'
app/models/slot.rb:127:in `wrap'
app/helpers/wagn_helper.rb:198:in `div'
app/models/renderer.rb:311:in `send'
app/models/renderer.rb:311:in `method_missing'
app/models/renderer.rb:311:in `method_missing'
app/models/slot.rb:127:in `wrap'
app/models/slot.rb:63:in `_final_render_open'
app/models/renderer.rb:70:in `send'
app/models/renderer.rb:70:in `_render_open'
app/models/renderer.rb:266:in `send'
app/models/renderer.rb:266:in `render'
app/models/renderer.rb:413:in `process_inclusion'
app/models/renderer.rb:364:in `expand_inclusion'
app/models/renderer.rb:151:in `process_content'
lib/chunks/transclude.rb:59:in `unmask_text'
lib/wiki_content.rb:132:in `render!'
lib/wiki_content.rb:130:in `gsub!'
lib/wiki_content.rb:130:in `render!'
app/models/renderer.rb:148:in `process_content'
app/models/renderer.rb:190:in `_final_render_core'
app/models/renderer.rb:70:in `send'
app/models/renderer.rb:70:in `_render_core'
app/models/slot.rb:36:in `_final_render_layout'
app/models/renderer.rb:70:in `send'
app/models/renderer.rb:70:in `_render_layout'
app/models/renderer.rb:266:in `send'
app/models/renderer.rb:266:in `render'
app/helpers/wagn_helper.rb:287:in `render_layout_card'
app/views/layouts/application.html.erb:32
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:319:in `render'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:141:in `trace_execution_scoped'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:314:in `render'
app/controllers/card_controller.rb:71:in `render_show'
app/controllers/card_controller.rb:57:in `render_show'
app/controllers/card_controller.rb:51:in `show'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:255:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/method_tracer.rb:141:in `trace_execution_scoped'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.10.5/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:248:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.3.12/lib/hoptoad_notifier/rack.rb:27:in `call'
passenger (3.0.0) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.0) helper-scripts/passenger-spawn-server:99

tried several times. can't make this happen. glitch in matrix?

  --Ethan McCutchen.....Mon Feb 28 17:14:39 -0800 2011


i was having slow/weird net access, but thought the Wagn Bot thing was worth mentioning, perhaps linking from the ticket where we're gathering info on that (if there is one)

  --John Abbe.....Mon Feb 28 17:43:07 -0800 2011