You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am getting the following error.
I am generally unable to run this plugin for any exchange. I didn't manage to backfill any ticker.
AmiCom window crashes every time I attempt to backfill a symbol. Importing tickers works but backfill freezes python.
I get "program is not responding...." error message. I mean the window created by main.py is not responding. I updated python "tk" to the latest version.
c:\amiCOM>d:\Work\WPy64-3680\python-3.6.8.amd64\python main.py
19-Nov-22 01:07:42 - Getting data for ACC
Exception in Tkinter callback
Traceback (most recent call last):
File "d:\Work\WPy64-3680\python-3.6.8.amd64\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "main.py", line 498, in ImportCur
tickerDf = tickerData.history(interval=interval_length, start=start_date, end=end_date)
File "d:\Work\WPy64-3680\python-3.6.8.amd64\lib\site-packages\yfinance\base.py", line 156, in history
tz = self._get_ticker_tz(debug_mode, proxy, timeout)
File "d:\Work\WPy64-3680\python-3.6.8.amd64\lib\site-packages\yfinance\base.py", line 339, in _get_ticker_tz
tkr_tz = utils.cache_lookup_tkr_tz(self.ticker)
File "d:\Work\WPy64-3680\python-3.6.8.amd64\lib\site-packages\yfinance\utils.py", line 339, in cache_lookup_tkr_tz
df = _pd.read_csv(fp, index_col="Ticker", on_bad_lines="skip")
TypeError: parser_f() got an unexpected keyword argument 'on_bad_lines'
19-Nov-22 01:08:08 - Getting data for ACC
EDIT_1: Ok, I figured it out myself, although I do not understand the issue. The error is about a wrong version of Pandas. As far as I understand Pandas should be in v1.3 minimum for the keyword argument on_bad_lines="skip" to work, however requirements.txt file in your plugin states "pandas == 1.2.1"
I somehow managed to install pandas 1.3. It was not eas. I have win7 here and newest Winpython versions do not want to work on win7. So I installed Winpython 3.7.12 and then bare python 3.7.9 release on top of that. The plugin starts, tries to backfill some tickers but does not seem to be able to fetch any data. Still "freezes" on "auto update db".
On what python dystribution do you run the plugin?
Is it possible to get NYSE data with the plugin?
The text was updated successfully, but these errors were encountered:
stan3c
changed the title
plungin freezes and backfill does not work
plugin freezes and backfill does not work
Nov 19, 2022
Hi, I am getting the following error.
I am generally unable to run this plugin for any exchange. I didn't manage to backfill any ticker.
AmiCom window crashes every time I attempt to backfill a symbol. Importing tickers works but backfill freezes python.
I get "program is not responding...." error message. I mean the window created by main.py is not responding. I updated python "tk" to the latest version.
c:\amiCOM>d:\Work\WPy64-3680\python-3.6.8.amd64\python main.py
19-Nov-22 01:07:42 - Getting data for ACC
Exception in Tkinter callback
Traceback (most recent call last):
File "d:\Work\WPy64-3680\python-3.6.8.amd64\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "main.py", line 498, in ImportCur
tickerDf = tickerData.history(interval=interval_length, start=start_date, end=end_date)
File "d:\Work\WPy64-3680\python-3.6.8.amd64\lib\site-packages\yfinance\base.py", line 156, in history
tz = self._get_ticker_tz(debug_mode, proxy, timeout)
File "d:\Work\WPy64-3680\python-3.6.8.amd64\lib\site-packages\yfinance\base.py", line 339, in _get_ticker_tz
tkr_tz = utils.cache_lookup_tkr_tz(self.ticker)
File "d:\Work\WPy64-3680\python-3.6.8.amd64\lib\site-packages\yfinance\utils.py", line 339, in cache_lookup_tkr_tz
df = _pd.read_csv(fp, index_col="Ticker", on_bad_lines="skip")
TypeError: parser_f() got an unexpected keyword argument 'on_bad_lines'
19-Nov-22 01:08:08 - Getting data for ACC
EDIT_1: Ok, I figured it out myself, although I do not understand the issue. The error is about a wrong version of Pandas. As far as I understand Pandas should be in v1.3 minimum for the keyword argument on_bad_lines="skip" to work, however requirements.txt file in your plugin states "pandas == 1.2.1"
I somehow managed to install pandas 1.3. It was not eas. I have win7 here and newest Winpython versions do not want to work on win7. So I installed Winpython 3.7.12 and then bare python 3.7.9 release on top of that. The plugin starts, tries to backfill some tickers but does not seem to be able to fetch any data. Still "freezes" on "auto update db".
On what python dystribution do you run the plugin?
Is it possible to get NYSE data with the plugin?
The text was updated successfully, but these errors were encountered: