Your message dated Thu, 10 Jul 2008 00:47:02 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#471752: fixed in debian-goodies 0.42 has caused the Debian Bug report #471752, regarding [popbugs] Deletes temporary output file too quickly 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 [EMAIL PROTECTED] immediately.) -- 471752: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471752 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: debian-goodies Version: 0.40 Tags: patch Popbugs deletes the temporary output file too quickly if the browser does not block, resulting in a "File not found" error. This is because calls to os.system return immediately for these browsers, resulting in the termination of the popbugs script. This in-turn causes the temporary file created by tempfile.NamedTemporaryFile to be garbage- collected, which--by its own contract--unlinks the file. Epiphany (and other browsers) only block if they are the only instance: # killall epiphany-browser # epiphany /tmp/foo.html [Blocks] # killall epiphany-browser # epiphany /tmp/foo.html & [Blocks, but daemonised] # epiphany /tmp/bar.html # [Second instance does not block] The patch is simple; simply use a more long-lived temporary file: --- ./popbugs.orig 2007-07-09 21:37:50.000000000 +0100 +++ ./popbugs 2008-03-19 22:45:19.000000000 +0000 @@ -67,8 +67,8 @@ sys.exit(1) if outputfile == None: - output = tempfile.NamedTemporaryFile(suffix='.html') - outputfile = output.name + fd, outputfile = tempfile.mkstemp(suffix='.html') + output = os.fdopen(fd, 'w') view = 1 elif outputfile == '-': output = sys.stdout Regards, -- Chris Lamb, UK [EMAIL PROTECTED] GPG: 0x634F9A20
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: debian-goodies Source-Version: 0.42 We believe that the bug you reported is fixed in the latest version of debian-goodies, which is due to be installed in the Debian FTP archive: debian-goodies_0.42.dsc to pool/main/d/debian-goodies/debian-goodies_0.42.dsc debian-goodies_0.42.tar.gz to pool/main/d/debian-goodies/debian-goodies_0.42.tar.gz debian-goodies_0.42_all.deb to pool/main/d/debian-goodies/debian-goodies_0.42_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]> (supplier of updated debian-goodies package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Thu, 10 Jul 2008 00:30:39 +0200 Source: debian-goodies Binary: debian-goodies Architecture: source all Version: 0.42 Distribution: unstable Urgency: low Maintainer: Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]> Changed-By: Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]> Description: debian-goodies - Small toolbox-style utilities for Debian systems Closes: 405040 466811 469133 471752 475397 Changes: debian-goodies (0.42) unstable; urgency=low . * Updated to version 1.3 of debmany provided by Michael Arlt: - add bash_completion example into examples - add less to Depends, as it is the default viewer for other files. - add zenity to Suggests, it is a graphical alternative for dialog. * Fix popbugs to prevent it from removing temporary files before the browser has opened them, thanks to Chris Lamb for the bug report and the fix (Closes: #471752) * checkrestart: - Add /usr/lib/locale/ to the list of exceptions to prevent false positives when locales are reconfigured. - Change os.popen call to a subprocess.Popen call since python 2.5 does not seem to like lists in os.popen and because subprocess is preferable here. - Recode the utility so that the checks for deleted files and descriptors is not duplicated. - Remove the (useless) check for deleted descriptor - Rewrite the handling of lsof results to be more accurate and understandable. - Add a 'verbose' option that makes it list all the (supposedly) deleted files and descriptors used by the processes (Closes: #466811, #475397) - Add icon-theme.cache to the list of deleted files that will be flagged (Closes: #469133) - Fix properly the handling of /usr as a symlink, the code had some stuff that was used as test case and should have been replaced before uploading, oops. (Closes: #405040) * Add myself to author list in debian/copyright, and fixed a lintian warning there too. Checksums-Sha1: edcf084e0621d87808aa3a5feab37adc7d4861e6 740 debian-goodies_0.42.dsc 491f5ed7f21e4298346773ddf21455505d874e95 40162 debian-goodies_0.42.tar.gz 08437fb38853d3d63ef6641f98d4352a1c2b601d 42888 debian-goodies_0.42_all.deb Checksums-Sha256: 75ab8638a5a5afd62c5d9f7f90111c4dbceae4e1bfee3b73987a8bed974e0c09 740 debian-goodies_0.42.dsc ec214861a158fa3e18f2e7beffbd639570f80688d48e410c8d4b7cfb878938ee 40162 debian-goodies_0.42.tar.gz 1110bf2e447bf877d80d981e697a03a50afbc366b33ab0431ca81dfd922788dc 42888 debian-goodies_0.42_all.deb Files: 3102f7fcebf69154e48965877deebcd1 740 utils optional debian-goodies_0.42.dsc dc923a7c61afe264754a3dd2c2e97f90 40162 utils optional debian-goodies_0.42.tar.gz bda589958c5a81e019efb5cfe97be498 42888 utils optional debian-goodies_0.42_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIdVk7sandgtyBSwkRAsjIAKCBFHfpPDN7/4Keig7Nd6n9UIGMxACePq4I dq1AIxAR3ayENGhXyVJuKDA= =A1w4 -----END PGP SIGNATURE-----
--- End Message ---

