Does not start, caused by missing attribute in Twisted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bley (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to start bley, got the following error:
root@proxy:~# service bley restart
* Restarting intelligent greylisting daemon for Postfix bley /usr/bin/bley:171: Warning: Table 'bley_status' already exists
dbc.execute(
Traceback (most recent call last):
File "/usr/bin/bley", line 221, in <module>
bley_start()
File "/usr/bin/bley", line 184, in bley_start
twistd.
AttributeError: 'module' object has no attribute 'daemonize'
Here is my Python version and Twisted version (from packages):
root@proxy:~# python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import twisted
>>> dir(twisted)
['__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '__version__', '_checkRequirem
>>> twisted.version
Version('twisted', 13, 2, 0)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: bley 0.1.5-2
ProcVersionSign
Uname: Linux 3.13.0-119-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.25
Architecture: amd64
Date: Wed Aug 16 10:11:00 2017
InstallationDate: Installed on 2012-04-23 (1940 days ago)
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327)
PackageArchitec
SourcePackage: bley
UpgradeStatus: Upgraded to trusty on 2014-08-13 (1099 days ago)
You need this patch: /github. com/evgeni/ bley/commit/ fe64c8890d09cce e126680cda7f1b8 d1d2369764
https:/
Or just a more recent bley.