DevToolsActivePort file doesn't exist - selenium-chromedriver

I am trying to use Python in automating my work which requires to open a web page and fill login details, but I am getting the following error:
WebDriverException: unknown error: DevToolsActivePort file doesn't exist
Code:
Error:
Then chrome crashes with the error:
What to do now?

Please, try adding the next in your code:
os.environ['DISPLAY'] = ':0'
os.environ['XAUTHORITY']='/run/user/1000/gdm/Xauthority'
Remember that you must download the version of WebDriver in this page of Google according to the installed in your pc.

Related

How to fix error [SyntaxError: JSON Parse error: Unrecognized token '<']

I have this "
error [SyntaxError: JSON Parse error: Unrecognized token '<']"
in my code.
It's an android app I have been working on for about a year. The app was compiling and run successfully before I took a break.
when I wanted to run the code again I started getting that error.
it's occuring when I load an image into the app to scan. I don't know it's origin or why it's popping up since the code was working perfectly.
anyone to help?
I have tried to reset cache, reload the code or reinstall the dependencies. nothing is working

chrome extension using google.payments.inapp fails

I'm trying to enable in-app purchase inside my chrome extension. For that I've integrated with Google's buy.js lib.
Now when I attempt to purchase using this endpoint - google.payments.inapp.buy
I get the following error -
An unexpected error has occurred. Please try again later.
When I look at the console of the prompted paymet screen I see that there's a failed attempt to call a service at url -
https://224.32.32.55/29753 Failed to load resource:
net::ERR_ADDRESS_UNREACHABLE
It used to work in the past and stopped. What could be causing this?

KWrite installation/ usage errors

I used to be able to use KWrite in the Fedora terminal fine, a few permission issues raised but weren't too problematic. However, I have been unable to open KWrite, although I can run scripts written in it fine. Whenever I try to open KWrite, I am given the message:
Qt: Session management error: None of the authentication protocols specified are supported "Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)"
This command does not seem to do anything helpful. Any ideas?

Server Object Creation Error

I am unable to run a particular ASP page in my website. It is throwing the below error.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/includes/conferenceRoom/init.asp, line 13
800401f3.
However my page is running well in Prod server but it is throwing error in my dev derver. I am unable to find the root cause for this error.
The line 13 is to create obj for my calender app in ASP:
set objCal= server.CreateObject("bsCal.cDate")
Any one please help me to resolve this error.
Make sure the COM object (i.e. bsCal.cDate) is registered. Find its DLL and register it using regsvr32
Assuming you copied your dll to the folder d:\objects.
In a command prompt type:
regsvr32 d:\objects\YourDll.dll

Failed to load resource: net::ERR_EMPTY_RESPONSE

I came across the following error in chrome for this url.
Failed to load resource: net::ERR_EMPTY_RESPONSE http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Nuvola_apps_kaboodle.svg/16px-Nuvola_apps_kaboodle.svg.png
I'm able to open the url provided in the error message without any errors.
So, What is the reason for the error?
I have this issue in my website with the file indexMob.js since I installed Avast Antivirus.
When I disabled the web shield feature its solved the issue.