Your message dated Tue, 6 Jun 2006 11:41:45 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#370682: reportbug doesn't upgrade correctly nor is capable
of being executed (due to bad python tabbing)
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: reportbug
Version: 3.21
Severity: grave
Upgrading reportbug to 3.21 fails with the following error:
Setting up reportbug (3.21) ...
Compiling /usr/share/reportbug/reportbug_submit.py ...
File "/usr/share/reportbug/reportbug_submit.py", line 354
while failed != True:
^
SyntaxError: invalid syntax
dpkg: error processing reportbug (--configure):
subprocess post-installation script returned error exit status 1
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-pegasos
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Version infos:
[EMAIL PROTECTED]:~$ dpkg -s python2.3 | grep ^Version:
Version: 2.3.5-9.1
[EMAIL PROTECTED]:~$ dpkg -s libc6 | grep ^Version:
Version: 2.3.6-13
Regards,
--
l=2001;main(i){float o,O,_,I,D;for(;O=I=l/571.-1.75,l;)for(putchar(--l%80?
i:10),o=D=l%80*.05-2,i=31;_=O*O,O=2*o*O+I,o=o*o-_+D,o+_+_<4+D&i++<87;);puts
(" Harry 'Piru' Sintonen <[EMAIL PROTECTED]> http://www.iki.fi/sintonen");}
--- End Message ---
--- Begin Message ---
Version: 3.21.1
Already fixed in incoming (I think this is dupe report #6, and
probably the 3rd patch I've received), but thanks nonetheless.
On 6/6/06, Alvaro G. M. <[EMAIL PROTECTED]> wrote:
Package: reportbug
Version: 3.21
Severity: grave
Tags: patch
Justification: renders package unusable
When executing reportbug
[EMAIL PROTECTED]:~$ reportbug
Traceback (most recent call last):
File "/usr/bin/reportbug", line 52, in ?
import reportbug_submit
File "/usr/share/reportbug/reportbug_submit.py", line 354
while failed != True:
^
SyntaxError: invalid syntax
It's just a tabbing matter, so I attach here the patch for this and
a lacking colon after an "if-clause", in between the same "while" loop:
--- /usr/share/reportbug/reportbug_submit.py 2006-06-06 13:21:08.000000000
+0200
+++ /usr/share/reportbug/reportbug_submit.py.old 2006-06-06
13:21:16.000000000 +0200
@@ -350,34 +350,34 @@
toaddrs = [x[1] for x in alist]
smtp_message = re.sub(r'(?m)^[.]', '..', message)
- # Modified by AP 2006-03-29
- while failed != True:
- ewrite("Connecting to %s via SMTP...\n", smtphost)
- try:
- conn = smtplib.SMTP(smtphost)
- if smtptls:
- conn.starttls()
- if smtpuser:
- if not smtppasswd:
- smtppasswd = ui.get_password(
- 'Enter SMTP password for [EMAIL
PROTECTED]: ' %
- (smtpuser, smtphost))
- conn.login(smtpuser, smtppasswd)
- conn.sendmail(fromaddr, toaddrs, smtp_message)
- conn.quit()
- except (socket.error, smtplib.SMTPException), x:
-
- # If wrong password, try again...
- if smtplib.SMTPResponseException.smtp_code == '535':
- ewrite('SMTP error: authentication failed. Try
again.')
- continue
-
- failed = True
- ewrite('SMTP send failure: %s\n', x)
- fh, msgname = TempFile(prefix=tfprefix)
- fh.write(message)
- fh.close()
- ewrite('Wrote bug report to %s\n', msgname)
+ # Modified by AP 2006-03-29
+ while failed != True:
+ ewrite("Connecting to %s via SMTP...\n", smtphost)
+ try:
+ conn = smtplib.SMTP(smtphost)
+ if smtptls:
+ conn.starttls()
+ if smtpuser:
+ if not smtppasswd:
+ smtppasswd = ui.get_password(
+ 'Enter SMTP password
for [EMAIL PROTECTED]: ' %
+ (smtpuser, smtphost))
+ conn.login(smtpuser, smtppasswd)
+ conn.sendmail(fromaddr, toaddrs, smtp_message)
+ conn.quit()
+ except (socket.error, smtplib.SMTPException), x:
+
+ # If wrong password, try again...
+ if smtplib.SMTPResponseException.smtp_code ==
'535'
+ ewrite('SMTP error: authentication
failed. Try again.')
+ continue
+
+ failed = True
+ ewrite('SMTP send failure: %s\n', x)
+ fh, msgname = TempFile(prefix=tfprefix)
+ fh.write(message)
+ fh.close()
+ ewrite('Wrote bug report to %s\n', msgname)
else:
try:
pipe.write(message)
-- Package-specific info:
** /root/.reportbugrc:
reportbug_version "3.17"
mode standard
ui text
realname "Alvaro G. M."
email "[EMAIL PROTECTED]"
no-check-uid
-- System Information:
Debian Release: testing/unstable
APT prefers experimental
APT policy: (999, 'experimental'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages reportbug depends on:
ii python2.3 2.3.5-9.1 An interactive high-level object-o
Versions of packages reportbug recommends:
pn python2.3-cjkcodecs | python2 <none> (no description available)
-- no debconf information
--
Chris Lawrence - http://blog.lordsutch.com/
--- End Message ---