gajim issueshttps://dev.gajim.org/gajim/gajim/-/issues2017-08-02T16:57:56Zhttps://dev.gajim.org/gajim/gajim/-/issues/8690Support python 3.42017-08-02T16:57:56ZpvgoranSupport python 3.4The current codebase (`master`) doesn't seem to support python 3.4. When trying to run gajim with python 3.4, I got "can use starred expression only as assignment target" errors in `gajim/common/logger.py`; when I fixed them, I got "'mod...The current codebase (`master`) doesn't seem to support python 3.4. When trying to run gajim with python 3.4, I got "can use starred expression only as assignment target" errors in `gajim/common/logger.py`; when I fixed them, I got "'module' object has no attribute 'module_from_spec'" error in `gajim/emoticons.py`. I fixed that too, and now I get "g_menu_item_set_detailed_action: Detailed action name 'app.accountname(withparentheses)-add-contact' has invalid format" (but that doesn't look related to python version).
I have python 3.4 (more specifically, 3.4.5) because currently this is the stable version of python 3.x in Gentoo.
If I manage to get it running, I'll provide a patch or a merge request.https://dev.gajim.org/gajim/gajim/-/issues/8689group dissapears from the contact list2017-08-06T00:57:05Zblagroup dissapears from the contact list1. open the chat window for the group
2. close the chat window -> the group dissapears from the contact list
2. restart gajim -> the group is back on the contact list1. open the chat window for the group
2. close the chat window -> the group dissapears from the contact list
2. restart gajim -> the group is back on the contact listhttps://dev.gajim.org/gajim/gajim/-/issues/8688Connects to server but still spitting errors at me2017-08-06T00:57:05ZWCatConnects to server but still spitting errors at meIf you would rather me not create these issues let me know and I will wait patiently for fix. Thank you for this software!!
```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line ...If you would rather me not create these issues let me know and I will wait patiently for fix. Thank you for this software!!
```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/share/gajim/src/common/connection_handlers.py", line 1871, in _messageCB
conn=self, stanza=msg, account=self.name))
File "/usr/share/gajim/src/common/nec.py", line 76, in push_incoming_event
self._generate_events_based_on_incoming_event(event_object)
File "/usr/share/gajim/src/common/nec.py", line 98, in _generate_events_based_on_incoming_event
if new_event_object.generate():
File "/usr/share/gajim/src/common/connection_handlers_events.py", line 1219, in generate
conn=self.conn, stanza=forwarded))
File "/usr/share/gajim/src/common/nec.py", line 74, in push_incoming_event
if event_object.generate():
File "/usr/share/gajim/src/common/connection_handlers_events.py", line 1065, in generate
to_ = gajim.get_jid_without_resource(to_)
File "/usr/share/gajim/src/common/gajim.py", line 310, in get_jid_without_resource
return jid.split('/')[0]
AttributeError: 'JID' object has no attribute 'split'
```https://dev.gajim.org/gajim/gajim/-/issues/8687Couldn't open gajim-nightly for last few days, upgraded python-nbxmpp-nightly...2017-08-06T00:57:05ZWCatCouldn't open gajim-nightly for last few days, upgraded python-nbxmpp-nightly today now I get following while trying to connect to accounts.Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/lib/python2.7/dist-packages/nbxmpp/auth_nb.py", line 685, in...Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/lib/python2.7/dist-packages/nbxmpp/auth_nb.py", line 685, in FeaturesHandler
if feats.getTag('sm', namespace=NS_STREAM_MGMT):
File "/usr/lib/python2.7/dist-packages/nbxmpp/protocol.py", line 964, in getTag
tag = super().getTag(name, attrs, namespace)
TypeError: super() takes at least 1 argument (0 given)https://dev.gajim.org/gajim/gajim/-/issues/8685NonBlockingClient' object has no attribute 'NonBlockingBind'2017-08-06T00:57:05ZbodtxNonBlockingClient' object has no attribute 'NonBlockingBind'I'm under linux mint 18.1 cinnamon 64bit
With the nightly tonight I have this error occuring many times
`NonBlockingClient' object has no attribute 'NonBlockingBind'`
stack
```
Traceback (most recent call last):
File "/usr/...I'm under linux mint 18.1 cinnamon 64bit
With the nightly tonight I have this error occuring many times
`NonBlockingClient' object has no attribute 'NonBlockingBind'`
stack
```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/idlequeue.py", line 549, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/usr/lib/python2.7/dist-packages/nbxmpp/idlequeue.py", line 409, in _process_events
obj.pollin()
File "/usr/lib/python2.7/dist-packages/nbxmpp/transports_nb.py", line 446, in pollin
self._do_receive()
File "/usr/lib/python2.7/dist-packages/nbxmpp/transports_nb.py", line 669, in _do_receive
self._on_receive(received)
File "/usr/lib/python2.7/dist-packages/nbxmpp/transports_nb.py", line 683, in _on_receive
self.on_receive(data)
File "/usr/lib/python2.7/dist-packages/nbxmpp/client_nb.py", line 591, in _on_auth_bind
if self.NonBlockingBind.bound is None:
AttributeError: 'NonBlockingClient' object has no attribute 'NonBlockingBind'
```
I also have this one before
```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/lib/python2.7/dist-packages/nbxmpp/auth_nb.py", line 685, in FeaturesHandler
if feats.getTag('sm', namespace=NS_STREAM_MGMT):
File "/usr/lib/python2.7/dist-packages/nbxmpp/protocol.py", line 964, in getTag
tag = super().getTag(name, attrs, namespace)
TypeError: super() takes at least 1 argument (0 given)
```
https://dev.gajim.org/gajim/gajim/-/issues/8684Self contact hover traceback2017-08-06T00:57:05ZPhilipp Höristphilipp@hoerist.comSelf contact hover traceback```
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/gajim/roster_window.py", line 5728, in query_tooltip
tooltip.populate(connected_contacts, account, typ)
File "/usr/lib/python3.6/site-packages/gajim/to...```
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/gajim/roster_window.py", line 5728, in query_tooltip
tooltip.populate(connected_contacts, account, typ)
File "/usr/lib/python3.6/site-packages/gajim/tooltips.py", line 552, in populate
self.contact_jid = self.prim_contact.jid
AttributeError: 'NoneType' object has no attribute 'jid'
```https://dev.gajim.org/gajim/gajim/-/issues/8683Nightly build crashes on Debian Stretch2017-08-06T00:57:05ZMartinNightly build crashes on Debian StretchInstalled latest deb from your repository and Gajim doesn't connect anymore.
> apt list -a gajim-default-nightly
> Auflistung... Fertig
> gajim-default-nightly/unstable,unstable,unstable,now 20170726-1 all [installiert]
> Trace...Installed latest deb from your repository and Gajim doesn't connect anymore.
> apt list -a gajim-default-nightly
> Auflistung... Fertig
> gajim-default-nightly/unstable,unstable,unstable,now 20170726-1 all [installiert]
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
> handler['func'](session, stanza)
> File "/usr/share/gajim/gajim/common/connection_handlers.py", line 1778, in _messageCB
> conn=self, stanza=msg, account=self.name))
> File "/usr/share/gajim/gajim/common/nec.py", line 76, in push_incoming_event
> self._generate_events_based_on_incoming_event(event_object)
> File "/usr/share/gajim/gajim/common/nec.py", line 98, in _generate_events_based_on_incoming_event
> if new_event_object.generate():
> File "/usr/share/gajim/gajim/common/connection_handlers_events.py", line 1268, in generate
> result=result))
> File "/usr/share/gajim/gajim/common/nec.py", line 76, in push_incoming_event
> self._generate_events_based_on_incoming_event(event_object)
> File "/usr/share/gajim/gajim/common/nec.py", line 98, in _generate_events_based_on_incoming_event
> if new_event_object.generate():
> File "/usr/share/gajim/gajim/common/connection_handlers_events.py", line 1067, in generate
> if self.msg_.getType() == 'groupchat':
> File "/usr/lib/python3/dist-packages/nbxmpp/simplexml.py", line 508, in __getattr__
> raise AttributeError
> AttributeError
https://dev.gajim.org/gajim/gajim/-/issues/8681MAM: UI behavior and limits on message archive sync2017-08-06T00:57:05ZJeffrey BaitisMAM: UI behavior and limits on message archive syncAccording to XEP-0313,
> An entity is able to query (subject to appropriate access rights) an archive for all messages within a certain timespan, optionally restricting results to those to/from a particular JID.
I propose that Gaj...According to XEP-0313,
> An entity is able to query (subject to appropriate access rights) an archive for all messages within a certain timespan, optionally restricting results to those to/from a particular JID.
I propose that Gajim, by default, should only synchronise archives for active (open) conversation tabs, either for the last two days, or for the last 20 messages (by using result set management). Scrollback in the conversation window should initiate appropriate MAM queries such that the window is populated with historical messages, as requested in #7974.
Regarding the chat history / conversation history window (tooltip uses former, window title uses latter):
* The calendar displayed in the Conversation History should be *hyperlink blue* for days that the client doesn't have local chat history *and* has not yet obtained a MAM archive.
* Clicking on a day in the calendar should initiate a query to the server for that day's archive. A small progress bar should display underneath that calendar day while the message archive is retrieved from the server. Upon a successful query return from the server, the progress bar will disappear, and the date in question will change to black.
* If there are archived messages present on a given date either present on the server or in the local chat archive, the calendar should change to a **boldface black** date, as is the current state of the Conversation History.https://dev.gajim.org/gajim/gajim/-/issues/8680Remove support for XEP-0012 and replace it with XEP-03192017-08-06T00:57:05ZLink MauveRemove support for XEP-0012 and replace it with XEP-0319Currently, Gajim will request the last activity of a contact whenever the user hovers their contact.
This makes many useless requests on the network, as it is an active polling method instead of the traditional passive one XMPP has been...Currently, Gajim will request the last activity of a contact whenever the user hovers their contact.
This makes many useless requests on the network, as it is an active polling method instead of the traditional passive one XMPP has been promoting.
Using XEP-0319 fixes these issues.Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim/-/issues/8679Support MAM:22017-08-06T00:57:05ZJeffrey BaitisSupport MAM:2Please :-) per discussion with Link Mauve, lovetox.
May be superset of #7974Please :-) per discussion with Link Mauve, lovetox.
May be superset of #7974https://dev.gajim.org/gajim/gajim/-/issues/8678tryed to use /nick and get another error2017-08-06T00:57:05Ztreakitryed to use /nick and get another error```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/share/gajim/src/common/connection_handlers.py", line 1933, ...```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/share/gajim/src/common/connection_handlers.py", line 1933, in _presenceCB
conn=self, stanza=prs))
File "/usr/share/gajim/src/common/nec.py", line 76, in push_incoming_event
self._generate_events_based_on_incoming_event(event_object)
File "/usr/share/gajim/src/common/nec.py", line 98, in _generate_events_based_on_incoming_event
if new_event_object.generate():
File "/usr/share/gajim/src/common/connection_handlers_events.py", line 856, in generate
conn=self.conn, stanza=self.stanza, presence_obj=self))
File "/usr/share/gajim/src/common/nec.py", line 74, in push_incoming_event
if event_object.generate():
File "/usr/share/gajim/src/common/connection_handlers_events.py", line 950, in generate
self.show)
File "/usr/share/gajim/src/common/logger.py", line 545, in write
jid, nick = jid.split('/', 1)
ValueError: need more than 1 value to unpack
```https://dev.gajim.org/gajim/gajim/-/issues/8677tryed to add transport room and join it but got error2017-08-06T00:57:05Ztreakitryed to add transport room and join it but got error```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/share/gajim/src/common/connection_handlers.py", line 1933, ...```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/share/gajim/src/common/connection_handlers.py", line 1933, in _presenceCB
conn=self, stanza=prs))
File "/usr/share/gajim/src/common/nec.py", line 76, in push_incoming_event
self._generate_events_based_on_incoming_event(event_object)
File "/usr/share/gajim/src/common/nec.py", line 98, in _generate_events_based_on_incoming_event
if new_event_object.generate():
File "/usr/share/gajim/src/common/connection_handlers_events.py", line 856, in generate
conn=self.conn, stanza=self.stanza, presence_obj=self))
File "/usr/share/gajim/src/common/nec.py", line 74, in push_incoming_event
if event_object.generate():
File "/usr/share/gajim/src/common/connection_handlers_events.py", line 950, in generate
self.show)
File "/usr/share/gajim/src/common/logger.py", line 545, in write
jid, nick = jid.split('/', 1)
ValueError: need more than 1 value to unpack
```https://dev.gajim.org/gajim/gajim/-/issues/8676[omemo] Context menu fails on a room tab (omemo plugin installed, but not act...2017-08-06T00:57:05Zkouinkouin[omemo] Context menu fails on a room tab (omemo plugin installed, but not active for the room)I'm working on Debian 9 64bits, Gajim 0.16.6, and omemo plugin 1.2.3 (freshly updated, 2 hours ago).
I clicked to open context menu on a room tab, and get this error.
I notice omemo is not active on the room.
```
Traceback (most ...I'm working on Debian 9 64bits, Gajim 0.16.6, and omemo plugin 1.2.3 (freshly updated, 2 hours ago).
I clicked to open context menu on a room tab, and get this error.
I notice omemo is not active on the room.
```
Traceback (most recent call last):
File "/usr/share/gajim/src/message_window.py", line 321, in on_tab_eventbox_button_press_event
self.popup_menu(event)
File "/usr/share/gajim/src/message_window.py", line 812, in popup_menu
menu = self.get_active_control().prepare_context_menu()
File "/home/rpommier/.local/share/gajim/plugins/omemo/ui.py", line 151, in omemo_prepare_context_menu
omemo_orig_prepare_context_menu(hide_buttonbar_items)
File "/home/rpommier/.local/share/gajim/plugins/omemo/ui.py", line 151, in omemo_prepare_context_menu
omemo_orig_prepare_context_menu(hide_buttonbar_items)
File "/home/rpommier/.local/share/gajim/plugins/omemo/ui.py", line 151, in omemo_prepare_context_menu
omemo_orig_prepare_context_menu(hide_buttonbar_items)
[...]
File "/home/rpommier/.local/share/gajim/plugins/omemo/ui.py", line 151, in omemo_prepare_context_menu
omemo_orig_prepare_context_menu(hide_buttonbar_items)
RuntimeError: maximum recursion depth exceeded
```https://dev.gajim.org/gajim/gajim/-/issues/86740.16.10.4-3d8be9ebe205: URLs in messages are not shown in chat window2017-08-06T00:57:05ZMartin0.16.10.4-3d8be9ebe205: URLs in messages are not shown in chat window0.16.10.4-3d8be9ebe205 (package gajim-default-nightly from debian nightly builds repo) on Debian Stable (Stretch) with Gnome3.
If there is a URL in a message it is not shown in the chat window although it is included in the message I ca...0.16.10.4-3d8be9ebe205 (package gajim-default-nightly from debian nightly builds repo) on Debian Stable (Stretch) with Gnome3.
If there is a URL in a message it is not shown in the chat window although it is included in the message I can see in the xml console.https://dev.gajim.org/gajim/gajim/-/issues/8671Use monospace font for timestamps2017-08-06T00:57:05ZDmitriyUse monospace font for timestampsI find it very confusing that message timstamps are not aligned in the chat window. Frankly speaking, it looks awful:
![non_monospace](/uploads/1a067f1499d9527c765501e21d32e18a/non_monospace.png)
Attached in the message is a simple pat...I find it very confusing that message timstamps are not aligned in the chat window. Frankly speaking, it looks awful:
![non_monospace](/uploads/1a067f1499d9527c765501e21d32e18a/non_monospace.png)
Attached in the message is a simple patch that assignes monospace font to the timestamps which makes the chat window look like this:
![monospace](/uploads/8e642b989cb192a101dfb41830f589b8/monospace.png)
Of course, it needs some work to meet you coding standards (e.g. the font should be customizable and so on).
[0001-Monospace-font-for-timestamps.patch](/uploads/afcdbbd7582205dadeac881f51122ee6/0001-Monospace-font-for-timestamps.patch)https://dev.gajim.org/gajim/gajim/-/issues/8669Display all of the successive corrections for a message2017-08-06T00:57:06ZLink MauveDisplay all of the successive corrections for a messageWhen a message has been corrected and we hover the pencil icon, only the version right before is displayed in the tooltip, while all of them should be present.
This bug makes it possible to hide a message and should be fixed asap.When a message has been corrected and we hover the pencil icon, only the version right before is displayed in the tooltip, while all of them should be present.
This bug makes it possible to hide a message and should be fixed asap.https://dev.gajim.org/gajim/gajim/-/issues/8663Add a tooltip on the new lock icon in the chat toolbar2017-08-06T00:57:06ZLink MauveAdd a tooltip on the new lock icon in the chat toolbarIt’s currently unknown what it means.It’s currently unknown what it means.https://dev.gajim.org/gajim/gajim/-/issues/8661Enhancement: Start in systemtray2017-08-06T00:57:06ZVolker RaschekEnhancement: Start in systemtrayHello,
when I log in into my username on Linux Mint 18.1 Gajim start and display the main window with the contacts on my current desktop.
I can't find a option to start Gajim in a silent mode when I log in into my linux user. It's poss...Hello,
when I log in into my username on Linux Mint 18.1 Gajim start and display the main window with the contacts on my current desktop.
I can't find a option to start Gajim in a silent mode when I log in into my linux user. It's possible to implement a start option like silent mode in system tray for Gajim?
Volkerhttps://dev.gajim.org/gajim/gajim/-/issues/8660PATCH: fix unittests2017-08-06T00:57:06ZJörg ThalheimPATCH: fix unittests```diff
diff --git a/src/common/gajim.py b/src/common/gajim.py
index 4a5d884b6..95d401b67 100644 ...```diff
diff --git a/src/common/gajim.py b/src/common/gajim.py
index 4a5d884b6..95d401b67 100644
--- a/src/common/gajim.py
+++ b/src/common/gajim.py
@@ -415,7 +415,7 @@ def get_jid_from_account(account_name, full=False):
jid = name + '@' + hostname
if full:
resource = connections[account_name].server_resource
- jid += '/' + resource
+ jid += '/' + str(resource)
return jid
def get_our_jids():
```https://dev.gajim.org/gajim/gajim/-/issues/8656[query] Is there a GTK3 milestone?2017-08-06T00:57:07ZDavid Seaward[query] Is there a GTK3 milestone?**User story:** I am a watcher/potential contributor. I want to see all tickets preventing a GTK3 release so I can assess how soon it will be released and where I could contribute.
**Suggested action:** Create a milestone for a GTK3 rel...**User story:** I am a watcher/potential contributor. I want to see all tickets preventing a GTK3 release so I can assess how soon it will be released and where I could contribute.
**Suggested action:** Create a milestone for a GTK3 release?