towfikul-islam / facebook-marketplace-autolisting-bot

Facebook marketplace bot that automatically removes and then uploads listings from CSV Files. You can define all of the information about the items and vehicles that will be posted automatically so you will save time removing and publishing them every single time.
GNU General Public License v3.0
18 stars 5 forks source link

Error file missing #1

Open MDIMANNO opened 1 year ago

MDIMANNO commented 1 year ago

File missing : gs_sa.json

(botFB) PS C:\Users\user\Documents\botFB\facebook-marketplace-autolisting-bot-main> python3 main.py Traceback (most recent call last): File "C:\Users\user\Documents\botFB\facebook-marketplace-autolisting-bot-main\main.py", line 1, in <module> from helpers.data import ACCOUNTS, LISTINGS, SETTINGS File "C:\Users\user\Documents\botFB\facebook-marketplace-autolisting-bot-main\helpers\data.py", line 10, in <module> GS_SA = json.loads(Path(os.path.join(os.getcwd(), 'helpers', 'gs_sa.json')).read_text()) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\pathlib.py", line 1134, in read_text with self.open(mode='r', encoding=encoding, errors=errors) as f: File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\pathlib.py", line 1119, in open return self._accessor.open(self, mode, buffering, encoding, errors, FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\user\\Documents\\botFB\\facebook-marketplace-autolisting-bot-main\\helpers\\gs_sa.json'

towfikul-islam commented 1 year ago

this gs_sa.json file contains the permission parameters of license activation from google, it is unique for everyone. I only generate this file for my paid customers.

Hassamm486 commented 1 year ago

D:\facebook-marketplace-autolisting-bot-main>python main.py 2023-05-24 11:09:30.992 | ERROR | helpers.file_helper:read_file:14 - You must save and close the excel file while the script is running 2023-05-24 11:09:30.998 | ERROR | helpers.file_helper:read_file:14 - You must save and close the excel file while the script is running Traceback (most recent call last): File "D:\facebook-marketplace-autolisting-bot-main\main.py", line 1, in from helpers.data import ACCOUNTS, LISTINGS, SETTINGS, GS_SA File "D:\facebook-marketplace-autolisting-bot-main\helpers\data.py", line 8, in SETTINGS = read_file(os.path.join(os.getcwd(), 'inputs', 'products.xlsx'), worksheet='settings')[0]


IndexError: list index out of range

i got this error i followed all of your steps can you make youtube vedio to explain this bot 
towfikul-islam commented 1 year ago

You must save and close the excel file while the script is running

soportevexsoluciones commented 2 months ago

please do a video demo