1 2012-03-06T00:20:44  *** yufra has joined #moin-dev
   2 2012-03-06T00:38:24  *** brunomartin has joined #moin-dev
   3 2012-03-06T00:41:53  *** raignarok has joined #moin-dev
   4 2012-03-06T03:03:44  *** raignarok has quit IRC
   5 2012-03-06T03:53:06  *** sudo_dirk has quit IRC
   6 2012-03-06T05:01:02  *** MattMaker has quit IRC
   7 2012-03-06T05:59:26  *** sudo_dirk has joined #moin-dev
   8 2012-03-06T07:26:18  *** brunomartin has quit IRC
   9 2012-03-06T07:38:33  *** kursor has joined #moin-dev
  10 2012-03-06T09:27:04  *** ashlurgen1 has left #moin-dev
  11 2012-03-06T09:32:39  *** brunomartin has joined #moin-dev
  12 2012-03-06T09:52:29  <dreimark> xorAxAx: http://moinmo.in/4ct10n/info/MoinMoinBugs/XmlrpcSyncFailsOnUnicodePagenames?action=diff&rev2=15&rev1=12
  13 2012-03-06T09:52:40  <dreimark> what do you think about that solution
  14 2012-03-06T09:53:24  <dreimark> self.wiki_url = wikiutil.mapURL(self.request, wikiurl.encode("utf-8"))
  15 2012-03-06T09:53:37  <dreimark> moin
  16 2012-03-06T09:57:55  <ThomasWaldmann> moin
  17 2012-03-06T09:59:13  <ThomasWaldmann> dreimark: URLs are usually ASCII. If there is utf-8 in them, it is urlencoded.
  18 2012-03-06T09:59:54  <ThomasWaldmann> so I think the problem needs to be described more precisely and analysed more deeply.
  19 2012-03-06T10:02:18  <dreimark> ThomasWaldmann: ok, so next is to find out if only wikisync urls have that problem?
  20 2012-03-06T10:02:59  <dreimark> or all m1 urls?
  21 2012-03-06T10:07:01  <ThomasWaldmann> well, as we have non-ASCII pagenames and urls to them work ok, it seems to be wikisync related
  22 2012-03-06T10:07:56  <xorAxAx> ThomasWaldmann: it looks xmlrpc related
  23 2012-03-06T10:08:33  <xorAxAx> or, even more like PEBKAC
  24 2012-03-06T10:08:42  <ThomasWaldmann> also, isn't it just computing the URL of the other wiki (and NOT to some specific page)?
  25 2012-03-06T10:08:45  <xorAxAx> the user didnt supply an urlencoded string but instead used non-ascii chars
  26 2012-03-06T10:09:04  <xorAxAx> ThomasWaldmann: yes, the problem is that the xmlrpc request is done against an invalid URL
  27 2012-03-06T10:10:32  <ThomasWaldmann> i don't see a pebkac error yet
  28 2012-03-06T10:10:42  <ThomasWaldmann> can you point at it precisely?
  29 2012-03-06T10:15:30  *** greg_f has joined #moin-dev
  30 2012-03-06T10:17:12  <xorAxAx> the wikisync configuration
  31 2012-03-06T10:17:28  <xorAxAx> ah, wait
  32 2012-03-06T10:17:32  <xorAxAx> "Create a sync job page with a pageMatch or pageList field matching that page"
  33 2012-03-06T10:17:50  <xorAxAx> he should show his full wikisync config
  34 2012-03-06T10:18:38  <xorAxAx> i suspect that its the URL
  35 2012-03-06T10:20:35  <ThomasWaldmann> dreimark: can you just put a print "msg: %r msg_body: %r" % (msg, msg_body[:200]) into the 2.7 httplib before the place where it crashes?
  36 2012-03-06T10:22:44  <ThomasWaldmann> i currently suspect that msg is unicode (although it could be as well ascii) and that "+" tries to make the msg_body also unicode (and fails, as it is binary / not encoded with ascii encoder)
  37 2012-03-06T10:27:20  <dreimark> ThomasWaldmann: i do that but have a meeting soon
  38 2012-03-06T10:27:27  <dreimark> will report later
  39 2012-03-06T10:29:14  <dreimark> xorAxAx: i have reproduced that with just pagelist entry and two m1 wikis on localhost 8080 -> 8081
  40 2012-03-06T10:29:27  <dreimark> htg
  41 2012-03-06T10:29:32  <xorAxAx> dreimark: ah, ok
  42 2012-03-06T10:30:07  <xorAxAx> then the encode is probably the best solution
  43 2012-03-06T10:30:12  <xorAxAx> but encode ascii please
  44 2012-03-06T10:30:22  <ThomasWaldmann>          self.xmlrpc_url = str(self.wiki_url + "?action=xmlrpc2")       <-- i would suggest that
  45 2012-03-06T10:32:07  <ThomasWaldmann>         # url MUST be str. unicode would lead to msg_body decoding issues in py 2.7.
  46 2012-03-06T10:32:17  <xorAxAx> yeah
  47 2012-03-06T10:33:47  <ThomasWaldmann>         # url MUST be str. unicode would lead to msg_body decoding issues in py 2.7 httplib.
  48 2012-03-06T10:37:51  * ThomasWaldmann updated the wiki page
  49 2012-03-06T10:46:27  *** raignarok has joined #moin-dev
  50 2012-03-06T11:10:15  *** raignarok has quit IRC
  51 2012-03-06T12:27:16  *** kanha has joined #moin-dev
  52 2012-03-06T12:28:07  *** kanha has joined #moin-dev
  53 2012-03-06T12:52:51  *** kanha has quit IRC
  54 2012-03-06T12:53:43  *** kanha has joined #moin-dev
  55 2012-03-06T13:18:28  <kanha> ThomasWaldmann:yeah,i checked recently changed repo and found that problem is still there(flask.user.openid not reflecting openid of user which was created at the time of registeration.) also i think that that openid id is not getting saved because if i create  a other user with same openid then it gets created but it shouldn't happen.
  56 2012-03-06T13:34:50  *** gwork has joined #moin-dev
  57 2012-03-06T13:36:09  <kanha> In bug https://bitbucket.org/thomaswaldmann/moin-2.0/issue/157/html-content-type-with-div-is-not-rendered  in file MoinMoin/converter/html_in.py in line no 108 why  html_tree.tag.name != 'div' is used why value div is blocked here..is it has a sense?if not then i guess making that to == works better.
  58 2012-03-06T13:40:47  <kanha> http://paste.pocoo.org/show/561803/
  59 2012-03-06T13:44:24  *** dave_largo has joined #moin-dev
  60 2012-03-06T13:54:13  <ThomasWaldmann> kanha: yes, the bug is still there
  61 2012-03-06T13:55:28  <ThomasWaldmann> can you please fix that first, before looking at next thing?
  62 2012-03-06T13:56:37  <kanha> yes i vil am looking for it.
  63 2012-03-06T13:58:16  <kanha> and also in the usersetting page ---->personal---> in locale the default value has changed to deutch which seems weird
  64 2012-03-06T13:58:45  <kanha> before it was english in the previous version of code
  65 2012-03-06T14:09:41  <ThomasWaldmann> sounds strange. is that on a new profile?
  66 2012-03-06T14:13:17  <kanha> yes.
  67 2012-03-06T14:16:12  <kanha> and also in alias name and openid column is not containing there label like "Your alias name" and "Your openid".
  68 2012-03-06T14:20:00  <ThomasWaldmann> are you sure you work with current code? did you pull/merge it into your repo?
  69 2012-03-06T14:21:25  <kanha> yes am sure.I pulled it from my repo .
  70 2012-03-06T14:22:25  <kanha> https://bitbucket.org/abhisheksingh/moin-2.0/
  71 2012-03-06T14:23:34  <kanha> more acurately i cloned it from my repo
  72 2012-03-06T14:28:45  *** kursor has quit IRC
  73 2012-03-06T14:29:08  <ThomasWaldmann> kanha: you did not merge
  74 2012-03-06T14:31:53  <kanha> i merged it using hg push -f https://bitbucket.org/abhisheksingh/moin-2.0/
  75 2012-03-06T14:33:35  <ThomasWaldmann> "hg merge"
  76 2012-03-06T14:33:55  <ThomasWaldmann> maybe read some tutorial about mercurial
  77 2012-03-06T14:34:05  <kanha> yup
  78 2012-03-06T14:34:09  <ThomasWaldmann> merging from main repo is something you need to do frequently
  79 2012-03-06T15:57:39  *** kanha has quit IRC
  80 2012-03-06T18:32:01  <brunomartin> moin
  81 2012-03-06T18:33:31  <brunomartin> ThomasWaldmann: is it hard to update the ckeditor to lastest version in xtatic? we need cause that version works with iphone...
  82 2012-03-06T18:38:20  <ThomasWaldmann> brunomartin: no it's easy
  83 2012-03-06T18:38:39  <ThomasWaldmann> do you use ckeditor to edit html items?
  84 2012-03-06T18:38:48  <brunomartin> yep
  85 2012-03-06T18:39:07  <brunomartin> we hide some buttons...
  86 2012-03-06T18:39:48  <ThomasWaldmann> would be interesting if you could contribute back some parts of your work (that could be open)
  87 2012-03-06T18:40:09  <brunomartin> yes, sure...
  88 2012-03-06T18:40:12  <ThomasWaldmann> did you do some sort of link/transclude integration?
  89 2012-03-06T18:40:48  <ThomasWaldmann> btw, i did some work in the namespaces branch recently. is down to a few test failures now.
  90 2012-03-06T18:41:31  <brunomartin> not yet... all we did was put a config.js file, and we are working on a internal link and image browser for the editor!
  91 2012-03-06T18:41:34  <brunomartin> :-)
  92 2012-03-06T18:41:38  <ThomasWaldmann> i'ld like to merge namespaces into default branch before SoC starts, but need some help
  93 2012-03-06T18:42:22  <ThomasWaldmann> would be great if such stuff is generically usable
  94 2012-03-06T18:42:49  <ThomasWaldmann> like not depending too much on some markup, not only images but all kinds, ...
  95 2012-03-06T18:43:41  <ThomasWaldmann> for the simple text editor i had the idea of ONLY inserting some name you click on (not the markup for link/transclude)
  96 2012-03-06T18:43:58  <ThomasWaldmann> that way, it would be useful for all markups without further action
  97 2012-03-06T18:44:00  <brunomartin> that would be great! the classes have started this week in our project... I'm sorry we are not contributing as we like... :-( I thing I can help more next week...
  98 2012-03-06T18:45:23  <ThomasWaldmann> btw, if someone of you want to help mentoring in SOC, just tell. :)
  99 2012-03-06T18:45:37  <brunomartin> when the SOC starts?
 100 2012-03-06T18:45:56  <ThomasWaldmann> most projects will be moin2 related, so people actually working with and using that code would be great
 101 2012-03-06T18:46:11  <ThomasWaldmann> i applied, in a few days we'll know whether we are in
 102 2012-03-06T18:46:44  <ThomasWaldmann> http://moinmo.in/GoogleSoc2012/InitialProjectIdeas < maybe check if you have other ideas
 103 2012-03-06T18:47:01  <ThomasWaldmann> on the parent page are some links to timeline etc.
 104 2012-03-06T18:48:47  <ThomasWaldmann> i changed a lot code in user.py btw
 105 2012-03-06T18:49:12  <ThomasWaldmann> hopefully you can merge now and then, so that the code does not get out of sync too much
 106 2012-03-06T18:51:36  <brunomartin> ok, next week, I will have a little bit more time, than I contribute with the InitialProjectIdeas, finish the MoinMoin/util/interwiki.py (it's almost done!) and really back to contrib with moin2....
 107 2012-03-06T18:52:27  *** greg_f has quit IRC
 108 2012-03-06T18:55:15  <ThomasWaldmann> we also should have some docs about the interwiki/namespaces stuff, before we forget and everybody implements a different thing :D
 109 2012-03-06T18:55:57  <ThomasWaldmann> ok, i need to leave, bbl in ~1h or so
 110 2012-03-06T19:34:09  *** raignarok has joined #moin-dev
 111 2012-03-06T20:22:55  <ThomasWaldmann> re
 112 2012-03-06T21:14:57  *** MattMaker has joined #moin-dev
 113 2012-03-06T22:17:44  *** dave_largo has quit IRC
 114 

MoinMoin: MoinMoinChat/Logs/moin-dev/2012-03-06 (last edited 2012-03-05 23:45:04 by IrcLogImporter)