error

software errors vs failures

if a small proportion of software errors turn into software failures; is it necessary to make investments to eliminate software errors? ...

Javascript method not defined

Why does this not work when I move the code in the first script block (without the script tag itself) to an external javascript file. The idea is to call homead.load() from home page and load everything processed by homead_build(); Error says 'homead not defined' using Firefox Error console <div id="box"> </div> <script type="text/j...

UnicodeEncodeError Google App Engine

I am getting the very familiar: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 24: ordinal not in range(128) I have checked out multiple posts on SO and they recommend - variable.encode('ascii', 'ignore') however, this is not working. Even after this I am getting the same error ... The stack trace: '...

URL redirect using .htaccess gives 500 Internal Server Error

Hi, I'm trying to redirect anyone surfing to http://forum.student.khleuven.be to http:// forum.kringraad.be. Both URL's redirect to the same directory, basically. I tried the following using .htaccess: Redirect permanent http://forum.student.khleuven.be/ http://forum.kringraad.be/ and also the following: <IfModule mod_rewrite.c> Rewr...

Boost : Error : 2 overloads have similar conversions

Hi, I'm basically brand new to using Boost. I'm trying to use a ptr_vector to handle some objects that I created. Specifically I have defined a class Location which defines a particular node on a map (simple 2D game layout). I defined a ptr_vector to hold a set of Locations that have value to the calling function (nodes with units on ...

Site Error File Does Not Exist

I used http://site-perf.com/ to test the speed of my site (http://sweatingthebigstuff.com) and it shows one file that gives a 404 error. That file does not exist (hence the error), but how do I found out how to fix it? I don't know where it is being called (definitely not in the code). The file in question is: sweatingthebigstuff.com/w...

What does |5E| mean in Common Lisp?

Hello, all! I got following error message in Common Lisp. What does || mean in CL? CL-USER> (write-to-string 5e) The variable |5E| is unbound. [Condition of type UNBOUND-VARIABLE] ...

max execution time error handling

Hi! I have one script that sometimes gives Max execution times reached error. This is normal, not this a problem. The problem is that in this case I would write specific error message. How do i do this? ...

Whats the right approach to return error codes in C++

I'm using error codes for handling errors in my c++ project. The problem is how to return error codes from a function which is supposed to return some variable/object. consider this: long val = myobject.doSomething(); Here, myobject is an object of some class. If doSomething function encounters some error condition then how should i...

GNU Build system que

Hi, I am building my project along with the 3rd party library. They have used asm blocks, Here are the compiler flags am using. -pedantic -pipe -Wundef -Wall -Wchar-subscripts -Wsign-compare -Wno-missing-braces -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-deprecated-declarations -fno-inline -std=c99-g -O2 GC...

2 DBs, union ALL and JET error

Hi guys, info: dedicated server with iis 6, win 2003, several websites with no problems. i have an old website (i will call it "A" with his db "Adb") and now a new website for a part of the old one (call it "B" with a db name "Bdb"). in order to work with both DBs i used Union ALL like this: strSQL = "SELECT catid,name,1 as r FROM ca...

Android Launch - Inexplicable error

I am developing an Android application, I was doing just fine then I made some changes to the code. Everything went fine, no error messages, until I ran the code. Then I get this in a popup dialog. Your project contains error(s), please fix them before running your application The title of the popup dialog is "Android Launch". I know t...

WebKit's percent-sized floats bug: are there any workarounds?

I'm experiencing what appears to be a bug in WebKit's rendering of floating elements' width when they have margins. The following renders as one would expect in Firefox (3.6) and WebKit (Chromium 5.0): <div style="width: 100%; background-color: green;"> <div style="background-color: red; float: left; width: 50%;">n</div> <div s...

How should I handle unsupported verbs on a resource?

I am developing a RESTful framework and am deciding how to handle an unsupported verb being called against a resource. For example, someone trying to PUT to a read-only resource. My initial thought was a 404 error, but the error is not that the resource cannot be found, it exists, just the user is trying to use the resource incorrectly....

Error trying to get iAds off screen

Trying to make iAds go off screen when no ad is loaded, as per Apple's request. They gave me this code: - (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error { if (self.bannerIsVisible) { [UIView beginAnimations:@"animateAdBannerOff" context:NULL]; // assumes the banner view is at the top of the s...

PHP file not being run

I have a PHP file that I'm trying to run. However, my web browsers act like it doesn't exist. For example, Firefox tries to open the PHP file Chrome says This webpage is not available. Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. Internet Explorer says Internet Explorer cannot display the webpage I'm trying to access this php ...

smtp error please have a glance

i am facing this exception while making email delivery system, could any body explain this ... {System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively ...

After upgrading to Wordpress 3.0, I can't put anything inside functions.php without errors.

I upgraded to version 3.0 and all was great. Then, I installed the plugin 'Post Links To'. I noticed then I couldn't log out without getting a white page, I also couldn't update things. Some of the dashboard still worked but it was a real problem. I then deleted the plugin but the problem remained. The weirdest thing is, if I change th...

Missing little red "x" in Eclipse explorer and problems view for Java source with compile errors?

The little red 'x' on my Java class files in the project explorer (or package explorer) are missing. They were there...now they are gone. This has happened before and usually a project clean, rebuild will do the trick. Also I unchecked the box that says abort build if build path error occurs. Any ideas? Edit: I am using the Maven M...

SQL reseeding works but auto increment starts at 0

I have some table that have an identity column that I am trying to reseed. The reseeding works (I think) but when a new data item is inserted into the table the identity column starts at 0. My code to reseed is: DBCC CHECKIDENT(MyTable, RESEED, 0) The Identity Specifications for the tables are: Identity Increment = 1 Identity Seed =...