Skip to content
New issue

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

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

Already on GitHub? # to your account

IndexError: list index out of range #25

Closed
pmandroid opened this issue Oct 4, 2021 · 3 comments
Closed

IndexError: list index out of range #25

pmandroid opened this issue Oct 4, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@pmandroid
Copy link

[2021-10-04 14:46:28 - INFO ] Windows 10 .py version 5.3
[2021-10-04 14:46:36 - ERROR] Exception in Tkinter callback
[2021-10-04 14:46:36 - ERROR] Traceback (most recent call last):
File "C:\Users\prash\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 1892, in call
[2021-10-04 14:46:36 - ERROR] return self.func(*args)
File "C:\Users\prash\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 814, in callit
[2021-10-04 14:46:36 - ERROR] func(*args)
File "D:/python-workspace/Python-NSE-Option-Chain-Analyzer/NSE_Option_Chain_Analyzer.py", line 1571, in main
[2021-10-04 14:46:36 - ERROR] self.set_values()
File "D:/python-workspace/Python-NSE-Option-Chain-Analyzer/NSE_Option_Chain_Analyzer.py", line 1397, in set_values
[2021-10-04 14:46:36 - ERROR] self.sheet.see(last_row)
File "D:\python-workspace\Python-NSE-Option-Chain-Analyzer\venv\lib\site-packages\tksheet_tksheet.py", line 1169, in see
[2021-10-04 14:46:36 - ERROR] self.MT.see(row, column, keep_yscroll, keep_xscroll, bottom_right_corner, check_cell_visibility = check_cell_visibility, redraw = redraw)
File "D:\python-workspace\Python-NSE-Option-Chain-Analyzer\venv\lib\site-packages\tksheet_tksheet_main_table.py", line 1164, in see
[2021-10-04 14:46:36 - ERROR] yvis, xvis = self.cell_is_completely_visible(r = r, c = c, separate_axes = True)
File "D:\python-workspace\Python-NSE-Option-Chain-Analyzer\venv\lib\site-packages\tksheet_tksheet_main_table.py", line 1220, in cell_is_completely_visible
[2021-10-04 14:46:36 - ERROR] x1, y1, x2, y2 = self.GetCellCoords(r = r, c = c, sel = True)
File "D:\python-workspace\Python-NSE-Option-Chain-Analyzer\venv\lib\site-packages\tksheet_tksheet_main_table.py", line 2610, in GetCellCoords
[2021-10-04 14:46:36 - ERROR] return self.col_positions[c] + 1,self.row_positions[r] + 1, self.col_positions[c + 1], self.row_positions[r + 1]
IndexError: list index out of range

Screenshot (29)

@VarunS2002 VarunS2002 added the bug Something isn't working label Oct 4, 2021
@VarunS2002
Copy link
Owner

#24
Same error happens on MacOS so it's a platform independent issue.
Will look into this.

@VarunS2002
Copy link
Owner

@pmandroid
Possibly fixed the issue in fd0981c
Downgrade (or upgrade) to version 5.0.24 of tksheet using pip install tksheet==5.0.24 and get back

@dipankar-npowered
Copy link

@pmandroid Possibly fixed the issue in fd0981c Downgrade (or upgrade) to version 5.0.24 of tksheet using pip install tksheet==5.0.24 and get back

It's working

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants