search for: srackham

Displaying 16 results from an estimated 16 matches for "srackham".

2010 Oct 22
0
NUT and AsciiDoc (was: Next AsciiDoc release)
...> generate.section.toc.level 1 --stringparam toc.section.depth 3" > user-manual.txt > > I also tried generating the user-manual using the 'book' doctype, this > picked up an (unrelated) problem -- I got the following error: > > a2x: finding resources in: > /home/srackham/tmp/AsciiDoc/docs/user-manual.chunked/ch03.html > Traceback (most recent call last): > File "/home/srackham/bin/a2x", line 814, in <module> > a2x.execute() > File "/home/srackham/bin/a2x", line 343, in execute > self.__getattribute__('to_'+se...
2006 May 10
2
Gem 0.9.2: undefined symbol: mtde_create
Upon opening an existing index after upgrading to the 0.9.2 ferret gem I get the following error: undefined symbol: mtde_create. Here''s an irb transcript which recreates the error: irb(main):011:0> index = Index::Index.new({:path => ''/home/srackham/bin/ff_index''}) => #<Ferret::Index::Index:0xb7be7590> irb(main):012:0> index.search_each(''rails'') irb: relocation error: /usr/local/lib/ruby/gems/1.8/gems/ferret-0.9.2/lib/ferret_ext.so: undefined symbol: mtde_create The gem install went smoothly: # gem up...
2015 Nov 26
4
Cannot access Patriot Pro II from new system
Hi Charles, thank you VERY MUCH for all your hints. > If you have a jumper wire handy, you can connect the PC's TxD to RxD I should have tried to connect from another computer in the first place. Or access another device known to work from this computer. It turned out that the shield I used to connect the mainboard connector to the PC case expected another mainboard pin layout. So all I
2006 Apr 05
3
Missing Ferret 0.9.0 Field methods
The following instance methods seem to be missing from the Ferret::Document::Field class in Ferret 0.9.0 using compiled C extensions: #string_value, #reader_value and #binary_value. They are in the pure ruby implementation). I got round it by mixing in hacked versions of the pure Ruby methods (@data replaced by self.data). Many thanks for Ferret it''s shaping up to being a killer app
2007 Jul 25
3
Nut fsd command ignored: bcmxcp_usb driver, Powerware 5105 UPS
Hi I'm having a problem with the bcmxcp_usb driver FSD command: everything seems to work apart from: upsmon -c fsd Environment: Ubuntu 7.04, nut 2.0.5-1, nut-usb 2.0.5-1, Powerware 3105 UPS. upsd appears to send the FSD command to the UPS, upsmon then runs my NOTIFYCMD (which halts my PC) but the UPS just doesn't turn off. Here are the /var/log/daemon.log entries: Jul 24 23:13:16
2013 Aug 10
0
Get Nut to Shutdown Computer After a Few Minutes on Battery
Hi, Also to add to my question: The documentation says I should have a file name upssched-cmd on my system. But there is no file named that on my system. I installed via apt-get install nut if that's relevant. If it turns out I should uninstall everything and install via "make" then I'll do that, it's happened before that the package install doesn't do things right.
2016 Aug 17
2
Any good SNMP tutorial?
Hello, I am looking for good instructions on how to configure NUT to receive SNMP Trap signals and how to shutdown a server. My setup is: NUT: version 2.7.1-1ubuntu1, from package OS: Ubuntu 14.04.5 LTS UPS: Tripp Lite SMART3000RM2U The only thing I was able to understand from the documentation is to an entry in ups.conf: [tripplite-pa3] driver = snmp-ups port =
2006 Apr 13
1
FerretHelper module and Ferret Finder utility
Hi I''ve written ferret_helper.rb (FerretHelper module) containing wrapper methods for converting PDF, HTML, Open Document and Microsoft Word files to plain text for the Ferret index analysers. To help test it I wrote a simple ff.rb (Ferret Finder) command-line utility to index and search document files. You can download the code at http://www.methods.co.nz/ff/ Cheers, Stuart --
2006 Sep 09
2
search_each segmentation fault and parser anomoly
The included test script turned up the following anomolies (run against Ferret 0.10.3, but had same problems with 0.10.2): 1. When the content word is not in the index the inclusion of a wildcard file term causes search_each to throw a segmentation fault. $ ./test.rb zzz file:*.txt query: +content:zzz +file:*.txt ./test.rb:28: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24)
2009 Aug 16
1
A new project using AsciiDoc: Network UPS Tools
Since I've heard about AsciiDoc (thanks ESR), I'm in the process of revamping the full Network UPS Tools documentation and website. Without going into the usual "it curred my desease, got my wife back home, and made me won a billion", it really saved my life ^_ ^ I was searching for such tool for years! thanks a lot Stuart and others. Kudos for the work! NUT revamp is not yet
2013 Aug 09
2
Get Nut to Shutdown Computer After a Few Minutes on Battery
Hi, I tried to do the minimum configuration for Nut. When I stop the on-line power i get terminal message that I'm on battery power and when I plug on-line power back in I get a message that I'm back to on-line power. So things are working/communicating. What I want is: if it's been on battery power for over 5 minutes the PC will shutdown. If powers comes on-line again before the 5
2015 Dec 02
0
Cannot access Patriot Pro II from new system
...en totally depleted?) IN TIME to enable a clean shutdown. Could someone please point me to where (or what for) to look to configure that? Or is it not necessary? Or is my UPS not capable of triggering based on power left and I must use a time based setup (sleep in notifycmd) shown in this [https://srackham.wordpress.com/2013/02/27/configuring-nut-for-the-eaton-3s-ups-on-ubuntu-linux/] article? Or should I really have a script as complicated as in this [http://rogerprice.org/NUT.html] article? I really wan to keep things as simple as possible... The next thing is, that it seems to be necessary to twe...
2005 Mar 10
5
dispatch.fcgi dieing randomly
Recently my application has refused to start on my production environment. The setup is debian(unstable)/apache2/fastcgi/mysql Rails 0.10 (upgrading to 0.10.1 as we speak) When I first start up apache the machine grinds to a crawl starting up the dispatch.cfi processes. It''s a VPS with 256M of ram, but still (in addition to user time) it''s spending 30% of time in system
2007 Feb 14
0
acts as ferret creates redundant default index directory?
Hi I''m using a non-default index directory (acts_as_ferret :index_dir option) but the unused default (./index/) is still created at load time. The culprits are the two calls to ensure_directory in the init_index_basedir method in acts_as_ferret.rb that seem to be redundant. Removing the calls to init_index_basedir fixes the problem with no apparent side effects. Cheers, Stuart --
2006 Sep 10
1
ff-1.1.0
I''ve updated my ff document index/search utility so it now runs under Ferret 0.10.x. ff is a simple *NIX command-line utility that indexes and searches document files using Ferret, it can be found at http://www.methods.co.nz/ff/ Cheers, Stuart -- Stuart Rackham -- Posted via http://www.ruby-forum.com/.
2006 May 23
1
acts_as_ferret: dynamic index selection
Hi What is the be practice regards setting the index path dynamically? My application needs to switch indexes based on the logged in user, I put the following before_filter into my controller (the Document.index_dir method calculates the user''s index path): before_filter { Document.ferret_configuration[:path] = Document.index_dir } It seems to work, the only rough edge is that the