TypeError: unsupported operand type(s) for -: 'set' and 'dict'
hello, I have this error after launching the scan:
Traceback (most recent call last):
File "/usr/share/myphotoshare/bin/scanner", line 57, in <module>
main()
File "/usr/share/myphotoshare/bin/scanner", line 38, in main
TreeWalker()
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 78, in __init__
[folders_album, _, passwords_or_album_ini_processed] = self.walk(Options.config['album_path'], Options.config['folders_string'], [], None, set(), self.or>
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1652, 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, pas>
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1952, in walk
self.add_single_media_to_tree_by_search(single_media)
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1137, in add_single_media_to_tree_by_search
words_for_word_list, unicode_words, words_for_search_album_name = self.prepare_for_tree_by_search(single_media)
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1191, in prepare_for_tree_by_search
alphabetic_words, search_normalized_words, ascii_words = self.remove_stopwords(alphabetic_words, search_normalized_words, ascii_words)
File "/usr/share/myphotoshare/scanner/TreeWalker.py", line 1058, in remove_stopwords
purged_alphabetic_words = list(set(alphabetic_words) - TreeWalker.lowercase_stopwords)
TypeError: unsupported operand type(s) for -: 'set' and 'dict'
Edited by Paolo Benvenuto