Compare commits

..

No commits in common. "23dbf97309e52816596702646f0b0fdb10c890e0" and "1a1344a48676a3bc72dd8bf8ee544236611a3b84" have entirely different histories.

3 changed files with 8 additions and 12 deletions

View file

@ -11,7 +11,7 @@ from core.controllers.tickets.UseTicketController import (
from core.models.session.SessionProfile import SessionProfile from core.models.session.SessionProfile import SessionProfile
from core.models.system.SystemProfile import SystemProfile from core.models.system.SystemProfile import SystemProfile
from core.models.Result import Result, ResultError from core.models.Result import Result, ResultError
from core.errors.exceptions import SudoScript, MissingPreReqs, FirewallError from core.errors.exceptions import SudoScript, MissingPreReqs
from core.Errors import ( from core.Errors import (
CommandNotFoundError, CommandNotFoundError,
EndpointVerificationError, EndpointVerificationError,
@ -120,8 +120,6 @@ class Worker(QObject):
self.update_signal.emit(str(e), False, None, None, None) self.update_signal.emit(str(e), False, None, None, None)
except MissingPreReqs as e: except MissingPreReqs as e:
self.update_signal.emit(str(e), False, None, None, None) self.update_signal.emit(str(e), False, None, None, None)
except FirewallError as e:
self.update_signal.emit(str(e), False, None, None, None)
except Exception as e: except Exception as e:
print(e) print(e)
self.update_signal.emit( self.update_signal.emit(

View file

@ -16,7 +16,7 @@ from core.models.session.SessionProfile import SessionProfile
from core.models.system.SystemConnection import SystemConnection from core.models.system.SystemConnection import SystemConnection
from core.models.BaseProfile import ProfileType from core.models.BaseProfile import ProfileType
from core.models.system.SystemProfile import SystemProfile from core.models.system.SystemProfile import SystemProfile
from core.errors.exceptions import SudoScript, MissingPreReqs, FirewallError from core.errors.exceptions import SudoScript, MissingPreReqs
from core.models.Result import Result, ResultError from core.models.Result import Result, ResultError
from gui.v2.infrastructure.setup_observers import ( from gui.v2.infrastructure.setup_observers import (
@ -135,12 +135,10 @@ class WorkerThread(QThread):
ProfileController.disable( ProfileController.disable(
profile, ignore=True, profile_observer=profile_observer) profile, ignore=True, profile_observer=profile_observer)
self.text_output.emit("All profiles were successfully disabled") self.text_output.emit("All profiles were successfully disabled")
except SudoScript as e: # except SudoScript as e:
self.text_output.emit(e) # self.text_output.emit(e)
except FirewallError as e: # except MissingPreReqs as e:
self.text_output.emit(e) # self.text_output.emit(e)
except MissingPreReqs as e:
self.text_output.emit(e)
except Exception: except Exception:
self.text_output.emit("An error occurred when disabling profile") self.text_output.emit("An error occurred when disabling profile")
finally: finally:

View file

@ -1,6 +1,6 @@
[project] [project]
name = "sp-hydra-veil-gui" name = "sp-hydra-veil-gui"
version = "2.4.8" version = "2.4.7"
authors = [ authors = [
{ name = "Simplified Privacy" }, { name = "Simplified Privacy" },
] ]
@ -12,7 +12,7 @@ classifiers = [
"Operating System :: POSIX :: Linux", "Operating System :: POSIX :: Linux",
] ]
dependencies = [ dependencies = [
"sp-hydra-veil-core == 2.5.3", "sp-hydra-veil-core == 2.4.3",
"pyperclip ~= 1.9.0", "pyperclip ~= 1.9.0",
"pyqt6 ~= 6.7.1", "pyqt6 ~= 6.7.1",
"qrcode[pil] ~= 8.2" "qrcode[pil] ~= 8.2"