Re: [Httpmail-devel] Ruby error:
Status: Beta
                
                Brought to you by:
                
                    fuzz
                    
                
            | 
     
      
      
      From: Dave D. <dav...@ho...> - 2002-11-13 17:41:21
      
     
   | 
Dane
Sorry for the confusion -- I was trying to get the Ruby version working on 
10.2. 10.2 comes with Ruby 1.6.7 installed (that's the one in 
/usr/lib/ruby). It shouldn't hurt anything to have Ruby installed twice in 
different locations, just be sure you know which one is executing.
The cookies error is not related to the MD5 error. I haven't seen the 
cookies error before. I haven't tested thm.rb in a while either. See if you 
can get it to work with gethttpmail.rb.
Dave
----Original Message Follows----
From: "Dane G. Avilla" <da...@av...>
To: Dave Dunkin <dav...@ho...>
CC: htt...@so...
Subject: Re: [Httpmail-devel] Ruby error:
Date: Wed, 13 Nov 2002 10:06:39 -0500
Dave,
Thanks a bunch for the help.  I'm getting another error now, but I'm 
thinking it may be related to my Ruby installation . . . I'm a total Ruby 
newbie (groans from the peanut gallery), but bought "Ruby in a Nutshell" 
last night and it looks quite useful.
When I run thm.rb with the updated dav.rb file (for Ruby 1.6.7 & xmlparser 
0.6.5):
ruby thm.rb MyA...@ho... <MyHotmailPwd> <MyForwardingAddress>
I get:
./cookies.rb:80:in `extract_cookies': undefined method `key?' for nil 
(NameError)
         from ./cookies.rb:43:in `request'
         from /usr/lib/ruby/1.6/net/http.rb:668:in `request'
         from /usr/lib/ruby/1.6/net/http.rb:667:in `start'
         from /usr/lib/ruby/1.6/net/http.rb:667:in `request'
         from ./cookies.rb:42:in `request'
         from ./dav.rb:56:in `propfind'
         from ./dav.rb:134:in `call'
         from ./dav.rb:134:in `http_wrap'
         from ./dav.rb:285:in `propfind'
         from ./httpmail.rb:24:in `start'
         from thm.rb:12
I had configured and installed Ruby 1.6.7 from the sources on the 
ruby-lang.org site.  When I got your email this AM, I went hunting for 
md5.bundle and realized that I've got 2 different versions of md5.bundle, 
and actually it looks like I've got 2 Ruby installations . . . one at
/usr/lib/ruby/1.6/powerpc-darwin6.0/digest/md5.bundle
and another at:
/usr/local/lib/ruby/1.6/powerpc-darwin6.2/digest/md5.bundle
Both dir trees have pretty much the same files under the ruby directory . . 
. When I built Ruby, I took all the default settings (aside from the fact I 
had to apply the ruby-1.6.7-osx10.2.patch to 'configure' and 'error.c').  
Would having two Ruby installs like this be causing a problem? (Do you know 
if 10.2 includes a Ruby distro?)
>Honestly, I don't use the Perl version. And coincidentally, I've been 
>trying to get it to work on OS X 10.2 the last couple days. I've run into a 
>snag with the md5 stuff though...
Sorry, I'm a little confused here . . . are you saying you were trying to 
get the Perl version working on 10.2, or the Ruby version?  As I mentioned 
before, I've got the Perl version working, more or less, on 10.2 and can 
post the steps I took in configuring it, if it would be helpful.
Also, from what I can tell, the error I'm getting in cookies.rb isn't 
related to md5, is it? (or am I simply confused :)
Thanks for all the help,
-Dane
-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about your web server 
security? Click here for a FREE Thawte Apache SSL Guide and answer your 
Apache SSL security needs: http://www.gothawte.com/rd523.html
_______________________________________________
Httpmail-devel mailing list
Htt...@li...
https://lists.sourceforge.net/lists/listinfo/httpmail-devel
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus
 |