Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Invalid file format. Please contact the package developer. #5950

Closed
1 task done
Mediatros opened this issue Dec 6, 2023 · 5 comments
Closed
1 task done
Labels
repo issues related to synocommunity/spkrepo

Comments

@Mediatros
Copy link

Is this a new Bug?

  • I checked that the bug hasn't been reported before

Package Name

Python

Package Version

2.7.18-25

Device Model

DS718+

Device Architecture

x86_64

Firmware Version

DSM 7.1.1-42962 Update 6

What happened?

The package is downloaded
Then i've got this error message :

Python: Invalid file format. Please contact the package developer.

Reproduction steps

  1. I clic on install button
  2. The package is downloaded
  3. Then i've got this error message :
    Python: Invalid file format. Please contact the package developer.
Capture d’écran 2023-12-06 à 13 32 53

Install Log

no log created

Service Log

No response

Other Logs

No response

@Mediatros Mediatros added the bug label Dec 6, 2023
@mreid-tt
Copy link
Contributor

mreid-tt commented Dec 6, 2023

Hi @Mediatros, this version of Python is very old and has not been updated since 2020-10-14. As such, the versions in our repo only support DSM 6 as shown on the webpage for the package:

Screenshot 2023-12-06 at 9 18 48 AM

The backend repo does have a bug where is will unfortunately show these packages available for DSM 7 even though they are not compatible if one specific to DSM 7 isn't present. There is already an issue to track this but it has not been resolved as of yet.

Can you share some more details of why you need this older version of Python? Perhaps there can be other solutions to meet your need. The current supported Python version is Python 3.11.

@mreid-tt mreid-tt added repo issues related to synocommunity/spkrepo and removed bug labels Dec 6, 2023
@Mediatros
Copy link
Author

Mediatros commented Dec 6, 2023 via email

@mreid-tt
Copy link
Contributor

mreid-tt commented Dec 6, 2023

I am interested in setting up the GateOne package, developed by M4tt075. GateOne serves as an HTML5 terminal emulator as well as an SSH client. Please note that Python is a prerequisite package for this installation. I hope this provides you with a clearer picture of my requirements. I appreciate your assistance in this matter.

Hi @Mediatros, thanks for the explanation. Gateone was similarly not updated for sometime as shown in its webpage:

Screenshot 2023-12-06 at 10 42 31 AM

Doing a bit of digging for you, our Meta: DSM7 package status document shows that this package was never updated for DSM 7. There is some discussion under another ticket GateOne Install not possible, but the TL;DR is that solutions such as these require root access to function. While this was possible up to DSM 6, the Synology folks blocked this access in DSM 7 for packages not approved by them. As such, there is not a way forward for apps of this type with the newer DSM versions. Sorry I don't have better news for you.

@hgy59
Copy link
Contributor

hgy59 commented Dec 6, 2023

This is a known issue of the synocommunity package repository.
SynoCommunity/spkrepo#63

@hgy59 hgy59 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2023
@hgy59
Copy link
Contributor

hgy59 commented Dec 6, 2023

GateOne will never run on DSM 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repo issues related to synocommunity/spkrepo
Projects
None yet
Development

No branches or pull requests

3 participants