search for: object_type

Displaying 13 results from an estimated 13 matches for "object_type".

2011 Jan 23
1
Trouble installing SWAT on a Samba 4 Alpha 13 build on Ubuntu Server
...4, in loadobj global_conf=global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext global_conf=global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig return loader.get_context(object_type, name, global_conf) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context section) File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use object_type, name=use, global_conf=global_conf) File &qu...
2008 Mar 05
0
Index Searcher Causes GC Memory Error: "irb: double free or corruption"
...ruby.so.1.8(ruby_stop+0x1d)[0xc2c3ad] /usr/lib/libruby.so.1.8[0xc372c1] irb[0x804868d] /lib/libc.so.6(__libc_start_main+0xe0)[0x5e5390] irb[0x8048581] Here is the code of my class. Any sign of what is wrong with the memory handling? class IndexSearcher attr_accessor :searcher, :sub_searchers, :object_type # @param paths [Array of String] full local paths def initialize( object_type, paths ) # Would''ve used this way since it''s simpler and said by author to be faster; but invalid paths will break this entirely # self.searcher = Ferret::Search::Searcher.new(Ferret::Index::Inde...
2011 Jan 24
4
Trouble installing SWAT on a Samba 4 Alpha 13 build onUbuntu Server
...es/python2.6/paste/deploy/loadwsgi.py", line >> 248, in >> loadcontext >> global_conf=global_conf) >> File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line >> 278, in >> _loadconfig >> return loader.get_context(object_type, name, global_conf) >> File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line >> 409, in >> get_context >> section) >> File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line >> 431, in >> _context_f...
2011 Jan 24
1
Trouble installing SWAT on a Samba 4 Alpha 13 buildonUbuntu Server
...>>>> >> File >>>> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", >>>> line 278, >>>> >> in >>>> >> _loadconfig >>>> >> return loader.get_context(object_type, name, >>>> global_conf) >>>> >> File >>>> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", >>>> line 409, >>>> >> in >>>> >> get_context >&...
2007 May 28
0
[ wxruby-Bugs-11183 ] GLib errors cause crash
...nitialization assertion failed, use IA__g_type_init() prior to this function (process:26965): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:26965): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)'' failed (process:26965): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:26965): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process...
2006 Nov 02
0
DB: class to multiple rows mapping (aka rails 'osproperty')
...ass to dynamic table mapping ? The idea is to have a single table capable of storing various unrelated classes. Some sort of Extreme polymorphism. I''ve used this with other languages. E.g. osproperty in Java. The idea is the following In the DB create table dynamicobjects ( id int, object_type varchar(255), key_name varchar(255), value_type int, value_int int, value_char varchar(255), value_longchar text, ... primary key (id, object_type, key_name) ) then I could map any instance of any class to it. E.g. class User def initialize(firstname, lastname, birthdate) @fi...
2005 Dec 07
3
ActiveRecord::Observer problem
...def after_create(model) bind_params(model) @al.action = "create" @al.save logger "#{model.id} : created" end private def bind_params(model) @al = ActivityLog.new @al.user_id = User.current.id @al.customer_id = User.current.customer_id @al.object_type = model.class.name @al.object_id = model.id end end and class ActivityLog < ActiveRecord::Base set_table_name "activity_log" end in my local_environment.rb require ''lib/activity_observer'' ActivityObserver.instance why does nothing ever seem to happen when...
2006 Mar 30
1
Globalize DB translate not working in Rails 1.1.0
...39;') # switch to ''nl''; base language is ''en'' article = Content::Article.find(article.id) assert_equal ''Nieuwe Titel voor Artikel'', article.content.title SELECT * FROM content_items WHERE (content_items.id = 146) AND ( (content_items.`object_type` = ''Article'' ) ) LIMIT 1 SELECT * FROM content_articles WHERE (content_articles.id = 146) LIMIT 1 Anyone else experienced this issue?
2012 Aug 17
1
RGDAL OGRwrite question
...p', driver='ESRI Shapefile', verbose=TRUE) Error in writeOGR(shape, ".", layer = "temp", driver = "ESRI Shapefile") : Creation of output file failed > writeOGR(shape, '/tmp', layer='temp', driver='ESRI Shapefile',verbose=TRUE) $object_type [1] "SpatialPolygonsDataFrame" $output_dsn [1] "/tmp" $output_layer [1] "temp" $output_diver [1] "ESRI Shapefile" $output_n [1] 169 $output_nfields [1] 23 $output_fields [1] "ID" "ANID" "F_AREA" "Avg...
2006 Nov 12
0
[ wxruby-Bugs-6633 ] Serious (but harmless?) GTK warnings on Linux
...nitialization assertion failed, use IA__g_type_init() prior to this function (process:11017): GLib-GObject-CRITICAL **: gtype.c:2240: initialization assertion failed, use IA__g_type_init() prior to this function (process:11017): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)'' failed (process:11017): GLib-GObject-CRITICAL **: gtype.c:2240: initialization assertion failed, use IA__g_type_init() prior to this function (process:11017): GLib-GObject-CRITICAL **: gtype.c:2240: initialization assertion failed, use IA__g_type_init() prior to this function (process...
2007 Jan 03
12
instalation problem
Hi Im testing wxRuby. I have a problem when ruby try to load the load wx. Im newbie to ruby, maybe a make a simple mistake : Best regards. Install wxRuby-------------------------------------------------------------- pedro@la-vaca-azul:~$ sudo gem install wxruby2-preview Need to update 2 gems from http://gems.rubyforge.org .. complete Select which gem to install for your platform (i486-linux)
2016 Jan 18
2
Segmentation Fault Asterisk 13.7.0-rc2 (libmysqlclient?)
...0x25ed6a0 "ps_endpoint_id_ips" rows = 0x0 all = 0x7f1da40185f0 row = 0x0 #8 0x00000000005b49b1 in ast_sorcery_retrieve_by_fields (sorcery=0x213f828, type=0x7f1d716c91cb "identify", flags=3, fields=0x0) at sorcery.c:1892 wizard = 0x25ebd58 object_type = 0x25ebdd8 object = 0x7f1da40103c0 i = 0 cached = 0 __PRETTY_FUNCTION__ = "ast_sorcery_retrieve_by_fields" #9 0x00007f1d716c824b in ip_identify (rdata=0x7f1d4400e1e8) at res_pjsip_endpoint_identifier_ip.c:126 addr = {ss = {ss_family = 0, __ss_alig...
2007 Dec 06
43
Mocks? Really?
OK, so i''ve played a bit with mocks and mock_models in controller and view tests and i have a question. Is this statement really correct: "We highly recommend that you exploit the mock framework here rather than providing real model objects in order to keep the view specs isolated from changes to your models." (http://rspec.rubyforge.org/documentation/rails/writing/views.html