Hi all,
I am getting this error "Command /usr/bin/codesign failed with exit code 1" when compiling the build i kept the source to "Device 3.1.3"
Please help me out
Thanks
I get Auth fail error when running mvn -X site:deploy.
org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: Auth fail
It seems that the correct private key is used and I can scp files normally to the project site directory using scp on Ubuntu.
What can be causing this?
What is the reason of this error? My class is Course and it has notes. Mapping is as below. Any idea?
<bag name="Notes" table="NOTE" cascade="all">
<key column="COURSEID"/>
<one-to-many class="Server.Data.Note, Server.Data"/>
</bag>
Hi,
I'm developing an app with SDK 3.1.2 and it runs in the simulator, but when I try to deploy it in the device it arise de following error:
2010-06-17 17:40:39.592 MyApp[2143:207] *** -[__NSCFDate dateInformation]: unrecognized selector sent to instance 0x21e6a0
2010-06-17 17:40:39.608 MyApp[2143:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSCFDate dateInformation]:
Why this doesn't happen for the simulator?
Thanks in advanced for your help.
My send mail task works fine for email ids like [email protected] but it throws error for email ids like [email protected].
is there any way i can make it work for such ids also?
Thanks.
I have an xsd file Foo.xsd. I tried to refer it in a WSDL file as
But when I try to access the wsdl url using browser I am getting the following error.
org.codehaus.xfire.XFireRuntimeException: Couldn't find schema part:
I am using xFire 1.2.6 for generating webservices.
Any input would be appreciated!
I got this error and dont know what could be the cause. Any idea?
Problem at line 2127 character 18: Bad for in variable 'sport'.
for (sport in sugested_sports)
thx alot.
I get this error
object has no attribute 'im_func'
with this
class Test(object):
def __init__(self, f):
self.func = f
def __call__( self, *args ):
return self.func(*args)
pylons code:
class TestController(BaseController):
@Test
def index(self):
return 'hello world'
When trying to import scala.Option in a javafx script, I get the following javafxc error:
bad class file: scala/Option$$anonfun$orNull$1.class(scala:Option$$anonfun$orNull$1.class)
undeclared type variable: A1
Please remove or make sure it appears in the correct subdirectory of the classpath.
import scala.Option;
^
I am using Scala 2.8.0-RC1, Javafxc 1.2.3_b36, JVM 1.6.0_18-b07, OS Ubuntu 9.10. The same code was working in Scala 2.7.7 .
We are programming a ST269 microcontroller which has two IR distance sensors. To calibrate these sensors we made one table for each sensor with the distance we measured and the corresponding value we get from the ADC.
Now we want to use one function to approximate the values in between. So we defined two two-dimensional arrays (one for each sensor) as global variables. In our function we then want to copy the one array we want to work with to a working array and approximate our values.
So here's the code:
...
unsigned int ir_werte_re[][] = {
{8,553},
...
{83,133}
};
unsigned int ir_werte_li[][] = {
{8,566},
...
{83,147}
};
...
unsigned int geradenaproximation(unsigned int messwert, unsigned int seite)
{
unsigned int working_array[16][16];
unsigned int i = 0;
if (seite == 0) {
for (i = 0; i < sizeof(working_array); i++) {
working_array[i][0] = ir_werte_li[i][0];
i++;
}
}
else {
for (i = 0; i < sizeof(working_array); i++) {
working_array[i][0] = ir_werte_re[i][0];
i++;
}
}
i = 0;
unsigned int y1 = 0;
unsigned int x1 = 0;
...
}
This code is in a file called sensor.c. We didn't write anything about our global arrays in the sensor.h should we? The sensor.h of course is included in our main.c and there the function is called.
We also tried to copy the arrays via
memcpy(working_array, ir_werte_li, sizeof(working_array));
And in every way we do this we get a
syntax error near unsigned
in the line where we're declaring
unsigned int y1 = 0;
and I'm pretty sure that there is no syntax error in this line : )
The last time I spend coding in C is a few years away so I'm not sure if the way we try to do this is good. Perhaps we can solve this by using a pointer instead of really copying the array or something. So please help me out I'll appreciate your bits on this.
I'm looking for a complete list of security guidelines for programming and deploying PHP web sites and applications on an Apache (Linux) server. Basically, a "security check list" to run through before finishing a project. I.e.,
Cross Site Scripting
Cross Site Request Forgery
Sanitize form data that goes into database
Disable register globals and error reporting in custom php.ini
Upload files below web root
...(the list goes on)
I did some searching on the internet and in this forum, but couldn't find a comprehensive, succinct, and complete list of guidelines.
Thanks in advance.
Here's my code. It compiles in VS2005 but not in gcc. Any ideas
template<class T>
Derived<T>::Derived(const Derived<T>& in)
{
Base<T>::Base<T>(in); //ERROR here
}
"expected primary-expression before token"
I'm getting "illegal offset type" error for every iteration of this code. Here's the code in case anyone can help:
$s = array();
for($i=0;$i<20;$i++){
$source = $xml->entry[$i]->source;
$s[$source] += 1;
}
print_r($s)
Any ideas. Thanks in advance.
I have just moved my CodeIgniter project to a new server and now I'm getting a 500 error and no output from the project. It works fine on my old server and in my test environment. I'm completely stumped how to troubleshoot this, especially as there's nothing of use in the log files. Any help would be great!
Hello, I wonder if anyone can help - I have this error showing recently when debugging in eclipse - what doe it mean by resource, an imported package or the location of some java files ?
Can't find resource for bundle sun.awt.resources.awt, key AWT.EventQueueClass
MissingResourceException (id =45)
Thanks
i get errors when i try to open a file using the file path
out_stream5.open("C:pathshowitems.txt", ios::out);
warning C4129: 'o' : unrecognized character escape sequence
error C2100: illegal indirection
What .NET method has this error message: "Object cannot be cast from DBNull to other types"
The stack traces have been stipped from my logs so I'm looking for a starting point.
I have a multi module project. When I launch mvn site:deploy, the deployment of the base module works fine, but it fails to create the directory of the module sites on the FTP server:
[INFO] Error uploading site
Embedded error: Required directory: '/myremoteftprepository/myproject-mymodule' is missing
When I create the missing directory by hand, it works fine, but I would like to avoid that. It is surprising that the deploy command do not create it. Do you how to force this directory creation? Is it a bug in the wagon-ftp plugin?
FYI, here is my POM:
<build>
<extensions>
<!-- Enabling the use of FTP -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0</version>
</extension>
</extensions>
</build>
I have chosen to include the javadoc with:
<reporting>
<plugins>
<!-- include javadoc in the site -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<show>public</show>
</configuration>
</plugin>
</plugins>
</reporting>
and
<distributionManagement>
<site>
<id>site</id>
<name>maven site</name>
<url>ftp://ftp.blabla.org/myremoteftprepository</url>
</site>
</distributionManagement>
and my settings.xml is good.
I an trying to put a method in a separate thread in the background. It nearly works except that occasionally I get a lot of error messages with the message
METHODCLOSURE: OH NO SEPERATE THREAD
with the bad spelling and all.
Does anyone know what this means?
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
in vb code-i used namespace and a class.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/ssmagnet/public_html/lib/Zend/Locale/Format.php on line 103
Please help me to resolve this issue
I have some cs files in my project that are not set to be built (Properties - Build Action = None). They contain bits of code that don't compile as a whole and are there merely for reference. I don't care about any compilation errors in them, but they appear in the "Error List" window, cluttering it. Is there some way to tell VS to ignore errors in that file? Or in all files not set to be built, at that ?
I'm using VS 2010
Thanks