473,699 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

debugging issue; Deprecation and exception in TKinter ...

1 New Member
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.p yw:2763: DeprecationWarn ing: functions overriding warnings.showwa rning() must support the 'line' argument

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python26\li b\lib-tk\Tkinter.py", line 1410, in __call__
return self.func(*args )
File "C:\Users\Karim \Desktop\Dr.Nah as' software\SSDS_G UI_beta_BDF_0_2 _1.py", line 1493, in <lambda>
cPerfCalcs = lambda: self.perfCalcs( ssds, ioData, tSlice)
File "C:\Users\Karim \Desktop\Dr.Nah as' software\SSDS_G UI_beta_BDF_0_2 _1.py", line 1767, in perfCalcs
ssds.data = ssds.GetNotchFi lter(ioData.rea d_data(tSlice), ioData,tSlice)
File "C:\Users\Karim \Desktop\Dr.Nah as' software\SSDS_G UI_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 1726
bvdet
2,851 Recognized Expert Moderator Specialist
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
2998
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 webpage and installed it using SGI's swmgr application. The installation was very straight forward and there were no errors when I installed the package. Then I ran /usr/java2/bin/javac SelectSockets.java to make the SelectSockets.class file.
0
817
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 debug my application to check whether my application is taking correct values. Thanks,
2
1404
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 page with client-side JScipt which opens a window and a page from the ASP.NET app in it. The ASP.NET page has JScript which references the window.opener. I want to debug my ASP classic and ASP.NET at the same time. So I went into the debugging...
0
817
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 VS.NET fixes this for a while, but then the error comes back. It was fine until a couple of days ago when I had to change my password. Would this have anything to do with it? If so, how do I fix it?
2
1195
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 I get: "Run-time exception thrown : System.ArgumentException - Cannot find the method on the object instance."
0
880
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 instance" on properties that I should be able to see. If I make a property (that's a string) equal to a local string variable, I can see the value then. (same goes for integer, long, etc). I get this for datatables, datarows, etc..
3
1062
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 instance" on properties that I should be able to see. If I make a property (that's a string) equal to a local string variable, I can see the value then. (same goes for integer, long, etc). I get this for datatables, datarows, etc..
7
2589
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. I had no issue creating the web app on the remote server after authenticating with the domain account, but I can't debug. It complains that I don't have rights. My domain account is in the administrators group on the remote machine. I also have...
0
1519
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 for client & Server. Also modified the DCOM security to allow remote access to Anonymous login and - finally- on the SERVER (client is XP home and doesn't include secpol.msc) , changed the Security policy "network access : Sharing
4
2515
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 form of mine is loaded and then I click the stop debugging button the app stays open (freezes) and then I need to do a soft reset on the device. This is how I am opening the form: frmLimnology frm = new frmLimnology(Site, true); frm.Owner = this;...
0
8705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8628
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9199
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9054
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8899
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7785
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5884
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.