-
Notifications
You must be signed in to change notification settings - Fork 678
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] [ERROR] on PHP not found - install PHP from instructions given during first run #179
Comments
Quando executo aparece o seguinte: |
When I execute the following appears: [RPA] [ERROR] - following happens when starting TagUI |
I have the same error. |
Hi RPA for Python users, 🅗🅐🅟🅟🅨 ②⓪②①! It has been many months since I last worked on this personal side project. Just want to shout out that this project is very much alive, and I hope to look into the 30+ issues raised since July (and bug-fixes if required) soon when I get a moment again. Below are details if you are interested, why I'm away past few months and why I believe my darkest days are over 🍀🤞🏻🙏🏻 Since May last year, I've stopped all work to juggle with my mum's critical illness, taking care of my toddler, and doing housework chores like cleaning and cooking. TBH, my wife and I felt that taking care of a baby and giving her the best nutrition (nursing and home-cooked organic food) and care requires at least 1.5 full-time headcount. There is no life to speak of, other than trying to stay afloat with baby care needs, and keep finding alternative ways to treat my mum, where there're some wins. Eg importing soy-based tube feeds from Netherlands / Germany / Australia --> after switching away from milk-based tube feeds for 2 weeks she stops requiring dialysis. She started requiring 3x a week dialysis for more than 3 months, after admitting to the hospital. Also, applying herbs like mashed garlic or diced onions to her feet somehow consistently improve her breathing and lung function. Have to keep trying alternative healing methods when her recovery keeps hitting plateau in hospital. She has been discharged from the hospital a month ago and recovering at home, though very slowly. A longterm medication seems to be one of the contributing causes for her condition. After stopping it, there seems to be improvement to her breathing capacity. She is still bed-bound, but over the course of the year I hope she'll regain strength to move about, and hopefully lungs to recover sufficiently to not require oxygen tank support through a tracheal mask (a hole through her throat). Since November, I've gone back to work at AI Singapore, a government-funded programme to accelerate AI in Singapore. I'm with Product Engineering team, focusing on RPA and TagUI (open-source RPA tool), which RPA for Python is a wrapper for. There are pretty interesting stuffs on TagUI 2021 roadmap. 2020 was the year which my family was going to move to the UK and work, after I receive its tier 1 exceptional tech talent visa. Then everything changed with the virus outbreak, and my mum's illness. The best thing that happened to me in 2020 was being able to go back to work at AI Singapore - I'm grateful. I've just hired someone to help with housework, cooking and supporting my wife with baby care. I hope this new arrangement will allow me to deliver on my work at AI Singapore, and soon be able to reply countless friends' messages which circumstances leave me with no choice but go missing for months, and then look into the issues raised here! Eg of the cost of best-in-class nutrition standard researched and set by wife. Baby just felt restless and broke her plate. Even Corelle's break-resistant plate breaks. Why not use plastic plate? Cuz plastic can leech toxins to the food on it. Why not use Silicon plate? Cuz there is no white silicon materials for plate. Why white? Cuz that helps to improve visibility of the food instead of contrasting against some pink colour or some other colours. I would be spending much time clearing up the mess of 70 over pieces of plate fragments, while baby gets nursed to calm down, if not for our newfound helper. That's why I feel like my darkest days are over and now seeing glimpses of light at the end of the tunnel. My vision for RPA for Python remains - I would like it to be the go-to Python package for RPA. A best-in-class tool in Python users toolbox which you combine with other cool packages to build amazing stuffs. |
Hey folks ! I run into the same issue, I'm using Ubuntu 18.04. The problems is due to the usage of Additional notesIf you are using chromium and not chome. |
Encountered this issue on a company Win10 laptop too (works fine on my personal laptop). Weird thing is, I already did "pip install php" in anaconda and I am using Chrome. Tried it in Google Colab and encountered the same error even with php and chromium installed. Looking forward to a solution thanks! @ar-ms Thank you for your suggestions regarding the chromium in a linux env. I was also wondering if that could be the showstopper in Google Colab but I was unable to find that folder path in that environment. Would you happen to know more about it specifically in Google Colab? |
Thanks @ar-ms! Hi @elrison indeed, from the error message it says something about PHP not found. You might have missed a message during initial run to ask you to install PHP when it is detected missing. Because Ubuntu doesn't have PHP.
Hi @NS-27 for running in Google Colab, see below recent working example using Chromium in headless mode and as root. The most common cause of error is because Colab uses root user but Chromium or Chrome does not allow running as root, unless some security-related flag is set to enable that. Below working example sets that flag to get Chromium running. https://colab.research.google.com/drive/13bQO6G_hzE1teX35a3NZ4T5K-ICFFdB5?usp=sharing Closing this issue for now but please let me know if you guys run into any problem! Also, free feel to join Telegram group chat for TagUI community to post any questions - https://t.me/rpa_chat PS - this RPA package is based on a forked version of TagUI open-source RPA tool |
Good Morning,
I am not able to perform the automated tests. The following error appears!
:~/Imagens/instagram$ /usr/bin/python3 /home/icts/Imagens/instagram/exAutoTest.py
[RPA][ERROR] - following happens when starting TagUI...
/home/icts/.tagui/src/tagui: linha 256: php: comando não encontrado
Unable to open file: /home/icts/Imagens/instagram/rpa_python.js
phantomjs://code/bootstrap.js:113 in __die
Unable to load script /home/icts/Imagens/instagram/rpa_python.js; check file syntax
phantomjs://code/bootstrap.js:113 in __die
[RPA][ERROR] - use init() before using url()
[RPA][ERROR] - use init() before using type()
[RPA][ERROR] - use init() before using read()
[RPA][ERROR] - use init() before using snap()
[RPA][ERROR] - use init() before using close()
The text was updated successfully, but these errors were encountered: