nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.39k stars 4.07k forks source link

[Bug]: Uploading a Python venv folder generates an error message #45168

Open ZID-TU-Graz-Collab opened 6 months ago

ZID-TU-Graz-Collab commented 6 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

Uploading a venv Folder generates Error Messages, in both, client and Browser. attached Screenshots:

  1. Browser Screenshot 2024-05-03 100519
  2. Client Client_venv

Steps to reproduce

  1. Generate a virtual environment in Python
  2. Upload the venv - folder to the cloud, either in Browser or in the Client

Expected behavior

No Error Message

Installation method

None

Nextcloud Server version

27

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

joshtrichards commented 6 months ago

venv isn't really meant to be synced across multiple computers AFAIK.. It's basically a throw away environment. I think it also uses symlinks so those could create some problems too with syncing. Might want to exclude it from sync and just sync requirements.txt or whatever.