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
merged 1 commit into from Feb 1, 2013

Conversation

Projects
None yet
1 participant
@jathanism
Member

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/log.py", line 84, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/local/lib/python/site-packages/twisted/python/log.py", line 69, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/local/lib/python/site-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python/site-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/local/lib/python/site-packages/twisted/internet/posixbase.py", line 586, in _doReadOrWrite
    why = selectable.doRead()
  File "/usr/local/lib/python/site-packages/twisted/internet/tcp.py", line 199, in doRead
    rval = self.protocol.dataReceived(data)
  File "/usr/local/lib/python/site-packages/twisted/conch/telnet.py", line 588, in dataReceived
    self.applicationDataReceived(''.join(appDataBuffer))
  File "/usr/local/lib/python/site-packages/trigger/twister.py", line 1439, in login_state_machine
    next_state()
  File "/usr/local/lib/python/site-packages/trigger/twister.py", line 1508, in state_login_pw
    pw = NetDevices().find(self.host).loginPW
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