Ticket #47 (closed bug: fixed)

Opened 8 years ago

Last modified 8 years ago

set_publisher() called when using "nagare-admin create-db"

Reported by: bertrand.croq Owned by: apoirier
Priority: major Component: publishers
Version: Keywords:
Cc:

Description

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/main.py", line 73, in main
    command.run(parser, options, args)  # Run the command
  File "NetBeansProjects/nagare/core/nagare/admin/db.py", line 65, in create
    for (metadata, populate) in read_options(options.debug, args, parser.error):
  File "NetBeansProjects/nagare/core/nagare/admin/db.py", line 49, in read_options
    return util.activate_WSGIApp(app, cfgfile, aconf, error, debug=debug)[1]
  File "NetBeansProjects/nagare/core/nagare/admin/util.py", line 328, in activate_WSGIApp
    app.set_publisher(publisher)
  File "NetBeansProjects/intcvs/nagare/gnfa12/eprofil/application.py", line 39, in set_publisher
    assert(publisher is not None)
AssertionError

Change History

comment:1 Changed 8 years ago by apoirier

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.