gajim-plugins issueshttps://dev.gajim.org/gajim/gajim-plugins/-/issues2017-11-19T17:54:27Zhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/49LaTeX plugin searches LaTeX code in whole textview instead of per-message2017-11-19T17:54:27ZanonymousLaTeX plugin searches LaTeX code in whole textview instead of per-message# Bug description
The LaTeX plugin searches for LaTeX (`$$..$$`) strings globally in the whole conversation textview instead of searching inside each individual message.
This works fine in most cases, but causes problem as soon as some...# Bug description
The LaTeX plugin searches for LaTeX (`$$..$$`) strings globally in the whole conversation textview instead of searching inside each individual message.
This works fine in most cases, but causes problem as soon as someone opens a `$$` context in a message without closing it, which will make the plugin parse all text as LaTeX that's been printed in the conversation window (including timestamps, nick names, status messages, ...) up until the next occurrence of `$$`.
Fixing this bug might require introducing a new extension point in gajim's core, so the plugin's parsing function can be called on each message, passing it only the message content (without time stamp and nick name).
This bug has been introduced when LaTeX support was moved from core to a plugin, and it's still there in a recent hg version (changeset 501:48ec3a6d8e58 of the gajim-plugins repository).
# Steps to reproduce
* Enable the LaTeX plugin.
* Type $$ in a message
* Continue the conversation as normal for a while, then
* Type $$ in another message
All time stamps, nick names etc. between the $$ will be parsed as LaTeX.
Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/37Could not create temporary files for Latex plugin (for no real reason)2017-11-19T17:54:27ZanonymousCould not create temporary files for Latex plugin (for no real reason)1. plugin self-test (in the edit->plugins menu) says everything is OK, but no result is shown
2. in the chat window, the message in the summary appears instead of the pic with the required formulas
3. when manually executing the code tha...1. plugin self-test (in the edit->plugins menu) says everything is OK, but no result is shown
2. in the chat window, the message in the summary appears instead of the pic with the required formulas
3. when manually executing the code that does the mistake, I see that the temporary files/directories are being created, all OK, but:
the line "tmpfd.close()" returns an error, because in both python3 and python2 tmpfd is an int (checked with "type(tmpfd)"), and not a file descriptor, hence it has no attribute "close()".
4. the error above calls the Exception and makes the line appear
OS: Arch Linux, i386, python3 as default, but python2 available as /usr/bin/python2Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/98Traceback on activating plugin2018-03-30T12:24:21ZanonymousTraceback on activating pluginI installed the plugin using the plugin manager. Upon activating the plugin (checking the "active" box in the plugin manager), the following traceback appears on the console. Latex code is not rendered afterwards.
09/13/2014 12...I installed the plugin using the plugin manager. Upon activating the plugin (checking the "active" box in the plugin manager), the following traceback appears on the console. Latex code is not rendered afterwards.
09/13/2014 12:07:05 (W) gajim.plugin_system Error executing \<bound method LatexPlugin.connect_with_chat_control_base of \<latex.latex.LatexPlugin object at 0x7ff5cbb53510>>
Traceback (most recent call last):
File "/usr/share/gajim/src/plugins/pluginmanager.py", line 369, in _handle_all_gui_extension_points_with_plugin
handler(*gui_extension_point_args)
File "/home/meekstone/.local/share/gajim/plugins/latex/latex.py", line 411, in connect_with_chat_control_base
tb.get_tag_table().add(self.latex_tag)
ValueError: A tag named 'latex' is already in the tag table
09/13/2014 12:07:05 (W) gajim.plugin_system Error executing \<bound method LatexPlugin.connect_with_chat_control_base of \<latex.latex.LatexPlugin object at 0x7ff5cbb53510>>
Traceback (most recent call last):
File "/usr/share/gajim/src/plugins/pluginmanager.py", line 369, in _handle_all_gui_extension_points_with_plugin
handler(*gui_extension_point_args)
File "/home/meekstone/.local/share/gajim/plugins/latex/latex.py", line 411, in connect_with_chat_control_base
tb.get_tag_table().add(self.latex_tag)
ValueError: A tag named 'latex' is already in the tag table
09/13/2014 12:07:05 (W) gajim.plugin_system Error executing \<bound method LatexPlugin.connect_with_chat_control_base of \<latex.latex.LatexPlugin object at 0x7ff5cbb53510>>
Traceback (most recent call last):
File "/usr/share/gajim/src/plugins/pluginmanager.py", line 369, in _handle_all_gui_extension_points_with_plugin
handler(*gui_extension_point_args)
File "/home/meekstone/.local/share/gajim/plugins/latex/latex.py", line 411, in connect_with_chat_control_base
tb.get_tag_table().add(self.latex_tag)
ValueError: A tag named 'latex' is already in the tag table
09/13/2014 12:07:05 (W) gajim.plugin_system Error executing \<bound method LatexPlugin.connect_with_chat_control_base of \<latex.latex.LatexPlugin object at 0x7ff5cbb53510>>
Traceback (most recent call last):
File "/usr/share/gajim/src/plugins/pluginmanager.py", line 369, in _handle_all_gui_extension_points_with_plugin
handler(*gui_extension_point_args)
File "/home/meekstone/.local/share/gajim/plugins/latex/latex.py", line 411, in connect_with_chat_control_base
tb.get_tag_table().add(self.latex_tag)
ValueError: A tag named 'latex' is already in the tag table
09/13/2014 12:07:05 (W) gajim.plugin_system Error executing \<bound method LatexPlugin.connect_with_chat_control_base of \<latex.latex.LatexPlugin object at 0x7ff5cbb53510>>
Traceback (most recent call last):
File "/usr/share/gajim/src/plugins/pluginmanager.py", line 369, in _handle_all_gui_extension_points_with_plugin
handler(*gui_extension_point_args)
File "/home/meekstone/.local/share/gajim/plugins/latex/latex.py", line 411, in connect_with_chat_control_base
tb.get_tag_table().add(self.latex_tag)
ValueError: A tag named 'latex' is already in the tag table
09/13/2014 12:07:05 (W) gajim.plugin_system Error executing \<bound method LatexPlugin.connect_with_chat_control_base of \<latex.latex.LatexPlugin object at 0x7ff5cbb53510>>
Traceback (most recent call last):
File "/usr/share/gajim/src/plugins/pluginmanager.py", line 369, in _handle_all_gui_extension_points_with_plugin
handler(*gui_extension_point_args)
File "/home/meekstone/.local/share/gajim/plugins/latex/latex.py", line 411, in connect_with_chat_control_base
tb.get_tag_table().add(self.latex_tag)
ValueError: A tag named 'latex' is already in the tag table
I am using Gajim 0.16-rc2.Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/328[latex] Gajim hangs/crashes with plugin installed2018-08-19T14:54:13ZDaniel Brötzmann[latex] Gajim hangs/crashes with plugin installedThere have been two issues (gajim/gajim#9191 gajim/gajim#8899) about Latex plugin causing Gajim to freeze (several hours without unfreezing). As soon as any window is dragged/moved or resized, Gajim freezes/crashes. There seem to be no l...There have been two issues (gajim/gajim#9191 gajim/gajim#8899) about Latex plugin causing Gajim to freeze (several hours without unfreezing). As soon as any window is dragged/moved or resized, Gajim freezes/crashes. There seem to be no logs.
Both @nate.2014jatc and @AMDG2 say that removing the plugin solves their problems.