Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 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, 6 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.

#1508 fixed nagare-admin shell error with ipython 0.11 apoirier bertrand.croq

Reported by bertrand.croq, 6 years ago.

Description

In IPython 0.11, there is no IPython.Shell so using "nagare-admin shell" raises an exception.

Here is a proposed fix.

#1533 fixed nagare-admin shell error with ipython 1.0.0 apoirier bertrand.croq

Reported by bertrand.croq, 4 years ago.

Description

I get an Exception when using "nagare-admin shell admin" with IPython 1.0.0:

Traceback (most recent call last):
  File "/home/bcq/.virtualenvs/nagare/bin/nagare-admin", line 9, in <module>
    load_entry_point('nagare==0.4.1-r454', 'console_scripts', 'nagare-admin')()
  File "/home/bcq/.virtualenvs/nagare/lib/python2.7/site-packages/nagare-0.4.1_r454-py2.7.egg/nagare/admin/command.py", line 186, in run
    return commands.parse(sys.argv[1:], (os.path.basename(sys.argv[0]),))
  File "/home/bcq/.virtualenvs/nagare/lib/python2.7/site-packages/nagare-0.4.1_r454-py2.7.egg/nagare/admin/command.py", line 154, in parse
    return self[name].parse(argv, commands + (name,))
  File "/home/bcq/.virtualenvs/nagare/lib/python2.7/site-packages/nagare-0.4.1_r454-py2.7.egg/nagare/admin/command.py", line 64, in parse
    return self.run(parser, *parser.parse_args(argv))
  File "/home/bcq/.virtualenvs/nagare/lib/python2.7/site-packages/nagare-0.4.1_r454-py2.7.egg/nagare/admin/shell.py", line 266, in shell
    create_python_shell(options.ipython, banner, [app.name for app in ns['apps'].values()], ns)
  File "/home/bcq/.virtualenvs/nagare/lib/python2.7/site-packages/nagare-0.4.1_r454-py2.7.egg/nagare/admin/shell.py", line 237, in create_python_shell
    shell_factory(IPython, banner, app_names, ns)()
  File "/home/bcq/.virtualenvs/nagare/lib/python2.7/site-packages/nagare-0.4.1_r454-py2.7.egg/nagare/admin/shell.py", line 163, in __init__
    self.shell = ipython.frontend.terminal.embed.InteractiveShellEmbed(config=config, user_ns=ns, banner1=banner)
AttributeError: 'module' object has no attribute 'frontend'

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.