1 2010-02-20T00:03:35 *** eSyr
2 2010-02-20T00:03:56 <eSyr> dreimark, do you want to update CollectLists macro to work with 1.9?
3 2010-02-20T00:04:04 <eSyr> (or can i do it?)
4 2010-02-20T00:09:08 <dreimark> eSyr: yes, but please make it compatible. i need it also working in 1.8
5 2010-02-20T00:09:17 <eSyr> ok.
6 2010-02-20T00:09:23 <dreimark> because i can migrate in april
7 2010-02-20T00:10:08 <dreimark> and if you have an idea about a better approach for the decimal sort problem
8 2010-02-20T00:10:12 <dreimark> that is also welcome
9 2010-02-20T00:10:29 <dreimark> later on i want to have it in databrowser widget
10 2010-02-20T00:10:57 <eSyr> mmm, what problem?
11 2010-02-20T00:12:00 <dreimark> http://hg.moinmo.in/moin/extensions/file/f9845325cfcf/data/plugin/macro/CollectLists.py#l55
12 2010-02-20T00:14:26 <dreimark> sort must work for numbers too and not only alphabetical
13 2010-02-20T00:14:54 <eSyr> numerical sort, i see.
14 2010-02-20T00:16:17 <dreimark> arg, i missed to update the doc strings, see wiki page is recent
15 2010-02-20T00:16:23 <dreimark> (or more recent)
16 2010-02-20T00:16:37 <dreimark> s/see/the
17 2010-02-20T00:19:01 <dreimark> gn
18 2010-02-20T00:20:14 <eSyr> gn
19 2010-02-20T00:26:08 *** franklin_
20 2010-02-20T00:27:15 * ThomasWaldmann awake again X)
21 2010-02-20T00:28:27 <vpv> wow, 1.9 master has eSyr's improvements for CheckTranslation already running, thanks :)
22 2010-02-20T00:28:27 <eSyr> good morning, ThomasWaldmann.
23 2010-02-20T00:28:31 *** franklin
24 2010-02-20T00:31:39 <ThomasWaldmann> vpv: :)
25 2010-02-20T01:00:56 * ThomasWaldmann installs apache under windows :|
26 2010-02-20T01:08:05 <eSyr> ThomasWaldmann, what for?
27 2010-02-20T01:10:44 <ThomasWaldmann> to test crappy behaviour :)
28 2010-02-20T01:12:23 <ThomasWaldmann> e.g. that old bug report reopened yday for 1.9
29 2010-02-20T02:28:22 <ThomasWaldmann> hmpf, cgi broken on win32 - can someone try on linux?
30 2010-02-20T02:53:32 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5548:a42e6b2cd528 1.9/MoinMoin/web/session.py: sessions: implant code from werkzeug 0.6, fix it
31 2010-02-20T03:01:52 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5549:d18c06596cd5 1.9/MoinMoin/support/flup/ (13 files in 2 dirs): update flup middleware to a current upstream repo checkout
32 2010-02-20T10:37:04 <eSyr> ThomasWaldmann, http://paste.pocoo.org/show/180400/ — fixes raising error ar raising error when wrong argument value in required parameter supplied (like, http://moinmo.in/4ct10n/info/WikiSandBox?action=diff&rev2=1591&rev1=1590 )
33 2010-02-20T10:42:14 <CIA-50> Reimar Bauer <rb.proj AT googlemail DOT com> default * 503:84e949d36271 extensions/data/plugin/macro/CollectLists.py: macro.CollectLists: doc string updated and PEP8 whitespace fixed
34 2010-02-20T10:42:30 <dreimark> eSyr: ^ docstring update
35 2010-02-20T10:43:19 <eSyr> ohhh...
36 2010-02-20T10:43:32 <eSyr> (i just wanted to send you patch)
37 2010-02-20T10:43:45 <dreimark> that should not conflict
38 2010-02-20T10:43:58 <eSyr> well, yes, i think it should merge.
39 2010-02-20T10:47:03 <dreimark> in your above patch you change the type to str for choice
40 2010-02-20T10:47:16 <eSyr> yes, for join.
41 2010-02-20T10:47:34 <eSyr> or it should be unicode?
42 2010-02-20T10:48:16 <dreimark> >>> a=[u's',u'd']
43 2010-02-20T10:48:16 <dreimark> >>> isinstance(''.join(a),unicode)
44 2010-02-20T10:48:47 <eSyr> dreimark, http://paste.pocoo.org/show/180408/
45 2010-02-20T10:48:57 <eSyr> dreimark, there was None.
46 2010-02-20T10:49:12 <eSyr> (in list of choices)
47 2010-02-20T10:50:24 <eSyr> http://i.imgur.com/GxzeV.jpg
48 2010-02-20T10:51:00 <dreimark> hehe
49 2010-02-20T10:52:19 <dreimark> Version was added in 1.9 or do we have backported it to 1.8?
50 2010-02-20T10:52:35 <eSyr> hm.
51 2010-02-20T10:53:37 <eSyr> bad.
52 2010-02-20T10:53:50 <eSyr> is there other consistent way for checking out version?
53 2010-02-20T10:53:57 <eSyr> (i mean, comparing)
54 2010-02-20T10:55:16 <eSyr> (i don't like idea to compare strings)
55 2010-02-20T10:56:58 <dreimark> we could add the class to the macro
56 2010-02-20T10:57:10 <dreimark> or we could add the macro to 1.9
57 2010-02-20T10:57:22 <dreimark> so that we have an improvement in 1.9.3
58 2010-02-20T11:00:15 <dreimark> also an exception handler can do the trick until we have decided
59 2010-02-20T11:00:54 <dreimark> try: from MoinMoin.wikidicts import Dict ... except: def get_dict(request, dict_source): ...
60 2010-02-20T11:01:43 <dreimark> eSyr: ^
61 2010-02-20T11:01:57 <dreimark> I like the get_dict( ) :)
62 2010-02-20T11:03:20 * dreimark looks on cgi
63 2010-02-20T11:06:30 <eSyr> ok.
64 2010-02-20T11:07:06 <eSyr> (i thought about fallback with try...expect, but then decided that there can be other MoinMoin.wikidicts)
65 2010-02-20T11:12:33 *** valeuf
66 2010-02-20T11:12:34 <dreimark> it can but then everything else could also be out of control
67 2010-02-20T11:14:17 <eSyr> dreimark, http://paste.pocoo.org/show/180412/
68 2010-02-20T11:16:12 <CIA-50> Eugene Syromyatnikov <evgsyr@gmail.com> default * 504:31e92294799a extensions/data/plugin/macro/CollectLists.py: CollectLists: make macro compliant bot with 1.9 and 1.8-.
69 2010-02-20T11:16:23 <eSyr> bbl
70 2010-02-20T11:18:48 <dreimark> :)
71 2010-02-20T11:20:05 <dreimark> bot means ?
72 2010-02-20T11:24:45 <dreimark> ThomasWaldmann: i have no css on any of my 192 test apache systems
73 2010-02-20T11:27:28 <dreimark> likly because of karmic upgrade.
74 2010-02-20T11:27:44 <dreimark> cgi seems to work but not fcg
75 2010-02-20T11:37:15 *** valeuf
76 2010-02-20T11:51:17 *** eSyr
77 2010-02-20T12:03:51 <ThomasWaldmann> moin
78 2010-02-20T12:04:16 *** eSyr
79 2010-02-20T12:08:42 <ronny> moin ThomasWaldmann
80 2010-02-20T12:31:50 <dreimark> TheSheep: http://hg.moinmo.in/moin/1.9/file/d18c06596cd5/wiki/server/moin.fcgi#l37
81 2010-02-20T12:32:31 <dreimark> shouldn't that be 'N' for fcgi (because of the fcgi extension, i would assume it is fcgi configured)
82 2010-02-20T12:35:19 <dreimark> ThomasWaldmann: i am not sure if the os.environ['FCGI_FORCE_CGI'] flag really works
83 2010-02-20T12:36:07 <dreimark> because I wonder that I don't need to restart the server process after changing wikiconfig.py
84 2010-02-20T12:36:45 <ThomasWaldmann> i started tracking problems with that flag yesterday
85 2010-02-20T12:37:08 <johill> dreimark: the new fcgi stuff watches if the files change
86 2010-02-20T12:37:23 <dreimark> johill: great
87 2010-02-20T12:37:27 <johill> and I'm pretty sure the flag works
88 2010-02-20T12:37:33 <johill> because w/o it, my fcgi doesn't work _at all_
89 2010-02-20T12:37:33 <johill> :)
90 2010-02-20T12:37:36 <ThomasWaldmann> what I can say right now is that the flag doesn't work in win32 apache cgi as it tracebacks before even reaching the point where it checks the flag
91 2010-02-20T12:38:15 <ThomasWaldmann> johill: btw, flup has some memory leak related recent changesets
92 2010-02-20T12:38:21 <johill> fun
93 2010-02-20T12:38:32 <johill> maybe that's why my server is eating memory
94 2010-02-20T12:38:37 <ThomasWaldmann> maybe you could try 1.9.current to check if it works better for you
95 2010-02-20T12:38:46 <johill> I have lots of ram now ;)
96 2010-02-20T12:38:50 <johill> and I kill the process every day
97 2010-02-20T12:39:42 <ThomasWaldmann> (but moin consumes quite a lot without flup also)
98 2010-02-20T12:43:44 <dreimark> http://paste.pocoo.org/show/180433/ ideas? that is using the moin.fcgi
99 2010-02-20T12:44:05 <johill> that's what I got when it thought ti was CGI
100 2010-02-20T12:44:27 <johill> or something like that anyway
101 2010-02-20T12:44:41 <dreimark> ok, then it is may be extension trouble
102 2010-02-20T13:04:30 * ThomasWaldmann works on a flup patch
103 2010-02-20T13:17:54 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5550:49f8dd576950 1.9/MoinMoin/support/flup/server/fcgi_base.py: flup fcgi_base: avoid socket.fromfd AttributeError on win32 if cgi is forced, give helpful exception for fcgi
104 2010-02-20T14:05:54 *** valeuf
105 2010-02-20T14:42:22 *** grzywacz
106 2010-02-20T15:28:05 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5551:661057dc4d09 1.9/MoinMoin/support/flup/server/fcgi_base.py: flup: improve exception msg (add CGI hint)
107 2010-02-20T15:41:20 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5552:6dd5073f4bf6 1.9/MoinMoin/support/flup/NOTES.moin: flup: add note about local flup fix and upstream bug report about it
108 2010-02-20T16:03:23 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5553:7d27d4c3f44b 1.9/wiki/server/moin.fcgi: moin.fcgi: add fixer middleware for apache2/win32
109 2010-02-20T16:06:56 <eSyr> ThomasWaldmann, what do you think about http://paste.pocoo.org/show/180408/ ?
110 2010-02-20T16:07:23 <eSyr> (there is problem that definitely should be fixed, but i'm not sure this is right way of doing it)
111 2010-02-20T16:14:22 <ThomasWaldmann> there is no wikiutil.Version in 1.8
112 2010-02-20T16:16:13 <eSyr> oh, sorry, wrong link.
113 2010-02-20T16:17:06 <eSyr> http://paste.pocoo.org/show/180495/
114 2010-02-20T16:22:39 <ThomasWaldmann> well, it somehow looks like making sense, but misses docs :)
115 2010-02-20T16:22:53 <ThomasWaldmann> (i only read the diff by now)
116 2010-02-20T16:25:36 <eSyr> \ok.
117 2010-02-20T16:30:57 <eSyr> ThomasWaldmann, http://paste.pocoo.org/show/180503/
118 2010-02-20T16:35:19 <ThomasWaldmann> ah, clearer now. we need to rephrase that a bit.
119 2010-02-20T16:38:47 <ThomasWaldmann> http://paste.pocoo.org/show/180506/ < (the diff line numbers might be wrong now)
120 2010-02-20T16:45:33 <eSyr> http://paste.pocoo.org/show/180508/
121 2010-02-20T16:47:38 <dreimark> eSyr: do you have run py.test?
122 2010-02-20T16:47:54 <ThomasWaldmann> eSyr: that's wrong
123 2010-02-20T16:49:14 <dreimark> the previous patch changes the result
124 2010-02-20T16:49:31 <ThomasWaldmann> eSyr: and for the exception msg, maybe rather use repr() than unicode(), because unicode msgs make trouble.
125 2010-02-20T16:50:50 <eSyr> oh, sorry, i understood that ...and..or... is not suitable there, but fixed it wrong.
126 2010-02-20T16:52:44 <CIA-50> Reimar Bauer <rb.proj AT googlemail DOT com> default * 5554:0dea6dbebafb 1.9/MoinMoin/web/session.py: web.session: PEP8 whitespace fix
127 2010-02-20T16:52:45 <CIA-50> Reimar Bauer <rb.proj AT googlemail DOT com> default * 5555:0cf43758feab 1.9/ (3 files in 3 dirs): merged main
128 2010-02-20T16:55:42 <dreimark> eSyr: don't change the result of _test_invoke_choice
129 2010-02-20T16:56:17 <dreimark> it must be assert choice == u'a' for choice=[u'a', u'b', u'c']
130 2010-02-20T16:57:13 <eSyr> mmm, it wouldn't be changed.
131 2010-02-20T16:57:24 <eSyr> i do not touch result, just exception string.
132 2010-02-20T16:57:32 <eSyr> (and all tests passed)
133 2010-02-20T16:58:30 <dreimark> i added 180503 and this test doen't pass for me
134 2010-02-20T16:59:04 <eSyr> hm.
135 2010-02-20T16:59:51 * ThomasWaldmann suggests fixing the if and then doing tests
136 2010-02-20T16:59:55 <eSyr> dreimark, http://paste.pocoo.org/show/180514/
137 2010-02-20T17:00:41 * ThomasWaldmann updates i18n
138 2010-02-20T17:03:26 <dreimark> eSyr: test_wikiutil passes
139 2010-02-20T17:05:10 <eSyr> dreimark, yes, fix in 180503 was wrong.
140 2010-02-20T17:06:39 <dreimark> 982 passed, 69 skipped in 151.50 seconds
141 2010-02-20T17:07:18 <eSyr> oh, /me understands that wanted to propose new i18n string, but too late.
142 2010-02-20T17:07:58 <ThomasWaldmann> hm? :)
143 2010-02-20T17:07:59 <eSyr> dreimark, ThomasWaldmann, any other suggestions to the patch?
144 2010-02-20T17:09:06 <eSyr> ThomasWaldmann, '", "' -> _('", "'). /me uses angle quotes in localized strings, and message "Аргумент «scheme» должен быть один из «children", "siblings", "slideshow", "slides», а не «test»" looks a bit creepy.
145 2010-02-20T17:10:10 <ThomasWaldmann> no new i18n please
146 2010-02-20T17:10:26 <ThomasWaldmann> the translators didn't even catch up with your last changes
147 2010-02-20T17:10:27 <dreimark> (not now)
148 2010-02-20T17:11:08 <ThomasWaldmann> if there is no i18n change, I am fine with it
149 2010-02-20T17:12:10 * dreimark thinks the patch is fine
150 2010-02-20T17:13:15 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5556:b99c12a9b82c 1.9/MoinMoin/i18n/ (43 files): updated i18n
151 2010-02-20T17:13:40 <eSyr> ok then.
152 2010-02-20T17:13:57 <eSyr> i'll push this patch (without any i18n change)
153 2010-02-20T17:15:14 * ThomasWaldmann updates sys pages
154 2010-02-20T17:19:35 <ThomasWaldmann> brb
155 2010-02-20T17:22:24 <CIA-50> Eugene Syromyatnikov <evgsyr@gmail.com> default * 5557:57f9d0f64da2 1.9/MoinMoin/wikiutil.py: wikiutil: Fixed required_arg handling (no exception when trying to raise exception that choice is wrong).
156 2010-02-20T17:22:26 <CIA-50> Eugene Syromyatnikov <evgsyr@gmail.com> default * 5558:dd29947c1a31 1.9/ (58 files in 5 dirs): Merge
157 2010-02-20T17:32:13 <eSyr> dreimark, what do you think about incorporating Franklin Piat's view in CheckTranslation action instead of writing separate macro?
158 2010-02-20T17:32:44 <eSyr> (i don't think that this view needed somewhere else than on mastermoin wiki)
159 2010-02-20T17:43:42 <ThomasWaldmann> "view"?
160 2010-02-20T17:44:32 <eSyr> ThomasWaldmann, http://moinmo.in/FranklinPiat/UnderstandingLanguagePacks
161 2010-02-20T17:44:49 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5559:557a8fa5fcfd 1.9/wiki/underlay.tar: updated underlay
162 2010-02-20T17:45:13 <ThomasWaldmann> see the link i posted below the table
163 2010-02-20T17:46:01 <eSyr> well, i think table is more, ehrm, visual.
164 2010-02-20T18:07:30 <dreimark> i think people like to know at loading language setup page
165 2010-02-20T18:07:37 <dreimark> what is in a pagepack
166 2010-02-20T18:08:01 <dreimark> translators know because of the action on the master wiki
167 2010-02-20T18:08:44 <eSyr> hm.
168 2010-02-20T18:08:59 <eSyr> may be, patch install_pagepacks action then?
169 2010-02-20T18:09:35 <dreimark> yes and killing the Language Setup page
170 2010-02-20T18:10:17 <dreimark> that would also be nice no page on default and people have to execute the action at first
171 2010-02-20T18:12:27 <dreimark> bbl
172 2010-02-20T18:14:17 <ThomasWaldmann> LanguageSetup page has to stay as long as we have 1.9.x
173 2010-02-20T18:15:36 * eSyr also thinks that some page_header by default is needed, because sometimes i use definite page names ever on clean wiki
174 2010-02-20T18:15:46 <eSyr> (for example)
175 2010-02-20T18:16:27 <ThomasWaldmann> if someone has own page_header that helps as little as our default front page
176 2010-02-20T18:17:58 <eSyr> hm.
177 2010-02-20T18:34:04 <ThomasWaldmann> running moin on windows is still broken (sessions)...
178 2010-02-20T18:34:15 <ThomasWaldmann> (or again?)
179 2010-02-20T18:53:12 <dreimark> ThomasWaldmann: server or client
180 2010-02-20T18:53:42 <ThomasWaldmann> w2kserver
181 2010-02-20T18:54:13 <ThomasWaldmann> but i don't think it matters. it is the usual "no atomic rename" and "access denied" crap
182 2010-02-20T18:54:23 <dreimark> do you have checked the desktop edition on windows?
183 2010-02-20T18:54:33 <ThomasWaldmann> i am using wikiserver.py
184 2010-02-20T18:54:58 <ThomasWaldmann> ehrm, no, i am using mod_wsgi, but I don't think it matters much
185 2010-02-20T18:55:45 * dreimark no idea it is windows
186 2010-02-20T18:55:54 <dreimark> +has
187 2010-02-20T19:06:32 <dreimark> eSyr: i hack an example what i mean, so we can discuss this later
188 2010-02-20T19:09:52 <eSyr> ok.
189 2010-02-20T19:18:24 <ThomasWaldmann> http://lists.mysql.com/commits/59327
190 2010-02-20T19:21:11 <eSyr> oh, "do anything, but not like in POSIX"
191 2010-02-20T19:21:25 <eSyr> (and they claim that they are posix-compartible except part two)
192 2010-02-20T19:21:33 <eSyr> who needs such compatibility.
193 2010-02-20T19:24:45 <ThomasWaldmann> we need to update session files in a working way
194 2010-02-20T19:41:24 <ThomasWaldmann> http://trac.edgewall.org/ticket/8623
195 2010-02-20T19:41:44 * ThomasWaldmann wonders why anyone codes for windows when looking at that pita
196 2010-02-20T19:45:22 <TheSheep> ThomasWaldmann: yeah, coding for windows is easy, you just draw the windows and buttons and stuff, and then drag and drop the functions on them...
197 2010-02-20T19:58:27 <ThomasWaldmann> http://trac.edgewall.org/browser/branches/0.11-stable/trac/util/__init__.py#L89
198 2010-02-20T19:58:50 <ThomasWaldmann> looks like this maybe solves it for windows, at least if ctypes is available
199 2010-02-20T20:02:21 <ThomasWaldmann> and vista or 2008 server :|
200 2010-02-20T20:02:40 <eSyr> hm.
201 2010-02-20T21:18:14 * ThomasWaldmann tries once more to create a win2008srv vm
202 2010-02-20T21:24:29 <eSyr> ThomasWaldmann, what for spaces are replaced with hardspaces if formatter._text is called inside of code block?
203 2010-02-20T21:26:01 <ThomasWaldmann> please rephrase
204 2010-02-20T21:26:46 * ThomasWaldmann raises ParseError :)
205 2010-02-20T21:28:04 <TheSheep> s/what for/why
206 2010-02-20T21:28:12 <TheSheep> s/if/when
207 2010-02-20T21:28:18 <TheSheep> better? :)
208 2010-02-20T21:32:01 * eSyr phails at spelling
209 2010-02-20T21:32:32 <TheSheep> eSyr: it's not the spelling, it's the slavic word order
210 2010-02-20T21:37:06 <ThomasWaldmann> eSyr: because we always do that?
211 2010-02-20T21:37:38 <eSyr> ThomasWaldmann, but what for?
212 2010-02-20T21:37:53 <eSyr> code blocks already have white-space:pre-wrap.
213 2010-02-20T21:37:58 <ThomasWaldmann> good question, obviously there is a comment missing :)
214 2010-02-20T21:38:29 <ThomasWaldmann> maybe check with repo history?
215 2010-02-20T21:38:51 <eSyr> (and in highlight parser we don't do such replacing)
216 2010-02-20T21:38:55 <eSyr> hm.
217 2010-02-20T21:38:57 <eSyr> ok.
218 2010-02-20T22:23:07 <ThomasWaldmann> yay, after converting the image, the vm works
219 2010-02-20T23:39:35 <dreimark> eSyr: http://moinmo.in/FranklinPiat/UnderstandingLanguagePacks?action=AttachFile&do=view&target=ListPagePacks.py
220 2010-02-20T23:47:25 <eSyr> hm.
221 2010-02-20T23:49:40 <dreimark> if i cange the lang I need to call the macro twice or third times
222 2010-02-20T23:49:58 <dreimark> that is a bit strange likly an i18n issue
223 2010-02-20T23:51:03 <eSyr> hm, it adds "not in your language "Russian" translated" for already translated pages.
224 2010-02-20T23:51:34 <dreimark> then there is a bug or in the local zip file of your lang the pages missing
225 2010-02-20T23:51:53 <eSyr> hm, i don't think so.
226 2010-02-20T23:51:59 <dreimark> it reads the zip files of LanguageSetup
227 2010-02-20T23:52:05 <eSyr> ah, i see.
228 2010-02-20T23:52:07 <eSyr> may be.
229 2010-02-20T23:52:18 <eSyr> i need to check it out.
230 2010-02-20T23:54:38 <dreimark> i think it is not a encoding problem because it understands german umlauts
231 2010-02-20T23:55:24 <eSyr> hm, when i'm trying to refresh cache, it returns error [list.remove(x): x not in list]
232 2010-02-20T23:55:57 <eSyr> http://paste.pocoo.org/show/180623/
233 2010-02-20T23:56:13 <dreimark> i've seen this too and i have no idea why it get fixed after starting wikiserver again
234 2010-02-20T23:56:24 <eSyr> (errr, only lines after 13 are relevnt)
235 2010-02-20T23:57:10 <eSyr> err, looks like you assign pointer, not copied list.
236 2010-02-20T23:57:26 <dreimark> oh
237 2010-02-20T23:59:44 <dreimark> and i thought getattr is clever