Skip to content

Instantly share code, notes, and snippets.

@williamsjj
Created February 11, 2013 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save williamsjj/4758365 to your computer and use it in GitHub Desktop.
Save williamsjj/4758365 to your computer and use it in GitHub Desktop.
merb : chef-server-webui : worker (port 4040) ~ Params: {"cookbook_id"=>"cookbookabc", "cb_version"=>"0.5.1", "action"=>"show", "controller"=>"cookbooks"}
merb : chef-server-webui : worker (port 4040) ~
merb : chef-server-webui : worker (port 4040) ~ Started request handling: Mon Feb 11 22:40:07 +0000 2013
merb : chef-server-webui : worker (port 4040) ~ Routed to: {"cookbook_id"=>"cookbookabc", "cb_version"=>"0.5.1", "action"=>"show", "controller"=>"cookbooks"}
merb : chef-server-webui : worker (port 4040) ~ Params: {"cookbook_id"=>"cookbookabc", "cb_version"=>"0.5.1", "action"=>"show", "controller"=>"cookbooks"}
merb : chef-server-webui : worker (port 4040) ~
***ERROR in ruby.rb:123:in `scan_tokens': else-case " reached; "\3323" not handled, state = #<struct CodeRay::Scanners::Ruby::Patterns::StringState type=:string, interpreted=true, delim="\332\363", heredoc=false, paren=nil, paren_depth=nil, pattern=/ (?= [??\\] | \# [{$@] ) /mx, next_state=:initial> (after 13339 tokens)
tokens:
["\\\244", :char]
["??U??????͠?<l??\262\227\025\216\206?!?i1???k\222\216?:\037K\246\2301\221\020<\037\252\017G\021\031\023???B\020d\030Ē\020H?DT\202!?
?QO?|S\227\025D??>ն\n?r\016\024??*\037?~֬\020@?쎦?i\250\220r\035?H??\"1\200??\270??{??\251c?s(UXv???8x?8e\370\210\272\246T", :content]
["\\L", :char]
["\000A?U?\377>Nj\211pM???\006^??;\035ɰ\216??^z\256?[
\206Y${??\035\004??L?^?\026I?9.gOn?~?G??\211?c?\225?y?\240\253UI\276-??ɮN\177I\000\213\274?Y?Ƴ\251\257Lc\261?.?ۦ?6j{m\266\0060lp\2061\214`CSW\227\213WZ\277\027>新`??>F`\031\261?*??>>\201\244c0~\230ΗZ\036cj\204\027Jr?ipul?%0?d??v)??B-\232\263\261???y? ?????8F?~\201$?V\"\n?ݒß\021\031\206\261\242\216J\215\265\016\276&?䓱?c8z\n\037#\032K\2141\204\201\210\216`\030H\026\227-\023g\277Y??7??O=#\251?1??:?s?;<j;u???\237g\216|\016)\032?I}\fy?Z\002M?bi/myKna\201\236{w\262\323]", :content]
["\\\241", :char]
["????)??\264\2341R&yۺ\245??\205\255*d̒\2674ҮV\003y\216|0?R?:0б\022\272?8\236\026\276?n&\204\002`\003u\212?!\2261\2156\276\247\221\260/?s.:?)?z\207ڨm\204?]<k??\215Q\257u????\026\240M?p\210\b?t?w)q?q??\271\270\023?cۃ\020\243\a\265\220?a$\001?4\273??<z?\036\275׀??CW]\037\201?q????1W\257T?i?\001\220\214\004q\002c??\t\224\201\002k\003\225?w?g`??A\233?,E]??zBBzp\240߸\224\265\a??\030uzf?z+È??j??o|\311S", :content]
["\\\303\t", :char]
["\017{`ӗ?\271(\207Θ0\256%\255\177\006b?OdopK?.\247ל\2431?:\217?????<?t5\016\252\241\211\251W\000]XS\234C)\272???|*'QN?r\257\270??Ȩl?
<];\035cs'\v\035#y\271W1@\243Iy?h\261\234\276W{{\257??^\227쳆w\200\226\266?+V???? /9\261\230?d-\027+D+BKu??p\241\246\240????RJF??Nj?~?:??BD\n\253E'‡2\230씺o=%2?y?J)D?a]#F\232ǫ{t]\t???0 \222hKS?????
\265[??^X?o{X˺,?4D!?w?^Y-6\231\"\023?\2663z??B[i??oo?G&z\201?N???D??X?pu$??V\267w}\262w\037u*g\222??b????]9?N\tE\221\000\202\237e??\253L?Ge\222??a&}[يw\254/H̔\t\244?
?<ǒ\005yoy????84\v<?\225\225:'\275M?+???W?e?"{ĬzlkR\210\177\022u????\eqgx~\224\026Wc\276\217?
?????@E\253\275\037\223H?h \035B-X??wθ?u?+?\264\267>?.??\250????f??K\t??\233W?M2+?J\023?lI=\203?l\016\037b(?v@U\030\202\"\016\004\000H?@?\000?U?YB\020\266\255\252\2156\260??a?????y?J\027c?lq\275? ??6\3770?zu\017`嬯E9M?3')է0?+?\023kp\231 \003?oT\275\240???F\025??\205\224\206\206e\036??5?\016\262\204\2247\216Q???_??\001\016\376u\223\223\240E:\031\016?B\257????٠\232u?6??}\275߄\241=\025\"??OL\000C??/i\001\020D\224\261\240wʘ\000[t??v\233\243\002\260\b\231H\023\257\034\"??\a\213|\274?FU?^<a?~bɭc\000\030\201", :content]
["\\R", :char]
["[", :content]
current line: 5324 column: 360 pos: 683145
matched: "\3323" state: "No state given!"
bol? = false, eos? = false
surrounding code:
"\034\"??\a\213|\274?FU?^<a?~bɭc\000\030\201\\R[\3323" ~~ "/U%\026?~?.OH\226N\nQV\261\211|W\272\250?O\274\277\035+\343\336\367"
***ERROR***
- (CodeRay::Scanners::Scanner::ScanError)
/usr/lib/ruby/1.8/coderay/scanner.rb:245:in `raise_inspect'
/usr/lib/ruby/1.8/coderay/scanners/ruby.rb:123:in `scan_tokens'
/usr/lib/ruby/1.8/coderay/scanner.rb:170:in `tokenize'
/usr/lib/ruby/1.8/coderay.rb:156:in `scan'
/usr/lib/ruby/1.8/coderay.rb:176:in `scan_file'
/usr/share/chef-server-webui/app/controllers/application.rb:223:in `syntax_highlight'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:139:in `fetch'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:265:in `streaming_request'
/usr/lib/ruby/vendor_ruby/chef/rest/rest_request.rb:86:in `call'
/usr/lib/ruby/1.8/net/http.rb:1053:in `request'
/usr/lib/ruby/1.8/net/http.rb:2140:in `reading_body'
/usr/lib/ruby/1.8/net/http.rb:1052:in `request'
/usr/lib/ruby/1.8/net/http.rb:1037:in `request'
/usr/lib/ruby/1.8/net/http.rb:543:in `start'
/usr/lib/ruby/1.8/net/http.rb:1035:in `request'
/usr/lib/ruby/vendor_ruby/chef/rest/rest_request.rb:84:in `call'
/usr/lib/ruby/vendor_ruby/chef/rest/rest_request.rb:99:in `hide_net_http_bug'
/usr/lib/ruby/vendor_ruby/chef/rest/rest_request.rb:83:in `call'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:261:in `streaming_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:296:in `retriable_rest_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:259:in `streaming_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:139:in `fetch'
/usr/share/chef-server-webui/app/controllers/application.rb:222:in `syntax_highlight'
/usr/share/chef-server-webui/app/controllers/cookbooks.rb:154:in `highlight_content'
/usr/share/chef-server-webui/app/views/cookbooks/_cookbook_content.html.haml:6:in `__usr__share__chef__server__webui__app__views__cookbooks____cookbook__content_html_haml'
/usr/share/chef-server-webui/app/views/cookbooks/_cookbook_content.html.haml:3:in `each'
/usr/share/chef-server-webui/app/views/cookbooks/_cookbook_content.html.haml:3:in `__usr__share__chef__server__webui__app__views__cookbooks____cookbook__content_html_haml'
/usr/lib/ruby/1.8/merb-core/controller/mixins/render.rb:326:in `send'
/usr/lib/ruby/1.8/merb-core/controller/mixins/render.rb:326:in `partial'
/usr/lib/ruby/1.8/merb-core/controller/mixins/render.rb:321:in `map'
/usr/lib/ruby/1.8/merb-core/controller/mixins/render.rb:321:in `partial'
/usr/share/chef-server-webui/app/views/cookbooks/show.html.haml:13:in `__usr__share__chef__server__webui__app__views__cookbooks__show_html_haml'
/usr/share/chef-server-webui/app/views/cookbooks/show.html.haml:12:in `each'
/usr/share/chef-server-webui/app/views/cookbooks/show.html.haml:12:in `__usr__share__chef__server__webui__app__views__cookbooks__show_html_haml'
/usr/lib/ruby/1.8/merb-core/controller/mixins/render.rb:137:in `send'
/usr/lib/ruby/1.8/merb-core/controller/mixins/render.rb:137:in `render'
/usr/lib/ruby/1.8/merb-core/controller/mixins/render.rb:222:in `display'
/usr/share/chef-server-webui/app/controllers/cookbooks.rb:65:in `show'
/usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:315:in `send'
/usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:315:in `_call_action'
/usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:289:in `_dispatch'
/usr/lib/ruby/1.8/merb-core/controller/merb_controller.rb:252:in `_dispatch'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:102:in `dispatch_action'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:74:in `handle'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:36:in `handle'
/usr/lib/ruby/1.8/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/1.8/merb-core/rack/middleware/static.rb:28:in `call'
/usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
/usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
/usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/vendor_ruby/eventmachine.rb:256:in `run_machine'
/usr/lib/ruby/vendor_ruby/eventmachine.rb:256:in `run'
/usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/1.8/thin/server.rb:156:in `start'
/usr/lib/ruby/1.8/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:298:in `start_at_port'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:128:in `start'
/usr/lib/ruby/1.8/merb-core/server.rb:174:in `bootup'
/usr/lib/ruby/1.8/merb-core/server.rb:159:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `fork'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:35:in `start'
/usr/lib/ruby/1.8/merb-core.rb:170:in `start'
/usr/sbin/chef-server-webui:73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment