XMPP Council - 2014-03-26


  1. Kev

    Unless the Editors get back to me, I don't think we have anything that we need to discuss today.

  2. stpeter

    Kev: BTW m&m sends his regrets

  3. stpeter

    or sent

  4. stpeter

    or something

  5. Kev

    Ta.

  6. Kev

    Not that he's obliged to turn up :)

  7. stpeter

    have you folks changed to Summer Time yet?

  8. Kev

    No.

  9. stpeter

    ah ok

  10. Zash

    You mean Wrong Time?

  11. stpeter

    I admit that I keep a few clocks on standard time :-)

  12. Tobias

    stpeter, like the oven clock :P

  13. Zash

    Probably this weekend that Sweden goes silly time. Last weekend in Mars or somesuch.

  14. Tobias

    Zash, yeah...on the 30th

  15. Tobias

    at least in DE

  16. Zash

    Standardized by the EU? :)

  17. Kev

    I believe it's consistent across Europe, at least.

  18. Kev

    'tis time, 'tis time.

  19. Tobias

    here

  20. Kev

    Should be short, as I think we have no agenda.

  21. Kev

    1) Roll call.

  22. Kev

    Tobias: Too eager :p

  23. Lance

    here

  24. Tobias

    Kev, you're connection is too laggy...i bet you've already typed it in

  25. stpeter

    :)

  26. stpeter

    Tobias is using the new FTL transport

  27. Kev

    XMPP-over-Neutrinos.

  28. Tobias

    Kev, your connection is too laggy...i bet you've already typed it in

  29. Tobias

    :)

  30. Kev

    MattJ: Here?

  31. MattJ

    Here

  32. Zash

    MattJ: There?

  33. MattJ

    There also

  34. Kev

    I don't remember Fippo sending apologies, will check the logs.

  35. Kev

    2) Date of next.

  36. stpeter

    I can ping Fippo if needed :-)

  37. Kev

    stpeter: I did so.

  38. Kev

    I think we move to 17:00Z next week, yes?

  39. MattJ

    Yes

  40. Kev

    Everyone OK with that?

  41. stpeter

    fine with me

  42. Kev

    I'll take that as a yes.

  43. stpeter

    I'll update the calendar events

  44. Kev

    3) Any other business.

  45. Kev

    stpeter: Ta.

  46. Peter Waher

    haven't received any comments or questions on the IoT Discovery proposal

  47. Kev

    Anticipating Peter's question about discovery - it was presented to Council last week. Objection period ends next Wednesday.

  48. stpeter

    speaking of which, I need to ping Tobias about getting the right code onto perseus.jabber.org so that we can run calgen.py

  49. Peter Waher

    if you have any, please send them to me

  50. Kev

    And he still beat me :/

  51. Peter Waher

    :)

  52. Tobias

    stpeter, can have a look at it later today

  53. Kev

    stpeter: I can probably sort that out, if you tell me what you need.

  54. Kev

    OK, I think we're done then.

  55. Kev

    Thanks all.

  56. Kev bangs the gavel.

  57. Peter Waher

    (y)

  58. stpeter

    the icalendar python lib is missing at the least, not sure what else because I got distracted from testing :-)

  59. Kev

    I'll make you a virtualenv now.

  60. Tobias

    virtualenv rings a bell...i've either used it for gen.py or calgen.py or both

  61. Kev

    stpeter: There is now a virtualenv in /usr/local/virtualenv/calgen with icalendar installed.

  62. stpeter

    Kev: thanks!

  63. Kev

    It's owned by the xsf user, so if you need anything else in it, you can /usr/local/virtualenv/calgen/bin/easy_install THAT_THING.

  64. bear

    if the virtualenv is active it will have pip in the local path

  65. bear

    so "pip THAT_THING" will be all that is required

  66. Kev

    bear: I think 'activating' virtualenvs is just going to cause us pain, compared to using them explicitly.

  67. Kev

    YMMV, what with me not being a Python person.

  68. bear

    it can be done in any scripts and it *really* is the sanest way

  69. Kev

    In scripts, yes.

  70. Kev

    But doing it in a shell, I don't think is a good idea.

  71. bear

    I should be able to help craft scripts and the .profile stuff to make it happen for logins

  72. bear

    ". bin/activate"

  73. bear

    that's all you need to type

  74. Kev

    I understand the mechanics.

  75. Kev

    I think it's a bad idea.

  76. Kev

    It just encourages you to slip and install the wrong thing in the wrong place.

  77. bear

    ah

  78. bear

    that's is a common view for non-python folks who don't spend all day in venvs

  79. Kev

    As I said.

  80. bear nods

  81. bear

    sorry - distracted and tired bear is ... distracted and tired

  82. Kev

    I can relate.

  83. Kev

    I note that I screwed up the timezone switch, and I think what we meant to agree to was a move to 15:00Z, not to 17:00Z.

  84. MattJ

    Heh

  85. stpeter

    OSError: [Errno 13] Permission denied: '/usr/local/virtualenv/hg/build'

  86. stpeter

    perhaps 'xsf' needs to own that one, too (not just calgen)?

  87. Kev

    Oh, you need to install stuff in there?

  88. Kev

    I thought I'd got that one all working.

  89. stpeter

    when I tried 'pip install icalendar' I got that error

  90. Kev

    Why does the difftool need icalendar?

  91. stpeter

    ask Tobias :-)

  92. Kev

    I thought I had the difftool working - what's broken?

  93. Kev

    stpeter: What caused you to want to install icalendar into the difftool's virtualenv?

  94. stpeter

    um

  95. stpeter

    I didn't want to

  96. Kev

    Oh.

  97. Kev

    Ah.

  98. stpeter

    I probably don't understand virtualenv

  99. Kev

    I think you're doing half of what Bear suggested, and not what I suggested.

  100. stpeter

    I did 'pip install icalender' at /usr/local/virtualenv/calgen but perhaps that's not right

  101. Kev

    If you want to run a script in the calgen virtualenv, just make the shebang into #!/usr/local/virtualenv/calgen/bin/python

  102. Kev

    Yes, that's not right.

  103. Kev

    Completely ignore what Bear said :)

  104. stpeter

    k :-)

  105. stpeter

    heh

  106. stpeter

    ah, ok

  107. bear

    yes, I was wrong to interject - apologies

  108. stpeter

    bear: no worries!

  109. Kev

    Bear was giving advice based on us being fluent in Python :)

  110. Kev

    If you want to install packages into the calgen virtualenv, use /usr/local/virtualenv/calgen/bin/easy_install THE_THING. You could use /usr/local/virtualenv/calgen/bin/pip instead, but I habitually use easy_install and always have.

  111. stpeter

    ok

  112. stpeter

    well, I still have issues: $ ./calgen.py Traceback (most recent call last): File "./calgen.py", line 45, in <module> from icalendar import Calendar, Event, Alarm, UTC, vText ImportError: cannot import name UTC but I've made progress

  113. Kev

    The reason we use multiple virtualenvs is to avoid screwing up e.g. the difftool when we're installing packages for calgen. Or whatever.

  114. stpeter

    sure, makes perfect sense

  115. Kev

    That suggests to me a change in the icalendar package.

  116. Kev

    (If the package was completely missing, I wouldn't have expected the other imports to succeed)

  117. Kev

    This is where bear is likely to be useful :)

  118. bear

    that is a version mismatch (smells like a version mismatch)

  119. stpeter

    right, that's what I was thinking

  120. bear

    are you running python v3 and not noticing

  121. bear

    because UTC was renamed to Utc in the python v3 package

  122. bear

    of icalendar

  123. stpeter

    heh nice

  124. Kev

    Python 2.7.3 (default, Mar 13 2014, 11:03:55)

  125. bear

    yea, 2.7+ picks up a lot of v3 changes

  126. bear

    so change the code to import Utc instead of UTC

  127. stpeter

    ok, well, something to investigate a bit later

  128. bear

    sorry - in non python speak... library maintainers like to keep their source running in python v2.7 like it is in python v3 as that makes their life easier

  129. Kev

    I got that :)

  130. stpeter

    ah yes, "Renamed the UTC class to Utc, so it would not clash with the UTC object, since that rendered the UTC object unpicklable." https://github.com/collective/icalendar/blob/master/CHANGES.rst

  131. Kev

    stpeter: I think all you need to do is edit the import line in Tobias's script. I can do this if you'd like.

  132. stpeter

    yeah I tried that already but it's still not happy, we might multiple versions installed or something strange, checking

  133. stpeter

    oh well, I think this will be an evening project, I need to do some paying work :-)