troubleshooting

Trace/BPT trap with Python threading module

The following code dies with Trace/BPT trap: from tvdb_api import Tvdb from threading import Thread class GrabStuff(Thread): def run(self): t = Tvdb() def main(): threads = [GrabStuff() for x in range(1)] [x.start() for x in threads] [x.join() for x in threads] if __name__ == '__main__': main() The error...

Wincrypt: Unable to decrypt file which was encrypted in C#. NTE_BAD_DATA at CryptDecrypt

I am trying to decrypt a piece of a file with wincrypt and I cannot seem to make this function decrypt correctly. The bytes are encrypted with the RC2 implementation in C# and I am supplying the same password and IV to both the encryption and decryption process (encrypted in C#, decrypted in c++). All of my functions along the way are ...

What have your ASP.Net MVC deployment experiences been?

I've been waging a bit of a battle with MVC recently, trying to get it deployed and working correctly on my web host server. While the host (ixwebhosting) has been very prompt and efficient at resolving some of the technical difficulties, I'm still encountering odd behaviours around getting the views to render. Specific issues I've str...

dotnetnuke up and running error

Hi, I developed a DotNetNuke application and hosted it on a web server. When I browse the site, I am getting the following error: Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the appl...

"setup.py upload" is failing with "Upload failed (401): You must be identified to edit package information"

When running.. python setup.py sdist register upload ..I get the following output: running register We need to know who you are, so please choose either: 1. use your existing login, 2. register as a new user, 3. have the server generate a new password for you (and email it to you), or 4. quit Your selection [default 1]: 1 Userna...

Why do Perl string operations on Unicode characters add garbage to the string?

A quick question for a change. Perl: $string =~ s/[áàâã]/a/gi; #This line always prepends an "a" $string =~ s/[éèêë]/e/gi; $string =~ s/[úùûü]/u/gi; This Regex should convert "été" into "ete". What it does instead is converting it to "aetae". In other words, it prepends an "a" to every matched element. Even "à" is converted to "aa". ...

gltail "Missing gem net-ssh"

I'm attempting to get gltail set up on my local system to monitor logs remotely. I've got all the dependencies installed, but when I go to run gltail ... ./gl_tail configfile ../config.yaml I get this output: Missing gem net-ssh. Ubuntu: sudo gem install -y net-ssh -r .. which I've done a number of times. Here is the output: de...

How to troubleshoot .NET application that just disappears?

One of our .NET 2.0 application started to just randomly disappear. There are no records in the Event log, Dr. Watson doesn't generate crash dump, no nothing... How to troubleshoot this application? ...

How to troubleshoot long builds in Visual Studio?

Is it possible in any way to troubleshoot the build process in Visual Studio? I'd like to see which part of the build specifically takes so much time. ...

SQLite and `Object reference not set` exception

edit2: solution http://stackoverflow.com/questions/1710941/sqlite-and-object-reference-not-set-exception/1711481#1711481 I am having a hard time understanding my error. edit1: I set my define to make my code single threaded. The problem went away. So it seems like a race condition. I get the error below. But not always, i notice that ...

Javascript error

I think i put the anonymous function in there wrong... when it outputs listzonebuffs it includes the function(){... part. function load(zone){ setupzonebuffs(zone); document.getElementById('zonetitle').innerHTML=zone; listzonebuffs=""; if(zonebuffs['B']!=1){listzonebuffs+="<span class=\'"+function(){if(zonebuffs["B"]>1){return "good"...

error code 3021 either bof or eof is true or the current record has been deleted

Hi, I have an Access 2003 database with some visual basic code using ADO calls in it. When I do a strsql0 = "SELECT lnk_stockitm.C_C FROM lnk_stockitm WHERE (((lnk_stockitm.C_C) Like 'T*'));" newRS.Open strsql0, cn1, adOpenKeyset, adLockReadOnly newRS.movelast I get a '3021 either bof or eof is true or the current record has been ...

Installing Trac with Subversion 1.6

I'm trying to set up Trac on my server and have successfully installed it, compiled the bytecode and run the tracd server. The only problem is that it's not reading my SVN repository. The error I'm receiving is: Warning: Can't synchronize with the repository (Couldn't open Subversion repository /data1/repos: SubversionException: ("E...

How to get the best technical feedback possible from a non-technical user when supporting application issues?

A common problem I find when dealing with non-technical users when supporting technical issues is "translating" what I'm hearing to what actually is causing the problem. In our current application we do things like provide error message details that can be forwarded to our support team, however my question is: 1. Is there an approach ...

Does altering a session invalidate Pakage States in Oracle 10g?

Hi, I have a package that gets invalidated on a regular basis and found this in the code: ALTER SESSION CLOSE DATABASE LINK; Can this invalidate package states? Though I can't seem to replicate it. create or replace package body invalid_package_state_test is procedure test is TEMP VARCHAR2(1) := NULL; begin SELECT 'Y' INTO TEM...

Why would my AS2 swf stop loading into AS3 swf with SWFBridge on Mac running safari and mozilla?

I have noticed that my AS2 swf that I load into an AS3 swf with SWFBridge sometimes doesnt load. I have usually loaded the page several times and it works fine then sometimes it does not load. When I quit Safari and restart it it will work again. I havent noticed this happening on a Windows PC but only on Macbook OSX in both Safari and M...

Visual Studio freezes when switching to debug mode

Strange visual studio (TS 2008) problem: The IDE completely freezes whenever I switch from Release to Debug mode in a specific project. It happens right as I switch, before I try to build or do anything else. The whole thing started out of the blue, without any abnormal change I can think of. I tried to clean the solution, but it didn't...

Service cannot be started

I developed a simple windows service in C# as per this article. http://www.codeproject.com/KB/dotnet/simplewindowsservice.aspx I was successfully able to start the service for the first time and stop it. During the following attempts, I was not able to start the service. I got the following information. The MyNewService service on ...

ASP.NET Webapplication unavailable on Live Environment - How to troubleshoot

I have a asp.net 3.5 web application which is deployed on server 2003 and IIS 6. After running fine for a few weeks it goes "Down" and by down I mean that when I try and access it the browser looks like it's loading but never actually serves the page. After an IIS reset it loads quickly again. My question is what are the steps and tool...

Event interferes with subroutines

I'm struggling with an event related to my communications class. I'm calling a 'DataChange' function via event handler any time I receive new data over my serial connection. I then proceed to load that data into a DataGridView, perform some formatting, etc for the users. I'm getting a ton of problems due to the frequency at which the Da...