Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuilding PHP-Index hangs #20

Open
jasmines opened this issue Jun 13, 2019 · 0 comments
Open

Rebuilding PHP-Index hangs #20

jasmines opened this issue Jun 13, 2019 · 0 comments

Comments

@jasmines
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant