Displaying 20 results from an estimated 1121 matches for "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
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:
::Merb::AbstractController.register_engine
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. I know all of those features won't be available but I
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 ?
Hello,
I was tasked to install Asterisk 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
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 -
ActionSupport::Autoload is
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.
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
Tho...
2007 Dec 10
4
Results from testing our manifests, functions and types against HEAD
Hi Luke and other people working on 0.24. I hope this is constructive.
So, I have our configuration working against a checkout from git as of
last night.
Subject to (sorry, here''s the big but :)
* external_nodes script is not being called (#951)
* Custom types aren''t working unless I drop them into
$rubysitedir/puppet/{type,provider}. Previously they worked in
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
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 not want to
go away.
I have a model class KnownIP defined in
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'
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 | 28
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 | 28
2000 Mar 14
0
Re: autoload error in profile {was anova-bug in R-version 1.0.0?} (PR#486)
>>>>> "BDR" == Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:
BDR> On Tue, 7 Mar 2000, Martin Maechler wrote:
>> >>>>> "BDR" == Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:
>>
BDR> On Tue, 7 Mar 2000, Trenkler, Dietrich wrote:
>> >> I think I've discovered what went
2007 Sep 30
2
Initial setup problems on Ubuntu edgy (06.10)
Good day,
After having lurked for a while I''ve decided to actually start using
puppet starting on my small home network. I''ve been following :
http://reductivelabs.com/trac/puppet/wiki/InstallationGuide
and :-
http://www.howtoforge.com/installing_puppet_on_ubuntu
to test puppet on 2 hosts, librarian running the puppetmasterd and
mortvm.
Unfortunately, I
2005 Jul 18
0
Crash on reload only with autoload=no
Hi,
I've been having a little problem with my asterisk servers, I have 4
identical asterisk servers setup (same hardware, same OS, same config). 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
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....