VincentDavis
VincentDavis
RRailway
Created by VincentDavis on 6/26/2024 in #✋|help
Update Browserless Playwright to 1.4.4
I am using the Browserless template. It seems to be using Playwright 1.41. but I am using 1.44. I don't see how I can update this? Suggestions on how to fix this? https://github.com/railwayapp-templates/browserless
╔════════════════════════════════════════════════════╗
║ Playwright version mismatch: ║
║ - server version: v1.41 ║
║ - client version: v1.44 ║
║ ║
║ If you are using VSCode extension, restart VSCode. ║
║ ║
║ If you are connecting to a remote service, ║
║ keep your local Playwright version in sync ║
║ with the remote service version. ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════╗
║ Playwright version mismatch: ║
║ - server version: v1.41 ║
║ - client version: v1.44 ║
║ ║
║ If you are using VSCode extension, restart VSCode. ║
║ ║
║ If you are connecting to a remote service, ║
║ keep your local Playwright version in sync ║
║ with the remote service version. ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════╝
53 replies
RRailway
Created by VincentDavis on 6/9/2024 in #✋|help
Issue loading python env variable with getenv()
I set a variable with in the UI for dbsslmode to require but it does not seem to load. assert getenv("dbsslmode") == "require"
File "/app/fb_models.py", line 16, in <module>
assert getenv("dbsslmode") == "require"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
File "/app/fb_models.py", line 16, in <module>
assert getenv("dbsslmode") == "require"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
I added this assert because I was getting a None type error on the env variable. I must be doing something stupid. I am using load_dotenv() but I dont this this is causing the issue.
16 replies
RRailway
Created by VincentDavis on 5/11/2024 in #✋|help
pip does not find newly deployed/updated package.
I have a project that depends on cycling-dynamics==0.0.9 but when the install runs it only find versions up to 0.0.7 I think I need to use pip --no-cache-dir How would I define this in the build script?
59 replies