Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: David Little <david_little@bl...> - 2004-07-11 15:49:17
I am trying to adapt the LoginKit from the w4py wiki and keep getting a
no attribute '_methodForRequestType' exception in a private test.py page.
../test -> forwards to /Login page to input userID and password
-> returns to test.py and excecutes LoginPage.awake
-> calls actionLogin which sets the user
-> exits awake then barfs.
Traceback (most recent call last):
File "WebKit/Application.py", line 435, in dispatchRawRequest
File "WebKit/Application.py", line 482, in runTransaction
File "WebKit/Application.py", line 507, in runTransactionViaServlet
File "WebKit/Servlet.py", line 42, in runTransaction
File "WebKit/Transaction.py", line 106, in respond
File "WebKit/HTTPServlet.py", line 46, in respond
AttributeError: test instance has no attribute '_methodForRequestType'
self.request().method() returns 'GET'
Where should I be looking?
From: David Little <david_little@bl...> - 2004-07-13 06:32:23
On Sunday 11 Jul 2004 16:48, David Little wrote:
> I am trying to adapt the LoginKit from the w4py wiki and keep getting a
> no attribute '_methodForRequestType' exception in a private test.py page.
Pretty unintelligible question, sorry.
Found http://www.mail-archive.com/webware-discuss%40lists.sourceforge.net/ and
thence SecurePages in WebKit/examples which I've adapted.