Traceback (most recent call last):
File "/usr/bin/sugar-activity3", line 5, in <module>
activityinstance.main()
File "/usr/lib/python3.7/dist-packages/sugar3/activity/activityinstance.py", line 230, in main
instance = create_activity_instance(activity_constructor, activity_handle)
File "/usr/lib/python3.7/dist-packages/sugar3/activity/activityinstance.py", line 59, in create_activity_instance
activity = constructor(handle)
File "/home/guest/Activities/Read.activity/readactivity.py", line 372, in __init__
self.read_file(self._jobject.file_path)
File "/home/guest/Activities/Read.activity/readactivity.py", line 737, in read_file
self._load_document('file://' + tempfile)
File "/home/guest/Activities/Read.activity/readactivity.py", line 1008, in _load_document
self.filehash = get_md5(filepath)
File "/home/guest/Activities/Read.activity/readactivity.py", line 99, in get_md5
buf = fh.read(4096)
File "/usr/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 10: invalid continuation byte
Reproducer: use Browse to view a PDF file from a web server or local filesystem, click on Save PDF to Journal, close Browse, view Journal, click on PDF file.