G

Give a precise message instead of a full stack to the user

When launching primitivus without having started sat before, we receive a stack: Traceback (most recent call last): File "/usr/local/bin/primitivus", line 798, in <module> sat = PrimitivusApp() File "/usr/local/bin/primitivus", line 284, in init QuickApp.init(self, create_bridge=DBusBridgeFrontend, xmlui=xmlui, check_options=quick_utils.check_options) File "/usr/local/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_app.py", line 239, in init self.bridge = create_bridge() File "/usr/local/lib/python2.7/site-packages/sat_frontends/bridge/DBus.py", line 80, in init raise e dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.goffi.SAT exited with status 127 As a dev, this can make sense but as a user, that sounds like cryptic message. Please provide a clear information on what is going on. For example, in this case, a simple: please start sat before launching primitivus (or please check that sat is running via sat status before running this frontend) What do you think ?

G

goffi 19/07/2019, 21:23

Primitivus is nowadays showing the message `Can't connect to SàT backend, are you sure it's launched ?` when backend is not launched. Closing this issue.

id

138

author

Xavier Maillard

created

23/04/2016, 05:16

updated

19/07/2019, 21:23

labels
Primitivus
type
bug
status
closed
priority
normal
milestone
0.7
severity
normal