I have a project in Qt Creator that builds fine, but when I try to debug it I get this message:
Adapter start failed
Unable to start gdb 'C:\Qt\2010.02.1\mingw\bin\gdb.exe':
Process failed to start: The directory name is invalid
If I navigate to the debug build folder and directly run my compiled application, it will run fine, but ob...
I have a program that uses urllib to periodically fetch a url, and I see intermittent
errors like :
I/O error(socket error): [Errno 111] Connection refused.
It works 90% of the time, but the othe r10% it fails. If retry the fetch immediately after it fails, it succeeds. I'm unable to figure out why this is so. I tried to see if any p...
Hi, i am building a C project with Xcode and when ever i build it it gives me this error:
ld: duplicate symbol _detectLinux in /Users/markszymanski/Desktop/Programming/C/iTermOS/build/iTermOS.build/Debug/iTermOS.build/Objects-normal/i386/linuxDetect.o and /Users/markszymanski/Desktop/Programming/C/iTermOS/build/iTermOS.build/Debug/iTer...
I've been developing a live wallpaper using GLWallpaperService, and have gotten good results overall. It runs rock-solid in the emulator and looks good. I've dealt with OpenGL many times before so have a solid command of how to do things... unfortunately I'm having a hell of a time getting this to actually be stable on the actual hardw...
I am getting this error :
ERRNO: 2
TEXT: Division by zero
LOCATION: C:\xampp\htdocs\final\classes\customer.php, line 183, at April 2, 2010, 3:49 pm
I have the following function in my class Customer
public static function GetQuotationDetails($string)
{
$sql = 'SELECT I.name, I.discounted_price, I.other_name
...
I am currently in a collage second level programing course... We are working on operator overloading... to do this we are to rebuild the vector class...
I was building the class and found that most of it is based on the [] operator. When I was trying to implement the + operator I run into a weird error that my professor has not seen bef...
I'm studying STL and made win32 project..
But I got stuck in runtime error..
I tried to debug it but..
(partial code)
vector<Vertex> currPoly=polygons.back();
vector<Vertex>::iterator it;
for(it=currPoly.begin();it!=currPoly.end();++it){
vector<Vertex>::iterator p1;
vector<Vertex>::iterator n1;
vector<Vertex>::iterator ...
For automated testing reasons I want to detect if the browser has encountered JavaScript errors for a page. The type of things that would cause the red numbers in the bottom right in Firebug or yellow warning icon in the Internet Explorer status bar. These JS errors could come from any one of a large numbers of scripts.
How in JavaScrip...
Hi there,
I am using Amazon S3 to back up my Rails app's mysql database. And I am using astrails-safe plugin to do that and I got the "Your previous request to create the named bucket succeeded and you already own it. (AWS::S3::BucketAlreadyOwnedByYou)" error back whenever I try to update it.
I have checked that the folder in which I ...
Hello,
There is already a similar question(link).The thing is I don't understand what unit I have to delete.
I have installed the latest JCL library and added 'JclCompression' to the uses list in a unit and I get the error: "Unit JclCompression was compiled with a different version of sevenzip.IOutArchive".
Please explain to me in a s...
I have a VB6 program which I've been maintaining for ten years. There is a subroutine in the program called "Prepare Copy", which looks like this (Edited to add changes):
Public Sub PrepareCopy()
On Local Error GoTo PrepareCopyError
MsgBox "in modeldescription preparecopy"
Set CopiedShapes = New Collection
MsgBox "leaving preparecop...
Using PHP's Image and GD functions you can use the following method to finally output the php image
imagepng($image);
Sometimes, for whatever reason the image may not be displayed typically the error is not with the image but with the actual php functions not executing successfully. However this causes a blank image to be returned whi...
I just started learning Common Lisp a few days ago, and I'm trying to build a function that inserts a number into a tree. I'm getting an error,
* - SYSTEM::%EXPAND-FORM: (CONS NIL LST) should be a lambda expression
From googling around, it seems like this happens when you have too many sets of parenthesis, but after looking at this...
Hi, I am pretty rusty at C, and I'm getting a dereferencing error. Hopefully someone can help me with this? ^_^
I have a struct defined as:
struct {
char name[32];
int size;
int start;
int popularity;
} stasher_file;
and an array of pointers to those structs:
struct stasher_file *files[TOTAL_STORAGE_SIZE];
In my code, I'm ...
It's pretty difficult to show code for ASP.NET here, so I will try my best to describe my problem.
I have a FileUploadControl and a Button that calls a function when it's clicked. It seems that the Button function works when there is nothing chosen for my FileUploadControl. However, when there is something chosen in the FileUploadContro...
I have a file in a different folder I want to rename in perl, I was looking at a solution earlier that showed something like this:
#rename
for (<C:\\backup\\backup.rar>) {
my $file = $_;
my $new = $file . 'backup' . $ts . '.rar';
rename $file, $new or die "Error, can not rename $file as $new: $!";
}
however backup.rar is...
Hi People,
Does anyone knows what can generate this error in MCTEL SMSC ? I'm using custom C++ connector to send SMSes to this SMSC, but the guys from the other side (SMSC side) are telling me that nothing is wrong. This connector works with the same SMSC but with other account. I need just some more information on the back of this erro...
Hi there,
I've got a recordset/paging set up - works fine in IIS6 but when I run the site on an IIS7 server I get the following error:
Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/orders.asp, line 197
the code looks like this:
S...
could someone share a code sample showing how to use masstransit's FutureMessage API? i am assuming this can be used in scenarios where the consumer raises an exception when processing.
will i need to have a try/catch in the message handler's consume and create a FutureMessage for the incoming message, whenever an exception occurs?
...
I've got this code in my viewController.m file
- (void)viewDidLoad {
[super viewDidLoad];
GameLogic *_game = [[GameLogic alloc] init];
[_game initGame];
.......
}
GameLogic is another class which I created.
in the same viewController.m file, I have got another function
- (void)test {
if([_game returnElecFence]) /...