Custom Query (58 matches)


Show under each result:

Results (49 - 51 of 58)

Ticket Resolution Summary Owner Reporter
#47 fixed set_publisher() called when using "nagare-admin create-db" apoirier bertrand.croq

Reported by bertrand.croq, 10 years ago.


When using "nagare-admin create-db", WSIApp.set_publisher() is called with None as a publiser:

Traceback (most recent call last):
  File "projects/gnfa12/dev/2.1.0/bin/nagare-admin", line 8, in <module>
    load_entry_point('nagare==0.2.0-r186', 'console_scripts', 'nagare-admin')()
  File "NetBeansProjects/nagare/core/nagare/admin/", line 73, in main, options, args)  # Run the command
  File "NetBeansProjects/nagare/core/nagare/admin/", line 65, in create
    for (metadata, populate) in read_options(options.debug, args, parser.error):
  File "NetBeansProjects/nagare/core/nagare/admin/", line 49, in read_options
    return util.activate_WSGIApp(app, cfgfile, aconf, error, debug=debug)[1]
  File "NetBeansProjects/nagare/core/nagare/admin/", line 328, in activate_WSGIApp
  File "NetBeansProjects/intcvs/nagare/gnfa12/eprofil/", line 39, in set_publisher
    assert(publisher is not None)
#52 fixed Tell what component tries to answer without having an _on_answer or a caller apoirier bertrand.croq

Reported by bertrand.croq, 9 years ago.


Nagare raises an AnswerWithoutCall exception when a component answers without having an _on_answer or a caller. Debugging would be easier if we could know which component raises the exception.

#67 fixed The serializer can't serialize a list of DOMs apoirier apoirier

Reported by apoirier, 9 years ago.


Exception :

NoApplicableMethods: (([<Element div at 2a9f0a0>, <Element div at 2a9f0d8>], 'text/html', '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "">', False), {})

with this code:

from nagare import presentation, ajax

class C:

@presentation.render_for(C, model='async')
def render(self, h, *args):
    h << h.div('foo')
    h << h.div('bar')
    return h.root  # Returning a list of 2 DOMs

def render(self, h, comp, *args):
    h << h.div(id='async_div')
    h << h.a('Click me').action(ajax.Update(
                              render=lambda h: comp.render(h, model='async'),
    return h.root
Note: See TracQuery for help on using queries.