You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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):
class Quran:
surah_names = [s.attrib["name"] for s in ET.parse("quran-data.xml").getroot().find("sura")]
ree.parse(source, parser)
source = open(source, "rb")
The text was updated successfully, but these errors were encountered: