This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Kira.Erethon
Recipients Kira.Erethon, eric.smith
Date 2011-01-09.23:12:19
SpamBayes Score 1.2131645e-08
Marked as misclassified No
Message-id <1294614743.32.0.806276300468.issue10876@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, I tried recreating the bug and found out that I couldn't. Originally this happened when I tried to find the password of a zip file through a dictionary attack. The code I used is this:

import zipfile

zfile=raw_input("Please input zip's file name\n")
diction=raw_input("Please input dictionary\n")
found = False
zipf = zipfile.ZipFile( zfile, 'r' )
f = open(diction, 'r')
for line in f:
    pswd = line
    pswd = pswd[:-1]
    zipf.setpassword(pswd)
    try:
        zipf.extractall()
        found = True
        break
    except RuntimeError:
        continue
zipf.close()  

First time I encountered the bug was when on my dictionary I had all the numbers from 000 to 999 and saw that it crashed at 610. Now it crashes at 844.Even when I do this 

import zipfile

zfile=raw_input("Please input zip's file name\n")
zipf = zipfile.ZipFile( zfile, 'r' )
zipf.setpassword('844')
zipf.extractall()
zipf.close()  

it crashes with the error in my first post.
If this is any help, i'm using python 2.6.6 on linux and the number changed from 610 to 844 when I opened a new terminal window.
History
Date User Action Args
2011-01-09 23:12:23Kira.Erethonsetrecipients: + Kira.Erethon, eric.smith
2011-01-09 23:12:23Kira.Erethonsetmessageid: <1294614743.32.0.806276300468.issue10876@psf.upfronthosting.co.za>
2011-01-09 23:12:19Kira.Erethonlinkissue10876 messages
2011-01-09 23:12:19Kira.Erethoncreate