Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about "raise BdbQuit" problem #290

Open
zhenjia2017 opened this issue Jul 24, 2022 · 10 comments
Open

about "raise BdbQuit" problem #290

zhenjia2017 opened this issue Jul 24, 2022 · 10 comments

Comments

@zhenjia2017
Copy link

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!

@HinPeng
Copy link

HinPeng commented Jul 25, 2022

@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.

@zhenjia2017
Copy link
Author

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.

@lalala0731
Copy link

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

1 similar comment
@tonnyaudio
Copy link

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

@Derek-tjhwang
Copy link

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

@itcantbetrue
Copy link

itcantbetrue commented Aug 16, 2022 via email

@raflisusanto
Copy link

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.

@changtianluckyforever
Copy link

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!

@changtianluckyforever
Copy link

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.

@DengZhirui
Copy link

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

kato8966 pushed a commit to kato8966/wikiextractor that referenced this issue Oct 12, 2022
kato8966 added a commit to kato8966/wikiextractor that referenced this issue Oct 12, 2022
fix issue attardi#290 in attardi/wikiextractor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants