Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 58)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#20 fixed nagare webserver should indicate date and time of restart apoirier metaperl

Reported by metaperl, 9 years ago.

Description

I start my nagare web server with

nagare-admin serve appname --reload

But when the server restarts, I get the message:


Application 'app gnumatrix' registered as '/gnumatrix' serving on  http://127.0.0.1:8080

But the thing is, I would prefer that the 'Restarting' line indicate the date and time of restart, so I can be sure that it restarted because of my most recent code change.

#21 fixed wsgi.py - database.session.clear() called too late apoirier bertrand.croq

Reported by bertrand.croq, 9 years ago.

Description

In wsgi.py, database.session.clear() is called before phase1, but after security.set_user() is called. If the user is fetched from the database, this is a problem.

Shouldn't the session be cleared (or closed, as this seem to be prefered in  http://www.sqlalchemy.org/docs/04/session.html#unitofwork_using_expunge) at the end of each wsgi call ?

#22 fixed h.img.action and callbacks.clear_not_used apoirier bertrand.croq

Reported by bertrand.croq, 9 years ago.

Description
class A:
    def img(self):
        return '..........' # the image

class Something:
    pass

@presentation.render_for(Something)
def render(*args)
    return (h.img.action(A().img()),
            h.img.action(A().img()))

The generated HTML for Something is ok. But when the browser asks for the first image, callbacks.clear_not_used is called in WSGIApp.__call__, which deletes the callback for the second image.

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Note: See TracQuery for help on using queries.