Seite 1 von 1

[GELÖST] Fehler bei der Deinstallation des Office-Pakets

Veröffentlicht: 26. Juni 2018 - 10:04 Uhr
von Louisinger
Guten Morgen,

Ich habe Probleme beim Deinstallieren meines Office Pro+ 2016-Pakets. Die Installation verläuft problemlos, aber bei der Deinstallation gibt es Schwierigkeiten. Ich erhalte folgende Fehlermeldung: KRITISCHER FEHLER

Fehler beim Ausführen des Deinstallationsskripts: Kein Modul namens „setup“ gefunden

Hier ist genauer, was der Befehl zurückgibt wapt-get remove mnt-microsoft-office :

Code: Alle auswählen

PS C:\Users\louisinger> wapt-get remove mnt-microsoft-office
2018-06-26 09:36:53,338 INFO User Groups:[]
2018-06-26 09:36:53,339 DEBUG WAPT base directory : C:\Program Files (x86)\wapt
2018-06-26 09:36:53,341 DEBUG Package cache dir : C:\Program Files (x86)\wapt\cache
2018-06-26 09:36:53,342 DEBUG WAPT DB Structure version;: 20180303
2018-06-26 09:36:53,342 DEBUG Checking if old install in progress
2018-06-26 09:36:53,349 DEBUG Thread 4264 is connecting to wapt db
2018-06-26 09:36:53,351 DEBUG DB Start transaction
2018-06-26 09:36:53,351 DEBUG reset stalled install_status in database
2018-06-26 09:36:53,354 INFO Status :
2018-06-26 09:36:53,355 DEBUG DB commit
Removing mnt-microsoft-office ...
2018-06-26 09:36:53,364 INFO Status : Removing package mnt-microsoft-office version 16.0.8431.2270-69 from computer...
2018-06-26 09:36:53,365 DEBUG DB Start transaction
2018-06-26 09:36:53,365 DEBUG DB commit
2018-06-26 09:36:53,390 DEBUG uninstall key not registered in local DB status.
2018-06-26 09:36:53,391 INFO setup.uninstall for package mnt-microsoft-office with params {}
2018-06-26 09:36:53,391 DEBUG Sourcing setup from DB
2018-06-26 09:36:53,394 DEBUG Import source code as __waptsetup_6mtn83wm6i__
2018-06-26 09:36:53,397 DEBUG   Change current directory to C:\Users\louisinger
2018-06-26 09:36:53,397 CRITICAL Error running uninstall script: No module named setup
2018-06-26 09:36:53,398 INFO Remove status record from local DB for mnt-microsoft-office
2018-06-26 09:36:53,398 DEBUG DB Start transaction
2018-06-26 09:36:53,401 DEBUG DB commit
2018-06-26 09:36:53,407 INFO Additional packages to remove : []
2018-06-26 09:36:53,411 DEBUG Check if host package "D7BC2042-E8CF-9038-A64E-43C177B5E03B" is available
2018-06-26 09:36:53,414 DEBUG Checking if D7BC2042-E8CF-9038-A64E-43C177B5E03B (=56) is installed/outdated
2018-06-26 09:36:53,440 DEBUG store status in DB
2018-06-26 09:36:53,440 DEBUG DB Start transaction
2018-06-26 09:36:53,443 DEBUG DB commit
2018-06-26 09:36:53,448 INFO Status :
2018-06-26 09:36:53,450 DEBUG DB Start transaction
2018-06-26 09:36:53,450 DEBUG DB commit
=== Removed packages ===
  mnt-microsoft-office
=== Error removing packages ===
  mnt-microsoft-office
2018-06-26 09:36:53,461 DEBUG Starting new HTTPS connection (1): srvwaptprd.mnt.fr
2018-06-26 09:36:53,493 DEBUG https://srvwaptprd.mnt.fr:443 "HEAD /ping HTTP/1.1" 200 0
2018-06-26 09:36:53,549 DEBUG Unable to GET username from SID S-1-5-21-259322336-1362810705-2350445518-1000 : (1332, 'Lo
okupAccountSid', 'Le mappage entre les noms de compte et les ID de s\xe9curit\xe9 n\x92a pas \xe9t\xe9 effectu\xe9.'), u
sing profile directory instead
2018-06-26 09:36:53,759 DEBUG Starting new HTTPS connection (1): srvwaptprd.mnt.fr
2018-06-26 09:36:53,854 DEBUG https://srvwaptprd.mnt.fr:443 "POST /update_host HTTP/1.1" 200 172
2018-06-26 09:36:53,855 DEBUG DB Start transaction
2018-06-26 09:36:53,858 DEBUG DB commit
2018-06-26 09:36:53,864 INFO Status on server https://srvwaptprd.mnt.fr updated properly
2018-06-26 09:36:53,865 DEBUG update_server_status successful {u'msg': u'update_host', u'result': {u'computer_fqdn': u'd
054e104.mnt.fr', u'uuid': u'D7BC2042-E8CF-9038-A64E-43C177B5E03B'}, u'success': True, u'request_time': 0.062999963760375
98}
WAPT findet das setup.py-Modul während der Installation, aber nicht während der Deinstallation.
Was mir seltsam vorkommt, ist, dass dieser berühmte Wechseln Sie in das Verzeichnis C:\Users\louisinger kurz vor dem Fehler.

Hat jemand eine Lösung oder einen Vorschlag?

-------------------------
Mein Setup:

WAPT-Version: 1.5
Betriebssystem des Entwicklungsrechners: Windows 10
Server: Debian 9

Betreff: Fehler bei der Deinstallation des Office-Pakets

Veröffentlicht: 4. Juli 2018 - 12:06 Uhr
von Louisinger
Niemand, der mir helfen kann?

Betreff: Fehler bei der Deinstallation des Office-Pakets

Veröffentlicht: 11. Juli 2018 - 10:55 Uhr
von htouvet
Wechseln Sie in das Verzeichnis C:\Users\louisinger
Das ist normal. Während der Installation wechselt das aktuelle Verzeichnis in das temporäre Verzeichnis, in dem das Paket entpackt wird.
Am Ende des Vorgangs (auch im Fehlerfall) wird das vorherige aktuelle Verzeichnis wiederhergestellt.
Das ist nicht das Problem.

Während des "Deinstallations"-Vorgangs wird das Setup-Modul aus der lokalen wapt-Datenbank gelesen (da das .wapt-Paket im Zip-Format zu diesem Zeitpunkt nicht mehr auf dem Rechner vorhanden ist)

Der erwähnte Fehler könnte sich auf Folgendes beziehen:
Revision: 5e66fe47ee9e1dda56cc10f70abe3be1ebe902ce
Autor: htouvet <htouvet-github@tranquil.it>
Datum: 07.12.2017 19:06:11
Nachricht:
...
----
Geändert: common.py
...
Welche Wapt-Version ist es?
(siehe den Hash in c:\program files (x86)\wapt\revision.txt)

Was ist der Inhalt Ihrer uninstall()-Funktion?

Betreff: Fehler bei der Deinstallation des Office-Pakets

Veröffentlicht: 11. Juli 2018 - 11:48 Uhr
von Louisinger
Hallo,

ich habe das Problem vor zwei Tagen gelöst. Es lag offenbar an einem Importproblem :? .
Nachdem ich meine Importe bereinigt hatte, funktionierte es wie durch ein Wunder. Ich denke, es handelt sich um das berüchtigte Problem zirkulärer Importe in Python: https://gist.github.com/datagrok/40bf84d5870c41a77dc6

. Ich markiere dies als [GELÖST]. Danke.