Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tiborsimko opened this issue Apr 30, 2014 · 2 comments
Closed

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

tiborsimko opened this issue Apr 30, 2014 · 2 comments

Comments

@tiborsimko
Copy link
Member

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/webinterface_handler_wsgi_utils.py:368: 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
Copy link
Member

kaplun commented Apr 30, 2014

Originally on 2011-02-22

The attached patch fixes the warning.

@invenio-developers
Copy link

Originally by Samuele Kaplun samuele.kaplun@cern.ch 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)

fschwenn pushed a commit to fschwenn/invenio that referenced this issue Apr 25, 2019
…0_dates

BibAuthorId: replace strftime to handle dates<1900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants