error

Error 200 when performing checkout using TortoiseSvn

Hello all, I am trying to performa simple checkout operation. This works on several other computers (not in the same LAN though). I get this error message: http://www.jamamate.com/error.jpg Thank you in advance :) vondiplo ...

error handling in nant build scripts

Hi I am writing a NAnt build script which is responsible for deploying some files to an iss server. As part of this I would like to add error handling to my scripts - something which I haven't used before. Introducing error handling inevitably leads to thoughts about the structure of the build file(s). I think of structure as the grou...

Uninitialized constant MyClass (NameError) in Ruby

I have a module Shish(which acts like an abstract class) and a visitor class Only_Onions. I want to instantiate Only_Onions in the module Shish so that all the classes extending Shish can use the object to deteremine if they have only__onions. module Shish only_onions_class = Only_Onions.new end class Only_Onions def for_skewe...

javascript option select problem

I got this javascript code from off the internet. It's a script that changes a picture and it caption from the selection of an options drop down box. The script works fine. The only problem that I have is that the value in the option box can only be numbers. Is there anyway to tailor this whereas the value within the options parameter ca...

Python IDLE subprocess error?

IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection. Don't think this has been asked-how come this comes up occasionally when running very simple programs-I then have to go to Task Manager & stop all Pythonw processes to get it to work again? ...

Unable to set chmod 640?

I just installed phpbb on my website. According to phpbb advice, I was suppose to set the config.php chmod to 640. In filezilla(my ftp program), I tried right-click the file, then select file permissions to 640, but it gives me this error: 500 'SITE CHMOD 640 config.php': command not understood How do i change the chmod? I am using win...

Troubleshooting "Request Entity Too Large" (HTTP 413) error message returned to browser

Occasionally users of our web application encounter the following error message: Request Entity Too Large The requested resource /ourapp/ourlocation/ does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit. We checked our logs, but we were unable to find any entries that ...

Drupal site - Memcache Connection errors

We are tying to perf tune our drupal site. We are using Siege to measure performance (as drupal visitor). Env: Nginx + FastCGI+ Memcache Siege runs fine for a few seconds, and then we run into connection errors: Example: HTTP/1.1 200 29.18 secs: 5877 bytes ==> / HTTP/1.1 200 29.39 secs: 5877 bytes ==> / warning: socket: -16562...

Linux: socket accept - "Too many open files"

I am working on a school project where I had to write a multi-threaded server, and now I am comparing it to apache by running some tests against it. I am using autobench to help with that, but after I run a few tests, or if I give it too high of a rate (around 600+) to make the connections, I get a "Too many open files" error. After I...

Excel .NET COM - Automation error. The system cannot find the file specified.

I have a .NET 2.0 COM object that's used by VBA in Excel. It works fine on my dev machine, but when trying to use it on a clean VM workstation I get this error: Automation error. The system cannot find the file specified. The dll is registered with "regasm /tlb /codebase mycom.dll" and not put in the GAC. I don't have administration r...

How should asp.net(mvc) server return error to jquery ajax call to be caught in error callback?

Suppose I have a method in my controller that is called via a jQuery AJAX call. E.g. I'd like to delete a user. When everything goes fine, I return new Content('ok') and exit the method. What should I do when an error occured? I'd like to indicate it by an appropriate status code, so that my error call back would be called called. Why s...

Python Multiprocessing atexit Error "Error in atexit._run_exitfuncs"

I am trying to run a simple multiple processes application in Python. The main thread spawns 1 to N processes and waits until they all done processing. The processes each run an infinite loop, so they can potentially run forever without some user interruption, so I put in some code to handle a KeyboardInterrupt: #!/usr/bin/env python im...

error handling in php

I have a file that opens a URL and reads it and does the parsing. Now if that URL goes dwon and my file fails to open it then what i need is that an error mail should get generated but on terminal or konsole no error message should appear. how can i do that? Plz help!! ...

ClickOnce Store metadata "AppType" is not valid

Hi All, I have app that uses ClickOnce deployment. It works on about a dozen machines but one. I am getting following error. I found solution from http://groups.google.com/group/microsoft.public.dotnet.distributed_apps/msg/42d44ffe781d3610, but it requires go to the registry and delete AppType, which is not the best solution, because...

Adding Javascript Confirm Dialog to LinkButton/Form generates Object Expected error

I am attempting to add a javascript confirm dialog to either my linkbutton onclick event or my form onsubmit event. Neither of them work as I receive an 'object expected' error from the browser. frm.Attributes.Add("onsubmit", "return Confirm('Really do this?')") How do I add a confirm dialog to the 'onsubmit' or 'onclick' events wit...

BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'.

When I compiled my latest asp.net program and trying to run on the test server, I am getting this error Line 46: Dim dependencies() As String Line 47: CType(Me,Global.System.Web.UI.Page).AppRelativeVirtualPath = "~/default.aspx" Line 48: If (Global.ASP.default_aspx.__initialized = false) Then Line 49:...

Apache + Vista = No Ports? (Why thanks, Skype)

I've gotten a new machine, but it came with Vista. I figured it would be best to wait for W7 before I spent any money on an OS, so I'm stuck with it for now. But I must get my development environment setup, and soon! My machine came with McAfee, which I'm using for the moment, and I've let port 80 be open and I've given httpd.exe acce...

Python OSError: [Errno 2]

I have the following code that is attempting to start each of the "commands" below in Linux. The module attempts to keep each of the 2 commands running if either should crash for whatever reason. #!/usr/bin/env python import subprocess commands = [ ["screen -dmS RealmD top"], ["screen -DmS RealmD top -d 5"] ] programs = [ subprocess.Po...

Error Rate in TCP checksum?

TCP and UDP(sometimes) use a simple checksum to make sure the contents are correct. What I want to know is any empirical data or estimate, of how often a packet is corrupted, but has the correct checksum for a person with a standard computer and internet connection. Now I know that this probably all varies widely with ISP quality, har...

What's causing “Session state has created a session id, but cannot save it because the response was already flushed by the application.”

I'm getting this fault intermittently. I found this link which summarises fairly well what I was able to find on the Google: http://www.wacdesigns.com/2009/02/03/session-state-has-created-a-session-id-but-cannot-save-it-because-the-response-was-already-flushed-by-the-application/ Basically it says you can try setting the web config se...