Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you found a bug in the python wrappers / tutorial.

while it is possible to write single strings / scalars from c++, you can only write key-value pairs from python , with the restrictit on, that the keys may not contain certain characters, like . dots.

so, the (python) tutorial code does not work properly.

for now, just comment those lines:

#s.write('strings', '[')
#s.write('image1.jpg','Awesomeness')
#s.write('../data/baboon.jpg',']')

then please raise an issue here with your findings, and we'll see, what can be done about it

you found a bug in the python wrappers / tutorial.

while it is possible to write single strings / scalars from c++, you can only write key-value pairs from python , with the restrictit on, restriction, that the keys may not contain certain characters, like . dots.dots or / slashes even.

so, the (python) tutorial code does not work properly.

for now, just comment those lines:

#s.write('strings', '[')
#s.write('image1.jpg','Awesomeness')
#s.write('../data/baboon.jpg',']')

then please raise an issue here with your findings, and we'll see, what can be done about it