id

318

publisher

goffi@goffi.org/c39122f6-a89d-49cc-bed3-4912d7081076

title
Cagou crashes when we try to send a file to Gajim via direct download
author
Goffi
created
04/07/2019, 08:05
updated
09/07/2019, 17:48
labels
cagou file transfer
type
bug
status
closed
priority
normal
milestone
0.7
severity
normal
body

When trying to send a file using direct transfer (jingle) with Gajim, using Cagou's flatpak, the application crashes with following traceback:

/!\ [dbus.connection] Unable to set arguments (u'louise@tazar2.int/gajim.XWH99M8L', u'/home/goffi/out-30.ogv', '', '', dbus.String(u'goffi')) according to signature u'ssssa{ss}s': <type 'exceptions.TypeError'>: string indices must be integers
Traceback (most recent call last):
  File "/app/bin/cagou", line 4, in <module>
    __import__('pkg_resources').run_script('cagou==0.7.0.dev0+f55b60659ec1.9', 'cagou')
  File "/app/lib/python2.7/site-packages/pkg_resources/__init__.py", line 664, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/app/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1444, in run_script
    exec(code, namespace, namespace)
  File "/app/lib/python2.7/site-packages/cagou-0.7.0.dev0+f55b60659ec1.9-py2.7.egg/EGG-INFO/scripts/cagou", line 23, in <module>
    cagou.run()
  File "/app/lib/python2.7/site-packages/cagou-0.7.0.dev0+f55b60659ec1.9-py2.7.egg/cagou/__init__.py", line 38, in run
    host.run()
  File "/app/lib/python2.7/site-packages/cagou-0.7.0.dev0+f55b60659ec1.9-py2.7.egg/cagou/core/cagou_main.py", line 504, in run
    self.app.run()
  File "/app/lib/python2.7/site-packages/Kivy-1.11.1-py2.7-linux-x86_64.egg/kivy/app.py", line 855, in run
    runTouchApp()
  File "/app/lib/python2.7/site-packages/Kivy-1.11.1-py2.7-linux-x86_64.egg/kivy/base.py", line 504, in runTouchApp
    EventLoop.window.mainloop()
  File "/app/lib/python2.7/site-packages/Kivy-1.11.1-py2.7-linux-x86_64.egg/kivy/core/window/window_sdl2.py", line 747, in mainloop
    self._mainloop()
  File "/app/lib/python2.7/site-packages/Kivy-1.11.1-py2.7-linux-x86_64.egg/kivy/core/window/window_sdl2.py", line 479, in _mainloop
    EventLoop.idle()
  File "/app/lib/python2.7/site-packages/Kivy-1.11.1-py2.7-linux-x86_64.egg/kivy/base.py", line 339, in idle
    Clock.tick()
  File "/app/lib/python2.7/site-packages/Kivy-1.11.1-py2.7-linux-x86_64.egg/kivy/clock.py", line 591, in tick
    self._process_events()
  File "kivy/_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events
  File "kivy/_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events
  File "kivy/_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events
  File "kivy/_clock.pyx", line 167, in kivy._clock.ClockEvent.tick
  File "/app/lib/python2.7/site-packages/cagou-0.7.0.dev0+f55b60659ec1.9-py2.7.egg/cagou/plugins/plugin_transfer_file.py", line 75, in <lambda>
    Clock.schedule_once(lambda *args: self.onFiles(files=files), 0)
  File "/app/lib/python2.7/site-packages/cagou-0.7.0.dev0+f55b60659ec1.9-py2.7.egg/cagou/plugins/plugin_transfer_file.py", line 79, in onFiles
    self.callback(files[0])
  File "/app/lib/python2.7/site-packages/cagou-0.7.0.dev0+f55b60659ec1.9-py2.7.egg/cagou/core/menu.py", line 317, in onTransferCb
    if self.ids['upload_btn'].state == "down" else C.TRANSFER_SEND))
  File "/app/lib/python2.7/site-packages/cagou-0.7.0.dev0+f55b60659ec1.9-py2.7.egg/cagou/plugins/plugin_wid_chat.py", line 697, in onTransferOK
    profile=self.profile)
  File "/app/lib/python2.7/site-packages/sat-0.7.0b4-py2.7.egg/sat_frontends/bridge/dbus_bridge.py", line 135, in getPluginMethod
    return method(*args, **kwargs)
  File "/run/build/dbus-python/build/lib.linux-x86_64-2.7/dbus/proxies.py", line 145, in __call__
  File "/run/build/dbus-python/build/lib.linux-x86_64-2.7/dbus/connection.py", line 641, in call_blocking
TypeError: string indices must be integers
zsh: exit 1     flatpak run org.salutatoi.Cagou
comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_gaoFqAfZaM7Lp2MK69Udeb

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