#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    2
    Rep Power
    0

    Debugging issue; Deprecation and exception in TKinter ...


    hello everyone,

    So just a small introduction; i am desperate for some help, i have this software written in python that keeps giving me trouble even after i fix it bugs come out of nowhere and i really need to have it fixed fast because my work depends on it. I do have some background in programming but not in python ( in java ).

    The program is a user interface that is fed an input file and is supposed to produce an output file with graphs and numbers that are calculated from the input file.


    anyways here's the error i'm getting :

    C:\Python26\Lib\idlelib\idle.pyw:2763: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument

    Exception in Tkinter callback
    Traceback (most recent call last):
    File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
    return self.func(*args)
    File "C:\Users\Karim\Desktop\Dr.Nahas' software\SSDS_GUI_beta_BDF_0_2_1.py", line 1493, in <lambda>
    cPerfCalcs = lambda: self.perfCalcs(ssds, ioData, tSlice)
    File "C:\Users\Karim\Desktop\Dr.Nahas' software\SSDS_GUI_beta_BDF_0_2_1.py", line 1767, in perfCalcs
    ssds.data = ssds.GetNotchFilter(ioData.read_data(tSlice),ioDat a,tSlice)
    File "C:\Users\Karim\Desktop\Dr.Nahas' software\SSDS_GUI_beta_BDF_0_2_1.py", line 2781, in GetNotchFilter
    data[0] = data2[0]
    IndexError: list index out of range



    so i was wondering if anyone has an idea on how to approach this ? i would GREATLY appreciate it cause i am desperate need for this software to work.
    Thank you very much.
  2. #2
  3. JavaScript is not spelt java
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2011
    Location
    Landan, England
    Posts
    743
    Rep Power
    165
    Code:
    data[0] = data2[0]
    IndexError: list index out of range
    indicates that one or other of these lists is empty.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    2
    Rep Power
    0
    thank you for your quick response, i will try to dig around and see how to fix this.... i'll keep this thread updated.

    Thanks again

IMN logo majestic logo threadwatch logo seochat tools logo