[2524:5180:1207/183609.408:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED
script still runs when this occurs, just not sure what it means.
@blakemmw Could you add your quickstart file or any other information? Please
@blakemmw "what the hell does this mean?" doesn't give any info. You should post here your OS, Python version, selenium version, quickstart file.
@timgrossmann @ugurozturk Windows 10, Py3.6
Quick start file:
"""Example Case of the Script"""
from instapy import InstaPy
#if you don't provide arguments, the script will look for INSTA_USER and INSTA_PW in the environment
session = InstaPy(username='#########, password='##########')
"""Logging in"""
#logs you in with the specified username and password
session.login()
"""Comment util"""
#default enabled=False, ~ every 4th image will be commented on
session.set_do_comment(enabled=True, percentage=27)
session.set_comments(['Awesome', 'Nice one', 'sweet', ':)', 'Nice','Top stuff','Love your work! :)','Great pic','We love your page, send us a message if youd like to organise something :)','Sooo cool!!','Check us out for your next trip!','Doesnt get any better than that!'])
# you can also set comments for specific media types (Photo / Video)
#session.set_comments(['Nice shot!'], media='Photo')
#session.set_comments(['Great Video!'], media='Video')
"""Follow util"""
#default enabled=False, follows ~ every 10th user from the images
session.set_do_follow(enabled=True, percentage=25, times=2)
"""Image Check with Image tagging api"""
# default enabled=False , enables the checking with the clarifai api (image tagging)
# if secret and proj_id are not set, it will get the environment Variables
# 'CLARIFAI_API_KEY'
session.set_use_clarifai(enabled=True, api_key='###############')
# ^
# ^If specified once, you don't need to add them again
##session.set_use_clarifai(enabled=False)
session.set_use_clarifai(enabled=True) # <- will use the one from above
# uses the clarifai api to check if the image contains nsfw content
# Check out their homepage to see which tags there are -> won't comment on image
# (you won't do this on every single image or the 5000 free checks are wasted very fast)
##session.clarifai_check_img_for(['nsfw'], comment=False) # !if no tags are set, use_clarifai will be False
# checks the image for keywords food and lunch, if found, sets the comments possible comments
# to the given comments
session.clarifai_check_img_for(['beach', 'sea', 'ocean', 'lake','river'], comment=True, comments=['Wow look at the water!', 'Looks so nice!', 'Wish i was there!'])
session.clarifai_check_img_for(['hike', 'adventure', 'mountain', 'landscape','alps'], comment=True, comments=['Wow look at the view!', 'It looks so nice!', 'Wish we were there!','What a climb!', 'Amazing views', '#views'])
session.clarifai_check_img_for([ 'iceberg', 'ice'], comment=True, comments=["Looks cold!", "Just a little bit chilly? haha"])
##session.clarifai_check_img_for(['dog', 'cat', 'cute'], comment=True, comments=['Sweet!', 'Cutie!!!'])
"""Ending the script"""
#clears all the cookies, deleting you password and all information from this session
session.end()
@blakemmw What is the chrome version ? ChromeDriver 2.33 Supports Chrome v60-62. Perhaps you have newer one (v63). The problem looks like chrome/selenium side.
Note : You can insert your quickstart file inside code tag by Github. https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code
chromedriver v2.34 came up.
Yea it's still saying not implemented for me
does updating chromedriver to 2.34 fixed it ?
They say it is chrome issue.
detailed and source : https://github.com/SeleniumHQ/selenium/issues/5189#issuecomment-351605839
process_metrics.cc(105) instapy error
This is the current error
@forgottensword which chrome version ?
latest
i just installed it
Google Chrome is up to date
Version 63.0.3239.84 (Official Build) (64-bit)
Anything Helpful ... Please !!
@forgottensword https://github.com/timgrossmann/InstaPy/issues/1054#issuecomment-351694118 as i said here. So use firefox or downgrade your chrome. And please dont spam, use edit function of github.
https://github.com/timgrossmann/InstaPy/issues/1054#issuecomment-351694539 and https://github.com/timgrossmann/InstaPy/issues/1054#issuecomment-351694819 are same.
Use github markdown. Github Formatting and Syntax
@ugurozturk i used the code button above. but still it shows like Normal Text. What should I do?
And
Does Firefox Works Fine?
My FireFox Version is 57.0.2 (64-bit)
@forgottensword check the link i sent you. There has an example for multiple lines. And yes firefox works fine for me. Win10 , 57.0.2 (64-bit). Just needed something to do. Putting "geckodriver" at path and firefox_profile.set_preference('devtools.jsonview.enabled', False) adding it to line 151 on instapy.py
@ugurozturk ... You said to Downgrade Right? Downgrade to which Version? Please Specify if you know!!
I'm already using version 63. Chromedriver in it's version says it does support 61-63 !! What am I missing Here??
@forgottensword you are just not reading. https://github.com/timgrossmann/InstaPy/issues/1054#issuecomment-351694118. They says chrome v63 has a bug of ShaderCache. And it makes the error. So anything version but v63 would just work fine. Like v62
Now this happened. I know I'm kinda dumb. But could you please help me out here.
C:\Users\RSR\Downloads\InstaPy-master>quickstart.py
Traceback (most recent call last):
File "C:\Users\RSR\AppData\Local\Programs\Python\Python36\lib\site-packages\se
lenium\webdriver\common\service.py", line 74, in start
stdout=self.log_file, stderr=self.log_file)
File "C:\Users\RSR\AppData\Local\Programs\Python\Python36\lib\subprocess.py",
line 709, in __init__
restore_signals, start_new_session)
File "C:\Users\RSR\AppData\Local\Programs\Python\Python36\lib\subprocess.py",
line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\RSR\Downloads\InstaPy-master\quickstart.py", line 8, in <module
>
session = InstaPy(username=insta_username, password=insta_password, use_fire
fox=True)
File "C:\Users\RSR\Downloads\InstaPy-master\instapy\instapy.py", line 128, in
__init__
self.set_selenium_local_session()
File "C:\Users\RSR\Downloads\InstaPy-master\instapy\instapy.py", line 152, in
set_selenium_local_session
self.browser = webdriver.Firefox(firefox_profile=firefox_profile)
File "C:\Users\RSR\AppData\Local\Programs\Python\Python36\lib\site-packages\se
lenium\webdriver\firefox\webdriver.py", line 148, in __init__
self.service.start()
File "C:\Users\RSR\AppData\Local\Programs\Python\Python36\lib\site-packages\se
lenium\webdriver\common\service.py", line 81, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable
needs to be in PATH.
@forgottensword
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable
needs to be in PATH.
You are not dumb. You are just dont reading it, i already wrote how to fix this error. https://github.com/timgrossmann/InstaPy/issues/1054#issuecomment-351696970
This should be closed.
N.B. This warning message was generated by a bug in Chrome v63. Upgrading to v64 (64.0.3282.167 as of this morning) resolves it.
#
Most helpful comment
@forgottensword
You are not dumb. You are just dont reading it, i already wrote how to fix this error. https://github.com/timgrossmann/InstaPy/issues/1054#issuecomment-351696970