BismillahBot icon indicating copy to clipboard operation
BismillahBot copied to clipboard

some error has occured

Open ShamSul114 opened this issue 3 years ago • 0 comments

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'

ShamSul114 avatar Jan 12 '22 06:01 ShamSul114