Your message dated Fri, 16 Jun 2006 16:47:07 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#328098: fixed in fonttools 1.99+2.0b1+cvs20060225-1 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: fonttools Version: 1.99+2.0b1+cvs20031014-1 Severity: important Tags: patch It is not summer now, but fonttools do not work because of taylight saving time is active. When I run ttx I get (timezone Europe/Kiev): $ LANG=C date Tue Sep 13 14:54:57 EEST 2005 Dumping "FreeMono.ttf" to "FreeMono.ttx"... Dumping 'GlyphOrder' table... Traceback (most recent call last): File "/usr/bin/ttx", line 11, in ? ttx.main(sys.argv[1:]) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttx.py", line 261, in main process(jobs, options) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttx.py", line 246, in process action(input, output, options) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttx.py", line 161, in ttDump disassembleInstructions=options.disassembleInstructions) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/__init__.py", line 230, in saveXML self._tableToXML(tableWriter, tag, progress) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/__init__.py", line 245, in _tableToXML table = self[tag] File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/__init__.py", line 333, in __getitem__ tableClass = getTableClass(tag) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/__init__.py", line 715, in getTableClass module = getTableModule(tag) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/__init__.py", line 704, in getTableModule __import__("fontTools.ttLib.tables." + pyTag) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/tables/_h_e_a_d.py", line 108, in ? mac_epoch_diff = calc_mac_epoch_diff() File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/tables/_h_e_a_d.py", line 104, in calc_mac_epoch_diff assert time.gmtime(safe_epoch)[:6] == safe_epoch_t[:6] AssertionError When I run it with TZ=EEST it works. The reason is that package uses function (or variable) time.timezone that returns offset for winter timezone that is not active now. Attached patch fixes this bug. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13 Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8) Versions of packages fonttools depends on: ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii python2.3 2.3.5-8 An interactive high-level object-o ii python2.3-numeric 23.8-4 Numerical (matrix-oriented) Mathem ii python2.3-xml 0.8.4-1 XML tools for Python (2.3.x) fonttools recommends no packages. -- debconf-show faileddiff -urN fonttools-1.99+2.0b1+cvs20031014/Lib/fontTools/ttLib/tables/_h_e_a_d.py fonttools-mod/Lib/fontTools/ttLib/tables/_h_e_a_d.py --- fonttools-1.99+2.0b1+cvs20031014/Lib/fontTools/ttLib/tables/_h_e_a_d.py 2003-02-23 21:40:07.000000000 +0200 +++ fonttools-mod/Lib/fontTools/ttLib/tables/_h_e_a_d.py 2005-09-13 14:49:42.000000000 +0300 @@ -100,7 +100,10 @@ to the epoch on this machine. """ safe_epoch_t = (1972, 1, 1, 0, 0, 0, 0, 0, 0) - safe_epoch = time.mktime(safe_epoch_t) - time.timezone + if time.daylight: + safe_epoch = time.mktime(safe_epoch_t) - time.altzone + else: + safe_epoch = time.mktime(safe_epoch_t) - time.timezone assert time.gmtime(safe_epoch)[:6] == safe_epoch_t[:6] seconds1904to1972 = 60 * 60 * 24 * (365 * (1972-1904) + 17) # thanks, Laurence! return long(safe_epoch - seconds1904to1972)
--- End Message ---
--- Begin Message ---Source: fonttools Source-Version: 1.99+2.0b1+cvs20060225-1 We believe that the bug you reported is fixed in the latest version of fonttools, which is due to be installed in the Debian FTP archive: fonttools_1.99+2.0b1+cvs20060225-1.diff.gz to pool/main/f/fonttools/fonttools_1.99+2.0b1+cvs20060225-1.diff.gz fonttools_1.99+2.0b1+cvs20060225-1.dsc to pool/main/f/fonttools/fonttools_1.99+2.0b1+cvs20060225-1.dsc fonttools_1.99+2.0b1+cvs20060225-1_i386.deb to pool/main/f/fonttools/fonttools_1.99+2.0b1+cvs20060225-1_i386.deb fonttools_1.99+2.0b1+cvs20060225.orig.tar.gz to pool/main/f/fonttools/fonttools_1.99+2.0b1+cvs20060225.orig.tar.gz 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. Paul Wise <[EMAIL PROTECTED]> (supplier of updated fonttools 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.7 Date: Fri, 16 Jun 2006 19:26:14 +0800 Source: fonttools Binary: fonttools Architecture: source i386 Version: 1.99+2.0b1+cvs20060225-1 Distribution: unstable Urgency: low Maintainer: Paul Wise <[EMAIL PROTECTED]> Changed-By: Paul Wise <[EMAIL PROTECTED]> Description: fonttools - Converts OpenType and TrueType fonts to and from XML Closes: 328098 Changes: fonttools (1.99+2.0b1+cvs20060225-1) unstable; urgency=low . * New upstream bugfix snapshot * Migrate patches from the diff.gz to quilt * Remove changelog.CVS, instead update upstream's changelog file * Fix the watch file, in case upstream ever releases * Make homepage in the description comply with devref 6.2.4 * Tidy the copyright file and fix the copyright years * Don't byte-compile .py files at build time * Ensure CFLAGS is passed to setup.py * Clean unused parts of debian/rules * 10_fix_summertime_traceback: return a constant from calc_mac_epoch_diff Finally closes: #328098 * Update for the new Python policy * Bump Standards-Version (no changes) Files: f7656d5d513a9c5be068d5cf08ef9550 763 text optional fonttools_1.99+2.0b1+cvs20060225-1.dsc a0b49333ea95ff72b243f4d726fd26ec 284930 text optional fonttools_1.99+2.0b1+cvs20060225.orig.tar.gz 3a74920d34aa8e99dfd1e5083bf1dfeb 8060 text optional fonttools_1.99+2.0b1+cvs20060225-1.diff.gz 616e057951b5a74f6ba6fec381070665 279030 text optional fonttools_1.99+2.0b1+cvs20060225-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEkz7wKaC6+zmozOIRAjdwAJ9hplzyldE3pv63pGn7aFyuwXXeAQCbBZlr jKQyVpZl68D7keM5flGIRI8= =0axm -----END PGP SIGNATURE-----
--- End Message ---

