Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 58)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#1516 fixed "nagare-admin create" fails with Stackless < 2.7 apoirier bertrand.croq

Reported by bertrand.croq, 7 years ago.

Description

When using Stackless 2.6 or 2.5, the "nagare-admin create" command fails with:

Traceback (most recent call last):
  File "bin/nagare-admin", line 8, in <module>
    load_entry_point('nagare==0.4.0', 'console_scripts', 'nagare-admin')()
  File "/Users/gotcha/tmp/nagare/lib/python2.6/site-packages/nagare-0.4.0-py2.6.egg/nagare/admin/main.py", line 73, in main
    command.run(parser, options, args) # Run the command
  File "/Users/gotcha/tmp/nagare/lib/python2.6/site-packages/nagare-0.4.0-py2.6.egg/nagare/admin/create.py", line 247, in run
    create_or_update(os.path.join(root, 'setup.py'), create_setup_py, upgrade_setup_py, params)
  File "/Users/gotcha/tmp/nagare/lib/python2.6/site-packages/nagare-0.4.0-py2.6.egg/nagare/admin/create.py", line 38, in create_or_update
    return (update if os.path.exists(path) else create)(path, *args, **kw)
  File "/Users/gotcha/tmp/nagare/lib/python2.6/site-packages/nagare-0.4.0-py2.6.egg/nagare/admin/create.py", line 68, in create_setup_py
    ''' % params)
File "/Users/gotcha/tmp/nagare/lib/python2.6/site-packages/nagare-0.4.0-py2.6.egg/nagare/admin/create.py", line 82, in upgrade_setup_py
print >>f, re.sub(r'^(\s*)(entry_points)', r"\1message_extractors = { '%(id)s' : [('**.py', 'python', None)] },\n\1\2" % params, setup_py, flags=re.M)
TypeError: sub() got an unexpected keyword argument 'flags'

The flags keyword in re.sub() is new in Python 2.7 but http://www.nagare.org/trac/wiki/QuickStart says that nagare works with Stackless version 2.5.2 or above.

#1532 fixed nagare-admin create-app should configure default "static" location apoirier rgomes

Reported by rgomes, 5 years ago.

Description

Since "nagare-admin create-app" creates an application skeleton according to Nagare standard directoy layout, it should also configure parameter "static" accordingly, for example:

[application] path = app example name = example static = $here/../static debug = off

#29 fixed nagare-admin batch and imports apoirier bertrand.croq

Reported by bertrand.croq, 10 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()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.