-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPA Python not working in MacOS Monterey - PHP removed, install PHP this way #335
Comments
Hi @684efs3, thanks for reporting this! I'm seeing reports of this issue, due to the new macOS version removing PHP - Solution for now is to install PHP manually, unless this can be automated (I don't think so, need password to run homebrew) or co-packaged. Below will install Homebrew package manager, then install PHP which is required to run the rpa package.
Try the above to see if that works. I'm using Mac as well but am still keeping it at Catalina version so I can't replicate. |
Fixed - thank you very much! |
Adding a note that upstream TagUI has a fix for newer PHP (eg v8.1.1) which has some problem with the code used to process datatables and object repositories. However, this is not needed here because for the Python package, those blocks of code are never executed (no concept of datatables or object repositories here). |
what i should do with the @kensoh (Machine_Learning) @macbook-pro ~ % php -v scond,i download java and amazon corretto [RPA][ERROR] - following happens when starting TagUI... The following command is executed to start TagUI - It leads to following output when starting TagUI - phantomjs://code/bootstrap.js:113 in __die phantomjs://code/bootstrap.js:113 in __die [RPA][ERROR] - unknown error encountered The following command is executed to start TagUI - It leads to following output when starting TagUI - phantomjs://code/bootstrap.js:113 in __die phantomjs://code/bootstrap.js:113 in __die [RPA][ERROR] - unknown error encountered |
Hi @HollandWeng I've not come across this situation. The error message says php conmand is not found but you have installed it. Can you try going to the .tagui/src folder and type php to see if the command can be accessed there? |
@kensoh Thanks for your reply, I open .tagui/src and search for php, get the following result. These files are in that folder,what should I do next? Thank you very much |
[RPA][ERROR] - following happens when starting TagUI... The following command is executed to start TagUI - It leads to following output when starting TagUI - [RPA][ERROR] - unknown error encountered The following command is executed to start TagUI - It leads to following output when starting TagUI - [RPA][ERROR] - unknown error encountered these kind of error occur when I run my code today @kensoh |
I also found that I have download 2 kinds of java(jdk) by mistake, one is from amazon-corretto, and another is from Oracle Corporation. Do I need to delete java or is just have something wrong with PHP ? @kensoh |
After I download google chrome, it seems that I can run my rpa code, but the Java icon appearing in the Dock while I'm running a program, is this because I've installed two Java environments, or is it a normal situation? @kensoh |
Hi @HollandWeng it looks like you solved the issue. For Java icon yes this is normal, the package uses SikuliX for visual automation and physical keyboard automation. If you use those type of automation in your script, Java will launch because SikuliX is a Java program. |
I just upgraded to MacOS Monterey and my previous RPA Python code no longer works. I am using RPA to open a website and now I get this:
I am using a Jupyter notebook.
The text was updated successfully, but these errors were encountered: