similar to: a strange RedirectLimitReachedError

Displaying 20 results from an estimated 10000 matches similar to: "a strange RedirectLimitReachedError"

2013 Mar 21
0
Problems parsing page encoded in Shift-JIS
I''m posting this question to both mailing lists as I''m not sure whether it''s a Mechanize problem or a Nokogiri problem. Using Nokogiri and Mechanize to load and parse a web page encoded with Shift-JIS. I have an HTML construct like: <head> <meta http-equiv="content-type" content="text/html; charset=Shift_JIS"> </head> <body>
2008 May 03
0
marshalling mechanized
hi all, in the course of my hacking i wanted to marshal mechanized objects (whether the agent, page, or other). this may be a rather particular use-case, but i figured i would report. marshalling does not work on certain objects, in particular IO objects, and since mechanized uses Net::HTTP it makes use of IO objects. so it turns out that it you just do a = WWW::Mechanize.new page = a.get
2004 Aug 06
1
Compiling Darkice
I'm compiling Darkice on a FreeBSD 4.6.2 box. Everything works up to this point after I type "make"...then I get this error. Any ideas? Thanks, Matt teststream# make make all-recursive Making all in src source='TcpSocket.cpp' object='TcpSocket.o' libtool=no depfile='.deps/TcpSocket.Po' tmpdepfile='.deps/TcpSocket.TPo' depmode=gcc /bin/sh
2004 Aug 06
1
Compiling Darkice
>Fromthe config.log file created by ./configure configure:3326: checking for sys/types.h configure:3339: gcc -c -g -O2 conftest.c >&5 configure:3342: $? = 0 configure:3345: test -s conftest.o configure:3348: $? = 0 configure:3358: result: yes configure:3627: checking sys/socket.h usability configure:3636: gcc -c -g -O2 conftest.c >&5 configure:3639: $? = 0 configure:3642: test
2007 Sep 25
0
TCPSocket.new Errno::EBADF: Bad file descriptor error
Im trying to use memcache-client, but there is a line in their where it calls: TCPSocket.new(host, port). It fails at this point. I''ve tried just trying to establish a connection in my script/console with TCPSocket.new("localhost", 11211) TCPSocket.new("127.0.0.1", 11211) TCPSocket.new("<my comp name>", 11211) TCPSocket.new("<my ip
2013 Jan 10
0
TCPSocket in controller action
Hi, in order to stream a file I am making use of TCPSocket. Unfortunately I dont receive contents when in use the tcpsocket in a rails controller action while it is working on console. url = "http://www.google.de" version = request.env[''HTTP_VERSION''] verb = request.env[''REQUEST_METHOD''] # url =
2009 Apr 09
1
undefined method ''text'' ...
Just trying to run the example ***** require ''rubygems'' require ''mechanize'' a = WWW::Mechanize.new a.get(''http://rubyforge.org/'') do |page| # Click the login link login_page = a.click(page.links.text(/Log In/)) # Submit the login form my_page = login_page.form_with(:action => ''/account/login.php'')
2010 Jan 26
1
Does Amazon.com block scraping?
Hi there Does anyone know if Amazon.com has any sort of server side script that tries to block scraping activities? I first noticed that if I didn?t change the agent alias, it would fetch a page exactly like the normal one, but without the intial search field(maybe a silly way to prevent scraping). Then after it, I changed to some other alias, and submit a search. I got the result page as
2010 May 31
0
TCPSocket.new(host,port).readline hangs on windows :(
Hi Guys I am starting a new thread as it seems my gripe isnt to do with Juggernaut but with TCPSocket - which is used by Juggernaut. Turns out that the thing that actually hangs up in Juggernaut after x (130/1500/16000) iterations of (1..1000).each {|i| Juggernaut.show_clients} Is actually the line res << @socket.readline(CR) if response in juggernaut.rb. Seems @socket.readline
2001 Feb 27
1
Winamp plugin; http streaming
Sorry, had to foward this. Chris: Majordomo is triggering on the HTML in the message and rejecting it. A minor pain, but that alone catches half the spam that would otherwise show up on the list... ----- Forwarded message from owner-vorbis-dev@xiph.org ----- From: "Chris Moeller" <chris@kode54.net> To: <vorbis-dev@xiph.org> Subject: Winamp plugin; http streaming Date:
2004 Aug 06
1
DarkIce make problem
Yea, I figured it out...brain fart on my part. Got it working, but getting some sort of TCPSocket error now... still trying. :) [root@jabez etc]# darkice -c /usr/local/etc/darkice.cfg DarkIce 0.6 live audio streamer, http://darkice.sourceforge.net Copyright (c) 2000-2001, Tyrell Hungary, http://tyrell.hu Using config file: /usr/local/etc/darkice.cfg Using POSIX real-time scheduling, priority
2010 Jun 03
3
issue submitting a form
Hi. Recently I started rebuilding my old Mechanize script, which I used to automatically log in to a certain site and retrieve files from it. Old version worked great, however, when I did the update it started complaining. Here''s the log of the error: /Users/lukastolyarov/.gem/ruby/1.8/gems/mechanize-1.0.0/lib/mechanize/form/field.rb:30:in `<=>'': undefined method
2009 Apr 09
1
Mailing error in Rails 2.3.2
Hi, My mails were working with the earlier version of rails ie. Rails 2.0.2. But recently when i upgraded my environment to 2.3.2 the mails stopped working and gave "Error: End of file reached". But if i send mails independent of my rails app the mailing code works fine. My Environment: Windows Xp Ruby 1.8.7 actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource
2007 Sep 14
1
Unable to scrap gmail.com - EOFError: End of file reached
Hi all, I am so excited to use mechanize! It has opened a whole new world of projects for me :) I am trying to login into the Gmail.com server, as described in http://schf.uc.org/articles/2007/02/14/scraping-gmail-with-mechanize-and-hpricot but am running into a few issues... irb(main):010:0> page = agent.submit form EOFError: end of file reached from
2010 Jun 14
0
Sockets are Killing Me!
I''ve been trying to interface to the onlineNIC API which uses sockets. The following 4 lines of test code illustrate my problem: socket=TCPSocket::new(''ip'',''port'') puts("Connect:\n"+socket.read()+"\n\n") socket.print(login_request) puts("Login:\n"+socket.read()+"\n\n") In the actual code the real IP address and
2006 Feb 15
1
Newbie Question: I want to open a socket on another server
Help! I need someone to get me in the right ballpark. I''ve been going around in circles for the last 24 hours. I want to open a TCPsocket on another server and eventually send and receive XML which is what the other servers speaks. I have both "Agile Web...with Ruby" and "Programming Ruby" but can find no examples. I''ve poured over the forum list, too.
2004 Jun 13
0
[Bug 1457] New: writefd_unbuffered failed to write
https://bugzilla.samba.org/show_bug.cgi?id=1457 Summary: writefd_unbuffered failed to write Product: rsync Version: 2.6.2 Platform: x86 OS/Version: All Status: NEW Severity: critical Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: markf78@yahoo.com QAContact:
2008 Aug 14
4
Stateful Webmail
Hello, I'm a developer on the Orbited project (http://www.orbited.org), which provides a TCPSocket interface in javascript (emulated over HTTP using ajax and comet.) This TCPSocket allows true bi-directional communication between a web browser and an arbitrary tcp server. One of the other developers pointed me to a recent dovecot thread about webmail. Sorry for the new thread (I just joined
2010 Oct 20
2
Mechanize::ResponseCodeError: 500
Also, excuse me if my issue is a little bit application-specific. I need Mechanize to submit bunch of data from our server to an online reservation system. The url ishttp://hajres.iranair.com/haj/request.php" It works in my browser however, using mechanize following error appears: >> agent.get("http://hajres.iranair.com/haj/request.php") Net::HTTP::Get: /haj/request.php
2006 Aug 16
1
ActionMailer cannot use SMTP for email delivery...
RoR aficionados, I''ve configured ActionMailer for SMTP delivery of emails, and have configured "config/environment.rb" accordingly, including the address of our (external, but fully operational - checked and double-checked :-) SMTP server. Sending out emails from my Windows development laptop works without a hitch, but on a Linux staging server using the exact same source