dalli icon indicating copy to clipboard operation
dalli copied to clipboard

Unexpected exception in Dalli

Open bradbirnbaum opened this issue 15 years ago • 3 comments

Unexpected exception in Dalli: TypeError: no marshal_dump is defined for class Proc 183892307-This is a bug in Dalli, please enter an issue in Github if it does not already exist. 183892393:/XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/dalli-1.0.0/lib/dalli/server.rb:249:in dump' 183892507: /XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/dalli-1.0.0/lib/dalli/server.rb:249:inserialize' 183892627: /XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/dalli-1.0.0/lib/dalli/server.rb:143:in set' 183892741: /XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/dalli-1.0.0/lib/dalli/server.rb:39:inrequest' 183892858: /XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/dalli-1.0.0/lib/dalli/options.rb:14:in block in request' 183892985- /home/ubuntu/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/monitor.rb:201:inmon_synchronize' 183893076: /XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/dalli-1.0.0/lib/dalli/options.rb:13:in request' 183893194: /XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/dalli-1.0.0/lib/dalli/client.rb:227:inperform' 183893312: /XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/dalli-1.0.0/lib/dalli/client.rb:111:in set' 183893426- (eval):7:inblock in set_with_newrelic_trace' 183893474- /XXXXXXXXXX/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-2.13.3/lib/new_relic/agent/method_tracer.rb:141:in trace_execution_scoped' 183893632- (eval):4:inset_with_newrelic_trace'

bradbirnbaum avatar Jan 05 '11 03:01 bradbirnbaum

Gracefully handle application marshalling issues, closed by aca3b1101b3b2397dcf5d2b9525a70e992a355c2

mperham avatar Jan 05 '11 05:01 mperham

This issue is an application bug, not a problem in Dalli. You're trying to cache an object that can't be cached, a Proc object.

mperham avatar Jan 05 '11 05:01 mperham

Thanks for the quick response. We will look into it.

bradbirnbaum avatar Jan 05 '11 05:01 bradbirnbaum