Details
-
Bug
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I've tried to run code from your example in the repository:
https://github.com/couchbase/couchbase-python-client/blob/master/examples/couchbase/simple_txns.py
and get an error:
2023-03-15 09:13:55,127|INFO|root| doc 1 starts off as:
2023-03-15 09:13:55,128|INFO|root| doc 2 starts off as:
{'value': 0}2023-03-15 09:13:55,128|INFO|couchbase.transactions.logic.transactions_logic| created transactions object using config=<couchbase.options.TransactionConfig object at 0x7feaa0548be0>, serializer=<couchbase.serializer.DefaultJsonSerializer object at 0x7feaa0548cd0>
None
kwargs: {}
2023-03-15 09:13:55,129|DEBUG|couchbase.transactions.logic.attempt_context_logic| creating new attempt context with context=<capsule object "ctx_" at 0x7feaa0548f30>, loop=None, and serializer=<couchbase.serializer.DefaultJsonSerializer object at 0x7feaa0548cd0>
2023-03-15 09:13:55,129|DEBUG|couchbase.transactions.logic.attempt_context_logic| get calling transaction op with
terminate called after throwing an instance of 'std::logic_error'
what(): invalid json type 'uninitialized' for conversion to std::string
Aborted (core dumped)
I have similar issues with different transaction functions too.
Reporter: Aleksandr Miroshin
E-mail: a90mir@gmail.com