Skip to main content

Questions tagged [python]

Python is a dynamically and strongly typed programming language that encourages readability.

-3 votes
0 answers
35 views

A device can't connect to our server but was able to before [closed]

A device that can previously connect to our server, for some unknown reason, can't do so now. Other devices can connect to the server just fine. That device could connect to hivemq but not to our ...
rminaj's user avatar
  • 115
0 votes
0 answers
46 views

How to resolve glibc errors in conda enviroment installation?

I am a non root user in a Linux based cluster. It doesn't have docker nor I have privileges to install it. The base environment have GLIBC version 2.17. I am trying to install packages (like faiss-gpu,...
Ayush Gupta's user avatar
0 votes
1 answer
72 views

How to hide subprocess ran from systemd service from systemd supervision?

I have a timer # ss-agent.timer [Unit] Description=Timer to run agent [Timer] OnUnitActiveSec=60 [Install] WantedBy=timers.target I have a service # ss-agent.service [Unit] Description=Agent to ...
jno's user avatar
  • 101
0 votes
0 answers
23 views

Iptables does not capture bridged packets

I have a linux (kernel 6.6) with eth0 and eth1. I create a br0 from them. The linux is between a pc and a router. I want to capture tcp packets on the br0 with destination ip 190.191.60.136 and dport ...
seq16's user avatar
  • 1
0 votes
0 answers
80 views

Python Application on Kamatera Server Keeps Dying and Hanging

I'm running a Python application on a Kamatera server with FreeBSD 14, using supervisord for automatic restarts. The supervisord config is as follows: [program:reactivebb] command=poetry run python3....
Demian's user avatar
  • 101
0 votes
1 answer
22 views

Nginx or uWSGI to serve sitemap and robots?

Does it matter whether it's nginx or uwsgi that serves sitemap.xml and robots.txt? If it's uwsgi, then I'd need to add the two routes in my python server, which I feel like gets a bit cluttered. With ...
No Name's user avatar
  • 101
3 votes
2 answers
95 views

Removing obsolete shortcuts in ~/.local/bin

When installing a package with pip install --user, it will create shortcuts/launchers in ~/.local/bin for any executable entry points in that package. After upgrading Python via the distro's package ...
Martin Cejp's user avatar
1 vote
0 answers
36 views

AH01797, access_compat:error cannot find root cause

No matter where I set my "Require all granted" block in my httpd conf, I keep running into these errors: [Thu May 30 10:55:16.510272 2024] [access_compat:error] [pid 1076428] [client 10.192....
itinneed2022_1's user avatar
2 votes
1 answer
375 views

Docker is utilizing 100% of the CPU on all cores of the host, yet `docker stats` indicates a usage of only 2%

I have a Debian 12 server with 2 CPU, 1.9 GB RAM, and Docker 24.0.6. After a reboot, CPU usage is at 0%. Starting a Docker container, CPU usage spikes to 75-100% on all cores of the host. Checking ...
hotips's user avatar
  • 433
0 votes
1 answer
65 views

python: oracledb ignores position of positional bind valuedoes not bind positional values correctly

i want to update a table in oracle using python3 with oracledb and positional values. A simple example, which is not working: sql = "update table set col1 = :2, col2 = :3 where id = :1" ...
sususo's user avatar
  • 1
0 votes
1 answer
42 views

Is it possible to have async in a KVM with only one vCPU core?

I'm running a cheap VPS plan with only 1 vCPU core. My webapp's backend has asynchronous operations using python concurrent.futures. It works fine on my machine, but in the VPS, the async operation ...
No Name's user avatar
  • 101
0 votes
1 answer
85 views

Routing Configuration for Multihomed Device

I have an issue with a multihomed device, which has to fulfill some specific requirements. I try to describe this question as neutral as possible and not to go into details of possible solutions up ...
Cellcon's user avatar
  • 103
0 votes
0 answers
48 views

How to handle memory issue in Heroku?

I went through this article https://help.heroku.com/TWBM7DL0/how-do-i-measure-current-memory-use-and-max-available-memory-on-a-dyno-in-a-private-space to learn about How do I measure current memory ...
Bad Coder's user avatar
-1 votes
2 answers
80 views

How do companies manage software versioning for tools, frameworks, etc.?

If a company is using many different software, is there a way to automate version tracking - comparing current version being used in the company and latest version released, and maybe taking actions ...
Arpi's user avatar
  • 1
0 votes
1 answer
131 views

Virtual environment created with pipx - update python version

I have package installed with command: pipx install package Now I need: update Python version installed on server (this can be done eaisly by apt command update Python version inside existing virtual ...
user1209216's user avatar

15 30 50 per page
1
2 3 4 5
119