Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 58)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#29 fixed nagare-admin batch and imports apoirier bertrand.croq

Reported by bertrand.croq, 9 years ago.

Description

Scripts called using nagare-admin batch thescript.py sometime fail with NameError: global name '...' is not defined.

Failing code:

from nagare import examples
print examples
def tst():
  print examples # <-- fails here
tst()

Not failing code:

from nagare import database
print database
def tst():
  print database
tst()
#47 fixed set_publisher() called when using "nagare-admin create-db" apoirier bertrand.croq

Reported by bertrand.croq, 8 years ago.

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
#49 fixed reset configuration ignored by memcached_sessions apoirier bertrand.croq

Reported by bertrand.croq, 8 years ago.

Description

The memcached.flush_all() call is done before Sessions.set_config() if given a chance to give the configuration.

As the default value for reset is True, flush_all() is always called.

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