question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"'NoneType' object has no attribute 'group' " when calling "get_financial_stmts"

See original GitHub issue

Hi JECSand,

I tried out your code examples:

>> from yahoofinancials import YahooFinancials as yfs
>> ticker = 'AAPL'
>> yahoo_financials = yfs(ticker)
>> balance_sheet_data_qt = yahoo_financials.get_financial_stmts('quarterly', 'balance')`

ERROR: NoneType' object has no attribute 'group' 

Is it just me? Thanks and regards

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
sengwlokecommented, Oct 16, 2020

same error

1reaction
sengwlokecommented, Oct 16, 2020

ERROR: NoneType’ object has no attribute ‘group’

I am getting the same error

Read more comments on GitHub >

github_iconTop Results From Across the Web

'NoneType' object has no attribute 'group' - Stack Overflow
The error is in your line 11, your re.search is returning no results, ie None , and then you're trying to call fmtre.group...
Read more >
Temporary Fix For (AttributeError: 'NoneType' object has no ...
For anyone receives NoneType' object has no attribute 'group, if you are currently using googletrans==3.0.0, please switch to ...
Read more >
AttributeError: 'NoneType' object has no attribute 'group'
The Python "AttributeError: 'NoneType' object has no attribute" occurs when we try to call the group() method on a None value, e.g. after...
Read more >
Error: 'NoneType' object has no attribute 'group' while installing
Hello, I've got a new server with RAID 10 on it. Can't install XenServer on it. ... The error was: 'NoneType' object has...
Read more >
[Solved] AttributeError: Nonetype Object Has No Attribute Group
When we try to call or access any attribute on a value that is not associated with its class or data type, we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found