'dict' object has no attribute 'iteritems'
yahyaerturan opened this issue · comments
Yahya Erturan commented
Using SublimeText3. Gives errors when it runs:
Scanning D:\web_projects\vOtopazari\framework\application\controllers\home.php
Exception in thread Thread-16:
Traceback (most recent call last):
File "X/threading.py", line 639, in _bootstrap_inner
File "todo in D:\developer_apps\SublimeText-3\Data\Installed Packages\SublimeTODO.sublime-package", line 292, in run
File "todo in D:\developer_apps\SublimeText-3\Data\Installed Packages\SublimeTODO.sublime-package", line 229, in format
File "todo in D:\developer_apps\SublimeText-3\Data\Installed Packages\SublimeTODO.sublime-package", line 178, in extract
AttributeError: 'dict' object has no attribute 'iteritems'
My applied settings are:
"todo":
{
"file_exclude_patterns":[
"*.css", "*.po", "*.mo"
],
"folder_exclude_patterns": [
"static", "vendor", "tmp"
],
"patterns":
{
"TODO": "TODO[(]*.*[)]*:+(?P<todo>.*)$",
"NOTE": "NOTE[(]*.*[)]*:+(?P<note>.*)$",
"FIXME": "FIX ?ME[(]*.*[)]*:+(?P<fixme>\\S.*)$",
"CHANGED": "CHANGED[(]*.*[)]*:+(?P<changed>\\S.*)$",
"BUG": "BUG[(]*.*[)]*:+(?P<bug>.*)$",
"FILE": "@file+(?P<file>.*)$"
},
"case_sensitive": true,
"result_title": "TODO Results"
}
And keys:
[
{ "keys": ["ctrl+shift+t"], "command": "todo", "args": {"open_files_only": false} },
]
Artur Bekasov commented
Same thing. ST3, Ubuntu 12.04 64 bit. Default configuration.
Danny Seymour commented
Have you cloned the st3 branch of the repo. You might want to look at the issue about ST3 compatibility.
lizzzzard commented
+1 here.
ST3, Windows 7 64 bit, default configuration.
I did not install the st3 branch, will try that next.
Sven Fraeys commented
Also with me, ST3. code need to be python 3 compatible