TypeError: string indices must be integers
I've started using password-protected albums yesterday. This morning, the scan crashed with error when entering the protected album:
Traceback (most recent call last):
File "/usr/bin/myphotoshare_scanner", line 57, in <module>
main()
File "/usr/bin/myphotoshare_scanner", line 38, in main
TreeWalker()
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 71, in __init__
[folders_album, _, passwords_or_album_ini_processed] = self.walk(Options.config['album_path'], Options.config['folders_string'], [], None, set(), self.origin_album)
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1647, in walk
[next_walked_album, sub_max_file_date, _passwords_or_album_ini_processed] = self.walk(entry_with_path, next_album_cache_base, patterns_and_passwords, passwords_marker_mtime, album.password_identifiers_set, album)
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1647, in walk
[next_walked_album, sub_max_file_date, _passwords_or_album_ini_processed] = self.walk(entry_with_path, next_album_cache_base, patterns_and_passwords, passwords_marker_mtime, album.password_identifiers_set, album)
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1647, in walk
[next_walked_album, sub_max_file_date, _passwords_or_album_ini_processed] = self.walk(entry_with_path, next_album_cache_base, patterns_and_passwords, passwords_marker_mtime, album.password_identifiers_set, album)
[Previous line repeated 2 more times]
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1273, in walk
password_md5 = indexes[0]['md5']
TypeError: string indices must be integers
With version 5.3.9. I'll try to debug later to understand the cause of the bug.