mrDoctorWhogajim's omemo fails after a couple of messages were received
mrDoctorWhodear lovetox, could you pretty please contact asterix regarding s2s issues between helldev.net and conference.gajim.org?
mrDoctorWho03/06/2019 07:37:29 (W) gajim.plugin_system.omemo Ignore device because of 39299 unacknowledged messages: mrdoctorwho@helldev.net 2097447248
is this ok?
spicewiesellovetox: yes, it's the same with gajim
-> % gajim
Found default language: en
botmikee805 created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9613 >:
#9613: < error when entering a chatroom hosted on openfire >
botPhilipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9613 >:
#9613: < error when entering a chatroom hosted on openfire >
lovetoxspicewiesel are you running gajim from source without installing?
lovetoxmrDoctorWho not really
lovetoxcan you send a message to gajim from that device and then look if it starts working again?
lovetoxwould also interesting what device that actually is
spicewiesellovetox: no, gajim 1.1.2-1 from the arch repo
lovetoxspicewiesel, and is your system language english?
spicewieselyes
lovetoxok and you dont get the No Translation found message
lovetoxso everything is alright if you start Gajim
spicewieselthis message appeared some time ago, you told me it's a debug message you put in a while ago
lovetoxasterix, mrDoctorWho has still s2s problems with helldev.net, could you take a look into the logs?
spicewieselfrom 01.02.2019
[11:49:33] lovetox: spicewiesel, its a print statement for debug, cant you just deal with it?
mrDoctorWholovetox: remote device is conversations. I'll check again when I arrive home
spicewieselit works fine if gajim/gajim-remote is called by the user as env vars are available there
spicewieselbut if you call it from a systemd unit file there are no set env vars, if LANG is missing there is no translation found and then it fails
asterixI thought the S2S issue was not a problem but a omemo missconfigured. I'll look logs
lovetoxspicewiesel, i have to look how i can supress that message but make it still available if i need it
spicewieselthat would be fine, thank you!
spicewieselI will see if there is a good way to pass user env vars into to the systemd call
spicewieselI will check if there is a good way to pass user env vars into to the systemd call
PabloHi, I was wondering abount the Preferences -> Style -> Theme -> Manage opition. I seem to be able to import themes here, right? Where would I find such themes? I find the dark mode really hard to read and would like to change some colors
lovetoxyou can configure your own just use the add buttons
lovetoxPablo
lovetoxthere is no import function and there are no themes publicly available
PabloOh I see. Thanks!
PabloThe default is kinda crappy though IMHO
Norstlovetox, hi, do you wonder about issue with wrong 12 hour format?
lovetoxyou mean if i looked into it?
Norstnope, i mean my little digging
Norstnope, i mean results of my own little digging
lovetoxare you saying you found something out, or are you talking about yesterday
Norstseems like i found cause of the problem with wrong format on my system (yesterday question)
lovetoxgreat, whats it?
NorstMy Windows has "English (US)" MUI installed. So WinAPI GetUserDefaultUILanguage returns "en_US". In this case, on init, Gtk incorrectly sets LC_ALL locale to "English_United States". But only if LANG env variable exists and set to "en"
Norsti.e. bug was triggered by this commit https://dev.gajim.org/gajim/gajim/commit/a9994b791b2ed17f551d031d9f842381543ac4f7
lovetoxnice find
lovetoxi guess we dont want the default ui language
lovetoxwe rather want the currently set one
Norstonly subtle amount of OS is affected, i guess. Because peoples usually don't install MUI
Norst>i guess we dont want the default ui language
i don't think so. You call get_default_lang to determine gajim UI lang, right?
lovetoxit says the install language is only returned if the user has not set a language
lovetoxso maybe you should investigate how to set a prefered language
lovetoxThe user UI language determines the user interface language used for menus, dialog boxes, help files, and so forth. It can be set by the current user in the Language tab of the regional and language options portion of Control Panel.
lovetoxthere is also GetUserPreferredUILanguages()
lovetoxmaybe you could test if this also returns the wrong language, but other than that i dont think windows provides another way of determinig the language
Norsti guess you misunderstood me. GetUserDefaultUILanguage returns right language. My prefered language sets in Control Panel as "English (United States)". And i see no issues on gajim-side.
lovetoxah i guess you set english
lovetoxbut have set the timeformat in windows to 24 hour
lovetoxbut python nor gtk does not specially query windows timeformat options
lovetoxit just guesses from the language
Norstyes, exactly!
Norstthat is why: "[21:34:33] Norst: only subtle amount of OS is affected, i guess."
debaclestrange problem: Myself and two colleagues are all on the same internal prosody server. I HTTP upload a photo to one colleague and it works fine, with or without OMEMO, multiple times. I HTTP upload the same photo to another colleague and it does not work, neither with nor without OMEMO, again and again. In the latter case the file in /var/lib/prosody/http_upload/ has only nine bytes. Gajim 1.1.2 Debian stable backports.
lovetoxis there a locale env var like LC_... for the timeformat?
lovetoxone could try and get the correct one from windows and set it in the msys env
lovetoxbut debacle you dont upload to a contact
lovetoxyou always upload to the server, httpupload just returns a url which we send then to the contact
lovetoxso this cannot depend on the contact
Norstonly one correction: python obey windows regional (and thus, timeformats) options. Gtk sets wrong locale, on init.
debaclelovetox, exactly! that's what is strange!
debaclesame server, same service etc.
debacleI don't want to send even more photos to my poor colleagues, but I checked multiple times and this is the behaviour. It might be accidental, of course.
Norstonly one correction: python obey windows regional (and thus, timeformats) options. Gtk is overriding locale to wrong, on init.
lovetoxvery strange, maybe ask in prosody chat if they have an idea
lovetoxits possible that gajim does not upload the full file, but this would happen often and not only with one contact
debacleOK, I will give it another try with both contacts.
debacleHa, good, that I tested again. Now it failed with the other colleague, too. It was a strange accident then. Funny :)
debacleMight be a prosody problem or Nginx, which is the frontend here.
lovetoxyou could run into some file size / minute limit
debacleI don't think so, because the last test was after a relatively long pause. The PUT path looks already strange for the "bad case".
debacleWhich means that prosody is the culprit. Nginx doesn't change PUT paths, I hope.
debacleThanks, lovetox, I move to xmpp:prosody@conference.prosody.im?join
debacleSee you in Berlin?
lovetoxyes already booked the flight
debacleOK, Friday night then! :-)
Norst>lovetox: is there a locale env var like LC_... for the timeformat?
LC_TIME, but that investigation was just for the curious. Maybe locale and i18n stuff is not a rocket science, but they are pretty annoying for me :)
lovetoxyeah i guess it goes away if you scroll a bit
lovetoxGTK stuff, nothing i can do about much
Norstscrolling and resizing don't help. As i can understood, it appears only on LMC?
lovetoxhm weird not for me
lovetoxthen this is a bug
lovetoxdo you have any plugins activated that may alter the chatview?
Norstyes, Url image preview
Norstbut as far as i remember, this bug was happened even without plugins.
lovetoxnever saw this, very weird
lovetoxnever saw this, very weird !
Norsti have tried to find out pattern without success
lovetoxnever saw this, very weird ! 2
lovetoxnever saw this, very weird ! 3
lovetoxa
lovetox.
lovetoxyeah cant reproduce it
Norstit just happened on LMC from time to time
Norstand it's not occurred instantly, usually after few following messages.
Norstlovetox, so, you didn't see exactly this glitch before?
Norstbut saw similar "recoverable" visual bugs?
lovetoxyeah somtimes the textview just doesnt redraw on scrolling and everything gets jumbled u
lovetoxup, i didnt see the LMC
lovetoxthis is definitly some LMC bug
Norstit is worth to fill a bug-report? i can't provide step by step guide for reproduce
Norstis it worth to fill a bug-report? i can't provide step by step guide for reproduce
lovetoxyeah file a bug report with the screenshot
Norstok
botPhilipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9612 >:
#9612: < Two error windows come up when clicking to authorize a contact >
botPhilipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >:
*5e97d805* < https://dev.gajim.org/gajim/gajim/commit/5e97d805d970ef6ce596b2730d39b8e407e52a53 >
HistoryManager: Display show value correctly
lovetoxthanks mrDoctorWho, traceback should be fixed
botPhilipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >:
*b704e27a* < https://dev.gajim.org/gajim/gajim/commit/b704e27abcb831f0ad2cc9d5d743352f4ee7aa96 >
Write correct show values to database
Since the refactor we wrote accidentally string instead of int
lovetoxmrDoctorWho, seems i made an error i thin you have to run a sql query to clena up some wrong values in the database
botPhilipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >:
*6d9d8f72* < https://dev.gajim.org/gajim/python-nbxmpp/commit/6d9d8f722a7d247b7aa16ec80f046df777edaf13 >
Dont allow setting invalid show values