J

Cagou crashes if sat is not launched.

When launched from the command line:
python2 main.py

Kivy: v1.10.0
Python: v2.7.14 (default, Sep 20 2017, 01:25:59)
[GCC 7.2.0]
Factory: 194 symbols loaded
Image: Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
Text: Provider: sdl2
OSC: using <multiprocessing> for socket
Window: Provider: sdl2(['window_egl_rpi'] ignored)
GL: Using the "OpenGL" graphics system
GL: Backend used <gl>
GL: OpenGL version <3.0 Mesa 17.2.6>
GL: OpenGL vendor <X.Org>
GL: OpenGL renderer <AMD RS780 (DRM 2.50.0 / 4.14.4-1-ARCH, LLVM 5.0.0)>
GL: OpenGL parsed version: 3, 0
GL: Shading version <1.30>
GL: Texture max size <8192>
GL: Texture max units <16>
Window: auto add sdl2 input provider
Window: virtual keyboard not allowed, single mode, not docked
plugin_transfer_voice is not used on this platform, skipping
plugin_transfer_android_photo is not used on this platform, skipping
plugin_transfer_android_gallery is not used on this platform, skipping
plugin_transfer_android_video is not used on this platform, skipping
Error while initialising bridge: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.goffi.SAT exited with status 1
Traceback (most recent call last):
File "main.py", line 23, in <module>
cagou.run()
File "/home/arnaud/files/packages/salut_a_toi/sat-cagou-hg/src/cagou/src/cagou/init.py", line 33, in run
host.run()
File "/home/arnaud/files/packages/salut_a_toi/sat-cagou-hg/src/cagou/src/cagou/core/cagou_main.py", line 327, in run
self.connectBridge()
File "/usr/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_app.py", line 264, in connectBridge
self.bridge.bridgeConnect(callback=self._bridgeCb, errback=self._bridgeEb)
File "/usr/lib/python2.7/site-packages/sat_frontends/bridge/dbus_bridge.py", line 82, in bridgeConnect
callback()
File "/usr/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_app.py", line 270, in _bridgeCb
self.registerSignal("connected")
File "/usr/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_app.py", line 351, in registerSignal
self.bridge.register_signal(function_name, signalReceived, iface)
File "/usr/lib/python2.7/site-packages/sat_frontends/bridge/dbus_bridge.py", line 87, in register_signal
self.db_core_iface.connect_to_signal(functionName, handler)
AttributeError: 'function' object has no attribute 'connect_to_signal'

G

goffi 19/07/2019, 20:16

Checked with current version, if backend is not running Cagou now show the expected: `Can't connect to SàT backend, are you sure it's launched ?`. Closing this ticket.

id

223

author

Jnanar

created

22/12/2017, 15:13

updated

19/07/2019, 20:16

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