error

Flex 3 Error #2025 when using removeChild

Hi, I'm getting a Flex ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. This is what I've got: a) I set the variable lastButtonClicked to the last button that was clicked in the main app. private var lastButtonClicked:DisplayObject; private function lastButtonClickedFunction(event:MouseEvent)...

bad line length exception in jscape FTPS library

All, I am getting this exception com.jscape.inet.ftp.FtpException: bad line length at com.jscape.inet.ftps.FtpsClient.(Unknown Source) at com.jscape.inet.ftps.FtpsClient.createUnprotected(Unknown Source) at com.jscape.inet.ftps.Ftps$DefaultStrategy.createClient(Unknown Source) at com.jscape.inet.ftps.Ftps.connect(Unknown Source) at...

Problem Run Application API Version 8

when I configure and run the application, an error occurs URL Image! http://i.imgur.com/6r3yW.png ...

Ruby on Rails OAuth application works on client but not on server (OAuth::Unauthorized (401 Unauthorized))

Hi, I have a Ruby on Rails application that works great in my computer and in my server. I'm moving this application to another server that runs on another hosting service, and I got a problem related to the OAuth Ruby Gem. Any request I do using OAuth gem, I get: OAuth::Unauthorized (401 Unauthorized): oauth (0.4.3) lib/oauth/consu...

How to solve the svn error "Entry for 'xxx is marked as 'copied' but is not itself scheduled for addition."

When I try to commit a specific file (xxx.java) following error pops up: svn: Entry for 'C:\aaa/bbb/ccc/xxx.java' is marked as 'copied' but is not itself scheduled for addition. Perhaps you're committing a target that is inside an unversioned (or not-yet-versioned) directory? How to solve this SVN-Error? ...

Why does this cause a syntax error?

Hello, In python, I wrote this: bvar=mht.get_value() temp=self.treemodel.insert(iter,0,(mht,False,*bvar)) I'm trying to expand bvar to the funtion call as arguments. But then it return, File "./unobsoluttreemodel.py", line 65 temp=self.treemodel.insert(iter,0,(mht,False,*bvar)) ^ ...

Fatal error: Class 'ZipArchive' not found in

hi friends, I have a problem that I install 'Archive_Zip 0.1.1' on Linux server, but when I try to run the script to create the zip file it gives the fatal error "Fatal error: Class 'ZipArchive' not found in ---" where I put the code $zip = new ZipArchive; var_dump($zip); $res = $zip->open($filename, ZipArchive::OVERWRITE); if($res !...

Expected function body after function declarator error

I downloaded the class files and demo program here: http://github.com/matej/MBProgressHUD When I try to compile the program, I get several errors. The first one appears here: CG_EXTERN void CGPDFContextAddDocumentMetadata(CGContextRef context, CFDataRef metadata) CG_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_0); On the second line t...

PHP Indirect modification of overloaded property

Hi, i have this simple class: class A { var $children=array(); function &__get($name) { if($name==="firstChild") { if(count($this->children)) $ret=&$this->children[0]; else $ret=null; } return $ret; } } By accessing the "firstChild" property it should return its ...

PHP 5.2 Error with static var: "syntax error, unexpected T_STATIC"

Hi, I have a pretty weird problem: My Class looks like this <?php class asd { private static $variable; public static function blabla(){ self::$variable="blubb"; } } ?> When I'm trying to call asd::blabla() with the help of the __autoload function, everything works fine. But when I'm trying to call it without a...

Error: Unexpected end of format string in format string, fortran 90

Getting this error while trying to compile a copied code from a fortran 77 program. code: 900 FORMAT(1H0,2X,'ABSOLUTE GRID LIMITS FOR DATA RETENTION FOR RADAR',I3,' XMIN-XMAX ',2F8.3,' YMIN-YMAX ',2F8.3,' ZMAX ',F8.3, /3X,'WITH AZIMUTH LIMITS OF',2F8.2, 3X,'AND RANGE LIMITS OF',2F10.3,/) compiler error: messy21.f90:529.132: N FOR R...

Rails: Mechanize throwing 405 HTTPMethodNotAllowed error

I'm using Mechanize to try and login to http://fedex.com but doing so keeps returning this error: 405 => Net::HTTPMethodNotAllowed Is that a response from fedex.com? Any ideas how to get around it? Here's my Mechanize code: agent = Mechanize.new { |a| a.log = Logger.new("mech.log") } agent.user_agent_alias = 'Mac Safari' page = agent...

Rails ActiveSupport Issue with state gems for notifications

Hello, I have installed multiple state_machine gems to my app to use them for a notification system but every time I run into an ActiveSupport issue. It usually looks something almost identical to this: >> m = Message.new TypeError: wrong argument type nil (expected Module) from /home/Ryan/appname/app/models/message.rb:2:in `i...

Class in ObjectiveC doesn't seem to recognize inherited messages

I'm learning ObjectiveC with "Programming in Objective C" by Stephen G Kochan and I'm having some difficulties with an example. It creates a simple Fraction class that inherits from Object. That's where I get into trouble, when I try to send messages that are understood by Object instead of Fraction, such as init, alloc or free (see cod...

A Linux tool that will display errors as I type, Visual Studio style

I'm looking a tool that will display details of syntax errors in my code as I'm typing it, in the same way that Visual Studio does. I'm currently using Gedit, but am not adverse to acquiring a new text editor. I'm using C++ and HTML/CSS right now, but will be branching out to more languages in the future, so it needs to have support for ...

index out of range exception when storing into asp.net session

Please bare with me, I'm very new to asp.net. I'm building a web app that to build a report, but there are too many arguments to give each one a name, and I want to save them indexed by numbers so I can handle them with loops later on throughout the application. However, I'm getting an index out of range on the very first session item(...

ASP.NET security error

Hello, Iam trying to work set a property value in the IIS 6.0 API and i am getting this security error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) on this line: path.CommitChanges(); This is my code: Function Test() '-- Dim metabasePath As String Dim propertyName As String Dim newValue As St...

Returning a response on error in AJAX call using ASP.NET MVC and jQuery?

Hi, In my controller's action method, I call a WCF service, which could return a FaultException containing a business rule violation message. I have a BaseController that overrides the OnException method as below. Since I call the controller action using AJAX, I check if the request is AJAX and only return a Content result. If it was n...

WPF: Validation.ErrorTemplate not hidden when adorned control (TextBox) hidden

I have a TextBox that gets hidden depending on whether an item is selected in a ComboBox. This part works fine. However, it also has ValidatesOnDataErrors set and if the TextBox has an error present, then when the TextBox gets hidden, the ErrorTemplate (in the Adorner layer) remains. I think I understand that because the ErrorTemplat...

In OpenCL 1.1 my call to function min() is ambiguous and I can't figure out why

I just upgraded from OpenCL 1.0 to 1.1. When I make my call to the min() function, I get error output: <program source>:45:44: error: call to 'min' is ambiguous int nFramesThisKernelIngests = min(nFramesToIngest - nAvg*nPP*get_global_id(2), nAvg*nPP); <built-in>:3569:27: note: candidate function double16 __OVERLOADABLE...