Package Details: sat-cagou-hg r238.7918a5668304-1

Git Clone URL: https://aur.archlinux.org/sat-cagou-hg.git (read-only)
Package Base: sat-cagou-hg
Description: Salut à Toi, multi-frontends multi-purposes XMPP client (Android/Desktop interface)
Upstream URL: None
Licenses: AGPL3
Submitter: jnanar
Maintainer: jnanar
Last Packager: jnanar
Votes: 0
Popularity: 0.000000
First Submitted: 2018-05-26 09:21
Last Updated: 2018-09-09 09:30

Latest Comments

jnanar commented on 2018-09-09 09:28

theYinYeti thanks for your comments. The packages are being updated following upstream. I will add the dependencies according to your messages.

At the moment, sat added support for OMEMO but the dependency is not yet added to the pkgbuild. Unfortunately, the latest sat version is not ready. I will update as soon as possible.

theYinYeti commented on 2018-08-24 17:42

Problem solved: sat-media (or …-hg) should probably be declared as a dependency ;-) I had another “wtf” moment when I could not login… until I noticed that the blank line under my JID was actually an input field where I was supposed to enter the password :-D After that, I really like the look-n-feel! Congratulations! Neat software.

theYinYeti commented on 2018-08-21 17:18

On a hunch, I ran garden install modernmenu and this seems to solve issue #3 :-)

Now it launches! At least it did when I understood, that I had to run sat first!

A small comment, which should probably become a proper issue: In the Profile Manager, when I create my profile, the fields are invisible (white-on-white) until focused…

But now, after I select my newly-created profile, and click [Connect], I get:

/!\ Image: Error reading file /usr/share/sat/media/misc/black.png
Base: Leaving application in progress...
Traceback (most recent call last):
  File "/usr/bin/cagou", line 23, in <module>
    cagou.run()
  File "/usr/lib/python2.7/site-packages/cagou/__init__.py", line 38, in run
    host.run()
  File "/usr/lib/python2.7/site-packages/cagou/core/cagou_main.py", line 420, in run
    self.app.run()   
  File "/usr/lib/python2.7/site-packages/kivy/app.py", line 826, in run
    runTouchApp()
  File "/usr/lib/python2.7/site-packages/kivy/base.py", line 502, in runTouchApp
    EventLoop.window.mainloop()
  File "/usr/lib/python2.7/site-packages/kivy/core/window/window_sdl2.py", line 727, in mainloop
    self._mainloop() 
  File "/usr/lib/python2.7/site-packages/kivy/core/window/window_sdl2.py", line 460, in _mainloop
    EventLoop.idle() 
  File "/usr/lib/python2.7/site-packages/kivy/base.py", line 340, in idle
    self.dispatch_input()
  File "/usr/lib/python2.7/site-packages/kivy/base.py", line 325, in dispatch_input
    post_dispatch_input(*pop(0))
  File "/usr/lib/python2.7/site-packages/kivy/base.py", line 231, in post_dispatch_input
    listener.dispatch('on_motion', etype, me)
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/core/window/__init__.py", line 1360, in on_motion
    self.dispatch('on_touch_down', me)
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/core/window/__init__.py", line 1376, in on_touch_down
    if w.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/screenmanager.py", line 1191, in on_touch_down
    return super(ScreenManager, self).on_touch_down(touch)
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/relativelayout.py", line 288, in on_touch_down
    ret = super(RelativeLayout, self).on_touch_down(touch)
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/screenmanager.py", line 1191, in on_touch_down
    return super(ScreenManager, self).on_touch_down(touch)
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/relativelayout.py", line 288, in on_touch_down
    ret = super(RelativeLayout, self).on_touch_down(touch)
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python2.7/site-packages/kivy/uix/behaviors/button.py", line 151, in on_touch_down
    self.dispatch('on_press')
  File "kivy/_event.pyx", line 703, in kivy._event.EventDispatcher.dispatch
  File "kivy/_event.pyx", line 1214, in kivy._event.EventObservers.dispatch
  File "kivy/_event.pyx", line 1098, in kivy._event.EventObservers._dispatch
  File "/usr/lib/python2.7/site-packages/kivy/lang/builder.py", line 64, in custom_callback
    exec(__kvlang__.co_value, idmap)
  File "/usr/lib/python2.7/site-packages/cagou/kv/profile_manager.kv", line 160, in <module>
    on_press: self.pm._onConnectProfiles()
  File "/usr/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_profile_manager.py", line 186, in _onConnectProfiles
    self.host.plug_profiles(profiles)
  File "/usr/lib/python2.7/site-packages/sat_frontends/quick_frontend/quick_app.py", line 592, in plug_profiles
    self.plugging_profiles()
  File "/usr/lib/python2.7/site-packages/cagou/core/cagou_main.py", line 747, in plugging_profiles
    self.app.root.changeWidget(widgets_handler.WidgetsHandler())
  File "/usr/lib/python2.7/site-packages/cagou/core/widgets_handler.py", line 472, in __init__
    self.wrapper = self.add_widget()
  File "/usr/lib/python2.7/site-packages/cagou/core/widgets_handler.py", line 460, in add_widget
    wid = self.default_widget
  File "/usr/lib/python2.7/site-packages/cagou/core/widgets_handler.py", line 402, in default_widget
    return G.host.default_wid['factory'](G.host.default_wid, None, None)
  File "/usr/lib/python2.7/site-packages/cagou/plugins/plugin_wid_widget_selector.py", line 71, in factory
    return cls()
  File "/usr/lib/python2.7/site-packages/cagou/plugins/plugin_wid_widget_selector.py", line 55, in __init__
    super(WidgetSelector, self).__init__()
  File "/usr/lib/python2.7/site-packages/cagou/core/cagou_widget.py", line 70, in __init__
    self.selector = HeaderWidgetSelector(self)
  File "/usr/lib/python2.7/site-packages/cagou/core/cagou_widget.py", line 48, in __init__
    choice = HeaderWidgetChoice(cagou_widget, plugin_info)
  File "/usr/lib/python2.7/site-packages/cagou/core/cagou_widget.py", line 35, in __init__
    super(HeaderWidgetChoice, self).__init__()
  File "/usr/lib/python2.7/site-packages/kivy/uix/behaviors/button.py", line 121, in __init__
    super(ButtonBehavior, self).__init__(**kwargs)
  File "/usr/lib/python2.7/site-packages/kivy/uix/boxlayout.py", line 131, in __init__
    super(BoxLayout, self).__init__(**kwargs)
  File "/usr/lib/python2.7/site-packages/kivy/uix/layout.py", line 76, in __init__
    super(Layout, self).__init__(**kwargs)
  File "/usr/lib/python2.7/site-packages/kivy/uix/widget.py", line 348, in __init__
    Builder.apply(self, ignored_consts=self._kwargs_applied_init)
  File "/usr/lib/python2.7/site-packages/kivy/lang/builder.py", line 469, in apply
    self._apply_rule(widget, rule, rule, ignored_consts=ignored_consts)
  File "/usr/lib/python2.7/site-packages/kivy/lang/builder.py", line 630, in _apply_rule
    e), cause=tb)
kivy.lang.builder.BuilderException: Parser: File "/usr/lib/python2.7/site-packages/cagou/kv/cagou_widget.kv", line 31:  
...
     29:    padding: dp(5), dp(3), dp(10), dp(3)
     30:    ActionIcon:
>>   31:        plugin_info: root.plugin_info
     32:        size_hint: None, 1
     33:        width: self.height
...
IOError: [Errno 2] No such file or directory: '/usr/share/sat/media/fonts/fontello/config.json'
  File "/usr/lib/python2.7/site-packages/kivy/lang/builder.py", line 619, in _apply_rule
    setattr(widget_set, key, value)
  File "kivy/weakproxy.pyx", line 33, in kivy.weakproxy.WeakProxy.__setattr__
  File "kivy/properties.pyx", line 483, in kivy.properties.Property.__set__
  File "kivy/properties.pyx", line 924, in kivy.properties.DictProperty.set
  File "kivy/properties.pyx", line 524, in kivy.properties.Property.set
  File "kivy/properties.pyx", line 579, in kivy.properties.Property.dispatch
  File "kivy/_event.pyx", line 1214, in kivy._event.EventObservers.dispatch
  File "kivy/_event.pyx", line 1120, in kivy._event.EventObservers._dispatch
  File "/usr/lib/python2.7/site-packages/cagou/core/common.py", line 122, in on_plugin_info
    icon_wid = ActionSymbol(symbol=symbol)
  File "/usr/lib/python2.7/site-packages/cagou/core/common.py", line 78, in __init__
    with open(G.host.app.expand('{media}/fonts/fontello/config.json')) as f:

theYinYeti commented on 2018-08-19 10:01

Salut jnanar & goffi! Sorry for not reporting sooner; I was on holidays. I tried to reinstall cagou today.

1º The build fails with the suggestion to “pip install requests”. Adding python2-requests as a make-dependency or as a dependency (I tried both) solves the issue.

2º There seems to be no desktop entry with Cagou. In the Gnome shell, I tried typing “cagou” or “sat” or “sàt” or “salut”, but none let Gnome find Cagou. So I used the command line instead.

3º Running “cagou” on the command-line fails with:

/usr/lib/python2.7/site-packages/cagou/core/cagou_main.py:830: SyntaxWarning: name 'notification' is used prior to global declaration
  global notification
Kivy: v1.10.1
Python: v2.7.15 (default, Jun 27 2018, 13:05:28) 
[GCC 8.1.1 20180531]
Factory: 194 symbols loaded
Image: Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
Text: Provider: sdl2
Window: Provider: sdl2(['window_egl_rpi'] ignored)
GL: Using the "OpenGL" graphics system
GL: Backend used <gl>
GL: OpenGL version <3.0 Mesa 18.1.6>
GL: OpenGL vendor <Intel Open Source Technology Center>
GL: OpenGL renderer <Mesa DRI Intel(R) Haswell Desktop >
GL: OpenGL parsed version: 3, 0
GL: Shading version <1.30>
GL: Texture max size <16384>
GL: Texture max units <32>
Window: auto add sdl2 input provider
Window: virtual keyboard not allowed, single mode, not docked
Traceback (most recent call last):
  File "/usr/bin/cagou", line 20, in <module>
    import cagou
  File "/usr/lib/python2.7/site-packages/cagou/__init__.py", line 34, in <module>
    from core import cagou_main
  File "/usr/lib/python2.7/site-packages/cagou/core/cagou_main.py", line 62, in <module>
    from . import menu
  File "/usr/lib/python2.7/site-packages/cagou/core/menu.py", line 352, in <module>
    class TouchMenu(modernmenu.ModernMenu):
AttributeError: 'NoneType' object has no attribute 'ModernMenu'

Cheers

theYinYeti (aka Yves aka yrc)

jnanar commented on 2018-08-15 13:25

I fixed the package. It should install contextmenu during the building process. Thanks for your feedback. It's much appreciated.

goffi commented on 2018-08-15 13:11

theYinYeti: hi, I'm the main dev of SàT/Cagou. This is due to missing "garden" package. Until the pkgbuild is fixed, you can do the following:

  • install "aur/python2-kivy-garden"
  • (from your normal user): garden install contextmenu

Sorry for the inconvenient, Kivy (the graphic toolkit used) uses its own packager for plugins, which is not practical. I'm thinking about integrating the needed stuff directly in the code of Cagou in the future.

Note: you'll probably have to install modernmenu too: garden install modernmenu

edit: jnanar answered before me :)

jnanar commented on 2018-08-15 13:07

Hi theYinYeti. Cagou rely on kivy which implement his own packaging system (garden). The PKGBUILD miss some instructions. Could you try the following command:

 garden install contextmenu

The 'AppMenu' should be installed.

theYinYeti commented on 2018-08-03 16:30

Hey jnanar, thank you for this package :-)

For me, the package compiled and installed perfectly. However, running cagou results in:

Traceback (most recent call last):
  File "/usr/bin/cagou", line 20, in <module>
    import cagou
  File "/usr/lib/python2.7/site-packages/cagou/__init__.py", line 34, in <module>
    from core import cagou_main
  File "/usr/lib/python2.7/site-packages/cagou/core/cagou_main.py", line 62, in <module>
    from . import menu
  File "/usr/lib/python2.7/site-packages/cagou/core/menu.py", line 66, in <module>
    class MainMenu(contextmenu.AppMenu):
AttributeError: 'NoneType' object has no attribute 'AppMenu'