Christoph Zwerschke | 18 Jan 2013 17:04
Picon
Gravatar

ANN: Webware for Python 1.1.1 released

Version 1.1.1 of Webware for Python can now be downloaded at 
http://downloads.sourceforge.net/webware/Webware-1.1.1.tar.gz.

This is a bugfix release with some fixes and small improvements.

Webware for Python is a mature and stable web framework that has been 
around since more than a decade.

Version 1.1.1 runs on Python 2.4 to 2.7.

You can find more info on the Webware for Python homepage at
http://www.webwareforpython.org/

Support is available via the Webware for Python mailing lists at
https://sourceforge.net/mail/?group_id=4866

-- Christoph Zwerschke

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
SourceForge.net | 17 Jan 2013 21:06
Picon

[ webware-Bugs-3510197 ] HTTPRequest.serverPath() fallback fails on forwarding

Bugs item #3510197, was opened at 2012-03-22 12:49
Message generated for change (Comment added) made by cito
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=3510197&group_id=4866

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: WebKit
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Adam Smith (adamdesmith)
>Assigned to: Christoph Zwerschke (cito)
Summary: HTTPRequest.serverPath() fallback fails on forwarding

Initial Comment:
HTTPRequest.serverPath() is supposed to return the path given to the web server before any rewrites. If
the SCRIPT_URL values is set, it does this correctly. If is not, it falls back to constructing this path
from the _servletPath and _pathInfo variables.

However, consider the case when a request is forwarded from one servlet to another (via
Application.forward). In this case, _pathInfo gets rewritten (forward calls includeURL, which calls
HTTPRequest.push(), which then rewrites _pathInfo via setURLPath()). Now HTTPRequest.serverURL()
returns not the originally requested URL, but instead the URL of the servlet that WebKit has forwarded the
request to.

As _pathInfo cannot reliably provide the serverPath, it should not be used in a fallback. Instead, it
(Continue reading)

SourceForge.net | 22 Mar 2012 20:49
Picon

[ webware-Bugs-3510197 ] HTTPRequest.serverPath() fallback fails on forwarding

Bugs item #3510197, was opened at 2012-03-22 12:49
Message generated for change (Tracker Item Submitted) made by adamdesmith
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=3510197&group_id=4866

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: WebKit
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Adam Smith (adamdesmith)
Assigned to: Nobody/Anonymous (nobody)
Summary: HTTPRequest.serverPath() fallback fails on forwarding

Initial Comment:
HTTPRequest.serverPath() is supposed to return the path given to the web server before any rewrites. If
the SCRIPT_URL values is set, it does this correctly. If is not, it falls back to constructing this path
from the _servletPath and _pathInfo variables.

However, consider the case when a request is forwarded from one servlet to another (via
Application.forward). In this case, _pathInfo gets rewritten (forward calls includeURL, which calls
HTTPRequest.push(), which then rewrites _pathInfo via setURLPath()). Now HTTPRequest.serverURL()
returns not the originally requested URL, but instead the URL of the servlet that WebKit has forwarded the
request to.

As _pathInfo cannot reliably provide the serverPath, it should not be used in a fallback. Instead, it
(Continue reading)

SourceForge.net | 8 Mar 2012 13:11
Picon

[ webware-Bugs-3499505 ] staticmethod uses self

Bugs item #3499505, was opened at 2012-03-08 04:11
Message generated for change (Tracker Item Submitted) made by warth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=3499505&group_id=4866

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: WebKit
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marek (warth)
Assigned to: Nobody/Anonymous (nobody)
Summary: staticmethod uses self

Initial Comment:
Hi,
a couple of days ago I got an application written in WebWare 1.1 to make some adjustments in it. 
While preparing an environment for running I've encountered a problem. The application was raising an exception:

"NameError: global name 'self' is not defined" in WebKit/HTTPContent.py:321.

After looking into this file I've found this piece of code:

     <at> staticmethod
    def callMethodOfServlet(url, method, *args, **kwargs):
        return self.application().callMethodOfServlet(self.transaction(), url, method, *args, **kwargs)
(Continue reading)

SourceForge.net | 7 Mar 2012 18:53
Picon

[ webware-Bugs-3498781 ] PooledDB crashes in Jython

Bugs item #3498781, was opened at 2012-03-07 09:53
Message generated for change (Tracker Item Submitted) made by vkruglikov
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=3498781&group_id=4866

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: WebUtils
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Vitaly Kruglikov (vkruglikov)
Assigned to: Nobody/Anonymous (nobody)
Summary: PooledDB crashes in Jython

Initial Comment:
DBUtils.PooledDB.PooledDB crashes when instantiated in Jython.

>>> DBUtils.__version__
'1.1'
>>> pymysql.VERSION
(0, 5, None)

To reproduce:

$ jython
Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06) 
(Continue reading)

SourceForge.net | 15 Aug 2011 04:42
Picon

[ webware-Bugs-3391680 ] one test failed

Bugs item #3391680, was opened at 2011-08-15 02:42
Message generated for change (Tracker Item Submitted) made by andalou
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=3391680&group_id=4866

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: WebKit
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: andalou (andalou)
Assigned to: Nobody/Anonymous (nobody)
Summary: one test failed

Initial Comment:
I'm using webware 1.1 with python 2.6.5 on Win XP
By running AllTests.py I got the following error:

======================================================================
ERROR: testAppServerStarts (WebKit.Tests.Basic.Test.TestBasicFunctionality)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\home\Romer\Webware-1.1\WebKit\Tests\AppServerTest.py", line 49, in setUp
    self.assertTrue('<h1>Welcome to Webware!</h1>' in data)
AssertionError

(Continue reading)

Christoph Zwerschke | 3 Aug 2011 23:52
Picon
Gravatar

ANN: Webware for Python 1.1 released

A new version 1.1 of the venerable Webware for Python web framework
is now available for download at
http://downloads.sourceforge.net/webware/Webware-1.1.tar.gz.

This release offers some major new features, e.g. a WSGI adapter,
sessions based on shelve or Memcached, MiddleKit supporting SQLite.

Webware requires Python 2.4 now. The code base has been cleaned up and
modernized very much; all the old cruft that was only there to support
older Python versions has been removed. The older Python versions are
still supported via the latest bugfix version 1.0.3 of the 1.0 branch
which has been released along with the current version 1.1.

You can find more info on the Webware for Python homepage at
http://www.webwareforpython.org/

Support is available via the Webware for Python mailing lists at
https://sourceforge.net/mail/?group_id=4866

-- Christoph Zwerschke

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
F. Behrens | 15 Jul 2011 11:06
Picon
Favicon

form data parsing bug


Hi all,

just wanted to report that there is a potential form data parsing
problem in WebUtils.
I wont call it a bug yet, because it could arguably be called a feature.

If you send a POST form with an URL that includes GET data then
FieldStorage will include both. Especially if you POST something like
"id=42" and have "id=23" in the URL, FieldStorage will end up with "id:
[42,23]", breaking code that expects a number here.

Typically this unwantedly happens with forms that use POST but have been
created from a GET request and do not explicitly specify an ACTION
property in the FORM tag.

This behaviour is new with 1.* and did not occur in older versions of
WebWare.

kind regards,
              Fionn

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
Christoph Zwerschke | 28 Oct 2010 22:31
Picon
Gravatar

New server for w4py.org

Just a quick note to let you know we migrated the Webware project site 
to a new machine. The website and repositories should now be noticeably 
faster. If anything does not work as expected or you are missing 
anything that was there on the old server, let us know.

Thanks go to tummy.com for complimentary providing the new server, as 
they already did in the past. They are really generous and supportive, 
so I highly recommend their services if you are looking for managed 
hosting of your Webware apps or other Linux based services.

-- Christoph

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
SourceForge.net | 28 Oct 2010 20:39
Picon
Favicon

[ webware-Bugs-3016673 ] Class cache fails using servlet inheritance

Bugs item #3016673, was opened at 2010-06-15 21:17
Message generated for change (Settings changed) made by cito
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=3016673&group_id=4866

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: WebKit
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Patrick Gendron (gendrop)
Assigned to: Nobody/Anonymous (nobody)
Summary: Class cache fails using servlet inheritance

Initial Comment:
The following code will fail:

Root.py:
from WebKit.Page import Page
class Root (Page):
    def writeHTML (self):
        Page.writeHTML (self)

A.py:
from Root import Root
class A (Root):
(Continue reading)

SourceForge.net | 12 Oct 2010 10:26
Picon
Favicon

[ webware-Patches-3085782 ] comment6, dunhill cigarette, pall mall, mobile dating servic

Patches item #3085782, was opened at 2010-10-12 08:26
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=3085782&group_id=4866

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CGIWrapper
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Chuck Esterbrook (echuck)
Summary: comment6, dunhill cigarette, pall mall, mobile dating servic

Initial Comment:
comment6, dunhill cigarette, pall mall, mobile dating services, buy cigarettes, pall mall, kent blue
cigarettes, soma, dunhill, parliament.com, tramadol overnigth delivery, soma, buy ultram, tramadol
dependence, buy rothmans cigarettes, dating services, all uses for ultram, winston cigarette
addatives, ultram er abuse, christian singles dating, ultram.com, hispanic gay dating, russian
christian dating, davidoff cigarettes, parliament cigarettes, gay dating, christian single dating
site, vogue, christian dating sites utah, winston, christian dating website singles, winston, prozac
zoloft, asian woman dating service, parliament cigarette, dating services, online christian dating
services, cigarette discount, soma, ativan, lorazepam picture, dating services, pall mall cigarette,
gay dating, n
 o prescription ativan, parliament cigarette, dating sites, cheap cigarettes online, 

(Continue reading)


Gmane