[GELÖST] tis-deepl-Problem

Fragen zu WAPT-Paketen / Anfragen und Hilfe bezüglich WAPT-Paketen.
Forumregeln
Community-Forumregeln
* Englischer Support auf www.reddit.com/r/wapt
* Französischer Community-Support ist in diesem Forum verfügbar.
* Bitte kennzeichnen Sie gelöste Themen mit [GELÖST].
* Bitte bearbeiten Sie keine Themen, die mit [GELÖST] markiert sind. Erstellen Sie stattdessen ein neues Thema und verweisen Sie auf das alte.
* Geben Sie die installierte WAPT-Version, die vollständige Versionsnummer und die Build-Nummer (2.2.1.11957 / 2.2.2.12337 / usw.) sowie die Enterprise-/Discovery-Edition an.
* Versionen 1.8.2 und älter werden nicht mehr unterstützt. Fragen zu Version 1.8.2 werden nur beantwortet, wenn sie sich auf ein Upgrade auf eine unterstützte Version (2.1, 2.2 usw.) beziehen.
* Geben Sie das Server-Betriebssystem (Linux/Windows) und die Version (Debian Buster/Bullseye – CentOS 7 – Windows Server 2012/2016/2019) an.
* Geben Sie gegebenenfalls das Betriebssystem des Administrations-/Paketerstellungsrechners und des Rechners mit dem problematischen Agenten an (Windows 7/10/11/Debian 11/etc.).
* Vermeiden Sie es, mehrere Fragen in einem Thema zu stellen, da diese sonst möglicherweise ignoriert werden. Falls mehrere Themen relevant sind, erstellen Sie bitte separate Themen, vorzugsweise nacheinander und nicht gleichzeitig (d. h. vermeiden Sie Spam im Forum).
* Fügen Sie Code-Snippets, Screenshots und andere Bilder direkt in Ihren Beitrag ein. Links zu Pastebin, Bitly und anderen Drittanbieterseiten werden systematisch entfernt.
* Wie in jedem Community-Forum erfolgt die Unterstützung freiwillig durch die Mitglieder. Für kommerziellen Support kontaktieren Sie bitte den Vertrieb von Tranquil IT unter +44 2 40 97 57 55.
Gesperrt
Mikael S
Nachrichten: 36
Anmeldung: 20. Januar 2025 – 15:54 Uhr

16. September 2026 – 15:41 Uhr

Guten Morgen,

Wir haben ein Problem mit dem tis-deepl-Paket. Die Installation wird zwar erfolgreich abgeschlossen, aber die Anwendung stürzt ab

Code: Alle auswählen

Application: DeepL.exe
CoreCLR Version: 10.0.1226.42308
.NET Version: 10.0.12
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException: Could not load file or assembly 'Sentry, Version=6.8.0.0, Culture=neutral, PublicKeyToken=fba2ec45388e2af0'. Le fichier spécifié est introuvable.
File name: 'Sentry, Version=6.8.0.0, Culture=neutral, PublicKeyToken=fba2ec45388e2af0'
   at Sentry.Generated.BuildPropertyInitializer.Initialize()
   at Sentry.Generated.BuildPropertyInitializer.Initialize()
   at .cctor()

Code: Alle auswählen

Nom de l'application défaillante : DeepL.exe, version : 26.8.2.20990, horodatage : 0x693c0000
Nom du module défaillant : KERNELBASE.dll, version : 10.0.26100.9444, horodatage : 0x28606b21
Exception code: 0xe0434352
Fault offset: 0x00000000000c41ca
Identifiant du processus défaillant : 0x360C
Heure de début de l'application défaillante : 0x1DD45E0D9E34427
Chemin de l'application défaillante : C:\Program Files\DeepL\DeepL.exe
Chemin du module défaillant : C:\WINDOWS\System32\KERNELBASE.dll
ID du rapport : d50b5806-ea48-4f29-a86e-e6ffabef1ec2
Nom complet du package défaillant : 
Package défaillant – ID d'application relatif : 
Die Anwendung funktioniert einwandfrei mit dem offiziellen Installationsprogramm.
Haben Sie dasselbe Problem?



Aufrichtig,
kcherel
Nachrichten: 24
Anmeldung: 12. Januar 2026 - 10:01 Uhr

17. September 2026 - 11:38 Uhr

Guten Morgen,

Ich habe den Code soeben korrigiert; könnten Sie bitte setup.py mit diesem Code modifizieren?

Code: Alle auswählen

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import unzip_with_7zip

"""
    Usage of the DeepLSetup.exe seems to crash when there is already 0install installed.
    It tries to override the 0install directory in Program Files (C:\Program Files\Zero Install\)

    We are now doing a portable install of DeepL with the sources downloaded from 0install executable.
    This allow to avoid a lot of complication due to the usage of 0install and wrong usage of 0install by Deepl.
"""
app_name = "DeepL"
app_dir = makepath(programfiles, app_name)
app_path = makepath(app_dir, f"{app_name}.exe")
icon_path = app_path
audit_version = True

def install():
    # Uninstalling older package version (if deepl in registry, it is old package version)
    for to_uninstall in installed_softwares(name="DeepL"):
        print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
        killalltasks(ensure_list(control.impacted_process))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])

    # Declaring local variables
    archive_name = glob.glob(f"{app_name}.zip")[0]

    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)

    bin_name = glob.glob("DeepLSetup.exe")[0]
    run(bin_name + r" --machine --verysilent")

    # Creating custom shortcuts
    create_desktop_shortcut(bin_name)
    create_programs_menu_shortcut(bin_name)


def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)

    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)
Mikael S
Nachrichten: 36
Anmeldung: 20. Januar 2025 – 15:54 Uhr

17. September 2026 - 11:44 Uhr

Hallo,

mit dieser Konfiguration funktioniert es einwandfrei.



Viele Grüße,
Mikael S
Nachrichten: 36
Anmeldung: 20. Januar 2025 – 15:54 Uhr

18. September 2026 - 10:16 Uhr

mit Ausnahme der Wirtschaftsprüfung, die nicht mehr gut ist
kcherel
Nachrichten: 24
Anmeldung: 12. Januar 2026 - 10:01 Uhr

18. September 2026 - 12:28 Uhr

Ja, das ist mir gerade aufgefallen. Sie können es mit diesem Code erneut versuchen:

Code: Alle auswählen

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import unzip_with_7zip

"""
    Usage of the DeepLSetup.exe seems to crash when there is already 0install installed.
    It tries to override the 0install directory in Program Files (C:\Program Files\Zero Install\)

    We are now doing a portable install of DeepL with the sources downloaded from 0install executable.
    This allow to avoid a lot of complication due to the usage of 0install and wrong usage of 0install by Deepl.
"""
app_name = "DeepL"
app_dir = makepath(programfiles, app_name)
app_path = makepath(app_dir, f"{app_name}.exe")
icon_path = app_path
audit_version = True

def install():
    # Uninstalling older package version (if deepl in registry, it is old package version)
    for to_uninstall in installed_softwares(name="DeepL"):
        print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
        killalltasks(ensure_list(control.impacted_process))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])

    # Declaring local variables
    archive_name = glob.glob(f"{app_name}.zip")[0]

    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)

    bin_name = glob.glob("DeepLSetup.exe")[0]
    run(bin_name + r" --machine --verysilent")

    # Creating custom shortcuts
    create_desktop_shortcut(bin_name)
    create_programs_menu_shortcut(bin_name)

def audit():
    print("Auditing: %s" % control.package)

    if installed_softwares(name=app_name):
        print("%s is installed" % app_name)
        return "OK"

    print("%s is not installed" % app_name)
    return "ERROR"

def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)

    for to_uninstall in installed_softwares(name="DeepL"):
        print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
        killalltasks(ensure_list(control.impacted_process))
        run(to_uninstall["uninstall_string"])
        wait_uninstallkey_absent(to_uninstall["key"])

    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)
Wir entschuldigen uns für den Fehler. Das Produkt wird in 5 Tagen im Shop erhältlich sein.

Aufrichtig,
Kevin.
Gesperrt