Displaying 20 results from an estimated 1121 matches for "autoload".
Did you mean:
autoloads
2010 Aug 17
6
Overly aggressive constant unloading of Rails 3.0
In Rails 3.0 (both RC and edge), any constant that''s defined while loading a
file in development mode will get unloaded on each request, regardless of
whether it comes from an autoload path in the application or from external
code such as a gem.
Example file (tested on a fresh edge app):
# kittens.rb
require ''nibbler/json'' # "nibbler" is a gem specified in Gemfile
module Kittens
NibblerJSON
end
This file can be either in "app/mode...
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other
than Erubis are not loaded automatically (Haml, XMLBuilder). Either
this should be fixed, or the documentation should be updated to
instruct people how to use non-Erb template engines.
Apparently the solution is to do something like this in merb_init.rb:
::Mer...
2008 Jan 18
2
HP Autoloader
Hi,
I need to backup data to an HP autoloader, it needs to be *full* backups each time so using Amanda doesn't make sense.
Can someone point me to what utilities to use to access the autoloader, I would rather read up on this myself as my knowledge here is very weak. I am moving this unit from a windows environment running Backup Exec....
2005 Nov 19
3
Autoloading R Commander
How do I go about autoloading R Commander when I start R?
Thanks in advance.
--
Stephen P. Molnar, Ph.D. Life is a fuzzy set
Foundation for Chemistry Stochastic and multivariant
http://www.geocities.com/FoundationForChemistry
2017 Jun 12
2
CentOS7: How to debug SEGV when asterisk starts with autoload=yes ?
...risk 13.16.0. from source on a CentOS7 platform.
For that purpose, I used an unmaintened script of mine, written 10 monthes
ago, and I was surprised to get segmentation violations whenever I ran
"asterisk -cvvvvvvv -U asterisk".
Usually, my /etc/asterisk/modules.conf file includes "autoload=yes" setting.
Basically, I see two alternative methods:
1. leave "autoload=yes and remove modules one by one in modules.conf.
When segmentation violations stops, then focus on latest disabled module.
2.set "autoload=no and add modules one by one in modules.conf.
When segmentation...
2011 Dec 13
0
Using ActiveSupport's autoload_at
After discovering
http://api.rubyonrails.org/classes/ActiveSupport/Autoload.html
I thought
it''d be nice if we could replace our zillion occurences of:
autoload :Something, ''some_path/something''
with:
autoload_at ''some_path'' do
autoload :Something
end
But I keep getting undefined method autoload_at. I tried digging -
Actio...
1997 Nov 17
1
R-beta: autoloading a required library
I wanted to use the dist() function from the mva library in my own
library, so I put require(mva) in my files. When my library loads, a
message about "Autoloading ... mva" appears. But when I call dist() now
within my functions the message
Error in .C("dist", as.double(x), nrow(x), ncol(x), double(len),
as.integer(method)) : C/Fortran function not in load table
appears.
After dyn.load("..._path_to_/mva.so") it works.
Is there...
2007 Mar 19
11
Parsechecking in a commit hook
This has been a much-requested feature, and is now a reality (in svn
trunk):
There is a new option, --ignoreimport, that will (surprisingly)
ignore import statements. This is really only useful when using --
parseonly in a commit hook, and note that you''ll have to add the
option to --parseonly, none of the puppet executables will add it for
you. You should be able to
1997 Oct 29
2
R-alpha: Using autoload and smaller 'base' package [was "Re: New Version"].
.... -MM]
>>>>> "Thomas" == Thomas Lumley <thomas@biostat.washington.edu> writes:
Thomas> On 29 Oct 1997, Peter Dalgaard BSA wrote:
>> Perhaps we should revise the current contents of the base library
>> and replace some noncrucial items with autoloads? (The ts stuff for
>> instance, glm, maybe even lm).
Thomas> It would be interesting to experiment along these lines.
Thomas> Clearly if something is going to be loaded it saves time and
Thomas> space to do it immediately, but if it isn't going to be used
Th...
2007 Dec 10
4
Results from testing our manifests, functions and types against HEAD
...warning: Other end went away; restarting connection and retrying
warning: Other end went away; restarting connection and retrying
notice: Finished configuration run in 37.68 seconds
Do you want me to log tickets, etc?
Cheers,
Derek
[1] - Error message is:
/usr/lib/ruby/site_ruby/1.8/puppet/util/autoload.rb:114:in `require'': no
such file to load -- puppet/provider/sy
sctl/parsed (LoadError)
from /usr/lib/ruby/site_ruby/1.8/puppet/util/autoload.rb:114:in
`loadall''
from /usr/lib/ruby/site_ruby/1.8/puppet/util/autoload.rb:109:in
`each''
from /usr/lib/r...
2013 Mar 04
2
Asterisk 11 - How to trim the number of modules to minimum ?
Hi,
I've got a brand new Asterisk 11 setup for which I would like to keep the
number of loaded modules to a minimum.
My goal is to this setup in a pure SIP environment, for switching incoming
calls to outgoing tSIP trunks.
When I leave autoload=yes in /etc/asterisk/modules.conf, I can handle an
incoming SIP call with a Playback app.
When I leave autoload=no in /etc/asterisk/modules.conf, it fails with with
messages I'm not familiar with.
My question:
with autoload=no, which (efficient) method shall I use to trim the number
of modules...
2008 Jun 12
1
OT: HP Autoloader Issue
I spent a good chunk of time trying to get an HP LTO Autoloader to
work with Amanda only to later find out it was faulty. Aside from HP
who has a brutal system for repairing hardware, does anyone know where
I might be able to send it for repair?
Thanks!
jlc
2011 Aug 17
7
autoloading LoadError: Expected known_ip.rb to define KnownIp
Hello, i have a problem with autoloading model classes.
I have had similar problems before when a file''s name in Rails'' opinion
did not match with the name of the class defined inside, but eventually
everything worked, so i didn''t look into details.
This time the problem comes from running Unit Tests and does...
2005 Aug 11
1
Error in autoloader
Hi,
After installing the latest versions of lme4, Matrix, VR on a Debian
Box, I have run into a problem. When I use library(lme4) on R Version
2.1.0 (2005-04-18) I get the following error message:
> library(lme4)
Loading required package: Matrix
Error in autoloader(name = "confint", package = "MASS") :
autoloader did not find 'confint' in 'MASS'
An example of the complete session is given at the end of this email. A
search in the docs.
At present I have 3 directories where packages are kept, as I use
apt-get in...
2010 May 19
1
Staging: hv: fix hv_utils module to properly autoload
From: Haiyang Zhang <haiyangz at microsoft.com>
Added autoloading based on pci id and dmi strings.
Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Hank Janssen <hjanssen at microsoft.com>
Cc: stable <stable at kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
drivers/staging/hv/hv_utils.c |...
2010 May 19
1
Staging: hv: fix hv_utils module to properly autoload
From: Haiyang Zhang <haiyangz at microsoft.com>
Added autoloading based on pci id and dmi strings.
Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Hank Janssen <hjanssen at microsoft.com>
Cc: stable <stable at kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
drivers/staging/hv/hv_utils.c |...
2000 Mar 14
0
Re: autoload error in profile {was anova-bug in R-version 1.0.0?} (PR#486)
....test formerly copied from
>> >> ctest. Now ctest ist part of the distribution and because of that I
>> >> always got the message:
>> >>
>> >> [Previously saved workspace restored]
>> >>
>> >> Error in autoload("wilcox.test", "ctest") :
>> >> Object already exists
>> >>
>> >> I didn't take care of this message. Now I removed wilcox.test, saved
>> >> the WS, restarted R without the vanilla-option and alas, anova
&g...
2007 Sep 30
2
Initial setup problems on Ubuntu edgy (06.10)
...to test puppet on 2 hosts, librarian running the puppetmasterd and
mortvm.
Unfortunately, I didn''t get very far; whilst trying to obtain a cert
for mortvm I''ve received the following errors :-
adrian@mort:~$ sudo puppetd --server librarian --waitforcert 60 --test
Could not autoload "/usr/lib/ruby/1.8/puppet/provider/host/parsed.rb": undefined method `set_options'' for #<Puppet::Util::FileParsing::FileRecord:0xb76cb684 @type=:text>
Could not autoload "/usr/lib/ruby/1.8/puppet/provider/mount/parsed.rb": undefined method `set_options'' f...
2005 Jul 18
0
Crash on reload only with autoload=no
...nfig). Once
in a while (once or twice a day) one of the server crashes on the cron job
reload. But I realized this only happens on 3 of the 4 servers. Tried to
spot the difference between that one server that wasn't crashing. The
difference I found was that the server that doesn't crash has autoload=yes
in the /etc/asterisk/modules.conf whereas the others have autoload=no and
"load=" lines to load the proper modules.
What could be the problem? Problem with autoload=no in the reload? I'm not
loading a necessary module that causes the crash?
A "show modules" on the auto...
2010 Jan 30
2
Stop packages and datasets to be loaded on startup.
...and the standard library packages to be loaded on startup.
I've been looking at littler's code (so this is partly a question to
Dirk Eddelbuettel...):
> /* We don't require() default packages upon startup; rather, we
> * set up delayedAssign's instead. see autoloads().
> */
> if (setenv("R_DEFAULT_PACKAGES","NULL",1) != 0){
> perror("ERROR: couldn't set/replace R_DEFAULT_PACKAGES");
> exit(1);
> }
The code above happens before Rf_initEmbeddedR in littler...