Your message dated Mon, 31 Dec 2018 04:14:39 +0000
with message-id <[email protected]>
and subject line Bug#913852: Removed package(s) from unstable
has caused the Debian Bug report #732592,
regarding xword: ValueError when reading NY Times crossword puzzle date
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.)


-- 
732592: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732592
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xword
Version: 2.0.0~rc2-1
Severity: normal

Dear Maintainer,

xword will not open NY Times crossword puzzles. The following is the error:
$ xword
Traceback (most recent call last):
  File "/usr/share/games/xword/organizer.py", line 102, in init
    self.model.create_model(pbar.set_fraction, self.is_done)
  File "/usr/share/games/xword/model.py", line 166, in create_model
    (squares, date, title, source) = analyze_puzzle(p, f)
  File "/usr/share/games/xword/model.py", line 66, in analyze_puzzle
    (date, title) = analyze_NYTimes_puzzle(p, f)
  File "/usr/share/games/xword/model.py", line 98, in analyze_NYTimes_puzzle
    date = datetime.datetime.strptime(dateStr, '%a, %b %d, %Y')
  File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data 'Tuesday, December 17, 2013' does not match format '%a, 
%b %d, %Y'

I was able to fix this by changing line 98 in model.py from: 
date = datetime.datetime.strptime(dateStr, '%a, %b %d, %Y')
to:
date = datetime.datetime.strptime(dateStr, '%A, %B %d, %Y')
Since NY Times now uses the full words, e.g. Wednesday and December (not 
abbreviations e.g. Wed and Dec) for the titles.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (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/dash

Versions of packages xword depends on:
ii  python       2.7.5-5
ii  python-gtk2  2.24.0-3+b1
ii  python-wnck  2.32.0+dfsg-3

xword recommends no packages.

xword suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 2.0.0~rc2-1+rm

Dear submitter,

as the package xword has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/913852

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to