Comment 4 for bug 580224

Revision history for this message
Michael Banks (michaelbanks) wrote :

Stefan is correct: the string comparison assumes the first character of twisted.copyright.version to be in range '2'..'9'. (In my defence, Twisted was at version 2.x when I wrote that code.)

A quick fix is to comment out the following lines of /usr/games/pybridge (lines 48-50):

# import twisted.copyright
# if twisted.copyright.version < TWISTED_REQUIRED:
# raise SystemExit, "Error: Twisted Core %s+ required" % TWISTED_REQUIRED

For the PyBridge packages in Debian/Ubuntu, the version checking performed by /usr/games/pybridge (lines 27- 67) is unnecessary, since the dependency data is embedded into the .deb files.