xword won't open puzzles (due to deprecated md5 api)
This bug report was converted into a question: question #195144: xword won't open puzzles.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xword (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Since upgrading to oneiric, xword won't open puzzles. I usually download puzzles from http://
Traceback (most recent call last):
File "/usr/games/xword", line 1202, in <lambda>
self.handler = win.connect(
File "/usr/games/xword", line 1344, in exit
self.
File "/usr/games/xword", line 1338, in write_puzzle
fname = self.get_
File "/usr/games/xword", line 1294, in get_puzzle_file
return dir + '/' + puzzle.hashcode()
File "/usr/games/xword", line 314, in hashcode
m = md5.new()
AttributeError: 'builtin_
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xword 1.0-7ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 15 22:11:57 2011
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xword
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (1 days ago)
Changed in xword (Ubuntu): | |
status: | Invalid → Confirmed |
Changing line 314 from:
m = md5.new()
To:
m = md5()
Fixes the bug. Sorry, not sure how to actually submit a patch.