shoomow
shoomow
Explore posts from servers
WWindmill
Created by shoomow on 11/25/2023 in #help
Exception when importing Python's CV2 lib
Cv2 was added to the list of libraries that are installed with one name, but used with another. However, it still doesn't work.
{
"error": {
"name": "ExecutionErr",
"message": "ExitCode: 1, last log lines:\nFile \"/tmp/windmill/wk-default-5adb1337158b-gtrgE/018c0760-ff83-780a-28a4-cf6d47fe78c2/wrapper.py\", line 8, in <module>\n from u.shoomow import new_patient as inner_script\n File \"/tmp/windmill/wk-default-5adb1337158b-gtrgE/018c0760-ff83-780a-28a4-cf6d47fe78c2/u/shoomow/new_patient.py\", line 6, in <module>\n import cv2\n File \"/tmp/windmill/cache/pip/opencv-python==4.8.1.78/cv2/__init__.py\", line 181, in <module>\n bootstrap()\n File \"/tmp/windmill/cache/pip/opencv-python==4.8.1.78/cv2/__init__.py\", line 153, in bootstrap\n native_module = importlib.import_module(\"cv2\")\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/importlib/__init__.py\", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nImportError: libGL.so.1: cannot open shared object file: No such file or directory"
}
}
{
"error": {
"name": "ExecutionErr",
"message": "ExitCode: 1, last log lines:\nFile \"/tmp/windmill/wk-default-5adb1337158b-gtrgE/018c0760-ff83-780a-28a4-cf6d47fe78c2/wrapper.py\", line 8, in <module>\n from u.shoomow import new_patient as inner_script\n File \"/tmp/windmill/wk-default-5adb1337158b-gtrgE/018c0760-ff83-780a-28a4-cf6d47fe78c2/u/shoomow/new_patient.py\", line 6, in <module>\n import cv2\n File \"/tmp/windmill/cache/pip/opencv-python==4.8.1.78/cv2/__init__.py\", line 181, in <module>\n bootstrap()\n File \"/tmp/windmill/cache/pip/opencv-python==4.8.1.78/cv2/__init__.py\", line 153, in bootstrap\n native_module = importlib.import_module(\"cv2\")\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/importlib/__init__.py\", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nImportError: libGL.so.1: cannot open shared object file: No such file or directory"
}
}
16 replies
WWindmill
Created by shoomow on 11/23/2023 in #help
Using invisible `drawer`
Hey all. I'm trying to refactor an app to not have drawer inside list component, and to set up a single invisible drawer outside of the list component, and use a lightweight button to open and close it. Now, opening the drawer with button is simple enough - but how, inside the drawer, do I reference data of the particular list item which button I clicked? Say, the list has id= a, it contains text component (b) and button ( c), and drawer has id= d. Drawer contains a text component e that is supposed to show value of a.result.selectedRow.b.result or something like that, but I can't figure it out. Please help.
16 replies
RRailway
Created by shoomow on 6/24/2023 in #✋|help
Problems connecting GitHub repository
Recently I noticed that autodeployment trigger I set up for my project is not working, i.e. the service was not being re-deployed on pushing updated code to the selected branch. Trying to fix it, I decided to reset the GitHub connection. Now, when trying to connect pod to a repo, no repos are found, even though the GitHub connection seems to be fine. When clicking on "Configure Github app", I'm redirected to Github page, authorize successfully, save settings without changing anything (since settings are alright), and this flow seems to finish successfully. But still: no repo can be found. How do I fix?
10 replies
RRailway
Created by shoomow on 5/27/2023 in #✋|help
500 Server Error when logging in with GitHub
Attempting to log in with GitHub results in an 'Internal Server Error' {"message":"Internal Server Error","reqId":"5420bde4-23a5-4b71-a376-9fc79c8f6ebc"}
4 replies
RRailway
Created by shoomow on 10/13/2022 in #✋|help
Environment variable issue with secondary environment
Hello. I'm trying to separate the environments on my project, and seems like I'm having an issue with variables. I'm using Doppler for secret injection, and this requires presence of the DOPPLER_TOKEN variable in Railway. Before I branched off the new environment (development), I had this variable set for production and all was working just fine. Then I created the development, and added the variable from prod copying the value, which was pointing to Doppler's prod environment. After this the production service launched fine same as before, but the development (with the same token) crashed with Doppler Error: you must provide a token I created 2 new tokens - one for prod and one for dev, and put them in corresponding places in Railway. Sadly, no change - still crashing with the same error. Given that the token is actually there, it doesn't seem like a Doppler issue to me. Could be wrong, though. Please, help.
12 replies