Ticket #921 (closed enhancement: fixed)

Opened 13 years ago

Last modified 13 years ago

use ipython in bcfg2-info debug mode

Reported by: Owned by: desai
Priority: major Milestone: Bcfg2 1.1.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Cc:


Here is a patch that tries to load ipython when interactive debug is started. If ipython is not installed, it falls back to the standard shell.

Sol wanted bpython. The code for that will be something like:

from bpython import cli

He'll need to look up what argument main() needs to include locals().

If bpython also gets added, then there will need to be a way to specify which is preferred. I originally thought it could try ipython and fallback to bpython and then fallback to python, but that wouldn't be fair to Sol. So, I will leave the UI design decision for someone else.


bcfg2-info.diff (945 bytes) - added by 13 years ago.
initial patch

Change History

Changed 13 years ago by

initial patch

comment:1 Changed 13 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from Bcfg2 1.2.0 Release to Bcfg2 1.1.0 Release

Added in [d6b3084cbc96307c44ebfd734f88d2692a85c6c7] (SVN r6034). Thanks for the patch!

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.