command line history in tg-admin shell

3 views
Skip to first unread message

Javier Rojas

unread,
Aug 19, 2006, 12:36:45 PM8/19/06
to turbo...@googlegroups.com
Hi,

I've been using the shell provided by tg-admin to play with my database, and I found that I can't use the command line history!!! Even simple things like editing the line aren't possible now. A normal python shell works fine, with history, tab completion, and the like

is this TG related??

I'm not quite sure, but I kind of remember that the command line history worked fine in previous releases.

any advice will be appreciated

Javier Rojas

mgaiman

unread,
Aug 20, 2006, 2:20:57 PM8/20/06
to TurboGears
I suffer from the same issue. It only happened after the upgrade from
0.9a6 to 0.9a8 and is still there in 0.9a9.

Jorge Vargas

unread,
Aug 20, 2006, 8:56:06 PM8/20/06
to turbo...@googlegroups.com
I have 0.9.6 here and it is working

>
> any advice will be appreciated
I browser thru the changes and the only one that could affect this is
http://trac.turbogears.org/turbogears/changeset/1563
>
> Javier Rojas
>
> >
>

Javier Rojas

unread,
Aug 22, 2006, 5:55:20 PM8/22/06
to turbo...@googlegroups.com
On 8/20/06, Jorge Vargas <jorge....@gmail.com> wrote:


>  I'm not quite sure, but I kind of remember that the command line history
> worked fine in previous releases.
I have 0.9.6 here and it is working
>
>  any advice will be appreciated
I browser thru the changes and the only one that could affect this is
http://trac.turbogears.org/turbogears/changeset/1563

one more technique to avoid asking dumb questions... Thanks. Ah, BTW, I'm filling a bug report of this

Javier Rojas

Jorge Vargas

unread,
Aug 22, 2006, 9:25:35 PM8/22/06
to turbo...@googlegroups.com

actually no I didn't said that in a RTF(c0de) way I just browser
somewhere I knew and got you a half answer. as I said I don't have
anything newer then 0.9a6 so I couldn't said for sure.

by the way the ticket is #1087
>
> Javier Rojas
>
>
>
> >
>

isaac

unread,
Aug 23, 2006, 5:02:53 PM8/23/06
to turbo...@googlegroups.com
It's working OK for me (with 0.9a9)... I haven't researched this, but
see if you can update your ipython to the latest version:

easy_install -U ipython

on Mac (and probably most *nix systems):

easy_install -U --script-dir=/usr/local/bin ipython

it's worth a try. I have ipython-0.7.2

Javier Rojas

unread,
Aug 23, 2006, 5:21:36 PM8/23/06
to turbo...@googlegroups.com
On 8/23/06, isaac <ner...@gmail.com> wrote:

It's working OK for me (with 0.9a9)... I haven't researched this, but
see if you can update your ipython to the latest version:

jeje, that would be from $-\infty$ to 0.7.2...  I haven't installed nor used it. But I will. Soon.

Javier

Nigel McNie

unread,
Aug 24, 2006, 4:10:36 AM8/24/06
to turbo...@googlegroups.com
Hi guys,

This is broken for me also, but I "fixed" it by installing rlwrap
(readline wrapper). In debian:

apt-get install rlwrap

Then:

rlwrap tg-admin shell

Hopefully this will be fixed properly tho :)

Nigel

signature.asc
Reply all
Reply to author
Forward
0 new messages