error

android sqlite insert problem with error code 19

Hi everybody! when I'm trying to run the ContentValues cv = new ContentValues(); cv.put(table_LocalSettings_Unit, input); mDb.insert(table_LocalSettings, "", cv); I got the following error: Error inserting unit = 0; SqliteConstraintException: error code 19 constraint failed. What should be the problem ? The table...

Unknown class in Interface Builder file.

I created a fairly simple iPhone app. Then figured I'd create an iPad version (Universal) of the app. Tried using the 'upgrade' option and that didn't work-out. So I created a separate universal app and copied the xib files into my project. That didn't work out either, so I deleted the xib files (and their associated .m & .h files. ...

Can one prevent Microsoft Error Reporting for a single app?

We have an unmanaged C++ application that utilizes 3rd party APIs to read CAD files. On certain corrupted CAD files, the 3rd party library crashes and brings our EXE down with it. Because of this our main application is a separate EXE and in this way it does not get affected by the crash. Howevever, we end up with annoying Microsoft Erro...

PHP parse error

Hello, firstof all, i excuse in advance, this error may be a simple one. But i slept like 4 hour this night... :'( <?php echo url_for('@news_read/id=?'.$news_item->getId()) ?> outputs a syntax error and i don't see where it is (i wouldn't see an elephant right now...) Thank you ...

Facebook like box "Open Graph type" error

I get this error: You supplied an Open Graph type via one of the supported meta tags, but the type you specified "link" is not valid. when I try to click like on a like box created for this page id: 159862427014 ...

NetBeans isn't finding my class

Netbeans is returning a NoClassDefFoundError, but my class is right there! Has this happened to anyone before? PROBLEM SOLVED: I had a bad annotation in front of my class, so the runtime didn't pick it up. run: java.lang.NoClassDefFoundError: targzipmanager/TarGzipManagerView Caused by: java.lang.ClassNotFoundException: targzipmanager....

Wordpress - Disqus error with custom page template

Hi, I created a custom page template to display a filterable portfolio in Wordpress. However, on that custom page I am getting an error code - // <![CDATA[ (function() { document.write('<script charset="utf-8" type="text/javascript" src="http://thinquetanque.disqus.com/get_num_replies_from_wpid.js?v=2.2&amp;amp;t=span&amp;amp;wpid0=14&...

Python: "global name 'time' is not defined"

I'm writing a silly program in python for a friend that prints "We are the knights who say 'Ni'!". then sleeps for 3 seconds, and then prints "Ni!" twenty times at random intervals using the random module's uniform() method. Here's my code: from time import sleep import random def knights_of_ni(): generator = random.Random() pr...

This one line of code has the expected ; before and unary minus errors for xcode iphone. It just one line! Ahhh!

Alright. So I asked a question here but I feared that I anwsered it myself and closed the dicussion. No Idea if I did that. That question is available here; http://stackoverflow.com/questions/3411650/is-it-me-or-xcode-somethings-wrong-with-my-braces-and-it-just-causes-errors-p let me go ahead with my code that gives the expected ; and ...

javascript running fine in mozilla but gives unknown runtime error in IE6,why?

iam using simple blow up trick in my page . first the div is set as hidden and then when we click the image ,a blow up opens with a overlay image in the background. The javascript function simply seta innerhtml. This all runs fine in mozilla but it gives unknown runtime error when i try to see it in IE6 and thats why image blow up doesnt...

How to start IntelliJ idea despite of a plug-in error

Hi, I have a problem with my IntelliJ idea 9 IDE. I installed the La Clojure plugin (http://plugins.intellij.net/plugin/?id=4050) and the IDE needed to restart. Now I get the following error on startup and it won't let me continue working: java.lang.AssertionError: Source file C:\Users\foo\.IntelliJIdea90\system\plugins\org.intellij.cl...

matlab error "Out of memory"

hello. i want to calculate 2 covariance matrix with size (10304,1034) and matlab create the first one but when it run the second command error occurs >> j=ones(10000,10000); >> jj=ones(10000,10000); ??? Out of memory. Type HELP MEMORY for your options. my laptop ram is 2GB but it still have 1 GB free i use win seven and matlab 2009b 3...

WPF Error on Non-Development PC - XamlParse

I have an error very similar to the one addressed in this question. I am trying to deploy a small c#/Xaml utility on 6 work machines. 4 of the machines run the utility successfully and 2 do not. All machines are windows XP and have .Net frameworks 1-4 installed (my app is compiled against 4.0 and all machines have both client and extende...

What's the difference between failure and error in JUnit?

I'm running JUnit tests on a large code base, and I've been realizing that sometimes I get "Errors" while other times I get "Failures". What's the difference? ...

SQL Developer explain plan broken

Trying to generate an explain plan in SQL Developer, the program puts up a message box with title "failed to query plan_table" complaining "invalid column name". The plan is not generated or displayed. How to fix? ...

Wordpress - Fatal error: Out of memory (allocated 48496640) - netfirms

I'm having a problems uploading images and keep getting the same error message. I've googled the issues and have found some "fixes" but they don't seem to be doing anything. I've tried adding a custom php.ini file Adding ini_set('memory_limit' ... in the file that throws the error The site is being hosted by Netfirm (which has been pa...

In Flash, how do I import a package, instantiate the class, and call a method without getting an error?!

This is driving me absolutely nuts. I've scoured threads on the subject and NOTHING seems to work. I have an FLA file with the following code on frame 1: import TestClass; var tstClass:TestClass = new TestClass; tstClass.testMethod(); In the accompanying AS file, I have the following: package { public class TestClass { ...

ArgumentError with ActionMailer

Hi I have a login that after saving the new user is supposed to send an email. This works fine locally but on the production server I keep getting this error in my log files: ArgumentError (wrong number of arguments (8 for 6)): app/models/user_observer.rb:3:in after_save' /usr/lib64/ruby/1.8/observer.rb:185:innotify_observers' /u...

PHP Error: "Call to undefined function AddUser() ". What am I doing wrong?

Code: http://pastebin.com/h8WuYbJn Full error: Fatal error: Call to undefined function AddUser() in C:\xampp\htdocs\scripts\steam.php on line 37 What exactly am I doing wrong? Everything should be right, but it isn't (at least according to PHP). ...

The remote server returned an error: NotFound. when trying get own collection result of service method

Hey, When I want to consume my method get error: The remote server returned an error: NotFound. Inner exception: {System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. at System.Net.Browser.BrowserHttpWebRequest.InternalEndG...