Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected exception in Dalli #56

Closed
bradbirnbaum opened this issue Jan 5, 2011 · 3 comments
Closed

Unexpected exception in Dalli #56

bradbirnbaum opened this issue Jan 5, 2011 · 3 comments

Comments

@bradbirnbaum
Copy link

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'

@mperham
Copy link
Collaborator

mperham commented Jan 5, 2011

Gracefully handle application marshalling issues, closed by aca3b11

@mperham
Copy link
Collaborator

mperham commented Jan 5, 2011

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.

@bradbirnbaum
Copy link
Author

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants