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

some error has occured #3

Open
ShamSul114 opened this issue Jan 12, 2022 · 0 comments
Open

some error has occured #3

ShamSul114 opened this issue Jan 12, 2022 · 0 comments

Comments

@ShamSul114
Copy link

Hi brother, Assalamu alaikum.
i have facing some error in this code. please can you help me.
i have paste error line below, please check and give help,

Traceback (most recent call last):

  • File "C:\Users\3rdain1\Downloads\Quran Bot\BismillahBot-master\bismillah.py", line 28, in from bismillahbot import Quran, make_index
  • File "C:\Users\3rdain1\Downloads\Quran Bot\BismillahBot-master\bismillahbot_init_.py", line 1, in from .quran import Quran, make_index
  • File "C:\Users\3rdain1\Downloads\Quran Bot\BismillahBot-master\bismillahbot\quran.py", line 105, in
    class Quran:
  • File "C:\Users\3rdain1\Downloads\Quran Bot\BismillahBot-master\bismillahbot\quran.py", line 109, in Quran
    surah_names = [s.attrib["name"] for s in ET.parse("quran-data.xml").getroot().find("sura")]
  • File "C:\Users\3rdain1\AppData\Local\Programs\Python\Python39\lib\xml\etree\ElementTree.py", line 1229, in parse
    ree.parse(source, parser)
  • File "C:\Users\3rdain1\AppData\Local\Programs\Python\Python39\lib\xml\etree\ElementTree.py", line 569, in parse
    source = open(source, "rb")
  • FileNotFoundError: [Errno 2] No such file or directory: 'quran-data.xml'
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

1 participant