Authentication error when load 0.9 spec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txamqp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Authentication error when load 0.9 spec.
Code for reproduce bug (tx_error.py):
# -*- coding: utf-8 -*-
from twisted.
from twisted.internet import reactor
from twisted.
from twisted.python import log
from txamqp.protocol import AMQClient
from txamqp.client import TwistedDelegate
import txamqp.spec
@inlineCallbacks
def gotConnection(conn, username, password):
print "Connected to broker."
yield conn.authentica
print "Authenticated. Ready to receive messages"
chan0 = yield conn.channel(0)
yield chan0.connectio
reactor.stop()
if __name__ == "__main__":
host = 'localhost'
port = 5672
vhost = '/'
username = 'guest'
password = 'guest'
SPEC = 'https:/
#SPEC = 'https:/
spec = txamqp.
delegate = TwistedDelegate()
d = ClientCreator(
d.addCallba
def whoops(err):
if reactor.running:
d.addErrbac
reactor.run()
Console output:
$ python tx-error.py
Connected to broker.
Unhandled Error
Traceback (most recent call last):
Failure: txamqp.
]
In last trunk all work Ok.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-txamqp 0.6.1-0ubuntu2
ProcVersionSign
Uname: Linux 3.13.0-30-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Jul 12 14:08:59 2014
InstallationDate: Installed on 2011-12-10 (944 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
SourcePackage: txamqp
UpgradeStatus: Upgraded to trusty on 2014-04-23 (80 days ago)