I’m getting this error [SSL: CERTIFICATE_VERIFY_FAILED} (_ssl.c:1002) when im using fastapi_mail library when using my windows pc

I have a fastapi application that uses fastapi_mail library to send verification email to the user when the user register, also the app is begin containerized using docker, moreover the same image and the same app with it’s all it’s configuration is being used on my windows PC and on my Mac labtop, the main … Read more

Cannot assign value of type ‘UIKit.UIView’ to type ‘UIKit.UIView’ [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 10 hours ago. Improve this question Any help in solving this compilation error. I … Read more

Stacked and grouped barplot in r

I have a stacked and grouped bar plot in ggplot2 but stack appears as lines. Is there a way to fix it? p1 and summed_spendings are continuous variables.Fill variable is discrete with values 0,1,2. ggplot(x, aes(x = p1, y = summed_spendings,fill=Kidhome)) + geom_bar(stat = “identity”)+ facet_grid(~Teenhome) 1 Can you share your data. try dput(x) and … Read more

Updating object IntegrityError, NOT NULL constraint failed

I’m trying to create view for my Food Tracking App where I can first pick a given date and then add items to the FoodLog object, however while viewing macros work after picking date, I can’t really add any new other objects becuase of the following error: django.db.utils.IntegrityError: NOT NULL constraint failed: accounts_foodlogfooditem.food_log_id [23/Sep/2023 13:56:08] … Read more

Django threaded comments (MPTT) optimization issue

I’m using MPTT model to build a nested comments system in my Django Rest project. Everything works so far but I experience a huge performance issue when querying a database for API response. The schema of comments layout: Root Comment / \ Comment Comment / \ Child Child Whenever I’m querying all comments as an … Read more

What is the dependency between GitLab executor and git strategy?

It is possible to set GIT_STRATEGY variable for a pipeline which should define if repo will be cloned or fetched before each job. According to workflow cloning/fetching is done by executors. Does the fact that repo will be fetched or cloned also depend on Reuse previous clone if it exists executors’ ability?

SocketIO empty FormData received at Flask backend

I’m trying to send some form values including file via SocketIO const handleSubmit = () => { const formData = new FormData(); formData.append(‘num1’, numbers.num1); formData.append(‘num2’, numbers.num2); formData.append(‘file’, file); socket.emit(‘submit’, {payload: formData}); }; In console.log() I see numbers.num1, numbers.num2, file: 1 1 File { name: “data.zip”, lastModified: 1691230842633, webkitRelativePath: “”, size: 1196056, type: “application/x-zip-compressed” } Event … Read more