Python Forum
newbie need help update code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
newbie need help update code
#1
Hi,
I am really new with phyton coding. I am not programmer and have no IT experience. I just know very basic coding. My coworker wrote the code and he left the company couple months ago.
He showed me how to run a trend report but never showed where the coding file or how to fix if got error messages. I have been using files for 2 months but now start having error messages.

I am not even sure where I have to start.
How do I get to the coding part of the file to check? I hope someone can pinpoint where to start or even find the file.
Thanks
Below is the error message when running the file

generating report
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter\__init__.py", line 1705, in __call__
File "sku_trend_report_generator.py", line 129, in generateReport
File "sku_trend_report_generator.py", line 243, in ExtractTrendData
IndexError: list index out of range
Reply
#2
(Oct-01-2020, 05:08 PM)Mariaa Wrote: How do I get to the coding part of the file to check?

How do you start the program? That will tell you where the program is.
Reply
#3
Thanks.
from the error code above, is that mean I have to fix GenerateReport and also ExtractTrendData?
Reply
#4
Find the file "sku_trend_report_generator.py" and open it with an editor.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Selenium update broke python code genericusername12414 1 182 Mar-16-2024, 07:33 PM
Last Post: snippsat
  newbie question - can't make code work tronic72 2 626 Oct-22-2023, 09:08 PM
Last Post: tronic72
  Newbie - code solution explained Stjude1982 2 1,790 Sep-16-2021, 08:54 AM
Last Post: Stjude1982
Question Python + Google Sheet | Best way to update specific cells in a single Update()? Vokofe 1 2,627 Dec-16-2020, 05:26 AM
Last Post: Vokofe
  I am a newbie.Help me with this simple piece of code feynarun 3 2,748 Jan-08-2020, 12:40 PM
Last Post: perfringo
  complete newbie, trying to tweak some code notarobot 6 3,115 Nov-02-2019, 03:35 PM
Last Post: notarobot
  Help with a Code (Newbie) GamingC3 1 1,880 Aug-19-2018, 11:48 AM
Last Post: buran
  Newbie: Help with code related to Caesar Cipher jessiblah 2 3,363 May-15-2018, 04:28 PM
Last Post: nilamo
  Newbie here. What's wrong with my code? GalaxyCR 3 3,369 Sep-29-2017, 01:51 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020