473,385 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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.
Aug 7 '12 #1
1 1706
bvdet
2,851 Expert Mod 2GB
You will receive that error when data2 has no elements.
Expand|Select|Wrap|Line Numbers
  1. >>> s = []
  2. >>> s[0]
  3. Traceback (most recent call last):
  4.   File "<interactive input>", line 1, in <module>
  5. IndexError: list index out of range
  6. >>> 
Aug 7 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Phillip Montgomery | last post by:
Hello all; I'm trying to debug an issue with a java script called, SelectSockets. It appears to be a fairly common one found on the web. I downloaded the SGI Java v1.4.1 installation from SGI's...
0
by: Stephen Noronha | last post by:
Hi, Is there a way of debugging a web application other than hitting F5 on VS ..NET. I have a box that has less RAM and the bloody application dies on me. it makes me put my hair. I want to...
2
by: Stephanie Stowe | last post by:
I do not know if this is the right place. I cannot find a studio.net group... I want to debug and ASP.NET app. This app is always launched from our classic ASP app. The ASP classic app has a...
0
by: spammy | last post by:
Hi, After around 30 mins or so I get the error: "error while trying to run project: unable to start debugging on the web server" when hitting F5 to debug an ASP.NET application. A restart of...
2
by: James | last post by:
I start my ASP.NET application with Debugging. I set a breakpoint for a certain line that references a DataTable. I open the immediate window and do: ? dt.Rows.Count This used to work, now...
0
by: Barbara Alderton | last post by:
VS2003 vb.net 1.1. I'm working on a fairly substantial web app. When going into the debugger, I get "Run-time exception thrown : System.ArgumentException - Cannot find the method on the object...
3
by: Barbara Alderton | last post by:
VS2003 vb.net 1.1. I'm working on a fairly substantial web app. When going into the debugger, I get "Run-time exception thrown : System.ArgumentException - Cannot find the method on the object...
7
by: | last post by:
I'm writing an ASP.NET app, using Visual Studio 2003. VS is running locally on my laptop, but the web app is running on a remote server. My laptop is not in the domain. I do have a domain account....
0
by: fred64 | last post by:
Hello , I fought very hard and succeed to do a remote debug from a client with VS2003 on XP HOME to a Server with XP PRO. This is on a Workgroup : I created same user/pwd with admin rights...
4
by: SteepAndDeep | last post by:
I am having trouble stopping debug mode within my mobile app using VS2008 in .net 2.0 mode. I am following MS best practtices as to how forms should be loaded using ShowDialog. Once a particualr...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.