Displaying 20 results from an estimated 1000 matches similar to: "Mechanize: save and cancel doesn''t work in JSPWiki"
2006 Oct 11
0
Mechanize: save and cancel doesn''t work in JSPWiki: Firefox header
This the header from Firefox to the JSPWiki server when submitting the form.
There is also the redirect, but I only copied the POST.
POST /coswiki/Edit.jsp?page=OldWikiNewWikiDiff HTTP/1.1
Host: tns-fbu-22-091.corp.telenor.no:880
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7)
Gecko/20060909 Firefox/1.5.0.7
Accept:
2006 Nov 07
5
mechanize: 400 Bad Request
Hello,
when trying to access a certain HTML-frame, I get:
"in `request'': Unhandled response (WWW::Mechanize::ResponseCodeError)"
and the page returns: "400 Bad Request"
* Why?
* How to solve this?
With browser, it works.
In the logs below, I marked 4 lines with "***", where I see possible
differences in the URI. But I don''t know, if this is
2007 May 12
3
Setting form-values
Hi,
I''ve recently had some trouble setting form values in my code - for example:
require ''rubygems''
require ''mechanize''
def save(pagename, content, editsummary = '''')
agent = WWW::Mechanize.new
agent.user_agent = ''Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)''
page =
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"
2006 Dec 08
2
1 file of 16000 always being updated
Hi all!
I'm trying rsync synchronizing some directories with about 16.000 files.
After the first synchronization, the others are transfering just the
changed files, as it is expected to be, except for 1 single file, that
is not changed (size or time) and is being transfered in all
synchronization.
The file is called JSPWiki.war, and is a java war file.
I checked the size and times on both
2006 Aug 04
4
Tabs
I''m new to Ruby/Rails
I want to create Tabs similar to these...
http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People
Can someone outline the best method?
Specifically,
Is creating a tabs.html in \..apps\views\layouts and using
class PhotoController < ApplicationController
layout "tabs"
....in my
2009 May 26
1
compile errors on latest hg trunk
Hi,
I think there are some files missing (regarding auth mech-external):
compile error (did fresh autogen.sh):
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-auth
-I../../src/lib-sql -I../../src/lib-settings -I../../src/lib-ntlm
-I../../src/lib-otp -I../../src/lib-master
-DAUTH_MODULE_DIR=\""/opt/dovecot-2.0/lib/dovecot/auth"\"
2007 May 22
1
[PATCH] add some const's
Add some const's. I think patch is self-explaining :)
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
# HG changeset patch
# User Andrey Panin <pazke at donpac.ru>
# Date 1179812865 -14400
# Node ID a486a946dfa135e8c7d4083aacaef45d5386aa11
# Parent e1b3043c0d90cd346cc8cbfb6d1de3917dda5121
2010 Nov 19
1
2.0 hg build failing...
>From the make output:
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -Wstrict-aliasing=2 -Wl,--as-needed -o .libs/auth
auth.o auth-cache.o auth-client-connection.o auth-master-connection.o
mech-otp-skey-common.o mech-plain-common.o auth-penalty.o
auth-request.o auth-request-handler.o
2005 Nov 09
0
More informations on mysql bug
/bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall
-W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast
-I/usr/kerberos/include -o dovecot-auth auth.o auth-cache.o
auth-client-connection.o auth-master-connection.o auth-master-listener.o
auth-module.o auth-request.o auth-request-handler.o auth-stream.o
2020 Aug 14
0
2.3.11.3 on 32bit platforms
See also the 32bit build failures on Debian:
https://buildd.debian.org/status/package.php?p=dovecot
There are some compiler warnings on 32bit architectures in test-mech.c
test-mech.c: In function ?test_mechs?:
test-mech.c:326:61: warning: format ?%lu? expects argument of type
?long unsigned int?, but argument 4 has type ?unsigned int?
[-Wformat=]
326 | const char *testname =
2010 May 05
1
2.0 FTBFS since sqlpool changes when --with-sql=plugin is used
Hi,
yesterday lib-sql got driver-sqlpool with some changes in Makefile.am, but
these changes in makefile works only for --with-sql=yes. When --with-sql=plugin
is used build fails with:
libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
m64 -mtune=generic -Wall -W -Wmissing-prototypes
2005 Dec 30
1
Compile problem on FreeBSD 6.0-STABLE
Trying to update to dovecot-1.0.alpha5 and seeing this at compile time:
mech-gssapi.o mech-gssapi.c; then mv -f ".deps/mech-gssapi.Tpo"
".deps/mech-gssapi.Po"; else rm -f ".deps/mech-gssapi.Tpo"; exit 1; fi
mech-gssapi.c:30:27: gssapi/gssapi.h: No such file or directory
mech-gssapi.c:42: error: syntax error before "gss_ctx_id_t"
mech-gssapi.c:51: error:
2007 Mar 16
2
crypt missing (configure problem)
Hi, I need some feedback for the following problem I encountered
compiling dovecot.
It seems to be a wrong check in configure, that comes out in a fatal
error (crypt symbol not found because the -lcrypt is omitted).
With these configure parameters no crypt module is recognized (and so
the need_crypt variable is still off), but at compile time gcc fails
to create executables.
I solve the issue
2007 May 23
4
Error when posting form
Trying to submit a form is resulting in the following error:
>> page = agent.submit(f, f.buttons.first)
query: "action=start&quick=Y&clientApp=0&clientID=MCO"
Net::HTTP::Post: /dealerApply/controller.jsp
using cookie:
JSESSIONID=GJ4NCvGJDTlrvrKsLw17hZ3FnlXFdVkvB5hh1jLkHKcH4Tn27371!-538794652
request-header: accept-language => en-us,en;q0.5
request-header: connection
2004 Jul 22
1
[PATCH] add LOGIN authentication mechanism
Hello,
attached patch (1.0-test29) adds LOGIN authentication mechanism.
Tested with KMail and seems working.
Please consider applying.
Best regards.
P.S. I also have NTLM authentication working and plan to
submit it RSN.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -urpNX /usr/share/dontdiff
2004 May 21
2
feature request / question?
Occasionally we get a user who decided they need to pop their account 3
to 4 times a second... usually I just disable their account and shout
"no!", but now I have someone trying to do it repeatedly with an invalid
username so I don't know who to spank. =) Before if this happened I
would block the IP and wait for someone to complain... dovecot doesn't
make that very
2006 Dec 09
1
manipulate headers?
Hi...
Here''s a working Perl script that I want to be able to do in Ruby:
use WWW::Mechanize;
my $url = "http://host/tt?name=chris";
my $mech = WWW::Mechanize->new();
$mech->add_header( Referer => "http://chrismcmahonsblog.blogspot.com" );
$mech->add_header( Cookie => "messageid=170118; memberid=1007");
$mech->get($url)
so the header
2007 Jan 11
1
Build problems with non-standard location of mysql libs
Overall the build process for dovecot is very clean. I did however run
into a significant problem when it came to locating the mysql libraries,
especially when building a 64 bit executable but similar problems
occured building a 32 bit executable. I am describing the 64 bit build
issues below since that is the worst case scenario. Fixing the 64 bit
build will automatically fix the 32 bit
2006 Apr 13
1
Failing to compile beta7
I'm running a debian box, and trying to compile beta7, but getting the error
below. Any suggestions on what I'm missing would be greatly appreciated.
End of output from Make:
...
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o
dovecot-auth auth.o auth-cache.o auth-client-connection.o