Your message dated Sun, 01 Jul 2012 10:18:35 +0000
with message-id <[email protected]>
and subject line Bug#592563: fixed in sympy 0.7.1.rc1-3
has caused the Debian Bug report #592563,
regarding sympy.galgebra.latex_ex.xdvi() creates a file named NUL on non-Linux 
architectures
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.)


-- 
592563: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592563
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-sympy
Version: 0.6.7-1.1
Severity: normal
User: [email protected]
Usertags: kfreebsd
Tags: patch

$ ls -l NUL
ls: cannot access NUL: No such file or directory
$ python sympy-NUL.py $ ls -l NUL
-rw-r--r-- 1 jwilk jwilk 1666 Aug 11 00:22 NUL

The attached patch fixes this bug.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 7.3-1-686
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-sympy depends on:
ii  python                        2.6.5-12   interactive high-level object-orie
ii  python-support                1.0.9      automated rebuilding support for P

Versions of packages python-sympy recommends:
pn  ipython                       <none>     (no description available)
ii  python [python-ctypes]        2.6.5-12   interactive high-level object-orie
pn  python-imaging                <none>     (no description available)

--
Jakub Wilk
import sympy.galgebra.latex_ex as tex
tex.Format()
print 'eggs'
tex.xdvi()
--- sympy-0.6.7.orig/sympy/galgebra/latex_ex.py
+++ sympy-0.6.7/sympy/galgebra/latex_ex.py
@@ -1155,10 +1155,7 @@
         if debug: #Display latex excution output for debugging purposes
             os.system(latex_str+' '+filename[:-4])
         else: #Works for Linux don't know about Windows
-            if sys.platform == 'linux2':
-                os.system(latex_str+' '+filename[:-4]+' > /dev/null')
-            else:
-                os.system(latex_str+' '+filename[:-4]+' > NUL')
+            os.system(latex_str+' '+filename[:-4]+' > '+os.devnull)
         os.system(xdvi_str+' '+filename[:-4]+' &')
     LatexPrinter.LaTeX_flg = False
     return

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: sympy
Source-Version: 0.7.1.rc1-3

We believe that the bug you reported is fixed in the latest version of
sympy, which is due to be installed in the Debian FTP archive:

python-sympy_0.7.1.rc1-3_all.deb
  to main/s/sympy/python-sympy_0.7.1.rc1-3_all.deb
sympy_0.7.1.rc1-3.debian.tar.gz
  to main/s/sympy/sympy_0.7.1.rc1-3.debian.tar.gz
sympy_0.7.1.rc1-3.dsc
  to main/s/sympy/sympy_0.7.1.rc1-3.dsc



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.
[email protected] (supplier of updated sympy 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: Sun, 01 Jul 2012 11:52:17 +0200
Source: sympy
Binary: python-sympy
Architecture: source all
Version: 0.7.1.rc1-3
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: [email protected]
Description: 
 python-sympy - Computer Algebra System (CAS) in Python
Closes: 592563
Changes: 
 sympy (0.7.1.rc1-3) unstable; urgency=low
 .
   * applied Jakub Wilk's patch. Closes: #592563.
Checksums-Sha1: 
 5e3bd8dbe5a51bdd5519c0f3e559a5f05f1784b6 1426 sympy_0.7.1.rc1-3.dsc
 dc41fe01f38bcca72c0aed87f6633f2a34a87a9b 7602 sympy_0.7.1.rc1-3.debian.tar.gz
 371f97404faa7002c8def8ab01e84e922899efcd 1695860 
python-sympy_0.7.1.rc1-3_all.deb
Checksums-Sha256: 
 b549314fa03e2b3e1e6e71a477e0340e915b85137b142adacaef23022d9c6480 1426 
sympy_0.7.1.rc1-3.dsc
 be1b6ad266b40e44f23ba225c7fc8ad13c3be728a25ae1063bcfad91d5f24fe2 7602 
sympy_0.7.1.rc1-3.debian.tar.gz
 cd6de6e670ba2ffa4a1aecbe07ec813004630b1ec73ce68c45eee6e635d7c81b 1695860 
python-sympy_0.7.1.rc1-3_all.deb
Files: 
 c4904fafb5cf7fb0cb01d8ed63698ca0 1426 python optional sympy_0.7.1.rc1-3.dsc
 f7f870a3a0a0b2dba91ab430121b6895 7602 python optional 
sympy_0.7.1.rc1-3.debian.tar.gz
 952424b46c4e64905b6bc216f1c64c55 1695860 python optional 
python-sympy_0.7.1.rc1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFP8CBRnfmb2hFpETARAoGrAJ9TS6+hfBPCRkUCv5rpqbQ/PAX3pwCdFDc3
vOmHY6LluXtCA48UIVviylI=
=bidE
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to