Displaying 20 results from an estimated 474 matches for "typeerror".
Did you mean:
typederror
2008 Jun 30
1
[PATCH] tools/python: fix TypeError for 17903:0728459b3c8d
Hi,
If `hda'' is used in a domain config file and domain-0 has /dev/hda,
creating the domain failed by TypeError:
File "//usr/lib/python/xen/xend/server/blkif.py", line 84, in
getDeviceDetails
(device_path, devid) = blkif.blkdev_name_to_number(dev)
TypeError: unpack non-sequence
Signed-off-by: KUWAMURA Shin''ya <kuwa@jp.fujitsu.com>
--
KUWAMURA Shin''ya
___________...
2011 Mar 11
2
int to string TypeError annoyance
Hi All,
In Perl,
$db->set_metadata( "foo", 10 );
Results in,
TypeError in method 'WritableDatabase_set_metadata', argument 3 of type
'std::string const &'
It looks like this is thrown by the SWIG
std::string typemap. Does someone with better SWIG skills than me know how
to fix SWIG such that it converts the int to a string rather than croaking?...
2006 Jul 03
5
stopping error mailer on development
I sleep better with it in place in production mode and I only get one
error notice - every once in a while for a problem that I have fixed in
development branch that I am not ready to merge in the main trunk yet. I
want to keep the error mailer code in place in development code for
obvious reasons and even though I can set up filters for my mail system,
how can I simply shut it off for development
2007 Aug 09
0
TypeError: $_ value need to be String (nil given)
Hello all,
I am trying to run a unit test in a Rails project of mine (Rails
1.2.2, Ruby 1.8.4 (2005-12-24) [i486-linux]), and am running into the
following error:
1) Error:
test_pattern_splits(PatternSplitTest):
TypeError: $_ value need to be String (nil given)
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/active_record/
validations.rb:74:in `split''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/active_record/
validations.rb:74:in `add_on_blank''
/usr/lib/ruby/gems/1.8/gems/ac...
2009 May 12
0
RJS Error: TypeError: while using active scaffold
Hi,
I get an unexpected error because i havent do any chnages in any
javascript files, after installing active scaffold. Before 1-2 days my
application is working fine but from yesterday i got the error for RJS
as below while i tried for show action.
RJS error:
TypeError: $("#console__private_messages-messages") is null
$("#console__private_messages-messages").html("\n \n\n \n\n \n\n");
And while i tried to remove the record then i got error as per below..
RJS error:
TypeError: $("#console__complaints-list-27-row") is...
2006 Aug 01
6
warning and errors
i got my app to run fine on one server, but I moved it to another and huge
problem started....
I''ve been trying various things for 3 hours now, I can''t get it to work....
I am getting this error.
Exception `TypeError'' at (eval):542 - superclass mismatch for class NotFound
I am using the same camping.rb, apps starts in CGI but not in
Apache/FastCGI.
while it works fine on my other server
the only difference I can think of, its the apache version. but I run rails
fastcgi on this same apache, so the apa...
2011 Sep 14
5
rjs error TypeError: element.getElementsByTagName is not a function in rails 3+jquery
...ById(''employee_name'').value);''%>
</div>
<% end %>
when i click tab it calls sal() jquery function and i sent the data to
action, in action parameter is
processed well, but while replacing div with partial page i am getting
following error like
RJS error:
TypeError: element.getElementsByTagName is not a function
Element.update("upc_search", "\n \n <div >\n <table border =
\"1\">\n <tr>\n <th>\n <label >No</label>
\n <br />\n <input...
2006 Mar 05
1
TypeError in Rpc#invoke_submit
Hi!
I''m getting "TypeError in Rpc#invoke_submit" when trying to get access
my controller api via soap.
What do I have to do?
Here is the full trace:
/home/www/lib/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/home/www/lib/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
/home/www/lib/lib/ruby/1.8/soap...
2006 Nov 24
13
rSpec on Rails 1.2?
I just updated my Rails install to the most current Edge and my
controller specs fail:
1)
TypeError in ''The User Controller should be a user controller''
can''t convert nil into String
Each spec fails the same way.
<context string> <spec string>
can''t convert nil into String
Any ideas what''s up with this?
Thanks,
s.ross
2006 Jun 24
0
superclass mismatch for class Tag (TypeError)
...scouring, and the rails environment so I can access the
database easily. I get the following error when trying to run this
script.
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/../../action_controller/vendor/html-scanner/html/node.rb:276:
superclass mismatch for class Tag (TypeError)
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__''
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`requir...
2006 Feb 09
0
Extending ActiveRecord creates TypeError
...the following arrangement: Model < CustomClass <
ActiveRecord::Base
My CustomClass has a bunch of code I want to be held in common to all
my models.
What happens however is that if I access a controller that uses
Model, it works. Then on the second view (hitting reload) I always get:
TypeError (superclass mismatch for class User):
/app/models/account/user.rb:4
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:207:in `load''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:207:in `load''...
2007 Oct 30
1
flash should be empty (typeError)?
Hi,
I''m trying to test wether flash.now[:okay] is not empty, but I always
get the following error.
TypeError in ''UserController'' can''t convert String into Integer
Can''t I test the flash if they are not emtpy?
Thanks for help :D
//Jamal
--
Posted via http://www.ruby-forum.com/.
2005 Dec 07
0
TypeError during a redirection
...n works correctly (I can reach the controllers, add
records in the databases without errors) but during or after a
redirection I receive an error. I check with breakpoint and the log, I
see in the log : "Redirected to http://localhost:3000/result" and just
after the error message :
/TypeError in Invoice#index
can''t convert String into Integer
RAILS_ROOT : script/../config/..
/usr/local/lib/ruby/gem/1.8/gems/actionpack-1.11.0/lib/action_controller/rescue:75:in
''[]=''
///usr/local/lib/ruby/gem/1.8/gems/actionpack-1.11.0/lib/action_controller/rescue:75:in
...
2005 Dec 08
1
Test is not a module (TypeError)
Hi,
We have a project with a db table ''test'' and a corresponding model Test.
When we run rake to invoke our tests, rake fails with the following
error:
/usr/lib/ruby/1.8/test/unit/assertionfailederror.rb:5: Test is not a
module (TypeError)
We believe this is caused by some namespace conflict between our model
named Test and rake''s own internals. If we rename our Test class, this
problem disappears; however, Test really is the right name in this
circumstance.
Can anyone suggest a possible method to resolve this issue? T...
2006 Oct 17
0
TypeError (can't convert Bignum into Hash):
This error has been driving me nuts. It happens with no regularity or
pattern and causes a 500 App error. Refreshing will always display as
normal (http 200)
The back trace always starts with
TypeError (can''t convert Bignum into Hash):
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:342:in
`update''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:342:in
`select'...
2006 Nov 23
0
TypeError on loading fixtures for integration tests
...able_names,
class_names = {})
# puts("fixtures dir: "+(fixtures_directory.nil? ? "nil" :
fixtures_directory))
It''s only nil for my integration tests. I''m on rails edge. Does anyone
know what I''m doing wrong here?
1) Error:
test_truth(NewSiteTest):
TypeError: can''t convert nil into String
/usr/home/daniel/dev/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:252:in
`join''
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rai...
2007 Sep 11
1
TypeError => Symbol as array index
...nd it works. I''d now like
to get some information from the controller ... So I tried before_filter
ApplicationController on the controller and then :
def self.filter(controller)
id = self.session[:user_id]
# some other stuff
end
And now, I get an error at the line of session :
TypeError in AdministrationController#index
Symbol as array index
Could you explain me why ?
Thanks a lot
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&quo...
2006 Aug 02
0
"RJS Error: TypeError: $(element) has no properties"
i have lots of divs, which are added via link_to_remote. now i want to
delete them with a link_to_remote button for each. i am giving them ids
with the same name and a serialized number. when trying to access them
with javascript/rjs, strange things happen: "RJS Error: TypeError:
$(element) has no properties?. is this a rails, rjs or prototype bug? or
am i missing something?
see my code below
# i am rendering forms via partial collection
<%= render :partial => "address/update", :collection =>
@person.addresses %>
# the partial
<div id='...
2005 Jan 28
17
breakpoint not working
I keep getting:
No connection to breakpoint service at druby://localhost:42531
(DRb::DRbConnError)
Tries to connect will be made every 3 seconds...
This happens every time i run ./script/breakpointer using 0.9.5 on OSX
or Windows.
Any ideas?
2015 May 29
1
Bug#787193: xen-utils-common: xen-init-list crashes with TypeError, renders reboots unfeasible after upgrade from wheezy to jessie
...see this message:
/usr/lib/xen-common/bin/xen-init-list
Traceback (most recent call last):
File "/usr/lib/xen-common/bin/xen-init-list", line 70, in <module>
d = DataSXP(p)
File "/usr/lib/xen-common/bin/xen-init-list", line 52, in __init__
s = SXPParser()(p)
TypeError: 'SXPParser' object is not callable
but after this, I get this error:
mount: / is busy.
it then results in the reboot process to hang after the line "Rebooting." and I
get messages each 2mins about the "reboot" task being stuck for more than 120s.
I found out a way...