Displaying 13 results from an estimated 13 matches similar to: "ruby-ldap crashing WEBrick server"
2006 May 02
1
Converting rb_protect + ruby_stop to pure Ruby
Hi,
Within process.c, in the fork method, there''s this bit of code:
if(rb_block_given_p()){
int status;
rb_protect(rb_yield, Qundef, &status);
ruby_stop(status);
}
I translated that as this:
if block_given?
status = 0
begin
yield
rescue Exception
status = -1 # Any non-zero result is failure
end
exit(status)
end
Is there a way to get
2010 Jul 10
2
connection lost
Hi,
I've been trying to get my new Tripplite OmniVS100 UPS (USB Connection) to work on my system. What I have is:
Ubuntu 10.04 Server
Nut 2.4.3
/etc/nut/ups.conf
[omni]
Driver = usbhid-ups
Port = auto
Desc = "My Server"
/etc/nut/nut.conf
MODE=standalone
I followed the instructions at this link:
2014 Aug 22
0
Folders don't show up
Hello,
I've upgraded to the new LTS version of Ubuntu. With that comes a new
dovecot version. I think I've migrated my dovecot configuration
correctly to the new version. Everything works, except that the
mailboxes don't show up in the list of mailboxes in my mail clients.
Trying to issue a LIST command, I see the following:
CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS
2007 Jun 28
0
Is anyone using ferret on Solaris/SPARC?
Ferret throws a bus error in the unit tests under Solaris, sun4u architecture.
http://ferret.davebalmain.com/trac/ticket/272
Bug reporter appears to be on Solaris 8 with Ruby 1.8.4. I''ve tried
on Solaris 10 (first release and 10/06, first without and then with
the most recent patch set), both with Ruby 1.8.6, and get exactly the
same error in the same spot. Tried with 0.11.4 and also
2009 Aug 13
0
[ wxruby-Bugs-26918 ] ruby1.9 gem: wxruby2.so: [BUG] unknown type 0x22 (0xc given)
Bugs item #26918, was opened at 2009-08-14 00:13
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=26918&group_id=35
Category: Installer problems
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: lasse fabisch (lassef)
Assigned to: Nobody (None)
Summary: ruby1.9 gem: wxruby2.so: [BUG] unknown type 0x22 (0xc given)
Initial
2012 Aug 18
0
hosting with speedyrails
hello everyone,
original app: rails 3.1.1
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
I try to host my app into speedyrails using capistrano.
I host my sample application and running. I just get only one error like my assets
were not precompiled. then i solve that by adding "load ''deploy/assets''"
this code in my deploy receipt.
and my
2007 Feb 14
4
fastthread-0.6.4.1 released
== NOW
A new version of fastthread, the library providing better
implementations of the classes in thread.rb, has been released.
Please note that fastthread is only for Ruby 1.8, not JRuby or any other
Ruby implementation (most of them don''t need it anyway!).
== WHY
The existing implementation of Mutex, Queue, etc. in thread.rb is slow.
fastthread''s is faster (and bypasses
2009 Jun 04
2
RPostgreSQL segfault with LEFT JOIN
Hi,
I recently upgraded to R 2.9.0 on linux x86. After doing so, I switched to the
RPostgreSQL package for interfacing with a postgresql database. I am using
postgresql 8.3.7.
A query that works from the postgresql terminal is causing a segfault when
executed from R.
My sessionInfo, the error message, and the R code used to generate the error
are listed below.
I have noticed that a
2008 Jun 06
1
package needed: fastthread-1.0.2
I''ve just committed the makings of fastthread-1.0.2 to SVN, fixing a
couple long-standing bugs in 1.0.1:
- merged the fix from ruby_1_8 to avoid rb_bugging during exit with
waiting threads
- SizedQueue#enq is now defined properly
Could you or whoever does the signed gems please turn the crank and
upload the new gems?
Thanks,
-mental
-------------- next part --------------
A
2008 Jul 17
0
Re : float and double precision with C code
thank you for your quick answer,
I'm far of the digits capacity and my values are not the result of a computation. I'm developping a R package to acces a specific data source. And I need precision a few better. How can I do ?
When I try this In R console, this is correct and what I need :
> my_value <- 29.958334
> my_value == 29.958334
[1] TRUE
But I need to do the first
2008 Jul 17
0
Re : Re : float and double precision with C code
ok, sorry, my mistake was the C printf.
Thank you for your good answer
Regards
----- Message d'origine ----
De : JS Ubei <jsubei at yahoo.fr>
? : jim holtman <jholtman at gmail.com>
Cc : r-help at r-project.org
Envoy? le : Jeudi, 17 Juillet 2008, 15h25mn 07s
Objet : [R] Re : float and double precision with C code
thank you for your quick answer,
I'm far of the digits
2005 Mar 14
2
Install the RMySQL
Hi, I have some problem to install RMySQL package.
Could you help me?
I set up the path.
[root at ep2 library]# export PKG_CPPFLAGS="-I/var/lib/mysql"
[root at ep2 library]# export PKG_LIBS="-L/var/lib/mysql -
lmysqlclient"
[root at ep2 library]# R CMD INSTALL /home/younko/RMySQL_0.5-
5.tar.gz
I got this bunch of error message.
Please help me.
* Installing *source*
2006 Jul 25
12
DRYing - similar named fields, etc.
I''m sorry - just couldn''t come up with a subject that describes the
problem :(
Anyway, this is my problem. I have a long list of fields that need to
be displayed when a ''show'' is requested on the controller. I''m now
doing the list.rhtml and looking for a DRY way to do the following.
For each data item, I have 2 fields - one is the item name, the