You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "data.py", line 9, in <module>
client.record_create(12, rec)
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/orient.py", line 297, in record_create
.prepare(args).send().fetch_response()
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/messages/records.py", line 101, in fetch_response
result = super( RecordCreateMessage, self ).fetch_response()
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/messages/base.py", line 239, in fetch_response
self._decode_all()
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/messages/base.py", line 223, in _decode_all
self._decode_header()
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/messages/base.py", line 181, in _decode_header
[ exception_message.decode( 'utf8' ) ]
pyorient.exceptions.PyOrientCommandException: com.orientechnologies.orient.core.exception.OSerializationException - Found invalid > character at position 8 of text sku:"""">". Ensure it is opened and closed correctly.
Traceback (most recent call last):
File "data.py", line 9, in <module>
client.record_create(12, rec)
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/orient.py", line 297, in record_create
.prepare(args).send().fetch_response()
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/messages/records.py", line 101, in fetch_response
result = super( RecordCreateMessage, self ).fetch_response()
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/messages/base.py", line 239, in fetch_response
self._decode_all()
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/messages/base.py", line 223, in _decode_all
self._decode_header()
File "/home/marco/.virtualenvs/devlab/local/lib/python2.7/site-packages/pyorient/messages/base.py", line 181, in _decode_header
[ exception_message.decode( 'utf8' ) ]
pyorient.exceptions.PyOrientCommandException: com.orientechnologies.orient.core.exception.OSerializationException - Found invalid > character at position 6 of text sku:"">""". Ensure it is opened and closed correctly.
A few examples of strings that generate issues during serialization are:
""">
">""
" fdas " fda " fdsaf > fdsa
" > fdas " fda "
" > fdas " fda "
" > fdas " fda > "
Many more variants can be used.
The text was updated successfully, but these errors were encountered:
OSerializationException is raised when calling
record_create()
with specific strings.setup:
Code examples generating the exception:
= code example 1
= code example 2
A few examples of strings that generate issues during serialization are:
""">
">""
" fdas " fda " fdsaf > fdsa
" > fdas " fda "
" > fdas " fda "
" > fdas " fda > "
Many more variants can be used.
The text was updated successfully, but these errors were encountered: