New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger 1.3 crashing on Telnet connections #68

merged 1 commit into from Feb 1, 2013


None yet
1 participant

jathanism commented Feb 1, 2013

Looks like we introduced a nice new bug w/ telnet:

Fetching credentials from /home/jathan/.tacacsrc
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python/site-packages/twisted/python/", line 84, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/local/lib/python/site-packages/twisted/python/", line 69, in callWithContext
    return{ILogContext: newCtx}, func, *args, **kw)
  File "/usr/local/lib/python/site-packages/twisted/python/", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python/site-packages/twisted/python/", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/local/lib/python/site-packages/twisted/internet/", line 586, in _doReadOrWrite
    why = selectable.doRead()
  File "/usr/local/lib/python/site-packages/twisted/internet/", line 199, in doRead
    rval = self.protocol.dataReceived(data)
  File "/usr/local/lib/python/site-packages/twisted/conch/", line 588, in dataReceived
  File "/usr/local/lib/python/site-packages/trigger/", line 1439, in login_state_machine
  File "/usr/local/lib/python/site-packages/trigger/", line 1508, in state_login_pw
    pw = NetDevices().find(
exceptions.AttributeError: TriggerTelnet instance has no attribute 'host'

@ghost ghost assigned jathanism Feb 1, 2013

jathanism added a commit that referenced this pull request Feb 1, 2013

Merge pull request #68 from jathanism/issue-68
Trigger 1.3 crashing on Telnet connections

@jathanism jathanism merged commit 24ae23d into trigger:develop Feb 1, 2013

@jathanism jathanism deleted the jathanism:issue-68 branch Feb 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment