gajim-plugins issueshttps://dev.gajim.org/gajim/gajim-plugins/-/issues2023-06-06T18:40:22Zhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/624Triggers: Improve Message rule2023-06-06T18:40:22ZPhilipp Höristphilipp@hoerist.comTriggers: Improve Message ruleIt now seems to trigger whenever a message stanza is received. It should probably only trigger if message stanzas with a body are received.It now seems to trigger whenever a message stanza is received. It should probably only trigger if message stanzas with a body are received.https://dev.gajim.org/gajim/gajim-plugins/-/issues/620Outdated OmemoGajimPlugin Documentation for Fedora2023-03-25T19:05:12ZX SpielinboxOutdated OmemoGajimPlugin Documentation for FedoraOn [wikis/OmemoGajimPlugin](https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin) the instructions about how to install OMEMO for Fedora are outdated, as the copr repo seems dead and isn't needed anyway, as as the OMEMO depen...On [wikis/OmemoGajimPlugin](https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin) the instructions about how to install OMEMO for Fedora are outdated, as the copr repo seems dead and isn't needed anyway, as as the OMEMO dependencies are installed automatically from the standard Fedora Linux Repos when installing Gajim.
It should probably now state something like: "OMEMO is automatically installed on Fedora Linux. (Tested on Fedora 37)"
The "Verification QR Codes" section should be updated too. `python3-qrcode` is the name of the package in Fedora Linux too and is needs to be manually installed there too (as of today).https://dev.gajim.org/gajim/gajim-plugins/-/issues/619OpenPGP issue with 'ChatControl' object has no attribute 'control_id'2023-06-10T11:19:20ZDaniel BrötzmannOpenPGP issue with 'ChatControl' object has no attribute 'control_id'Using Gajim 1.7.1
```
Traceback (most recent call last):
File "C:\Users\user2\AppData\Roaming\Gajim\Plugins\openpgp\gtk\wizard.py", line 93, in _on_page_change
self._activate_encryption()
File "C:\Users\user2\AppData\Roaming\Gaj...Using Gajim 1.7.1
```
Traceback (most recent call last):
File "C:\Users\user2\AppData\Roaming\Gajim\Plugins\openpgp\gtk\wizard.py", line 93, in _on_page_change
self._activate_encryption()
File "C:\Users\user2\AppData\Roaming\Gajim\Plugins\openpgp\gtk\wizard.py", line 83, in _activate_encryption
'set-encryption-%s' % self._chat_control.control_id)
AttributeError: 'ChatControl' object has no attribute 'control_id'
```https://dev.gajim.org/gajim/gajim-plugins/-/issues/618Audio player clips the last fraction of a second2023-03-03T14:40:31ZHugo BarreraAudio player clips the last fraction of a secondWhen playing audios files, the last bit of them is cut off.
Depending a lot on the audio clip, it might be easier or harder to hear, since it's only a fraction of a second that gets cut off.
## Reproduction steps:
- Drag an audio file...When playing audios files, the last bit of them is cut off.
Depending a lot on the audio clip, it might be easier or harder to hear, since it's only a fraction of a second that gets cut off.
## Reproduction steps:
- Drag an audio file into a MUC. Something short and with no silence at the end is ideal.
- Play the file in the MUC view.
## Samples
These particular files makes it easy to hear the clipped part:
- https://upload.whynothugo.nl:5281/file_share/azq8HxLlRlaSw62hG515aoD1/2CLICK.mp3
- https://upload.whynothugo.nl:5281/file_share/Cj0Sjh67CZ8R8_WEWpEjRfvs/Communicator.mp3
- https://upload.whynothugo.nl:5281/file_share/6qgcL7RY0ayLhabm3YfXIsJB/Transmission.mp3https://dev.gajim.org/gajim/gajim-plugins/-/issues/617Plugin missing dependencies, but dependencies exist!2023-05-05T11:38:44ZPolarianpolarian@polarian.devPlugin missing dependencies, but dependencies exist!**Please first check if another issue has been opened for your problem**
## Versions
- OS: Arch Linux
- Gajim version: Latest commit (08f9b39aaf96af1fefeebc443de5149bed6de036)
- Plugin version: Latest commit (97575e5095b00c066676...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Arch Linux
- Gajim version: Latest commit (08f9b39aaf96af1fefeebc443de5149bed6de036)
- Plugin version: Latest commit (97575e5095b00c066676a8ecd8f1fed4327613c9)
- GTK version: 3.24.36 (gtk3) and 4.8.3 (gtk4)
- Python-nbxmpp version: Latest commit (63e8fc239732acc3425379843b6d1a597121d416)
## Steps to reproduce the problem
1. Open plugins menu
2. Warning symbol next to PGP plugin (legacy) saying gnupg and python-gnupg do not exist
## Expected behavior
No warning and be able to enable the plugin.
## Actual behavior
Warning symbol next to the PGP plugin (legacy) about missing dependencies despite these dependencies existing:
`/usr/bin/gpg` exists
`/usr/lib/python3.10/site-packages/gpg.py` exists (installation path defined by the arch linux python package)
I still get told one or both of the dependencies are missing...https://dev.gajim.org/gajim/gajim-plugins/-/issues/616OMEMO does not work in private group with only one member2023-05-02T07:55:18ZtapeteOMEMO does not work in private group with only one member## Versions
- OS: Linux Mint 21.1
- Gajim version: 1.7.0
- GTK version: ?
- Python-nbxmpp version: ?
## Steps to reproduce the problem
1. Create a private group using gajim
1. Add only yourself to the group (omemo activate...## Versions
- OS: Linux Mint 21.1
- Gajim version: 1.7.0
- GTK version: ?
- Python-nbxmpp version: ?
## Steps to reproduce the problem
1. Create a private group using gajim
1. Add only yourself to the group (omemo activated)
1. Write a message to the group
## Expected behavior
Message should show up
## Actual behavior
Message can not be send because of the following error:
![grafik](/uploads/e4df00ba6d4e135586fb83f22280cffc/grafik.png)
All omemo keys of myself are trusted. This error does not appear if the group does have more members.https://dev.gajim.org/gajim/gajim-plugins/-/issues/615[omemo] Descriptors cannot not be created directly.2023-05-02T07:54:37ZHendur Saga[omemo] Descriptors cannot not be created directly.When running from the command-line, I see the following error:
```
Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If y...When running from the command-line, I see the following error:
```
Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
```
I'm using the 2nd workaround, but is there a way to regenerate this protobuf code myself? And when it says downgrade the package, are they talking the Python package, or the underlining Protobuf C library? Is 3.20.x even compatible with this plugin?
## Versions
- OS: Ubuntu Jammy
- Gajim version: 1.5.4
- Plugin version: 2.8.17
- GTK version: 3.24.33
- Python-nbxmpp version: 3.2.5https://dev.gajim.org/gajim/gajim-plugins/-/issues/614[acronyms] AssertionError _on_buffer_changed2023-06-10T11:01:56ZKhartha[acronyms] AssertionError _on_buffer_changed## Versions:
- OS: Windows 10
- GTK Version: 3.24.35
- PyGObject Version: 3.42.1
- GLib Version : 2.74.0
- python-nbxmpp Version: 3.2.5
- Gajim Version: 1.5.4
Freshly installed Windows 11, downloaded and installed Gajim on the new syste...## Versions:
- OS: Windows 10
- GTK Version: 3.24.35
- PyGObject Version: 3.42.1
- GLib Version : 2.74.0
- python-nbxmpp Version: 3.2.5
- Gajim Version: 1.5.4
Freshly installed Windows 11, downloaded and installed Gajim on the new system, logged into my account, had to reinstall the Plugins.
The one conversation I had going...no record of it in the Chat Room/Workspace, completely blank.
Trying to send a message gives me: _**No devices found. Query in progress...**_, and in the chat list it has what I tried to send, with "Draft:" in front of it
## Traceback
```
Traceback (most recent call last):
File "C:\Users\[REDACTED]\AppData\Roaming\Gajim\Plugins\acronyms_expander\acronyms_expander.py", line 134, in _on_buffer_changed
assert self._contact is not None
AssertionError
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim-plugins/-/issues/612[triggers] Add keyword triggers2023-06-06T18:38:33ZJean Louis[triggers] Add keyword triggersPlease add to Triggers plugin that it can recognize some keyword, as then it is possible to launch external command, and use gajim-remote to return back some information to user who launched it. This implies that username must be passed ...Please add to Triggers plugin that it can recognize some keyword, as then it is possible to launch external command, and use gajim-remote to return back some information to user who launched it. This implies that username must be passed to environment somehow, like %u for external command to work.
This feature can then enable many other goodies such as that user can send message, and receive list of pending task or current to-do list or get contact information from external programs and other features.https://dev.gajim.org/gajim/gajim-plugins/-/issues/610omemo flatpak install axolotl_curve25519 not found2022-11-04T11:04:52Zblauerteeomemo flatpak install axolotl_curve25519 not foundNot sure how to install the library in the flatpak python environment shouldn't that be installed, when installing the gajim flatpak?
- libpython3.10-dev is installed system wide
- python3.10 axolotl is installed systemwide
- python3.1...Not sure how to install the library in the flatpak python environment shouldn't that be installed, when installing the gajim flatpak?
- libpython3.10-dev is installed system wide
- python3.10 axolotl is installed systemwide
- python3.10 curve25519 is installed systemwide
But tbh I don't really know how flatpaks work and weather they use system python binary's at all and if so which binary version gajim uses, since I've installed a few python3 versions.
Thank's in Advance!
## Versions
- OS: Ubuntu
- Gajim version: 1.5.2 (Nightly)
## Steps to reproduce the problem
1. `flatpak run org.gajim.Gajim.Devel`
## Expected behavior
Start gajim with Omemo support
## Actual behavior
`No module named 'axolotl_curve25519'`https://dev.gajim.org/gajim/gajim-plugins/-/issues/609openpgp setup error2023-06-10T11:28:41Zdiode24openpgp setup error## Versions:
- OS: Ubuntu 22.04.1 LTS 22.04 (jammy)
- GTK Version: 3.24.33
- PyGObject Version: 3.42.1
- GLib Version : 2.71.3
- python-nbxmpp Version: 3.2.4
- Gajim Version: 1.5.2 latest gajim-default-nightly
## Traceback
```
Traceback...## Versions:
- OS: Ubuntu 22.04.1 LTS 22.04 (jammy)
- GTK Version: 3.24.33
- PyGObject Version: 3.42.1
- GLib Version : 2.71.3
- python-nbxmpp Version: 3.2.4
- Gajim Version: 1.5.2 latest gajim-default-nightly
## Traceback
```
Traceback (most recent call last):
File "/home/me/.local/share/gajim/plugins/openpgp/gtk/wizard.py", line 93, in _on_page_change
self._activate_encryption()
File "/home/me/.local/share/gajim/plugins/openpgp/gtk/wizard.py", line 83, in _activate_encryption
'set-encryption-%s' % self._chat_control.control_id)
AttributeError: 'ChatControl' object has no attribute 'control_id'
```
## Steps to reproduce the problem
1. start private chat between 2 users
2. click lock icon and select openpgp
3. window opens "Setup OpenPGP", "Gajim will now try to setup OpnePGP for you", click next
4. python error window opens, close this
5. window opens "setup successful"https://dev.gajim.org/gajim/gajim-plugins/-/issues/608[length_notifier] Issue with allow-list2022-11-17T17:27:31Zmethuselahin[length_notifier] Issue with allow-list## Versions:
- OS: Fedora Linux 36 (Workstation Edition) 36
- GTK Version: 3.24.34
- PyGObject Version: 3.42.1
- GLib Version : 2.72.0
- python-nbxmpp Version: 3.2.2
- Gajim Version: 1.5.1
## Traceback
```
Traceback (most recent call la...## Versions:
- OS: Fedora Linux 36 (Workstation Edition) 36
- GTK Version: 3.24.34
- PyGObject Version: 3.42.1
- GLib Version : 2.72.0
- python-nbxmpp Version: 3.2.2
- Gajim Version: 1.5.1
## Traceback
```
Traceback (most recent call last):
File "/home/Methuselah/.local/share/gajim/plugins/length_notifier/length_notifier.py", line 190, in _update
enable = self._jid_allowed(self._contact.jid)
File "/home/Methuselah/.local/share/gajim/plugins/length_notifier/length_notifier.py", line 219, in _jid_allowed
allowed_jids = jids.split(',')
AttributeError: 'list' object has no attribute 'split'
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim-plugins/-/issues/607OMEMO "error message" after purging Chat History2023-05-02T07:54:59ZBob.DigOMEMO "error message" after purging Chat History## Versions
- OS: Windows 10 & 11
- Gajim version: 1.5.1
- GTK version: 3.24.34
- Python-nbxmpp version: 3.2.2
## Steps to reproduce the problem
1. Send and receive OMEMO Encrypted Messages in chat (not MUC)
2. Later purge...## Versions
- OS: Windows 10 & 11
- Gajim version: 1.5.1
- GTK version: 3.24.34
- Python-nbxmpp version: 3.2.2
## Steps to reproduce the problem
1. Send and receive OMEMO Encrypted Messages in chat (not MUC)
2. Later purge Chat History
3. (Re-)Start Gajim
## Expected behavior
Nothing
## Actual behavior
Get flooded with "This message was encrypted with OMEMO and could not be decrypted." for all purged messages.
This behavior is new and not expected.
Tested on Prosody with "mam" enabledhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/606Adapt RegEx Filter plugin to Gajim 1.52022-11-30T11:17:59ZDaniel BrötzmannAdapt RegEx Filter plugin to Gajim 1.5Gajim 1.5 comes with a rewritten command system.Gajim 1.5 comes with a rewritten command system.https://dev.gajim.org/gajim/gajim-plugins/-/issues/605Error: module 'collections' has no attribute 'MutableMapping' in OMEMO plugin2022-07-28T21:17:12ZBranko KokanovicError: module 'collections' has no attribute 'MutableMapping' in OMEMO plugin## Versions
- OS: Debian testing
- Gajim version: 1.4.7
- Plugin version: 2.8.15
- GTK version: 3.24.34
- Python-nbxmpp version: 3.1.0
## Steps to reproduce the problem
1. Upgraded Debian to latest version
1. Python is 3...## Versions
- OS: Debian testing
- Gajim version: 1.4.7
- Plugin version: 2.8.15
- GTK version: 3.24.34
- Python-nbxmpp version: 3.1.0
## Steps to reproduce the problem
1. Upgraded Debian to latest version
1. Python is 3.10
1. OMEMO plugin started throwing this error
1. Tried searching internet, I am seeing other devs are having some backward-incompatible problems, so not directly related to OMEMO plugin, maybe my setup is broken somehow...
## Expected behavior
OMEMO plugin should work
## Actual behavior
OMEMO plugin cannot be enabled anymorehttps://dev.gajim.org/gajim/gajim-plugins/-/issues/604gajim.p.manager Error executing <bound method PGPPlugin._encrypt_message of <...2022-07-18T17:21:24ZMikhail Morfikovmmorfikov@gmail.comgajim.p.manager Error executing <bound method PGPPlugin._encrypt_message of <pgp.plugin.PGPPlugin object at 0x73120a376c80>>I just upgraded Gajim from 1.3.3-1 to 1.4.6-1 and I noticed that I can't use GPG encryption anymore. Basically the encrypted message isn't sent, and in the terminal I can see the following messages:
```
$ gajim
No translations found fo...I just upgraded Gajim from 1.3.3-1 to 1.4.6-1 and I noticed that I can't use GPG encryption anymore. Basically the encrypted message isn't sent, and in the terminal I can see the following messages:
```
$ gajim
No translations found for en_US
Dirs searched: [PosixPath('/home/morfik/.local/share'), PosixPath('/usr/local/share'), PosixPath('/usr/share')]
2022-07-16 07:28:24 (E) gajim.c.dbus.system_style Couldn’t read the color-scheme setting: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.portal.Desktop" does not exist
(org.gajim.Gajim:3086267): Gdk-CRITICAL **: 07:28:31.672: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
2022-07-16 07:29:33 (W) gajim.c.storage.archive Execution time for insert_into_logs: 65 ms
2022-07-16 07:29:33 (W) gajim.c.storage.cache Execution time for _commit: 85 ms
2022-07-16 07:29:34 (W) gajim.c.storage.archive Execution time for _commit: 74 ms
2022-07-16 07:32:42 (W) gajim.c.storage.archive Execution time for _commit: 55 ms
2022-07-16 07:32:55 (W) gajim.p.manager Error executing <bound method PGPPlugin._encrypt_message of <pgp.plugin.PGPPlugin object at 0x73120a376c80>>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/plugins/pluginmanager.py", line 449, in _execute_all_handlers_of_gui_extension_point
handlers[0](*args)
File "/usr/lib/python3/dist-packages/gajim/data/plugins/pgp/plugin.py", line 180, in _encrypt_message
self.get_pgp_module(account).encrypt_message(conn, event, callback)
File "/usr/lib/python3/dist-packages/gajim/data/plugins/pgp/modules/pgp_legacy.py", line 160, in encrypt_message
to_jid = app.get_jid_without_resource(event.jid)
File "/usr/lib/python3/dist-packages/gajim/common/app.py", line 338, in get_jid_without_resource
return jid.split('/')[0]
AttributeError: 'JID' object has no attribute 'split'
```
## Versions
- OS: Debian Sid ("Debian GNU/Linux bookworm/sid")
- Gajim version: 1.4.6-1
- Plugin version: gajim-pgp 1.4.6-1
- GTK Version: 3.24.34
- GLib Version: 2.72.0
- PyGObject Version: 3.42.1
- Cairo Version: 1.16.0
- python-cairo Version: 1.20.1
- python-nbxmpp Version: 3.1.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/603[OMEMO and OpenPGP]: Missing manifest file.2022-06-26T13:06:57ZRaghav Gururajanrg@raghavgururajan.name[OMEMO and OpenPGP]: Missing manifest file.At the plugins download site [https://ftp.gajim.org/plugins_releases/], the zip files (particularly OMEMO and OpenPGP) are missing `plugin-manifest.json` file. Because of that, gajim's plugin-manager throws an error `Unable to load manif...At the plugins download site [https://ftp.gajim.org/plugins_releases/], the zip files (particularly OMEMO and OpenPGP) are missing `plugin-manifest.json` file. Because of that, gajim's plugin-manager throws an error `Unable to load manifest: Not a plugin path`.https://dev.gajim.org/gajim/gajim-plugins/-/issues/602ValueError 'contact_connected' is not in list2022-08-02T16:03:37ZDaniel BrötzmannValueError 'contact_connected' is not in list# Error Details:
- Sentry event: https://dev.gajim.org/gajim/gajim/-/error_tracking/18/details
- First seen:
2022-06-04T08:12:03+00:00
- Last seen: 2022-06-04T08:12:03+00:00
- Events: 3
- Users: 0# Error Details:
- Sentry event: https://dev.gajim.org/gajim/gajim/-/error_tracking/18/details
- First seen:
2022-06-04T08:12:03+00:00
- Last seen: 2022-06-04T08:12:03+00:00
- Events: 3
- Users: 0https://dev.gajim.org/gajim/gajim-plugins/-/issues/599[anti_spam] AttributeError: 'MessageSent' object has no attribute 'type_'2022-06-20T17:11:07ZDaniel Brötzmann[anti_spam] AttributeError: 'MessageSent' object has no attribute 'type_'Anti Spam plugin Version 1.6.5
```
Traceback (most recent call last):
File "/home/x/DEV/Gajim/gajim/gajim/common/ged.py", line 101, in raise_event
if handler(event_obj):
File "/home/x/.local/share/gajim/plugins.DEV1/anti_spam/mo...Anti Spam plugin Version 1.6.5
```
Traceback (most recent call last):
File "/home/x/DEV/Gajim/gajim/gajim/common/ged.py", line 101, in raise_event
if handler(event_obj):
File "/home/x/.local/share/gajim/plugins.DEV1/anti_spam/modules/anti_spam.py", line 54, in _on_message_sent
if event.type_ not in ('chat', 'normal'):
AttributeError: 'MessageSent' object has no attribute 'type_'
```https://dev.gajim.org/gajim/gajim-plugins/-/issues/598AntiSpam Assertion Error on trying to open the config2022-06-01T19:58:24ZnicoAntiSpam Assertion Error on trying to open the config## Versions:
- OS: Windows 10
- GTK Version: 3.24.34
- PyGObject Version: 3.42.1
- GLib Version : 2.72.0
- python-nbxmpp Version: 3.1.0
- Gajim Version: 1.4.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/ap...## Versions:
- OS: Windows 10
- GTK Version: 3.24.34
- PyGObject Version: 3.42.1
- GLib Version : 2.72.0
- python-nbxmpp Version: 3.1.0
- Gajim Version: 1.4.3
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.9/site-packages/gajim/gtk/plugins.py", line 348, in _on_configure_plugin
File "C:\Users\nico\AppData\Roaming\Gajim\Plugins\anti_spam\config_dialog.py", line 89, in __init__
SettingsDialog.__init__(self, parent, _('Anti Spam Configuration'),
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.9/site-packages/gajim/gtk/settings.py", line 79, in __init__
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.9/site-packages/gajim/gtk/settings.py", line 157, in add_setting
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.9/site-packages/gajim/gtk/settings.py", line 473, in __init__
AssertionError
```
## Steps to reproduce the problem
...