Your message dated Fri, 08 Nov 2013 19:11:23 +0000
with message-id <1383937883.14715.2.camel@wintermute>
and subject line
has caused the Debian Bug report #717312,
regarding 'TypeError: daemonize() takes exactly 2 arguments (0 given)' while
upgrading
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
717312: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717312
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pymsnt
Version: 0.11.3-5
Severity: grave
Tags: patch
Justification: renders package unusable
While upgrading the pymsnt package, dpkg bails out in the pre-removal script:
dpkg: error processing pymsnt_0.11.3-5.1_all.deb (--install):
subprocess new pre-removal script returned error exit status 1
Starting MSN transport for Jabber: Traceback (most recent call last):
File "/usr/share/pymsnt/PyMSNt.py", line 14, in <module>
main.main()
File "/usr/share/pymsnt/src/main.py", line 390, in main
app = App()
File "/usr/share/pymsnt/src/main.py", line 331, in __init__
twistd.daemonize()
TypeError: daemonize() takes exactly 2 arguments (0 given)
invoke-rc.d: initscript pymsnt, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
pymsnt_0.11.3-5.1_all.deb
The problem seems to be in line 331 of /usr/share/pymsnt/src/main.py:
twistd.daemonize()
Changing it to:
twistd.daemonize(reactor, os)
seems to make it start up.
- Michel
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 3.9-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pymsnt depends on:
ii adduser 3.113+nmu3
ii python 2.7.5-2
ii python-central 0.6.17
ii python-crypto 2.6-5
ii python-openssl 0.13-2+b1
ii python-twisted 13.0.0-1
Versions of packages pymsnt recommends:
ii python-imaging 1.1.7-4
Versions of packages pymsnt suggests:
ii ejabberd 2.1.10-5
-- Configuration Files:
/etc/pymsnt.conf.xml changed [not included]
-- no debconf information
--- src/main.py 2013-07-19 10:02:34.000000000 +0200
+++ src/main.py 2013-07-19 10:02:50.000000000 +0200
@@ -328,7 +328,7 @@
# Daemonise the process and write the PID file
if config.background and os.name == "posix":
- twistd.daemonize()
+ twistd.daemonize(reactor, os)
if config.pid:
self.writePID()
--- End Message ---
--- Begin Message ---
Version: 0.11.3-6
Bugs fixed in the above version.
--
Sam Morris
https://robots.org.uk/
PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
signature.asc
Description: This is a digitally signed message part
--- End Message ---