troubleshooting

Low Autocorrelation Binary Sequence problem? Python troubleshooting..

I'm trying to model this problem (for details on it, http://www.mpi-hd.mpg.de/personalhomes/bauke/LABS/index.php) I've seen that the proven minimum for a sequence of 10 digits is 13. However, my application seems to be getting 12 quite frequently. This implies some kind of error in my program. Is there an obvious error in the way I'v...

How to do troubleshooting of 1000 sql queries everyday?

What would be the best way to trouble shoot thousands of sql queries everyday? Trouble shooting might includes finding the blocked queries, improving performance of query, Queries that are hogging maximum processing time. ...

QT4: update() or repaint() fails to trigger paintEvent()

I have a QScrollArea fathering my awesome scrolling widget. I like to do updates on the contents on various occasions. For this I did an override of paintEvent(QPaintEvent *). Then everytime I want it to be done I call update() on the widget. Problem: paintEvent() is never called by this! What I tried in troubleshooting so far: Use ...

NetBeans on OS X: Cannot connect to SFTP server: ArrayindexOutOfBoundsException

I am running NetBeans IDE 6.8 (Build 200912041610) with the PHP plugin on Mac OS X 10.5.8, and when I try to SFTP files up to my remote server, I get the error: Cannot connect to server: 1.2.3.4. Reason: java.lang.ArrayIndexoutOfBoundsException: 233 Where 1.2.3.4 is my server's IP address. I get this error with every server ...

IIS - wont serve an .ini file

Hi, I have a .ini file in the virtual directory of IIS. When i try to open the same in IE i get file not found HTTP 404 error. http://www.virtualdirectoryname/sample.ini Any inputs. Please suggest some solution. Thanks, Karthick ...

Debugging .NET 2.0 Winforms application using Debugging Tools for Windows

I support a .NET 2.0 Winforms application that is fairly widely deployed. On rare occasion we get a support call from a customer in which the application returns a .NET runtime exception AS SOON as you attempt to launch the application. In the past we have helped the customer re-install the .net framework and very often that works...but...

Scapy install issues. Nothing seems to actually be installed?

I have an apple computer running Leopard with python 2.6. I downloaded the latest version of scapy and ran "python setup.py install". All went according to plan. Now, when I try to run it in interactive mode by just typing "scapy", it throws a bunch of errors. What gives! Just in case, here is the FULL error message.. INFO: Can't i...

missing elements from pcap?

When I check the attributes available to the module pcap, I expect to see something like [ ...snip... 'dltvalue', 'findalldevs', 'lookupdev', 'lookupnet', 'ntoa', 'pcapObject', 'pcapObjectPtr'] With note on pcapObject. However, all I get when running dir(pcap) is [ ... snip... 'copyright', 'doc', 'file', 'license',...

Trouble Shoot JavaScript Function in IE

So this function works fine in geko and webkit browsers, but not IE7. I've busted my brain trying to spot the issue. Anything stick out for you? Basic premise is you pass in a data object (in this case a response from jQuery's $.getJSON) we check for a response code, set the notification's class, append a layer and show it to the user. ...

Setting up java configurations in eclipse. multiple .param files

I'm going to be using ECJ for doing genetic programming and I haven't touched java in years. I'm working on setting up the eclipse environment and I'm catching a few snags. The ECJ source has several packages, and several sample programs come along with it. I ran one sample program (called tutorial1) by going to the run configurations...

Troubleshooting ASP .NET Application on Shared Hosting

Hi, My company has a CRM site hosted externally on a shared server and recently it has been very problematic. Users are being logged out randomly, sometimes only seconds after logging in. We are also getting viewstate validation errors at times. Both problems seem to occur more often when there are two or more people logged in at the sa...

Running an RMI registry on one computer and connecting to it from another

Hello. I am doing a student assignment, using java RMI. I've programmed a simple RMI-server application that provides method which return some strings to the client. When I start the server on localhost and connect to it by client on the same computer, everything goes well. However, I am not able to do this between two computers on ho...

How to troubleshoot a 'System.Management.Automation.CmdletInvocationException'

Does anyone know how best to determine the specific underlying cause of this exception? Consider a WCF service that is supposed to use Powershell 2.0 remoting to execute MSBuild on remote machines. In both cases the scripting environments are being called in-process (via C# for Powershell and via Powershell for MSBuild), rather than 's...

Can you tell me why my webpage displays differently in IE and how to fix it.

I've been browsing through all of the CSS related cross-browser questions trying to troubleshoot my IE styling issues with no luck. Can anyone tell me how to fix my homepage styles so that it displays the same in IE as it currently does in Firefox? I've used Firebug (probably why it looks good in Firefox) but I can't find any tools for...

What are some tips for troubleshooting builds of complicated software?

Sometimes I want to build Python or GCC from scratch just for fun, but I can't parse the errors I get, or don't understand statements like "libtool link error # XYZ". What are some tricks that unix/systems gurus use to compile software of this size from scratch? Of course I already do things like read config.log (if there is one), googl...

SQL query duration is longer for smaller dataset?

I received reports that a my report generating application was not working. After my initial investigation, I found that the SQL transaction was timing out. I'm mystified as to why the query for a smaller selection of items would take so much longer to return results. Quick query (averages 4 seconds to return): SELECT * FROM Payroll WH...

Algorithm for troubleshooting "Maven doesn't work for me" problems

One of the most common and annoying problems I encounter with Maven is the building process failing/passing depending on who, when and on which machine is executing the process. More formally - in ideal world I would expect the build process to be repeatable. As a programmer I would say that I expect the build process to be like a pure ...

OpenCV - DLL missing, but it's not?

I am trying just a basic program with OpenCV with the following code: #include "cv.h" #include "highgui.h" int main() { IplImage* newImg; newImg = cvLoadImage("~/apple.bmp", 1); cvNamedWindow("Window", 1); cvShowImage("Window", newImg); cvWaitKey(0); cvDestroyWindow("Window"); cvReleaseImage(&newImg); re...

How do you fix issues with the debugger for the Android plug-in for Eclipse not attaching?

I have been trying to program something for the Android mobile phone, using Eclipse and the Android plug-in for that IDE, and my debugger used to attach just fine. But then it has suddenly started having consistent issues attaching. I just get that message about how the process is waiting for the debugger attach, and then it just won't...

Playing around with Eclipse features - Project files are now hidden?

I don't even remember how, but somehow I managed to make all of my project's source files hidden in Eclipse's Package and Project Explorer panels. Go figure. 'Show Filtered Children (alt+click)' temporarily reveals the files, and only in Package Explorer can I double-click to reopen them from this view. They go back into hiding after ...