Menu

#2 Syntax error running Test_pydes Python 301 Windows XP

open
nobody
None
5
2012-12-12
2009-02-19
Rob Davids
No

Syntax Error in Pydes.py (see last line) running test_pydes after installation under Python 3.0.1 under Windows XP

Traceback (most recent call last):
File "E:\Data\Python\test_pydes.py", line 232, in <module>
_fulltest_()
File "E:\Data\Python\test_pydes.py", line 109, in _fulltest_
k = des("\0\0\0\0\0\0\0\0", CBC, "\0\0\0\0\0\0\0\0")
File "e:\python30\Lib\site-packages\pyDes.py", line 274, in __init__
self.setKey(key)
File "e:\python30\Lib\site-packages\pyDes.py", line 284, in setKey
self.__create_sub_keys()
File "e:\python30\Lib\site-packages\pyDes.py", line 363, in __create_sub_keys
self.L = key[:28]
TypeError: 'map' object is unsubscriptable

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.