Questions tagged [python]
Python is a dynamically and strongly typed programming language that encourages readability.
1,775 questions
0 votes
1 answer
214 views
LDAP authentication using NetBIOS form for domain in the bind Distinguished Name compared to the using of FQDN
Python code used for AD authentication I have written a client for authentication on a Microsoft Active Directory by the use of the Python library ldap. The following code works correctly: uri = "...
0 votes
0 answers
60 views
The FastCGI process exited unexpectedly for Python flask app
I am trying to deploy a Python flask application to an IIS web server. I am always getting the following error for Python flask app - FastCGI process exited unexpectedly I have given read and ...
0 votes
1 answer
198 views
Debian 13 "Trixie": Sendmail install triggers "No module named 'debpython.version'"
On a basically new installation of Debian Linux (Debian GNU/Linux 13 (trixie), full version 13.1, installed from live-boot USB downloaded from debian.org) on which I had run an update and installed / ...
0 votes
0 answers
22 views
Apache Tomcat Application slowness
We are using the ICR/OCR model in Apache Tomcat using the RHEL Linux server. app.log showing updated time taken above 4000 to 7000 milliseconds. catalina.log showing time taken below 400 milliseconds, ...
-1 votes
1 answer
64 views
gmail rejecting email from my app [closed]
I am trying to send emails from my website hosted on pythonanywhere(using Python). My email is hosted on bluehost. Whenever I am sending to an gmail address i receive an email stating that: "The ...
0 votes
0 answers
98 views
CUDA initialization: Unexpected error from cudaGetDeviceCount() error while trying to install Stable Diffusion on FreeBSD + nvidia driver 570.144
I'm trying to install Stable Diffusion on FreeBSD 14.2 + nvidia driver 570.144,following this tutorial : https://github.com/verm/freebsd-stable-diffusion There Verm used nvidia driver 525 and FreeBSD ...
1 vote
0 answers
77 views
Python polars will run on my KVM host, but not on the Guest VM
0 I have a Linux Ubuntu Server 24.04 running very nicely on some moderately old hardware, with an AMD CPU. I am able to run a Python program that uses polars without problem. I have installed a QEMU/...
0 votes
0 answers
130 views
mitmproxy ignore-hosts option does not work
Im testing https request interception using mitmproxy. I would like to add some domains to be skipped from this mechanism, there is --ignore-hosts option designed for this purpose. Unfortunately all ...
0 votes
1 answer
161 views
After updating a Kubernetes Node, a Pod running gunicorn cannot create a socket file
I recently terminated a Kubernetes Pod that was running gunicorn and now that it's on a newer Node, it won't start. When the Pod was working, the gunicorn startup logs looked like this: $ k logs pph-...
0 votes
0 answers
102 views
OpenStack image deleted after creation
I am new to OpenStack. I am migrating a server from OpenStack to VMware. I created an image/snapshot with: openstack server image create --name Odoo_v12_ubuntu_v18Snapshot Odoo_v12_ubuntu_v18 then by ...
0 votes
1 answer
185 views
DKIM ok for command line sendmail, but not for python sendmail
I'm setting up a python-based email server on Ubuntu 18 and I'm confused by the different DKIM behavior on the command line vs in python. When I use sendmail < message.tx recipient, DKIM signs it. ...
0 votes
0 answers
89 views
Dovecot IMAP mail fetch latency on import
We are working on importing emails from Gmail to Dovecot. During the process, all emails are written to a new directory within the mail folder. For fetching the emails, we are using the IMAP protocol ...
0 votes
0 answers
52 views
"Unauthorized: No token provided")
Hi I just have this small problem i'm trying to create a workout website that basically nothing or needs is meant to work until the user authenticated yeah so l've l've created everything. l've done ...
0 votes
1 answer
103 views
What is the canonical way to run pytest with Python 3.11 in Amazon Linux 2023 containers?
AWS provides support for installing python 3.11 in Amazon Linux 2023 containers. However it isn't at all obvious how you install and run a compatible pytest in this case. For example, if you do this: ...
0 votes
1 answer
207 views
Openvpn3 not working after I upgraded to python3.11, how can I make the service use python3.8 instead?
Openvpn3 stopped working after I upgraded my Ubuntu 20.04 laptop from python3.8 to python 3.11 I get this error: openvpn3-systemd[9972]: ModuleNotFoundError: No module named '_dbus_bindings' I found ...