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

Getting error #33

Closed
amit-lalakiya opened this issue Feb 28, 2022 · 3 comments
Closed

Getting error #33

amit-lalakiya opened this issue Feb 28, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@amit-lalakiya
Copy link

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\amit\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Users\amit\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 814, in callit
func(*args)
File "D:\Market\Python\ExcelTrading\OC_Analyzer_VarunS2002.py", line 1571, in main
self.set_values()
File "D:\Market\Python\ExcelTrading\OC_Analyzer_VarunS2002.py", line 1397, in set_values
self.sheet.see(last_row)
File "C:\Users\amit\venv\python39\lib\site-packages\tksheet_tksheet.py", line 1137, in see
self.MT.see(row, column, keep_yscroll, keep_xscroll, bottom_right_corner, check_cell_visibility = check_cell_visibility, redraw = redraw)
File "C:\Users\amit\venv\python39\lib\site-packages\tksheet_tksheet_main_table.py", line 1050, in see
yvis, xvis = self.cell_is_completely_visible(r = r, c = c, separate_axes = True)
File "C:\Users\amit\venv\python39\lib\site-packages\tksheet_tksheet_main_table.py", line 1106, in cell_is_completely_visible
x1, y1, x2, y2 = self.GetCellCoords(r = r, c = c, sel = True)
File "C:\Users\amit\venv\python39\lib\site-packages\tksheet_tksheet_main_table.py", line 2509, in GetCellCoords
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

@VarunS2002
Copy link
Owner

Most likely a duplicate of #25.
Re-open issue if not.

@VarunS2002 VarunS2002 added the duplicate This issue or pull request already exists label Feb 28, 2022
@amit-lalakiya
Copy link
Author

Your suggested fix worked. Now it is working as intended. I should have looked for the error reports before raising a new one. Thanks for making such an amazing tool.

@VarunS2002
Copy link
Owner

@amit-lalakiya No issues. Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants