Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


WebStyle: fix WSGI handler generated errors in apache.err #451

tiborsimko opened this Issue · 2 comments

3 participants


Originally on 2011-01-19

WSGI handler generates lots of entries in apache.err like this:

[Wed Jan 19 15:15:04 2011] [error] /usr/local/lib/python2.6/dist-packages/invenio/ DeprecationWarning: object.__init__() takes no parameters
[Wed Jan 19 15:15:04 2011] [error]   str.__init__(self, value)

It would be good to fix this in order not to overflow apache.err unnecessarily.

@kaplun kaplun was assigned by tiborsimko

Originally on 2011-02-22

The attached patch fixes the warning.


Originally by Samuele Kaplun on 2011-02-22

In [69fe5e5]:

#CommitTicketReference repository="" revision="69fe5e5eb21c45747ebde843f0648f24293c8f8c"
WebStyle: fix StringField definition

- StringField in webinterface_handler_wsgi_utils is derived from
  the immutable str builtin type. In order to be initialized
  it requires appropriate usage of __new__ special method instead
  of __init__. (closes #451)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.