Giter Club home page Giter Club logo

superisoupdater's Introduction

superisoupdater's People

Contributors

joshuavandaele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

superisoupdater's Issues

Cannot install with python3

cc@cc-1-0:~/Desktop/SuperISOUpdater-1.1.3$ sh
$ python3 -m pip install sisou
error: externally-managed-environment

ร— This environment is externally managed
โ•ฐโ”€> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
$ exit
cc@cc-1-0:~/Desktop/SuperISOUpdater-1.1.3$ python3 -m pip install .
error: externally-managed-environment

ร— This environment is externally managed
โ•ฐโ”€> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
cc@cc-1-0:~/Desktop/SuperISOUpdater-1.1.3$

What worked was using pipx.

f-strings aren't correctly processed under certain versions of Python

Describe the bug
Certain f-strings, if they contains a quote inside themselves, will error out

To Reproduce
name = "Joshua"
print(f"Hello, {"User " + name}")

Expected behavior
"Hello, User Joshua"
Instead: Error

Screenshots
image

Information (please complete the following information):

  • Installer: Windows
  • Python version 3.11.6

Additional context
This seems to only happen on Windows

No hash verification

Describe the bug
No verification of the ISO files before moving onto the next step. (moving them into folders)

To Reproduce
Steps to reproduce the behavior:

Update any iso.
Spam close the process (ctrl+C or ctrl+Z).
Restart the process.
Constate that a 360kb file is now my debian ISO and there is no update.

Expected behavior

Completion verification at least. But SHA256 verification would be the right thing to do. Perhaps with a setting to toggle.

Some downloads will eventually be faulty, leading to the moment where a user cannot get their distro to run for unknown reasons. Before they redownload the right ISO they will fiddle a bit, leading to frustrations.

Ubuntu Interim is broken

Describe the bug
The check of integrity fails while parsing the hash

To Reproduce

  • Enable Ubuntu Interim in your config.toml
  • Run the tool

Expected behavior
The hash is correctly parsed and can be verified

Screenshots
N/A

Information (please complete the following information):

  • Python version: 3.11.4
Traceback (most recent call last):
  File "/home/folfy/Desktop/python/SuperISOUpdater/modules/updaters/GenericUpdater.py", line 114, in install_latest_version
    integrity_check = self.check_integrity()
                      ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/folfy/Desktop/python/SuperISOUpdater/modules/updaters/Ubuntu.py", line 67, in check_integrity
    sha256_sum = parse_hash(
                 ^^^^^^^^^^^
  File "/home/folfy/Desktop/python/SuperISOUpdater/modules/utils.py", line 213, in parse_hash
    return next(
           ^^^^^
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/folfy/Desktop/python/SuperISOUpdater/superiso.py", line 47, in run_updater
    updater.install_latest_version()
  File "/home/folfy/Desktop/python/SuperISOUpdater/modules/updaters/GenericUpdater.py", line 121, in install_latest_version
    raise IntegrityCheckError(
modules.exceptions.IntegrityCheckError: Integrity check failed: An error occurred

Additional context
N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.