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

Writing python object to remote cache #9

Open
sonalm opened this issue Jan 7, 2014 · 0 comments
Open

Writing python object to remote cache #9

sonalm opened this issue Jan 7, 2014 · 0 comments

Comments

@sonalm
Copy link

sonalm commented Jan 7, 2014

I have a SampleObject in python which i am trying to write to remoteCache using:

objtemp1 = SampleObject()
cache.put("sampleObject" + str(x) , objtemp1)

But, it gives me this error:

File "/python-client-master/infinispan/init.py", line 62, in
to_varint(len(v)) + v
TypeError: cannot concatenate 'str' and 'SampleObject' objects

I think it is something related to serialization of python object. Can someone help with the error and possible solution.

Thanks,
Sonal

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

1 participant