Rebuilding PHP-Index hangs
jasmines opened this issue · 0 comments
When I start the build index process in a project with 2222 php files to be indexed, it hangs at 1118th file, with the following error in terminal:
Unhandled exception in thread started by <bound method PhpIndex.build of <addiks_phpide.PHP.PhpIndex.PhpIndex object at 0x7fa37200a9e8>> Traceback (most recent call last): File "/home/mauro/.local/share/gedit/plugins/addiks_phpide/addiks_phpide/PHP/PhpIndex.py", line 67, in build self._index_directory(work_dir) File "/home/mauro/.local/share/gedit/plugins/addiks_phpide/addiks_phpide/PHP/PhpIndex.py", line 194, in _index_directory self._index_directory(entryPath) File "/home/mauro/.local/share/gedit/plugins/addiks_phpide/addiks_phpide/PHP/PhpIndex.py", line 194, in _index_directory self._index_directory(entryPath) File "/home/mauro/.local/share/gedit/plugins/addiks_phpide/addiks_phpide/PHP/PhpIndex.py", line 194, in _index_directory self._index_directory(entryPath) File "/home/mauro/.local/share/gedit/plugins/addiks_phpide/addiks_phpide/PHP/PhpIndex.py", line 200, in _index_directory self._index_phpfile(entryPath) File "/home/mauro/.local/share/gedit/plugins/addiks_phpide/addiks_phpide/PHP/PhpIndex.py", line 246, in _index_phpfile blocks, namespace, use_statements, use_statement_index, constants = parse_php_tokens(tokens) File "/home/mauro/.local/share/gedit/plugins/addiks_phpide/addiks_phpide/PHP/phptokenparser.py", line 33, in parse_php_tokens blocks, classes, classconstants, variables, constants, functions, namespace, use_statements, use_statement_index, uses, traitUses = __find_blocks_classes_functions(tokens) File "/home/mauro/.local/share/gedit/plugins/addiks_phpide/addiks_phpide/PHP/phptokenparser.py", line 124, in __find_blocks_classes_functions raise Exception("Invalid '}' (in '"+str(token[2])+'|'+str(token[3])+"'#"+str(tokenIndex)+")") Exception: Invalid '}' (in '248|13'#637)