python3-twisted seems to be broken for txfixture package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
twisted (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
When trying to package txfixture using regular python3-twisted package I get this:
$ ps auxwww | grep cannotlis
ubuntu 46610 0.5 0.8 34884 29268 pts/1 S+ 19:33 0:00 /usr/bin/python3.5 -Wignore:
$ cat /tmp/tmpiae4_
2017-07-21 19:33:54+0000 [-] Log opened.
2017-07-21 19:33:54+0000 [-] twistd 16.0.0 (/usr/bin/python3.5 3.5.2) starting up.
2017-07-21 19:33:54+0000 [-] reactor class: twisted.
2017-07-21 19:33:54+0000 [-] Traceback (most recent call last):
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] skt.bind(addr)
2017-07-21 19:33:54+0000 [-] PermissionError: [Errno 13] Permission denied
2017-07-21 19:33:54+0000 [-]
2017-07-21 19:33:54+0000 [-] During handling of the above exception, another exception occurred:
2017-07-21 19:33:54+0000 [-]
2017-07-21 19:33:54+0000 [-] Traceback (most recent call last):
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] self.startAppli
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] service.
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] service.
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] self._port = self._getPort()
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] 'listen%s' % (self.method,
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] p.startListening()
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] raise CannotListenErr
2017-07-21 19:33:54+0000 [-] twisted.
2017-07-21 19:33:54+0000 [-]
2017-07-21 19:33:54+0000 [-] During handling of the above exception, another exception occurred:
2017-07-21 19:33:54+0000 [-]
2017-07-21 19:33:54+0000 [-] Traceback (most recent call last):
2017-07-21 19:33:54+0000 [-] File "/usr/bin/twistd", line 18, in <module>
2017-07-21 19:33:54+0000 [-] run()
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] app.run(runApp, ServerOptions)
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] runApp(config)
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] _SomeApplicatio
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] self.postApplic
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] untilConcludes(
2017-07-21 19:33:54+0000 [-] File "/usr/lib/
2017-07-21 19:33:54+0000 [-] return f(*a, **kw)
2017-07-21 19:33:54+0000 [-] TypeError: a bytes-like object is required, not 'str'
And txfixture package hangs in
tests.test_
Because the exception is not caught by twisted (that had exception itself).
"twisted" package found at:
https:/
seems to be able to solve this.
I guess changes in between those 2 versions fix this issue.
Changed in twisted (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |