attardi/wikiextractor

about "raise BdbQuit" problem

zhenjia2017 opened this issue · 10 comments

Hi, when I used the command "python -m wikiextractor.WikiExtractor ", after processing the pages, the message "if self.quitting: raise BdbQuit" came out. How to solve the problem? Thanks a lot!

@zhenjia2017 Same problem. I comment the

pdb.set_trace() # DEBUG
and the process can continue then. But I'm not sure if it's the right solution.

Thanks a lot. In the code, there is pdb.set_trace() but it still does not work. I have solved it with another version of extract.py.

Hi,I have the same problem.Can you give me your "extract.py"? Thank you.

Hi,I have the same problem.Can you give me your "extract.py"? Thank you.

Hi,I have the same problem.Can you give me your "extract.py"? Thank you

In extract.py you'll have to comment out both the import pdb and pdb_set_trace(). I just tried it yesterday and it started working.

Thanks a lot. In the code, there is pdb.set_trace() but it still does not work. I have solved it with another version of extract.py.

May I know how your change your extract.py to make it to another version? thanks!

just commend import PDB and pdf.set_trace(). then output the file as JSON format. now it is working for me. thanks for all the above mates. enjoy your life without bugs. haha.

commend out import PDB and pdb.set_trace(). Then run 'python setup.py install' again. Output as JSON. Now it can work for me.