We are running some tests using selenium. We have dedicated Windows XP VM's for that, with one selenium RC server on each VM, and no other process running on that VM. We open and close a selenium session for each test. The tests always call selenium.stop() when they finish. A lot of times (1 in 30 I would say) one test hangs, and when I ...
I have a bunch of existing client/server applications that are currently chugging along. Once in a while, a client will want to add on some type of web-interface to access part of their data. These are typically custom, although some are "generic"; but everyone has their own "instance" in its own VM.
What I want is a centralized area to...
I keep getting a broken image (a red 'X' in a paper, it doesn't even start loading the one i want, I don't know if this is clear enough) and don't know why, here is what i tried:
image = gtk_image_new_from_file("abc.png");
gtk_container_add (GTK_CONTAINER (window), image);
gtk_widget_show (image);
gtk_widget_show (window);`
I am a new...
I'm currently working on reading some XML from an external API.
The following code works fine:
NSError *error = nil;
NSString *xmlString = [[NSString alloc] initWithContentsOfURL:url encoding:NSUTF8StringEncoding error:&error];
However, I wanted to add some error handling ("The server cannot be reached", "No Internet connection" etc...
In Visual Studio 2008 I can add a local database file (.sdf) and work with it just fine. In Visual Studio 2010 B2, I can add the file, but it doesn't get added to Server Explorer, and when I try double clicking on it I get this error:
The operation could not be completed.
Unspecified error
Has anyone else gotten this error? Does...
I hate writing error condition code. I guess I don't have a good approach to doing it:
Do you write all of your 'functional'
code first then go back in and add
error handling or vice versa?
How stupid do you assume your users
are?
How granular do you make your
exception throws?
Does anyone have sage advice to pass on to make this ea...
I want to make Restful - Web Service using netbean 6.5, glassfish V 2 , and i already make table and the relationship between table. But when i want to test restful Webservice, some table it show
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling t...
I have a jsp with lots of javascript code. Whenever there is a javascript error on the page, shown in the status bar of the IE browser, the line number reported to contain the error, does not match with the line number that actually contains the error.
I am doing a right click>view source to find the line number reported. But that line d...
public class KeyEvent {
private Keys[] keys = null;
public delegate void eventmethod();
private eventmethod em;
private object[] args;
private bool thrown = false;
public bool repeat = true;
public bool isKey(Keys key) {
if (keys == null) return true;
foreac...
I have resolved the issue by downloading the uncompressed version of jquery1.2.3.js. I looked for the line that cause the error. It was 1061. The code was...
if(set)
elem[name] = value;
return elem[name];
I had to remove this code to get jquery to work in IE. This is a major problem. I'm not sure if the lack of this code will have reper...
this.Page.ClientScript.RegisterClientScriptInclude("utility.popupUrl(CaptchaLogin.aspx)","");
...
I opened up FB3 today, without making any changes, I press F11 and now I am getting this error that I never have gotten before:
ReferenceError: Error #1065: Variable CaratPicker2_inlineComponent1 is not defined.
I find it strange I am getting this error everytime now, when I never got it before and I didn't make any changes before I st...
I have a VB.Net solution that another developer created and I'm trying to compile it on our build machine (it compiles on their machine) but with one of the projects I get an error saying something along the lines of:
Imyinterface is ambiguous in the namespace anamespaceassembly.
I have tried with no success:
examined the refere...
hi,
i installed the mono develop and mono 2.6 on windows, when i compile the app im getting this exception. can any on help me to solve the issue,
Registering application:
Host: any
Port: any
Virtual path: /
Physical path: C:\Documents and Settings\sameer\My Documents\Projects\testMonoWeb\testMonoWeb\
pp11:Mono...
On maven deploy maven attempts to retrieve the previous metadata form the repository. If it is corrupt maven issues a warning, calls the build successful but doesn't upload my artifact. This was caused by corruption in my repository and I'd like to either avoid it in future or make it more obvious with a build failure.
Can I alter my ...
import httplib
def httpCode(theurl):
if theurl.startswith("http://"): theurl = theurl[7:]
head = theurl[:theurl.find('/')]
tail = theurl[theurl.find('/'):]
response_code = 0
conn = httplib.HTTPConnection(head)
conn.request("HEAD",tail)
res = conn.getresponse()
response_code = int(res.status)
return res...
I have a ClickOnce app that accesses a bunch of web services. On the client, I have one project that wraps all the web services.
In the Properties for that project, if Build/Generate Serialization Assembly is Auto (which is the default), then everything works fine. I set the option to On, it compiles fine, then during runtime I get ...
Why oh why oh why... I can't figure out why I keep getting this error. I think I might cry.
/*** common functions */
function GE(id) { return document.getElementById(id); }
function changePage(newLoc) {
nextPage = newLoc.options[newLoc.selectedIndex].value
if (nextPage != "")
{
document.location.href = nextPage
}
...
Hi,
I need to get the error, warning log when the iphone application is running and want to save it as a file in the database. i am using phpmysql as backend. is there any way to get this.?\
Help needed
Thanks,
Shibin
...
Hi, I'm using GoDaddy's Shared Linux hosting and some PHP I wrote just won't work with my DB on the server.
EDIT:
I fixed the problem. I accidentally deleted the "database" connection variable from a config file. Wow. That was silly of me.
EDIT:
By not work, I mean that I can't read the DB. I've messed around enough to know that the...