Skip to content

Instantly share code, notes, and snippets.

@krishnasrihari
Created December 9, 2012 16:40
Show Gist options
  • Save krishnasrihari/4245960 to your computer and use it in GitHub Desktop.
Save krishnasrihari/4245960 to your computer and use it in GitHub Desktop.
Users/new issue
Encoding::CompatibilityError in Users#new
Showing /home/krishna/oDesk/yutongo/app/views/users/new.html.haml where line # raised:
incompatible character encodings: UTF-8 and ASCII-8BIT
Extracted source (around line #):
Rails.root: /home/krishna/oDesk/yutongo
Application Trace | Framework Trace | Full Trace
maruku (0.6.0) lib/maruku/helpers.rb:97:in `rescue in md_html'
maruku (0.6.0) lib/maruku/helpers.rb:85:in `md_html'
maruku (0.6.0) lib/maruku/input/parse_block.rb:255:in `read_raw_html'
maruku (0.6.0) lib/maruku/input/parse_block.rb:88:in `parse_blocks'
maruku (0.6.0) lib/maruku/input/parse_block.rb:41:in `parse_text_as_markdown'
maruku (0.6.0) lib/maruku/input/parse_doc.rb:57:in `parse_doc'
maruku (0.6.0) lib/maruku/maruku.rb:30:in `initialize'
haml (3.1.4) lib/haml/filters.rb:369:in `new'
haml (3.1.4) lib/haml/filters.rb:369:in `render'
haml (3.1.4) lib/haml/filters.rb:71:in `render_with_options'
haml (3.1.4) lib/haml/filters.rb:121:in `block in compile'
haml (3.1.4) lib/haml/filters.rb:99:in `instance_eval'
haml (3.1.4) lib/haml/filters.rb:99:in `compile'
haml (3.1.4) lib/haml/filters.rb:80:in `internal_compile'
haml (3.1.4) lib/haml/compiler.rb:210:in `compile_filter'
haml (3.1.4) lib/haml/compiler.rb:447:in `compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `block (2 levels) in compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `each'
haml (3.1.4) lib/haml/compiler.rb:446:in `block in compile'
haml (3.1.4) lib/haml/compiler.rb:170:in `compile_tag'
haml (3.1.4) lib/haml/compiler.rb:447:in `compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `block (2 levels) in compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `each'
haml (3.1.4) lib/haml/compiler.rb:446:in `block in compile'
haml (3.1.4) lib/haml/compiler.rb:73:in `compile_silent_script'
haml (3.1.4) lib/haml/compiler.rb:447:in `compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `block (2 levels) in compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `each'
haml (3.1.4) lib/haml/compiler.rb:446:in `block in compile'
haml (3.1.4) lib/haml/compiler.rb:170:in `compile_tag'
haml (3.1.4) lib/haml/compiler.rb:447:in `compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `block (2 levels) in compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `each'
haml (3.1.4) lib/haml/compiler.rb:446:in `block in compile'
haml (3.1.4) lib/haml/compiler.rb:170:in `compile_tag'
haml (3.1.4) lib/haml/compiler.rb:447:in `compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `block (2 levels) in compile'
haml (3.1.4) lib/haml/compiler.rb:446:in `each'
haml (3.1.4) lib/haml/compiler.rb:446:in `block in compile'
haml (3.1.4) lib/haml/compiler.rb:48:in `compile_root'
haml (3.1.4) lib/haml/compiler.rb:447:in `compile'
haml (3.1.4) lib/haml/engine.rb:124:in `initialize'
haml (3.1.4) lib/haml/template/plugin.rb:34:in `new'
haml (3.1.4) lib/haml/template/plugin.rb:34:in `compile'
haml (3.1.4) lib/haml/template/plugin.rb:39:in `call'
actionpack (3.1.3) lib/action_view/template.rb:280:in `compile'
actionpack (3.1.3) lib/action_view/template.rb:217:in `compile!'
actionpack (3.1.3) lib/action_view/template.rb:170:in `block in render'
activesupport (3.1.3) lib/active_support/notifications.rb:55:in `instrument'
actionpack (3.1.3) lib/action_view/template.rb:169:in `render'
actionpack (3.1.3) lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template'
actionpack (3.1.3) lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `block in instrument'
activesupport (3.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `instrument'
actionpack (3.1.3) lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
actionpack (3.1.3) lib/action_view/renderer/template_renderer.rb:39:in `block in render_template'
actionpack (3.1.3) lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
actionpack (3.1.3) lib/action_view/renderer/template_renderer.rb:38:in `render_template'
actionpack (3.1.3) lib/action_view/renderer/template_renderer.rb:12:in `block in render'
actionpack (3.1.3) lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
actionpack (3.1.3) lib/action_view/renderer/template_renderer.rb:9:in `render'
actionpack (3.1.3) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.1.3) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.1.3) lib/abstract_controller/rendering.rb:120:in `_render_template'
actionpack (3.1.3) lib/action_controller/metal/streaming.rb:250:in `_render_template'
actionpack (3.1.3) lib/abstract_controller/rendering.rb:114:in `render_to_body'
actionpack (3.1.3) lib/action_controller/metal/renderers.rb:30:in `render_to_body'
actionpack (3.1.3) lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
actionpack (3.1.3) lib/abstract_controller/rendering.rb:99:in `render'
actionpack (3.1.3) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.1.3) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/krishna/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.1.3) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
activerecord (3.1.3) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:39:in `render'
wicked_pdf (0.7.7) lib/pdf_helper.rb:19:in `render_with_wicked_pdf'
actionpack (3.1.3) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.1.3) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.1.3) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.1.3) lib/active_support/callbacks.rb:479:in `_run__217027014__process_action__578511051__callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `block in instrument'
activesupport (3.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `instrument'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
activerecord (3.1.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.1.3) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.1.3) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.1.3) lib/action_controller/metal.rb:193:in `dispatch'
actionpack (3.1.3) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.1.3) lib/action_controller/metal.rb:236:in `block in action'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `call'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:29:in `call'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `block in call'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:96:in `block in recognize'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:124:in `optimized_each'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:95:in `recognize'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:141:in `call'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:532:in `call'
omniauth (1.1.0) lib/omniauth/strategy.rb:177:in `call!'
omniauth (1.1.0) lib/omniauth/strategy.rb:157:in `call'
omniauth (1.1.0) lib/omniauth/builder.rb:48:in `call'
sass (3.1.15) lib/sass/plugin/rack.rb:54:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.3.6) lib/rack/etag.rb:23:in `call'
rack (1.3.6) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/flash.rb:247:in `call'
rack (1.3.6) lib/rack/session/abstract/id.rb:195:in `context'
rack (1.3.6) lib/rack/session/abstract/id.rb:190:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/cookies.rb:331:in `call'
activerecord (3.1.3) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (3.1.3) lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/reloader.rb:68:in `call'
rack (1.3.6) lib/rack/sendfile.rb:101:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.1.3) lib/rails/rack/logger.rb:13:in `call'
quiet_assets (1.0.1) lib/quiet_assets.rb:20:in `call_with_quiet_assets'
rack (1.3.6) lib/rack/methodoverride.rb:24:in `call'
rack (1.3.6) lib/rack/runtime.rb:17:in `call'
activesupport (3.1.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.3.6) lib/rack/lock.rb:15:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/static.rb:53:in `call'
railties (3.1.3) lib/rails/engine.rb:456:in `call'
rack (1.3.6) lib/rack/content_length.rb:14:in `call'
railties (3.1.3) lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.3.6) lib/rack/handler/webrick.rb:59:in `service'
/home/krishna/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/krishna/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/krishna/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment