id

138

publisher

goffi@goffi.org/d08fc2c8-30c5-4081-bff7-2f0f733436e8

title
Give a precise message instead of a full stack to the user
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
body

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 ?

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_138
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.

You are not logged. You need to log in to comment.