1 2011-06-13T00:00:47  <ThomasWaldmann> ok. well, so the good plan for it is....?
   2 2011-06-13T00:01:32  <dreimark> to show not all older changes in RC at once, limit the amount per item
   3 2011-06-13T00:02:22  <sinha> dreimark: yes you said just to show RC for that day only
   4 2011-06-13T00:02:29  <sinha> this will limit them
   5 2011-06-13T00:03:07  <dreimark> we are at pagination now
   6 2011-06-13T00:03:28  <dreimark> yes it limits, but it is kept and alive in RC
   7 2011-06-13T00:03:52  <dreimark> if it is not edited again it always needs that amout nof lines
   8 2011-06-13T00:03:53  <sinha> so wouldn't this current grouping will be going into pagination thing
   9 2011-06-13T00:05:49  <ThomasWaldmann> see my comment about pagination code reusability
  10 2011-06-13T00:28:14  <dreimark> gn
  11 2011-06-13T00:31:17  <ThomasWaldmann> gn dreimark
  12 2011-06-13T00:31:27  *** RogerHaase has left #moin-dev
  13 2011-06-13T01:00:37  *** sinha has quit IRC
  14 2011-06-13T02:13:58  *** m4k3r_ has quit IRC
  15 2011-06-13T02:29:34  *** MattMaker has quit IRC
  16 2011-06-13T03:02:34  *** MattMaker has joined #moin-dev
  17 2011-06-13T08:23:55  *** m4k3r has joined #moin-dev
  18 2011-06-13T08:45:10  *** m4k3r has quit IRC
  19 2011-06-13T08:47:21  *** m4k3r has joined #moin-dev
  20 2011-06-13T09:04:13  <dreimark> moin
  21 2011-06-13T11:10:20  <ThomasWaldmann> moin
  22 2011-06-13T11:11:46  *** greg_f has joined #moin-dev
  23 2011-06-13T12:23:53  *** ronny has quit IRC
  24 2011-06-13T12:25:36  *** ronny has joined #moin-dev
  25 2011-06-13T13:08:30  *** pkumar has joined #moin-dev
  26 2011-06-13T13:09:15  <pkumar> xorAxAx : hi, I have some results regarding 'file leak issue in fs2' to discuss.
  27 2011-06-13T13:09:30  <pkumar> ThomasWaldmann : ^
  28 2011-06-13T13:09:44  <pkumar> http://moinmo.in/pkumar_diary/2011-06-13
  29 2011-06-13T13:11:00  <pkumar> please go through the diary page for my conclusions
  30 2011-06-13T13:12:03  <pkumar> Also, are there some standard backend_uri
  31 2011-06-13T13:12:08  <pkumar> values
  32 2011-06-13T13:13:03  <pkumar> xorAxAx : ^
  33 2011-06-13T13:13:53  <xorAxAx> pkumar: i dont understand how that contributes to the file leak issue without looking at the code intensively
  34 2011-06-13T13:13:56  <xorAxAx> can you explain?
  35 2011-06-13T13:14:30  <pkumar> yeah,
  36 2011-06-13T13:15:51  <pkumar> I just traced the path of execution, and it starts from create_simple_mapping function
  37 2011-06-13T13:17:19  <pkumar> now the control goes to create_simple_backend where prefix of uri is checked
  38 2011-06-13T13:18:28  <pkumar> now the value i.e. 'temp_val' in 'fs2:temp_val' is passed to _create_backends in the same file
  39 2011-06-13T13:19:27  <pkumar> since according to current method we just use fs2: so nothing is passed
  40 2011-06-13T13:20:13  <pkumar> and in the line which says 'backend = BackendClass(backend_uri % parms)' we don't have any value
  41 2011-06-13T13:20:18  <ThomasWaldmann> i don't think you understood how a correct fs2 url looks like.
  42 2011-06-13T13:21:37  <pkumar> ThomasWaldmann : can you give me an example of fs2 url?
  43 2011-06-13T13:23:34  <pkumar> because according to  instance_uri = backend_uri[len(FS2_PREFIX):] we are taking values after prefix i.e. fs2:
  44 2011-06-13T13:24:30  <ThomasWaldmann> 'fs2:/home/tw/w/moin-2.0/wiki/data/%(nsname)s'
  45 2011-06-13T13:25:43  <ThomasWaldmann> that means: the stuff after : is NOT empty, but a template for a path
  46 2011-06-13T13:27:08  <pkumar> yeah, thats some or similar needed to be passed from conftes,.py and not just 'fs2:'
  47 2011-06-13T13:27:12  <ThomasWaldmann> and %(nsname)s is a placeholder that gets replaced by the namespace name, like e.g. content or trash
  48 2011-06-13T13:29:16  <pkumar> yeah, thats there in _create_backends function
  49 2011-06-13T13:30:33  <ThomasWaldmann> so, you just found that you are using it wrong? or anything else?
  50 2011-06-13T13:30:42  <pkumar> in my system, tests are running but just taking more time than usual
  51 2011-06-13T13:32:07  <ThomasWaldmann> that is expected as on disk is usually slower than in memory (RAM)
  52 2011-06-13T13:32:23  <pkumar> and not showing internalError as if now as mentioned in your repo
  53 2011-06-13T13:33:13  <ThomasWaldmann> mentioned in my repo?
  54 2011-06-13T13:33:36  <pkumar> in listed issues
  55 2011-06-13T13:33:44  <pkumar> https://bitbucket.org/thomaswaldmann/moin-2.0/issue/10/pytest-run-with-fs2-shows-file-leak
  56 2011-06-13T13:34:15  <ThomasWaldmann> that's the issue tracker, not the repo
  57 2011-06-13T13:34:42  <ThomasWaldmann> and OSError not internalError
  58 2011-06-13T13:36:03  <ThomasWaldmann> but how could you run the test if you had a wrong fs2 uri?
  59 2011-06-13T13:36:13  <pkumar> on the link I see <INTERNALERROR>, is this a type of OSError
  60 2011-06-13T13:36:31  <ThomasWaldmann> what link?
  61 2011-06-13T13:36:45  <pkumar>  https://bitbucket.org/thomaswaldmann/moin-2.0/issue/10/pytest-run-with-fs2-shows-file-leak
  62 2011-06-13T13:37:01  <pkumar> yeah, I got it
  63 2011-06-13T13:37:08  <ThomasWaldmann> ehrm, internalerror at the beginning of the line just means that it crashed inside py.test
  64 2011-06-13T13:37:17  <pkumar> I can see OSError too
  65 2011-06-13T13:37:23  <ThomasWaldmann> but the precise error is in the traceback
  66 2011-06-13T13:38:14  <ThomasWaldmann> (13:36) < ThomasWal> but how could you run the test if you had a wrong fs2 uri?
  67 2011-06-13T13:38:32  <pkumar> I tried to run the tests just using fs2:temp_uri and it works
  68 2011-06-13T13:38:53  <ThomasWaldmann> that's wrong also
  69 2011-06-13T13:39:08  <pkumar> yeah, seems so
  70 2011-06-13T13:39:50  <pkumar> so, I cannot run the tests using the uri you provided. Can I use some other uri?
  71 2011-06-13T13:40:29  <ThomasWaldmann> btw, that stuff is even documented in the official (sphinx-made) documentation
  72 2011-06-13T13:41:06  <ThomasWaldmann> it is just a path template, adapt it to your needs
  73 2011-06-13T13:42:33  <pkumar> ok
  74 2011-06-13T13:43:33  <ThomasWaldmann> btw, the first step in bug hunting is always to reproduce the bug
  75 2011-06-13T13:44:12  <pkumar> fs2:/home/pkumar/%(nsname)s is a valid one right?
  76 2011-06-13T13:44:49  <ThomasWaldmann> valid, but not good
  77 2011-06-13T13:44:53  <pkumar> to reproduce the bug I think I need to run the tests from top level directory
  78 2011-06-13T13:45:36  <ThomasWaldmann> yes, so it runs alls the tests
  79 2011-06-13T13:46:36  <ThomasWaldmann> btw, if you happen to have a big enough ramdisk / tmpfs filesystem, you may want to use that path
  80 2011-06-13T13:46:54  <pkumar> ok
  81 2011-06-13T13:47:08  <pkumar> brb
  82 2011-06-13T13:47:26  *** pkumar has quit IRC
  83 2011-06-13T13:52:25  *** pkumar has joined #moin-dev
  84 2011-06-13T13:52:29  <pkumar> re
  85 2011-06-13T13:53:34  <pkumar> ThomasWaldmann : were you talking about 'fs2:/home/tw/w/moin-2.0/wiki/data/%(nsname)s' path
  86 2011-06-13T13:55:21  <ThomasWaldmann> it talked about it half an hour ago
  87 2011-06-13T13:56:01  <pkumar> I meant when you said if you happen to have a big enough ramdisk / tmpfs filesystem, you may want to use that path
  88 2011-06-13T13:56:22  <pkumar> or any path in general?
  89 2011-06-13T13:56:43  <ThomasWaldmann> no. you have to use a valid path matching your system setup.
  90 2011-06-13T13:57:06  <ThomasWaldmann> and maybe don't directly use your home dir, but create at least a subdirectory there
  91 2011-06-13T13:59:06  <pkumar> ok, so create a subdirectories and give that path right?
  92 2011-06-13T13:59:11  <pkumar> A*
  93 2011-06-13T14:00:06  <ThomasWaldmann> in general, if you want helpful answers, you should ask more precisely
  94 2011-06-13T14:01:18  <pkumar> ok, I'l try that
  95 2011-06-13T14:01:38  <pkumar> I meant to run the tests
  96 2011-06-13T14:02:22  *** sinha has joined #moin-dev
  97 2011-06-13T14:02:53  <ThomasWaldmann> btw, if you use hdd to run the tests, make sure you do some other work on your project while the tests are running
  98 2011-06-13T14:03:27  <pkumar> ok
  99 2011-06-13T14:03:34  <pkumar> bbl
 100 2011-06-13T14:03:38  *** pkumar has quit IRC
 101 2011-06-13T14:55:01  *** Marchael has quit IRC
 102 2011-06-13T15:06:01  *** sinha has quit IRC
 103 2011-06-13T15:06:15  *** sinha has joined #moin-dev
 104 2011-06-13T17:09:53  *** sinha has quit IRC
 105 2011-06-13T17:20:25  <dreimark> ThomasWaldmann: http://code.google.com/p/svg-edit/issues/detail?id=821
 106 2011-06-13T17:20:48  <dreimark> I have a working new extension for svg-edit which sends in one post png and svg-data
 107 2011-06-13T17:22:37  *** Marchael has joined #moin-dev
 108 2011-06-13T18:12:03  <ThomasWaldmann> that could simplify processing a bit (otoh, we need the multi-post stuff for the other draw programs anyway)
 109 2011-06-13T18:14:57  *** greg_f has quit IRC
 110 2011-06-13T18:18:32  <dreimark> we can keep it for the others. currently i am not sure if I really want it with that compatibility
 111 2011-06-13T18:18:49  <dreimark> because it makes working with svg much more complicated
 112 2011-06-13T18:20:34  <dreimark> for svg drawings alone it makes not any problems, but if you use it for annotation of an image
 113 2011-06-13T18:20:57  <dreimark> it could be also just a svg image with the embedded jpg
 114 2011-06-13T18:21:39  <dreimark> and now it tries to make a png also
 115 2011-06-13T18:25:05  *** Marchael has quit IRC
 116 2011-06-13T18:25:40  <ThomasWaldmann> omg, wifi registration at EP =8-|
 117 2011-06-13T18:26:03  <dreimark> what ?
 118 2011-06-13T18:26:17  <ThomasWaldmann> europython ml
 119 2011-06-13T18:28:27  <dreimark> fsck
 120 2011-06-13T18:29:24  <dreimark> martin explained me last week you need an italien tax number for buying a sim cards
 121 2011-06-13T18:34:13  <dreimark> annotation with png files works
 122 2011-06-13T18:44:51  * ThomasWaldmann posted an answer to ml
 123 2011-06-13T19:03:50  *** Marchael has joined #moin-dev
 124 2011-06-13T19:04:06  <Marchael> Moin
 125 2011-06-13T19:05:46  <Marchael> ThomasWaldmann, where shpuld I declare app.cfg.index_dir?
 126 2011-06-13T19:06:09  * Marchael writing from phone
 127 2011-06-13T19:06:46  <ThomasWaldmann> in your custom wikiconfig, see the remarks in the one that is under revision control (and don't change wikiconfig.py)
 128 2011-06-13T19:07:10  <Marchael> Ok
 129 2011-06-13T19:11:40  *** hardy89 has joined #moin-dev
 130 2011-06-13T19:12:37  *** hardy89 has quit IRC
 131 2011-06-13T19:31:59  *** Marchael has quit IRC
 132 2011-06-13T20:37:17  *** RogerHaase has joined #moin-dev
 133 2011-06-13T21:15:38  <dreimark> ThomasWaldmann: see ML
 134 2011-06-13T21:22:26  * dreimark likly will visit the airport vodafone store
 135 2011-06-13T21:43:10  <ThomasWaldmann> they will likely collect same data from you, store your connections as long. maybe they have english legalese, though.
 136 2011-06-13T21:43:57  <ThomasWaldmann> dreimark: will you buy an umts usb stick? i could bring a umts wlan router. :D
 137 2011-06-13T21:48:35  <ThomasWaldmann> s/umts wlan router/wlan-router with usb that works with usual umts sticks/
 138 2011-06-13T22:05:12  <dreimark> godd idea
 139 2011-06-13T22:07:18  <dreimark> hmm, lets see
 140 2011-06-13T22:09:47  <dreimark> ha, they have eduroam
 141 2011-06-13T22:41:02  *** sinha has joined #moin-dev
 142 2011-06-13T23:12:38  <sinha> dreimark: now changes for the same day is only shown after grouping, on the results page, check this http://moinmo.in/AkashSinha/Gsoc2011Diary/2011-06-13
 143 2011-06-13T23:37:32  *** sinha has quit IRC
 144 

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-06-13 (last edited 2011-06-12 22:45:03 by IrcLogImporter)