similar to: bug or desired behaviour? couldn’t identify form using string ‘post’ but ‘POST’. html contains ‘post’ though

Displaying 20 results from an estimated 2000 matches similar to: "bug or desired behaviour? couldn’t identify form using string ‘post’ but ‘POST’. html contains ‘post’ though"

2007 Aug 21
7
Signin to LinkedIn
Hi, Does anyone have the formula for getting logged into LinkedIn? Here''s my current attempt: require ''rubygems'' require ''mechanize'' agent = WWW::Mechanize.new home_page = agent.get(''http://www.linkedin.com'') signin_page = agent.click home_page.links.text(''Sign in'') puts "\nSIGNIN PAGE"
2008 Nov 03
2
Multiple Submit Buttons
Hello. I have run into a new form that contains multiple submit buttons. Currently my code for working with forms looks just like this example. require ''rubygems'' require ''mechanize'' a = WWW::Mechanize.new { |agent| agent.user_agent_alias = ''Mac Safari'' } a.get(''http://google.com/'') do |page|
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'')
2007 May 20
0
Urgent :: File Object problem
disclaimer: Im not a developer, in fact I know very little of Ruby. I had this script made for me by Endax, LLC. I have run into problems with the script and they are unable/unwilling to help resolve the issue. The script was working fine for a while, but now when I run it I get the following error in the Ruby editor: >ruby realtor_scraper.rb realtor_scraper.rb:54:in `initialize'':
2009 Sep 25
0
WWW::Mechanize and Rails console not playing well
I can run this code just fine in irb, but when I run it in rails script/console, I get an error: >> res = agent.submit(search_form, search_form.buttons.first) ArgumentError: one hash required from /home/jwoods/NetBeansProjects/activista/vendor/rails/ actionmailer/lib/../../actionpack/lib/../../activesupport/lib/ active_support/core_ext/string/interpolation.rb:85:in `%''
2009 Sep 17
1
Load Error Using Mechanize Gem
Hi, I''m getting a "Could not open any of [xml2, xslt, exslt] (LoadError)" error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem. The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ''xml2'', ''xslt'', ''exslt'' Not sure if there are missing gems, and if so,
2004 Sep 03
2
Forcing RIDs to desired value
I found that after moving my samba server to different hardware (and diferent Linux installation), domain logons cannot find their Windows profiles and created new ones. This is caused by the different RID of the users. It seems these are calculated as 2*UID + 1000. And my UID's on new server do not match those on the old one. How to force SAMBA to provide different RIDs for the users? I do
2011 Mar 27
2
LinkedIn still not working?
To clarify the issue I posted earlier: I am on OS X 10.6.7. Trying to use Mechanize to log in to LinkedIn. As others have posted about in the past, when I submit the form it kicks me back to the LinkedIn landing page, and does not log me in. I read the earlier discussion of the issue that mentioned how cookie values were being improperly dequoted when stored. But I thought that issue was fixed.
2006 Apr 21
1
Catch authentication result from a model in a controller
Im still following the authorization recipe from the book, now all works fine but im getting trouble in how handle the model authorization result, if the user and pass are correct, it goes to a welcome screen(admin.rhtml) but if wrong the model prints a message in an ugly exception like page "usr and pass not correct", i want to redirect the user to the login
2005 Dec 30
2
I have problem and/or not fully underestand rails --svn
I experimented with rails --svn option. I use following commands 1 $ su root "mkdir -p /var/lib/svn/projekt; chown radek:radek /var/lib/svn/projekt" 2 Password:heslo roota 3 $ svnadmin create /var/lib/svn/projekt 4 $ mkdir -p /tmp/projekt/trunk 5 $ svn import -m "Creating empty project projekt" /tmp/projekt file:///var/lib/svn/projekt 6 //var/lib/svn/pokus 7
2014 Nov 18
2
[LLVMdev] finalizeObject function implemetation in MCJIT is wrong
Hi Radek, Sorry for the delayed response. I haven't had time to check your analysis yet, but you're probably right: MCJIT's support for multiple modules in a single instance is patchy at best. Do you have a test case (e.g. an lli invocation) that triggers this bug, or is this something you discovered just by reading the code? Cheers, Lang. On Thu, Nov 13, 2014 at 8:46 AM, David
2006 Feb 15
6
Problem creating appdoc documentation
Hello, can anyone help me. After a few weeks I returned to the rails to play with it. But I recognize that I''m now not abble to build appdoc. The same thing that few weeks ago worked without an problem now give me an error: unrecognized option `--line-numbers --inline-source'' $ rake --trace --verbose reappdoc (in /home/radek/src/firma/giga-net/ncc/work) ** Invoke reappdoc
2002 Aug 06
8
converting MASQ from ipchains
Hello, on my old system I''m using ipchains. Can anyone help me with converting rule /sbin/ipchains -A forward -j MASQ -s source_addr -d destination_addr 443 -p tcp to shorewall. I know that I can write eth0 source_addr to /etc/shorewall/masq file but I can''t found where I can specify the destination address. The reason for this is to allow one user (computer) access only to
2007 Aug 15
1
Dovecot deliver + sieve + postfix virtual + mysql ?
Hey there guys. I have successful postfix + mysql + sagator + clamav + spamassassin + dovecot setup (it was a really crazy month full of tweaking :]) and the only thing i miss is some per maildir specific filtering. i decided to use sieve. everything is fine except that dovecot's deliver process doesn't see the actual .dovecot.sieve file with filtering rules in the root of a maildir.
2007 Nov 05
0
Re: CentOS Digest, Vol 34, Issue 5
> ------------------------------ > > Message: 4 > Date: Sun, 04 Nov 2007 18:38:14 +0200 > From: Bazy <bazy at goofy.celuloza.ro> > Subject: Re: [CentOS] tftp-server > To: CentOS mailing list <centos at centos.org> > Message-ID: <472DF576.2030601 at goofy.celuloza.ro> > Content-Type: text/plain; charset=ISO-8859-1 > > Radek Bursztynowski wrote:
2005 Dec 05
1
ip route doesn''t not work with virtual inferfaces
I have two IP for eth0 which correspond to eth0 and eth0:1 I want to create a route to 192.168.66.0/24 via 192.168.0.50 from eth0:1 so I add the route with ip route add 192.168.66.0/24 via 192.168.1.2 dev eth0:1 but when I connect to 192.168.66.0/24 network in connects still using the IP of eth0, not the IP of eth0:1 as one would expect. What''s strange to me is that ip route list
2004 Dec 22
1
tftpd - r rule seems to be still broken
This is an example rule from sample.rules r ^[^/] /tftpboot/\0 # Convert non-absolute files but it seems to be broken in tftpd-0.40. This comes from syslog when accesing sample file on server. Dec 22 14:11:35 localhost in.tftpd[10443]: r rules cannot be inverted, line 1: ^[^/] /tftpboot/\0 # Convert non-absolute files this was already present in 0.39 version and according
2006 Mar 22
1
tftpd-hpa-0.42 bug when hitting ^C
Start tftp with no host name Enter a host name When looking at the tftp> prompt press ^C $ tftp (to) localhost tftp> *** glibc detected *** double free or corruption (fasttop): 0x08b8b9c0 *** Aborted I've attached a patch fixing this issue but I'm not convinced this is the right way to do it. Radek -- Radek Vok?l <rvokal at redhat.com> -------------- next part
2007 Mar 01
1
object is not subsettable
Dear colleagues, I've just come across a problem with the following command which is a part of the "metaOverview.R" code file provided as an monography- accompanying file at http://www.bioconductor.org/docs/mogr/metadata: ################################## R> hasChr <- eapply(GOTERM, function(x) + x[grep("chromosome", Term(x))]) Error in
2006 Aug 10
4
1.1.5 Upgrade and config.load_path not working
Hey, I am trying to upgrade to 1.1.5 and rails no longer finds my controllers the live outside app/controllers. I was on 1.1.2 previously and here is my setup In environment.rb config.load_paths += [File.join(File.expand_path(RAILS_ROOT), "rails_shared/controllers") ] config.load_paths += [File.join(File.expand_path(RAILS_ROOT), "rails_shared/helpers") ]