TinderBotz icon indicating copy to clipboard operation
TinderBotz copied to clipboard

Session object has no attribute Started

Open ahaun865 opened this issue 3 years ago • 5 comments

sorry i know that there is an etiquette to this, i dont know what it is so sorry just gonna go for it.

Describe the bug Session attribute has no object Started

Traceback (most recent call last): File "/home/mprocter/Downloads/bot1/quickstart.py", line 10, in session = Session()

File "/home/mprocter/Downloads/bot1/tinderbotz/session.py", line 111, in init uc.Chrome(version_main=101, options=options) that part i did change per a post prior to this one suggested.

#ChromeDriverManager().install(), File "/home/mprocter/.local/lib/python3.9/site-packages/undetected_chromedriver/init.py", line 208, in init patcher.auto() File "/home/mprocter/.local/lib/python3.9/site-packages/undetected_chromedriver/patcher.py", line 118, in auto release = self.fetch_release_number() File "/home/mprocter/.local/lib/python3.9/site-packages/undetected_chromedriver/patcher.py", line 140, in fetch_release_number return LooseVersion(urlopen(self.url_repo + path).read().decode()) File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.9/urllib/request.py", line 517, in open response = self._open(req, data) File "/usr/lib/python3.9/urllib/request.py", line 534, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain result = func(*args) File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known> /==============\

Tinderbotz
duration: 20
like: 0
dislike: 0
superlike: 0
==============/
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/home/mprocter/Downloads/bot1/tinderbotz/session.py", line 68, in cleanup
print("Started session: {}".format(self.started))

AttributeError: 'Session' object has no attribute 'started'

To Reproduce Steps to reproduce the behavior: python3 quickstart.py

Desktop (please complete the following information):

  • OS: ubuntu
  • Browser chrome
  • Version 101

Smartphone (please complete the following information):

Additional context was working fine.

ahaun865 avatar Jun 05 '22 05:06 ahaun865

If it was working fine, then I would suggest deleting the folder "chrome_profile", it worked for me.

vladi7 avatar Jul 13 '22 20:07 vladi7

Same problem. How to solve it

ArtificialZeng avatar May 26 '23 15:05 ArtificialZeng

If it was working fine, then I would suggest deleting the folder "chrome_profile", it worked for me.

same problem even I deleted the folder chrome_profile

ArtificialZeng avatar May 26 '23 16:05 ArtificialZeng

If it was working fine, then I would suggest deleting the folder "chrome_profile", it worked for me.

same problem even I deleted the folder chrome_profile

hello, how do i find this folder ?

bakisvy avatar Sep 13 '23 16:09 bakisvy

Same problem here. chrome_profile is located in the root path of the repository

sheepbild avatar Dec 05 '23 19:12 sheepbild