Gajim - 2015-08-10


  1. bot RSS: Feeds for Gajim • Ticket #7462 (Do not translate date/time of stanza in XML Console) updated Summary changed From ​https://launchpad.net/catfish-search/1.0/1.0.2 v1.0.2: + Update to latest SudoDialog + Cleanup remaining quickly template cruft + Use LANG=C with pexpect calls for better reliable with non-english locales + Fix list logic, item selection + Fix dialog API changes https://trac.gajim.org/ticket/7462#comment:3
  2. bert quick/weird question, the join event where history is requested for muc is join_gc in connection.py, now where can I find the same thing for regular chats?
  3. bot RSS: Feeds for Gajim • Ticket #8116 (GNU GPL is not an EULA) updated On the other hand, you might want to imitate ​Xsane. NO WARRANTY 1. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANT[…] https://trac.gajim.org/ticket/8116#comment:1 • xsane-eula.png attached to Tick[]
  4. arune asterix: paste with config dialog change with url_image_preview.py http://paste.ubuntu.com/12049691/
  5. bert asterix: quick/weird question, the join event where history is requested for muc is join_gc in connection.py, now where can I find the same thing for regular chats?
  6. Asterix Hi arune, I'm reading your HEAD patch
  7. Asterix I have a question: clen_list = url_headers.getheaders('Content-Length') + clen = 0 + if clen_list: + clen = ', '.join(clen_list) + return (ctype, int(clen))
  8. Asterix clen in a linst like "10, 20, 30", how could you convert that to an int?
  9. Asterix why could there be several content-type or content-length?
  10. Asterix _get_http_head_proxy is missing
  11. Asterix but except that, that sounds good!
  12. Asterix why not just take the first mime type and first content-length from the returnes value? currently you code work only if there is only one anyway
  13. arune Asterix: probably not allowed to have more content types/length but there could be a silly server
  14. arune Asterix: yes, I can take the first, much better. Thanks
  15. Link Mauve arune, I’ve never seen such a server.
  16. arune I thought I wait with the proxy variant until I got some feedback to see if I'm way out
  17. Link Mauve Imo the safest thing to do in that case is to abort if the Content-Length isn’t an integer.
  18. Asterix sounds logical indeed
  19. Asterix arune: sure, proxy isn't mandatory for the moment
  20. arune Link Mauve: got any good way to check if it's an int? Stackoverflow suggested different solutions for py2 and py3
  21. arune About proxy, I can make the code but cannot test it
  22. Link Mauve arune, don’t build anything for python2, focus only on python3 as Gajim won’t support both.
  23. bot RSS: Feeds for Gajim • Ticket #8119 (A programming error has been detected) created Bug description I randomly get a "A programming error has been detected" when sending to people in my group. Steps to reproduce Just sending a regular text only message by double-clicking on contact, typing message, and hitting send Software versions[…] https://trac.gajim.org/ticket/8119 • Todds error.jpg attached […] https://trac.gajim.org/attachment/ticket/8119/Todds error.jpg
  24. arune Link Mauve: ok
  25. Asterix arune: try: length = int(xx) except Exception: fail !!!
  26. Link Mauve Use try: integer_version = int(string_version)
  27. Link Mauve Asterix, except ValueError:
  28. Link Mauve Catching Exception here is bad.
  29. arune Thankful for feedback, I've never written more than a handful of python lines before
  30. Link Mauve It could be a KeyboardInterrupt for example.
  31. Asterix during the int() function. If you're able to do that, you're very very good!
  32. Asterix :)
  33. Link Mauve Just use the correct way. :p
  34. arune Sure, I'll catch valueerror
  35. bot RSS: Feeds for Gajim • Changeset [15794:00b5461290f1]: make ADE readable make ADE readable https://trac.gajim.org/changeset/00b5461290f1d972d3d5251737cc81f197dcec10 • Ticket #8119 (A programming error has been detected) closed duplicate: dup of #8118 https://trac.gajim.org/ticket/8119#comment:1