Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chrome.exe - Application Error (The exception Breakpoint) - pending clues #292

Closed
Mavericks334 opened this issue Aug 13, 2021 · 18 comments
Closed
Labels

Comments

@Mavericks334
Copy link

Hi @kensoh ,

While running the following code i receive the error attached.

import rpa as r
r.init()

image

How do i fix this issue.

Regards,
Ren.

@kensoh
Copy link
Member

kensoh commented Aug 13, 2021

@kensoh kensoh changed the title Chrome.exe - Application Breakpoint chrome.exe - Application Error (The exception Breakpoint) - try searching solutions on google Aug 13, 2021
@kensoh kensoh added the query label Aug 13, 2021
@kensoh kensoh changed the title chrome.exe - Application Error (The exception Breakpoint) - try searching solutions on google chrome.exe - Application Error (The exception Breakpoint) - try googling Aug 13, 2021
@kensoh
Copy link
Member

kensoh commented Aug 14, 2021

Seems like the most common cause is overclocking of CPUs. But you could provide other info (detailed exact steps to reproduce problem, do the steps always create this error, did this error happen before I thought you are using fine, did it happen suddenly, does it still happen after you restart computer, does it happen on another laptop you have etc, does it happen when you are using Chrome manually instead of through this RPA package etc...)

Screenshot 2021-08-15 at 12 44 00 AM

@Mavericks334
Copy link
Author

Mavericks334 commented Aug 16, 2021

Hi @kensoh ,

I was unable to work on the automation in my Virtual machine due to Firewall issues for the specific process. When i try the same on my 1st desktop this error pops up. On the VM i dont get this error. Which is strange. I have restarted the system multiple times, tried if of VPN and still the same error.

Regards,
Ren.

@kensoh
Copy link
Member

kensoh commented Aug 16, 2021

I see, can you try installing TagUI human language version using the steps here and see if you have the error?

https://tagui.readthedocs.io/en/latest/setup.html

If yes, TagUI has a weekly Zoom Q&A call to troubleshoot tricky issues like this, you can join if you are available.

It is every Thursday at 4-5pm Singapore time (UTC+8) - aisingapore/TagUI#914

@kensoh kensoh changed the title chrome.exe - Application Error (The exception Breakpoint) - try googling chrome.exe - Application Error (The exception Breakpoint) - pending clues Aug 16, 2021
@Mavericks334
Copy link
Author

Hi @kensoh ,

The issue is fixed by updating the latest chrome version. However, the url does not open in the browser and it just hangs with the below information

[tagui] START  - listening for inputs

[tagui] INPUT  -
[1] {"id":1,"method":"Page.setDownloadBehavior","params":{"behavior":"allow","downloadPath":"C:\\Users\rerere\"}}
[tagui] OUTPUT -
[1] {"id":1,"result":{}}

[tagui] INPUT  -
[2] {"id":2,"method":"Page.navigate","params":{"url":"about:blank"}}
[tagui] OUTPUT -
[2] {"id":2,"result":{"frameId":"213E57C893C61E4933F726D2A78EB0F7","loaderId":"4D5E65D0B042EB520FA51D3E07DB1571"}}

[tagui] INPUT  -
[3] {"id":3,"method":"Runtime.evaluate","params":{"expression":"document.title"}}
[tagui] OUTPUT -
[3] {"id":3,"result":{"result":{"type":"string","value":""}}}
[RPA][INFO] - setting up TagUI for use in your Python environment
[RPA][INFO] - unzipping TagUI (~200MB) from rpa_python.zip to below folder...
[RPA][INFO] - C:\Users\rerere\AppData\Roaming
[RPA][INFO] - done. syncing TagUI with stable cutting edge version
[RPA][INFO] - TagUI now ready for use in your Python environment

@Mavericks334
Copy link
Author

I also tried

r.url('yahoo.com,chrome_browser=False)

to avoid the issue and load in edge since upgraded to 1.44 still opens in Chrome and just hangs and does not proceed further with below error code

``[RPA][ERROR] - following happens when starting TagUI...
Regards,
Ren,

@kensoh
Copy link
Member

kensoh commented Aug 17, 2021

I see, the Python package does not support running in MS Edge. Can you try below on your working VM and this computer, to see if there are any clues on the tagui_chrome.log when running below script?

import rpa as r
r.init()
r.url('https://google.com')
r.close()

@Mavericks334
Copy link
Author

The below details are missing in system where Chrome just sits and waits. The url is not added.

tagui] INPUT  - 
[4] {"id":4,"method":"Runtime.evaluate","params":{"expression":"window.location.href = \"https://google.com\";"}}
[tagui] OUTPUT - 
[4] {"id":4,"result":{"result":{"type":"string","value":"https://google.com"}}}

[tagui] INPUT  - 
[5] {"id":5,"method":"Runtime.evaluate","params":{"expression":"document.location.href"}}
[tagui] OUTPUT - 
[5] {"id":5,"result":{"result":{"type":"string","value":"https://www.google.com/"}}}

[tagui] INPUT  - 
[6] {"id":6,"method":"Runtime.evaluate","params":{"expression":"document.title"}}
[tagui] OUTPUT - 
[6] {"id":6,"result":{"result":{"type":"string","value":"Google"}}}

With this error in Jupyter.

[RPA][ERROR] - following happens when starting TagUI...

Regards,
Ren

@kensoh
Copy link
Member

kensoh commented Aug 17, 2021

I see, can you try this? - #292 (comment)

@Mavericks334
Copy link
Author

I tried it and few files are not being copied. Is there a work around with Proxies where we could give the proxy details for the site to open something like this

proxies = {"http":"xyxyx:8080"}
auth = HTTPProxyAuth("username", "password")

Regards,
Ren

@kensoh
Copy link
Member

kensoh commented Aug 18, 2021

  1. Can you share more which few files you mean? For the installation steps here for TagUI - https://tagui.readthedocs.io/en/latest/setup.html

For setting proxy for normal Chrome browser, I have not done it before you can google to search, should be doable.

  1. For setting proxy for Python, you can do this way - How to use proxy in accessing websites? - for feedback and discussion #97 (comment)

@kensoh
Copy link
Member

kensoh commented Aug 18, 2021

Above is my 3rd reminder to ask you to try installing TagUI directly to see if that works.

If you still ignore my suggestion I cannot help you anymore and will stop replying your issues.

@Mavericks334
Copy link
Author

Mavericks334 commented Aug 18, 2021

Hi @kensoh, I have tried that. Not all files are being copied. The other machine is also my office machine. I not sure what else to do. Since i dont have the access on this machine to install any JDKS

@kensoh
Copy link
Member

kensoh commented Aug 18, 2021

Can you list which are the files below which are not copied? OpenJDK not needed if not using r.init(True).

Screenshot 2021-08-19 at 12 39 26 AM

@Mavericks334
Copy link
Author

Will tryit again and let you know

@kensoh
Copy link
Member

kensoh commented Aug 19, 2021

If you can try by today 4pm Singapore time (UTC+8), you can join the weekly Zoom Q&A call to troubleshoot more -

aisingapore/TagUI#914

@Mavericks334
Copy link
Author

closing the issue as i'm able to work on another machine

@kensoh
Copy link
Member

kensoh commented Aug 25, 2021

Sure @Mavericks334, that's great news!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Development

No branches or pull requests

2 participants