Does not start, caused by missing attribute in Twisted

Bug #1711070 reported by Luc Stepniewski
6
This bug affects 1 person
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(__CREATE_DB_QUERY)
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.daemonize()
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__', '_checkRequirements', '_version', 'python', 'version']
>>> twisted.version
Version('twisted', 13, 2, 0)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: bley 0.1.5-2
ProcVersionSignature: Ubuntu 3.13.0-119.166-generic 3.13.11-ckt39
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)
PackageArchitecture: all
SourcePackage: bley
UpgradeStatus: Upgraded to trusty on 2014-08-13 (1099 days ago)

Revision history for this message
Luc Stepniewski (lstep) wrote :
Revision history for this message
Evgeni Golov (evgeni) wrote :
Revision history for this message
Luc Stepniewski (lstep) wrote :

Could anyone add this patch to the package to have something that works?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.