Ticket #1533 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

nagare-admin shell error with ipython 1.0.0

Reported by: bertrand.croq Owned by: apoirier
Priority: major Component: nagare-admin
Version: 0.4.1 Keywords: ipython shell
Cc:

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'

Change History

comment:1 Changed 4 years ago by Alain Poirier <alain.poirier@…>

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