Comments (7)
from flask-app.
Thanks, this worked. Would u happen to know if selenium is supported in Vercel?
from flask-app.
from flask-app.
So when deploying my program with selenium this issues faces:
-> /lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/var/task/vc__handler__python.py", line 13, in
__vc_spec.loader.exec_module(__vc_module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "./app.py", line 12, in
driver = webdriver.Chrome(options=options)
File "/var/task/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/var/task/selenium/webdriver/chromium/webdriver.py", line 49, in init
self.service.path = DriverFinder.get_path(self.service, options)
File "/var/task/selenium/webdriver/common/driver_finder.py", line 41, in get_path
raise NoSuchDriverException(msg) from errINIT_REPORT Init Duration: 5560.53 ms Phase: init Status: error Error Type: Runtime.ExitError
[WARNING] 2024-04-03T17:56:34.415Z Cache folder (/home/sbx_user1051/.cache/selenium) cannot be created: Read-only file system (os error 30)
[WARNING] 2024-04-03T17:56:34.415Z Cache folder (/home/sbx_user1051/.cache/selenium) cannot be created: Read-only file system (os error 30)
[WARNING] 2024-04-03T17:56:34.415Z Cache folder (/home/sbx_user1051/.cache/selenium) cannot be created: Read-only file system (os error 30)
[WARNING] 2024-04-03T17:56:34.415Z Cache folder (/home/sbx_user1051/.cache/selenium) cannot be created: Read-only file system (os error 30)
[WARNING] 2024-04-03T17:56:34.415Z Cache folder (/home/sbx_user1051/.cache/selenium) cannot be created: Read-only file system (os error 30)
[ERROR] NoSuchDriverException: Message: Unable to obtain driver for chrome using Selenium Manager.; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
Traceback (most recent call last):
File "/var/lang/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/var/task/vc__handler__python.py", line 13, in
__vc_spec.loader.exec_module(__vc_module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "./app.py", line 12, in
driver = webdriver.Chrome(options=options)
File "/var/task/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/var/task/selenium/webdriver/chromium/webdriver.py", line 49, in init
self.service.path = DriverFinder.get_path(self.service, options)
File "/var/task/selenium/webdriver/common/driver_finder.py", line 41, in get_path
raise NoSuchDriverException(msg) from errINIT_REPORT Init Duration: 9635.02 ms Phase: invoke Status: error Error Type: Runtime.ExitError
Unknown application error occurred
from what I understand I need to give permission to the cache files or change the cache path? how exactly would I implement the fix?
from flask-app.
from flask-app.
Do u know (free) alternatives where I could host my Website (including dynamic elements & flask) so it would work?
from flask-app.
from flask-app.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-app.