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

Editing xsd file results in "TypeError: 'NoneType' object has no attribute '__getitem__'" notifications #906

Closed
goozak opened this Issue Nov 26, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@goozak

goozak commented Nov 26, 2015

When editing .xsd files (as XML file type), the editor shows several "TypeError: 'NoneType' object has no attribute 'getitem'" errors. The error shows up when the cursor is moved, either by keyboard or mouse.

(To use the 'attached' file, replace the .txt extension with .xsd)
shiporder.txt

Komodo IDE, version 9.3.1, build 88153, platform win32-x86.
Built on Tue Nov 17 09:49:57 2015.

@goozak goozak changed the title from Editing xsd file results in flood of "TypeError: 'NoneType' object has no attribute '__getitem__'" notifications to Editing xsd file results in "TypeError: 'NoneType' object has no attribute '__getitem__'" notifications Nov 26, 2015

@Naatan Naatan added the Type: Bug label Nov 26, 2015

@Naatan Naatan added this to the 9.3.2 milestone Nov 26, 2015

@Naatan

This comment has been minimized.

Member

Naatan commented Nov 26, 2015

Reproduced on Linux (9.3.1)

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Nov 30, 2015

Note, this is not limited to XSD files, but any XML files.

mitchell-as added a commit that referenced this issue Nov 30, 2015

fix: Non-scannable UDL languages like XML do not have scopes; do not …
…raise errors - fixes #906

rn=

(integrated from master branch change 9.2.1-711-gc4439d4 by Mitchell <mitchellb@activestate.com>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment