error

android map application error

Hi all, I'm doing a map application for the android phone but kept running into these errors when i run it.... can anyone help?? thank you! Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". and Error Mon Apr 12 23:10:58 EDT 2010 Resource is out of sync with the file system: '/GoogleMaps/res/layout/main.x...

Problem passing ELMAH log id to Custom Error page in ASP.NET

I am using ELMAH to log unhandled exceptions in an ASP.NET Webforms application. Logging is working fine. I want to pass the ELMAH error log id to a custom error page that will give the user the ability to email an administrator about the error. I have followed the advice from this answer. Here is my global.asax code: void ErrorLog_Log...

Django Interrupted system call when sending email

Hi, Sometimes, when submitting a form (pretty much any form on my site that sends me an email), I get the following error: File "/usr/lib/python2.5/smtplib.py", line 603, in starttls (resp, reply) = self.docmd("STARTTLS") File "/usr/lib/python2.5/smtplib.py", line 378, in docmd return self.getreply() File "/usr/lib/python2.5/...

SWFUpload hangs when upload completes

I have SWFUpload version 2.2.0 installed on my server. I have yet to get it to work correctly. I am also using the jQuery plugin for it (http://blogs.bigfish.tv/adam/2009/06/14/swfupload-jquery-plugin/). My problem is that it will work properly until I give it a real file's URL. It works when the server serves the 404 code, but even when...

Strange "INavigatorContent" error compiling in 4.0

I've recently decided to try an upgrade to 4.0. The only error I still can't work out is this one: "The children of Halo navigators must implement INavigatorContent" I seem to be getting it on all my ViewStacks that have validators. <mx:ViewStack xmlns:mx="http://www.adobe.com/2006/mxml"&gt; <mx:NumberValidator id="systolicValidator...

Exception in ASAP.NET application - MARS TDS header contained errors.

We are getting an exception error about once week that causes the whole asp.net application to become not usable. Clicking on anything inside of the application throws the same error. The only way that the application can become usable again is to restart IIS. Has anyone had this error happen to them? Any insight on how to fix this er...

Scrapy Could not find spider Error

I have been trying to get a simple spider to run with scrapy, but keep getting the error: Could not find spider for domain:stackexchange.com when I run the code with the expression scrapy-ctl.py crawl stackexchange.com. The spider is as follow: from scrapy.spider import BaseSpider from __future__ import absolute_import class StackEx...

Python scope problems only when _assigning_ to a variable

So I'm having a very strange error right now. I found where it happens, and here's the simplest code that can reproduce it. def cause_an_error(): some_var = False def some_nested_func(): print some_var #some_var = True some_nested_func() >>> cause_an_error() False If you run it as-is, it prints "False". Bu...

Error: 30509 -- Bluetooth not available iPad and iPhone GameKit stuff

When trying to connect the iPad to the iPhone via bluetooth it stays on the "Looking for other iPhones or iPod touches" screen on both. If i try running the iPhone version on both, they find each other. Is this some sort of restriction? Thanks. also, im getting: 2010-05-22 01:49:52.301 iPadTest[241:207] ********** Loading AX for: com....

PHP strange issue with memcache

Hi everyone, I am testing out some memcache code here in PHP: 1: $testInstance = new Memcache; $var = @$testInstance->connect('localhost', 11211); echo $var; // Outputs true no matter if the memcached is running or not. 2: $testInstance = new Memcache; $var = @$testInstance->connect('blablabla', 11211); echo $var; // Outputs false ...

How to fix Java Image Fetcher error ?

My code looks like this : private static JFileChooser fc; if (fc==null) { fc=new JFileChooser(Image_Dir); fc.addChoosableFileFilter(new Image_Filter()); // Add a custom file filter and disable the default (Accept All) file filter. fc.setAcceptAllFileFilterUsed(false); fc.setAccessory(new Image_Preview(fc)); ...

Java Terminology: Why compile-time error and not compile-time exception?

This may sound awkward ... But I didn't understand it. Why do we have compile-time error and not compile-time exception in java ? I mean to say that we never say compile-time exception. We tend to say it as compile-time error. Is there any specific reason for the same ?? Any suggestions are welcomed.... Thanks ! ...

Server -> Desktop Push API

Hi I am looking for solution which can push automatically a certain event (let's say RSS message) realtime to a desktop user. A toolbar app or a desktop (growl like) will be super for this push. I have looked at few options but cannot find much info on these kind of apps. I have looked at conduit - it sucks as there is lot of other f...

C++ error: ‘string’ has not been declared

In my header file I'm getting the error: ‘string’ has not been declared error but at the top of the file I have #include <string>, so how can I be getting this error? ...

CGContextFillEllipseInRect: invalid context

Hi all, when I launch my app, I keep getting this CGContextFillEllipseInRect: invalid context error. My app is simply to make the circle 'pinchable'. The debugger shows me this: [Session started at 2010-05-23 18:21:25 +0800.] 2010-05-23 18:21:27.140 Erase[8045:207] I'm being redrawn. Sun May 23 18:21:27 Sidwyn-Kohs-MacBook-Pro.local Er...

Cake bake undefined function mysql_query on easyphp

Hi, when i try to use the shell to build models cake bake M i get this error: Fatal error: Call to undefined function mysql_query() in C:\Program Files\EasyPH P-5.3.2\www\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 588 on phpinfo(); mysql extension is enabled, i'm using mysql driver running if(!function_...

PHP Get variable to equal value of switch

I am trying to get a variable on my page to equal the result of a switch I have. This is the code: $payment_method = switch ($cardtype) { case "visa" : echo "VSA"; break; case "mastercard" : echo "MSC"; break; case "maestro" : echo "MAE"; break; case "amex" : echo "AMX" ; break; default : echo "Please specify a payment method!"; break;...

How to access function inside PHP OOP

Hi everyone, What do I need to do to call $this->two() from inside my function innerOne? Is that possible with PHP OOP? Here's the error I am recieving: Fatal error: Using $this when not in object context Here's how my code looks: class myClass { function one(){ function innerOne() { // Some code ...

PHP echo text if variable is blank

I am trying to echo €00.00 if my variable $amount equals zero I have done something wrong can you help?? Code while ($row9 = mysql_fetch_array($result9)) { $amount = $row9['amount']; } //$amount = $amount / 60; //$amount = round($amount, 2); if $amount == 0 echo "<b>Balance: &#8364;00.00</b>"; else echo "<b>Balance: $$amount</b>"; ...

PHP turn off errors - in one file only

Hi! I am well aware about error_reporting(0); & ini_set('display_errors', "Off"); to make error messages go away. What would be an appropriate way to do this - for a specific file or part of code only? Surpressing errors with @'s seems like a bad idea since it apparently slows the code down... The reason? We have a number of memcach...