I'm getting an argument error whenever I run an RSpec test on any controller action that uses a POST or PUT action. It's happening on all of the controllers, no matter what I do. It's just the "wrong number of arguments (1 for 0)" one.
The app is working, but the tests are all failing. I think this is happening whenever a "save" is call...
When running WCAT on my windows XP machine via the commandline I get the following error:
error: must specify at least one of
the following parameters -run,
-update, -terminate, -showclients or -setclients
The command I try to run is:
wcat.wsf -terminate -run -t scenario.wcat -f settings.ubr -s localhost -singleip -x
And is...
Splint is not continuing it's checking after finding parse errors. I've tried with +trytorecover option also but no change.
Please let me know on how to use +trytorecover to make Splint attempt to continue after a parse error.
Here is what I'm receiving,
161: splint +trytorecover spy.c
Splint 3.1.1 --- 19 Jul 2006
spy.c:41:12: Parse ...
I am trying to develop a query to just return non-duplicate records so that I can add these to my database, but I keep getting this error:
Msg 2627, Level 14, State 1, Line 1
Violation of PRIMARY KEY constraint 'PK_j5c_MasterMeasures'.
Cannot insert duplicate key in object 'dbo.j5c_MasterMeasures'.
The statement has been terminated.
...
I was curious what that meant in general.
But here is the specifics..
I'm doing a sortable jquery project, that touches this rails action :
def update_order
params[:media].each_with_index do |id, index|
media = @organization.media.find(id)
media.do_not_touch = true
media.update_attribute('position', index+1)
end if par...
I'm working with one array that have 55 elements inside and each one are another array with 17 elements each one.
When I show the array on the screen, nothing wrong happens but when I take a look in the page source, I have 55 x 17 "Severity: Notice" errors with the message "Undefined index".
Does someone know what can be wrong?
If th...
I'm running Mongo DB as windows service and every second time I stop the service it reports "Error 109: The pipe has been ended". Here is the command line being used to run the service
"C:\Temp\mongodb\bin\mongod" --service --serviceUser --servicePassword --dbpath C:\temp\db --rest --logpath C:\temp\db\log\mongo.log --logappend --dire...
I am starting out a pretty simple project - essentially a web browser with a hard-coded URL for public terminal use. That is to say, it WOULD HAVE been simple if the C# web browser control didn't make me want to commit suicide.
I decided to go with the Skybound Gecko browser, as it seems to be the only feasible alternative.. I went thro...
Hey,
we notice some strange behaviour on Internet Explorer 8.
Sometimes our Page (Intranet) starts loading but is not going to finish completly, the IE8 Loading spinner is running forever and the JavaScript of the page is not executed. HTML / CSS is displaying as it should. We use JavaScript (Prototype) to do some stuff and this is not ...
Hi
I am having an inconsistent issue being produced on one of my servers whereby I have the following
Select *
from SomeVarcharTable v
join SomeIntTable i on i.MyInt=v.MyVarchar
Where v.Id = SomeID
The "MyVarChar" column is surprisingly of type varchar, and "MyInt" is of type int.
Whats curious is that when I run this on my develop...
Hi,
Attempting to expand my knowledge by using PHP on the Command Line.
Currently I have a default installation of XAMPP, and have set up my Environment Variable.
I've been able to execute simple scripts like:
<?php echo 'hello world!'; ?>
Questions ~
Where do I store the scripts I am using? Currently I am doing:
C:\Users\Ross>ph...
i'm developing web site.and i got this error for the first time and i don't know what to do about it.
i'm using vs 2005 on win xp
please help
...
I want to know how I can display E_ERROR error messages to the screen but write E_ALL error messages to the error log, we currently use the error_reporting() in our app index page so we can change error reporting without the need to constantly restart the web server, but it seems that this (or perhaps the way it's meant to work) means th...
Hello,
here is a demonstration of the problem :
from a simple window :
<Window x:Class="TestWpfStaticResource.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<TextBlock Text="{StaticResource Tes...
Visual studio 2008 isn't catching syntax errors. for example: Tpc_feed(void); compiles fine.
this: Tpc_feed(void);;;;;;; compiles fine, but this Tpc_feed(void) catches an error. Are the extra semi-colons not syntax errors? I'm on Windows 7 32 bit and VS C++ 2008
...
In another question, we established that yes, CreateDirectory occasionally fails with the undocumented GetLastError value of ERROR_ACCESS_DENIED, and that the right way to handle the situation is probably to try again a few times. It's easy to implement such an algorithm, but it's not so easy to test it when you don't know how to reprodu...
I Often find myself in a situation where Blend gives a total nonsense designtime error, that I'm clueless how to solve, so to save myself the trouble of correcting the error I'm wondering if there's any way to simply tell belnd to ignore either that error, or the element that is causing the error?
...
Hi Everyone,
I am using the Paperclip plugin to manage file uploads to my application. For some reason in the last day or so the plugin/model has stopped working and now returns the following error message:
Paperclip::PaperclipError in DeliversController#create
Asset model missing required attr_accessor for 'data_file_name'
As far ...
Hi,
I have the following code in my page:
<div id="data_body_container" style="overflow: auto; width: 880px; height: 500px;">
...
</div>
and then below in the site:
<script type="text/javascript">
$(window).resize(function() {
var windowWidth = $(window).width() - 50;
var windowHeight...
What exactly does this error message mean and how do I fix it?
.h
@property (nonatomic, retain) NSDictionary *defaults;
.m
...