Certain SSH clients cause unhandled errors

Bug #257369 reported by Charles
2
Affects Status Importance Assigned to Milestone
txLoadBalancer
New
Wishlist
Duncan McGreggor

Bug Description

Certain SSH clients such as WinSCP cause the following error:

        Traceback (most recent call last):
          File "/usr/local/lib/python2.5/site-packages/twisted/python/log.py", line 36, in callWithContext
            return context.call({ILogContext: newCtx}, func, *args, **kw)
          File "/usr/local/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/usr/local/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext
            return func(*args,**kw)
          File "/usr/local/lib/python2.5/site-packages/twisted/conch/ssh/channel.py", line 137, in requestReceived
            return f(data)
        --- <exception caught here> ---
          File "/usr/local/lib/python2.5/site-packages/twisted/conch/ssh/session.py", line 51, in request_shell
            self.session.openShell(pp)
          File "/usr/local/lib/python2.5/site-packages/twisted/conch/manhole_ssh.py", line 74, in openShell
            self.width, self.height)
        exceptions.AttributeError: TerminalSession instance has no attribute 'width'

Revision history for this message
Duncan McGreggor (oubiwann) wrote :

Hrm. I'm at a loss with this one. Are there any other SSH clients that do this besides WinSCP?

Changed in txloadbalancer:
importance: Undecided → Wishlist
Revision history for this message
Duncan McGreggor (oubiwann) wrote :

Charles, I don't have a Windows machine handy to test this on, however, if you can provide more details, I might be able to offer you suggestions for applying a fix. However, what I need to know from you in order to do this is the exact set of steps you need to do in order to duplicate this problem.

Thanks!

Revision history for this message
Charles (ckaminski) wrote : Re: [Bug 257369] Re: Certain SSH clients cause unhandled errors

Hi Duncan,
There's not much to it. Just try and connect using WinSCP. Our intent was
to write a controlling application to automate the load balancer. If you
don't have a windows machine you might be out of luck on recreating.

We found it easier to just patch some of the HTML interfaces to do what we
want. If memory serves, I may have posted some of the changes so that we
could read in the current state of the load balancer.

-CK

On Fri, Oct 3, 2008 at 8:29 PM, Duncan McGreggor <email address hidden> wrote:

> Charles, I don't have a Windows machine handy to test this on, however,
> if you can provide more details, I might be able to offer you
> suggestions for applying a fix. However, what I need to know from you in
> order to do this is the exact set of steps you need to do in order to
> duplicate this problem.
>
> Thanks!
>
> --
> Certain SSH clients cause unhandled errors
> https://bugs.launchpad.net/bugs/257369
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in txLoadBalancer: A Twisted-Based TCP Load Balancer: New
>
> Bug description:
> Certain SSH clients such as WinSCP cause the following error:
>
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.5/site-packages/twisted/python/log.py", line 36, in
> callWithContext
> return context.call({ILogContext: newCtx}, func, *args, **kw)
> File
> "/usr/local/lib/python2.5/site-packages/twisted/python/context.py", line 59,
> in callWithContext
> return self.currentContext().callWithContext(ctx, func, *args,
> **kw)
> File
> "/usr/local/lib/python2.5/site-packages/twisted/python/context.py", line 37,
> in callWithContext
> return func(*args,**kw)
> File
> "/usr/local/lib/python2.5/site-packages/twisted/conch/ssh/channel.py", line
> 137, in requestReceived
> return f(data)
> --- <exception caught here> ---
> File
> "/usr/local/lib/python2.5/site-packages/twisted/conch/ssh/session.py", line
> 51, in request_shell
> self.session.openShell(pp)
> File
> "/usr/local/lib/python2.5/site-packages/twisted/conch/manhole_ssh.py", line
> 74, in openShell
> self.width, self.height)
> exceptions.AttributeError: TerminalSession instance has no attribute
> 'width'
>

Changed in txloadbalancer:
assignee: nobody → oubiwann
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.