I have made some more tests and I found this only happens when there is an image in the feed item. At least, when I try to use the "Image Histogram" it shows an histogram.
I also found a weird behavior while using the scratchpad and the console with the same feed item when it has an image. In the console I am able to print the title with
print appex.get_input()[0].get('title')
``
But if try the same code in the scratchpad with:
coding: utf-8
import appex
print(appex.get_input()[0].get('title'))
I get an exception
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/B6AB638B-3B3D-4649-85A1-8E5C6F750259/Pythonista3/Documents/Scratchpad.py", line 6, in
t = appex.get_input()[0].get('title')
SystemError: returned a result with an error set
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/B6AB638B-3B3D-4649-85A1-8E5C6F750259/Pythonista3/Documents/Scratchpad.py", line 5, in
print(appex.get_input()[0].get('title'))
SystemError: returned a result with an error set
```
What I am doing wrong?