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

'NoneType' object has no attribute 'name' #36

Open
farmnick opened this issue Nov 17, 2016 · 2 comments
Open

'NoneType' object has no attribute 'name' #36

farmnick opened this issue Nov 17, 2016 · 2 comments
Assignees
Labels

Comments

@farmnick
Copy link

Running the example in gaap.py returns the error:

File "C:\Python27\lib\site-packages\xbrl\xbrl.py", line 80, in parse
re.IGNORECASE | re.MULTILINE)).name
AttributeError: 'NoneType' object has no attribute 'name'

@greedo greedo self-assigned this Dec 27, 2016
@greedo
Copy link
Owner

greedo commented Jan 18, 2018

@farmnick could you provide a traceback and environment information on this issue since I cannot reproduce?

@SamStephens
Copy link

I've just encountered this parsing https://www.sec.gov/Archives/edgar/data/1739614/000173961421000093/inhibrx-20210903.xsd

So I think the root cause is probably accidentally parsing a non-XBRL document as XBRL, and this probably just need cleaner error handling.

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

No branches or pull requests

3 participants