From owner-freebsd-questions@FreeBSD.ORG Fri Aug 4 14:12:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31E0916A4DA for ; Fri, 4 Aug 2006 14:12:08 +0000 (UTC) (envelope-from jechaiz@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAA2E43D49 for ; Fri, 4 Aug 2006 14:12:07 +0000 (GMT) (envelope-from jechaiz@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so42847wxd for ; Fri, 04 Aug 2006 07:12:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DDNwO3zH45X+2BzaJJay45k17vtlA0bvTdIwLyCPheWepsGLkqujelzPOseD/zm0235JJ7VWbeQ8pnEVZAGGYdxo702TOjlNgyJxIa4kR+VrGrQJp/nh2tMes8OsLXnjpMbVa9VOQvrMvBmAr3ddtv0velFoHrZt5Kc18Fz5oEA= Received: by 10.70.100.1 with SMTP id x1mr4846845wxb; Fri, 04 Aug 2006 07:12:06 -0700 (PDT) Received: by 10.70.124.3 with HTTP; Fri, 4 Aug 2006 07:12:06 -0700 (PDT) Message-ID: <1c8c9de30608040712m1d35358erd50a48b424dd7ee8@mail.gmail.com> Date: Fri, 4 Aug 2006 11:12:06 -0300 From: "Javier Echaiz" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: amarok lyrics: proxy and ruby? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 14:12:08 -0000 I have amarok-1.4.1 and works great... but i'm not able to fetch lyrics, I tried various ruby scripts but I got same results: /usr/local/lib/ruby/1.8/net/http.rb:562:in `initialize': Invalid argument - connect(2) (Errno::EINVAL) from /usr/local/lib/ruby/1.8/net/http.rb:562:in `connect' from /usr/local/lib/ruby/1.8/timeout.rb:48:in `timeout' from /usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout' ..... The same result occurred with the previous amarok version (I think it was 1.4.0a). Before that lyrics fetched ok. I'm behind a non transparent proxy, so probably the problem is http.rb don't knowing about my proxy. Should I try to hack the http.rb code to enable proxy? I'm asking here just in case someone shares this problem and knows a not so radical solution. :) Is there some place to define my proxy (besides env vars) for ruby? This would avoid problems for me in future ruby releases... Thanks in advance, Javier