Custom Query (58 matches)


Show under each result:

Results (19 - 21 of 58)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Resolution Summary Owner Reporter
#22 fixed h.img.action and callbacks.clear_not_used apoirier bertrand.croq

Reported by bertrand.croq, 11 years ago.

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

class Something:

def render(*args)
    return (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.

#1524 fixed HTML5 renderer & <abbr> tags apoirier sprat

Reported by sprat, 7 years ago.


In Nagare's HTML5 renderer, the <abbr> tag is deprecated, which renders it unusable. However, it seems that this tag is perfectly valid in HTML5: see . Can you please remove the deprecation of this tag?

#1515 fixed Incorrect padding when decoding the authentication cookie apoirier sprat

Reported by sprat, 7 years ago.


Here is the traceback of an error that seems to appear randomly on my developer box with nagare 0.3.0 :

Traceback (most recent call last):
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/", line 362, in __call__
    self.start_request(root, request, response)
  File "/home/spt/projects/pj-eureka/pj-eureka/ipages/", line 137, in start_request
    super(EurekaApplication, self).start_request(shell_comp, request, response)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/", line 262, in start_request
    security.set_user(, response)) # Create the User object
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/", line 150, in create_user
    (username, ids) = self.get_ids(request, response)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/", line 58, in get_ids
    (username, password) = self._get_ids(request, response)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/", line 128, in _get_ids
    ids = self.get_ids_from_cookie(request.cookies)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/", line 97, in get_ids_from_cookie
    return self.cookie_decode(data)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/", line 82, in cookie_decode
    return [s.decode('base64').decode('utf-8') for s in cookie.split(':')]
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/encodings/", line 42, in base64_decode
    output = base64.decodestring(input)
  File "/home/spt/opt/python-2.6.5-stackless/lib/python2.6/", line 321, in decodestring
    return binascii.a2b_base64(s)
Error: Incorrect padding

I'm not sure why the problem appear in the first place (I don't play with the cookie myself), but the decoding should never fail.

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