1 2010-01-11T00:00:48 <dreimark> ThomasWaldmann: http://paste.pocoo.org/show/164160/ ok?
2 2010-01-11T00:13:18 <ThomasWaldmann> http://moinmo.in/MimeType < see there
3 2010-01-11T00:13:29 <ThomasWaldmann> not sure whether that is the final state, though
4 2010-01-11T00:17:38 * ThomasWaldmann looks at moin/1.9 source
5 2010-01-11T00:18:27 <dreimark> in moin-2.0-storage it is 'text/x-unidentified-wiki-format', 'text/moin-wiki',
6 2010-01-11T00:19:38 <ThomasWaldmann> yeah, it's a big mess :)
7 2010-01-11T00:22:09 <dreimark> x-moin and x-creole
8 2010-01-11T00:24:03 <ThomasWaldmann> 1.9 has text/moin-wiki, text/wiki, ...
9 2010-01-11T00:24:23 <TheSheep> you should use vendor-specific mime types
10 2010-01-11T00:24:30 <TheSheep> ones that you can register
11 2010-01-11T00:25:23 <TheSheep> vnd.moinmoin.wiki and vnd.moinmoin.creole for example
12 2010-01-11T00:26:13 <TheSheep> http://www.alvestrand.no/pipermail/ietf-types/2009-May/002190.html <-- example registration request
13 2010-01-11T00:26:45 <TheSheep> you probably want wiki version in the optional parameters
14 2010-01-11T00:26:49 <TheSheep> and probably encoding
15 2010-01-11T00:28:04 <TheSheep> I'm going to register such types for Hatta and will report how it went
16 2010-01-11T00:28:47 <ThomasWaldmann> i added that remark to the MimeType page
17 2010-01-11T00:30:11 <ThomasWaldmann> dreimark: to be consistent, i would suggest text/creole and text/moin-wiki (see parser file names)
18 2010-01-11T00:30:17 <dreimark> so for 1.9 it is then likly text/moin-wiki and text/moin-creole?
19 2010-01-11T00:30:25 <dreimark> ok
20 2010-01-11T00:30:40 <ThomasWaldmann> and in 2.0, we try to clean that up
21 2010-01-11T00:32:46 *** eSyr
22 2010-01-11T00:37:33 <CIA-44> Reimar Bauer <rb.proj AT googlemail DOT com> default * 5421:eaef92e05011 1.9/ (4 files in 3 dirs):
23 2010-01-11T00:37:33 <CIA-44> extension for parser text_creole and text_moin_wiki added.
24 2010-01-11T00:37:33 <CIA-44> Use extension .creole for text_creole and .moin for text_moin_wiki.
25 2010-01-11T00:37:33 <CIA-44> Attachments are rendered now when viewed.
26 2010-01-11T00:48:13 *** eSyr
27 2010-01-11T00:56:21 <dreimark> gn
28 2010-01-11T01:06:05 <ThomasWaldmann> gn dreimark
29 2010-01-11T01:23:57 *** grzywacz
30 2010-01-11T03:34:48 *** eSyr
31 2010-01-11T04:06:33 *** vpv
32 2010-01-11T04:06:33 *** CIA-44
33 2010-01-11T04:06:33 *** dennda
34 2010-01-11T04:07:27 *** dennda
35 2010-01-11T04:07:27 *** CIA-44
36 2010-01-11T04:07:27 *** vpv
37 2010-01-11T08:59:33 <CIA-44> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5422:ddfd18e00523 1.9/MoinMoin/auth/openidrp_ext/openidrp_sreg.py: openidrp_sreg: handle UnknownTimeZoneError gracefully
38 2010-01-11T08:59:35 <CIA-44> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5423:7d0598a55c09 1.9/ (4 files in 3 dirs): merged main
39 2010-01-11T10:13:53 <dreimark> moin
40 2010-01-11T10:45:17 <ThomasWaldmann> moin
41 2010-01-11T12:43:05 <dreimark> how does FF render directly data:image/svg+xml;base64,PD94...
42 2010-01-11T13:02:09 <dreimark> if I set data as valid url scheme i can open it in a different browser
43 2010-01-11T13:02:29 <dreimark> but {{ }} syntax doesn't include it
44 2010-01-11T13:02:40 <dreimark> s/include/transclude/
45 2010-01-11T13:02:56 <ThomasWaldmann> what's the practical application of that?
46 2010-01-11T13:04:13 <dreimark> you can have revisions of different graphics and you can use such graphics by wikisync in 1.9 too
47 2010-01-11T13:06:01 <ThomasWaldmann> but having base64 on pages is rather ugly (and in diffs)
48 2010-01-11T13:08:21 <johill> and ?action=raw wouldn't be a valid svg
49 2010-01-11T13:08:27 <johill> which seems kinda useful?
50 2010-01-11T13:09:28 <ThomasWaldmann> (sounds all a bit like better being done in moin2, of course that doesn't help you for now)
51 2010-01-11T13:09:52 <ThomasWaldmann> johill: btw, that id generator, was that from you?
52 2010-01-11T13:10:06 <johill> most of it, I think
53 2010-01-11T13:11:10 <ThomasWaldmann> there is some strange traceback appearing in my server logs
54 2010-01-11T13:11:36 <johill> hm
55 2010-01-11T13:11:48 * ThomasWaldmann tries to find the bug report
56 2010-01-11T13:14:25 <ThomasWaldmann> http://moinmo.in/MoinMoinBugs/TableOfContents_uid_generator_crashing
57 2010-01-11T13:15:14 <ThomasWaldmann> maybe you see more easily what's going wrong there
58 2010-01-11T13:16:32 <johill> strange
59 2010-01-11T13:16:54 <ThomasWaldmann> TextCha: failure (u='209.250.241.41', a='perl', q='Which programming language does the MoinMoin project mainly use?')
60 2010-01-11T13:17:53 <johill> well self.include_stack is probably empty
61 2010-01-11T13:18:05 <ThomasWaldmann> yeah, but why? :)
62 2010-01-11T13:18:49 <ThomasWaldmann> my log has quite some of these
63 2010-01-11T13:19:44 <johill> yeah doesn't make a whole lot of sense
64 2010-01-11T13:20:37 <johill> smells like a race condition
65 2010-01-11T13:20:41 <johill> self.unique_stack.append((self.page_ids, self.include_id))
66 2010-01-11T13:20:41 <johill> self.include_id, pids = self.include_stack[-1]
67 2010-01-11T13:20:48 <johill> [-1] should always be there then
68 2010-01-11T13:20:54 <johill> oh n/m sorry
69 2010-01-11T13:20:58 <johill> different variables
70 2010-01-11T13:21:17 <ThomasWaldmann> TextCha: failure (u='209.250.241.41', a='mono' q='What is this site about?')
71 2010-01-11T13:21:32 <ThomasWaldmann> someone is really having trouble with those textchas :D
72 2010-01-11T13:21:35 <johill> heh
73 2010-01-11T13:21:39 <johill> ok I see the problem
74 2010-01-11T13:21:54 <johill> some formatter is not calling self.request.uid_generator.begin
75 2010-01-11T13:22:25 <johill> docbook and python both don't
76 2010-01-11T13:22:37 <johill> yet override the default startContent() which does it
77 2010-01-11T13:22:41 <johill> w/o calling it
78 2010-01-11T13:22:57 <ThomasWaldmann> oh
79 2010-01-11T13:23:23 <johill> they just need to call FormatterBase.startContent()
80 2010-01-11T13:23:41 <johill> or copy the code or something
81 2010-01-11T13:23:44 <ThomasWaldmann> ok, shall I fix it?
82 2010-01-11T13:23:49 <johill> same for endContent()
83 2010-01-11T13:23:58 <johill> it needs self.request.uid_generator.end()
84 2010-01-11T13:24:00 <johill> sure, please do
85 2010-01-11T13:24:09 <ThomasWaldmann> ok, thanks for hinting :)
86 2010-01-11T13:24:12 <johill> np :)
87 2010-01-11T13:26:27 <johill> now using docbook on that page doesn't seem to produce a traceback either
88 2010-01-11T13:26:48 <johill> or did you fix it already
89 2010-01-11T13:26:57 <ThomasWaldmann> i didn't touch the code yet
90 2010-01-11T13:27:23 <ThomasWaldmann> i never have seen that traceback happening while browsing, but it's in my logs
91 2010-01-11T13:28:18 <johill> right, but one typically doesn't browse docbook
92 2010-01-11T13:28:26 <johill> but it doesn't seem to reproduce that way either
93 2010-01-11T13:29:35 <johill> and I don't understand why not :)
94 2010-01-11T13:33:38 <johill> hM/
95 2010-01-11T13:33:40 <johill> http://moinmo.in/FeatureRequests/JHotDrawSupport?action=show&mimetype=foo
96 2010-01-11T13:33:43 <johill> Internal Server Error
97 2010-01-11T13:34:15 <johill> and http://moinmo.in/FeatureRequests/JHotDrawSupport?action=show&mimetype=xml has a validation error
98 2010-01-11T13:34:20 <johill> XML Parsing Error: mismatched tag. Expected: </p>.
99 2010-01-11T13:34:25 <ThomasWaldmann> PluginMissingError: Plugin not found! ('formatter' 'foo' 'Formatter')
100 2010-01-11T13:34:38 <johill> ok that makes sense, but why internal server error?
101 2010-01-11T13:35:11 <ThomasWaldmann> because it didn't catch PluginMissingError
102 2010-01-11T13:35:28 <johill> right :)
103 2010-01-11T13:35:58 <johill> well, I can't reproduce the error
104 2010-01-11T13:36:01 <ThomasWaldmann> text_plain.py also doesn't call baseclass
105 2010-01-11T13:36:33 <johill> hm?
106 2010-01-11T13:36:38 <johill> it doesn't override startContent
107 2010-01-11T13:36:38 <ThomasWaldmann> text_xml.py neither
108 2010-01-11T13:36:47 <johill> neither does that
109 2010-01-11T13:37:01 <johill> are you looking at startDocument?
110 2010-01-11T13:37:29 * ThomasWaldmann confuse those both calls
111 2010-01-11T13:39:17 <johill> maybe docbook just never calls the toc macro?
112 2010-01-11T13:39:41 <johill> do you have any additional formatter plugins installed?
113 2010-01-11T13:42:18 <ThomasWaldmann> no, just the stuff included in 1.9
114 2010-01-11T13:42:22 <johill> hm yeah so docbook doesn't in fact call the toc
115 2010-01-11T13:43:16 <johill> is that traceback complete?
116 2010-01-11T13:43:25 <ThomasWaldmann> yes
117 2010-01-11T13:43:36 <johill> weird
118 2010-01-11T13:43:40 <johill> how did it get to MoinMoin/macro/__init__.py ?
119 2010-01-11T13:43:56 <johill> or are tracebacks shortened by the logging?
120 2010-01-11T13:44:39 <ThomasWaldmann> it is because the exception handler is there
121 2010-01-11T13:46:07 <johill> ah
122 2010-01-11T13:46:19 <johill> well maybe you can log the current stack at that point
123 2010-01-11T13:46:55 <johill> since you say it's happening frequently enough
124 2010-01-11T13:48:23 <johill> I'll subscribe to the bug page
125 2010-01-11T13:49:24 <ThomasWaldmann> problem is if i removed that exception handler to get a longer traceback, a faulty macro will crash the page rendering
126 2010-01-11T13:49:35 <ThomasWaldmann> or even unexpected arguments
127 2010-01-11T13:54:29 <johill> I know
128 2010-01-11T13:54:55 <johill> traceback.format_stack(log)?
129 2010-01-11T13:56:09 <johill> or rather logging.info(traceback.format_stack())
130 2010-01-11T13:58:22 <ThomasWaldmann> ok, I can add that
131 2010-01-11T14:02:57 <CIA-44> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5424:f619c99ab12f 1.9/MoinMoin/macro/__init__.py: print stack for macro exceptions
132 2010-01-11T14:09:56 <dreimark> ThomasWaldmann: may be textcha user was adding http://moinmo.in/4ct10n/info/AlexandreQuessy?action=diff&rev2=3&rev1=2
133 2010-01-11T14:11:42 <dreimark> ThomasWaldmann: does revert send events for xapian update?
134 2010-01-11T14:25:51 <ThomasWaldmann> i hope so :) look in teh src for details.
135 2010-01-11T14:57:06 <dreimark> http://paste.pocoo.org/show/164267/
136 2010-01-11T14:57:51 <dreimark> is needed for adding 'data' to the attach_rule (while it isn't an attachment'
137 2010-01-11T14:59:50 <dreimark> that is a quick hack just howto do it
138 2010-01-11T17:15:16 * dreimark should we add wsgi as text/plain extension?
139 2010-01-11T18:10:29 <dreimark> data: has some bugs in firefox e.g. gradients are rendered as solid black.
140 2010-01-11T18:44:28 <ThomasWaldmann> you can't add all extensions for text/* kind of stuff. and even if you would, stuff like README still wouldn't work.
141 2010-01-11T18:54:50 <dreimark> in 1.9 in 2.0 we would know its mimetype
142 2010-01-11T19:10:13 <dreimark> bbl
143 2010-01-11T19:27:40 <TheSheep> I actually have two lists, one is for extensions, and one for special file names
144 2010-01-11T19:27:55 <TheSheep> like README, CHANGES, ISSUES, COPYING, etc.
145 2010-01-11T19:38:27 <ronny> TheSheep: hatta again?
146 2010-01-11T19:39:04 <ronny> is it still single file? or did it grow a bit
147 2010-01-11T19:45:14 <TheSheep> ronny: the core is a single file
148 2010-01-11T19:45:30 <ronny> TheSheep: it got plugins?
149 2010-01-11T19:45:36 <TheSheep> ronny: there is a gui wrapper though
150 2010-01-11T19:45:46 <ronny> what does that gui do?
151 2010-01-11T19:45:54 <ronny> feed results into webkit?
152 2010-01-11T19:45:56 <TheSheep> ronny: can't come up with a good plugin system, so far I extend it by wrapping
153 2010-01-11T19:46:15 <ronny> TheSheep: im tinkering on a better extensionpoint system
154 2010-01-11T19:46:24 <ronny> currently one has to import plugins
155 2010-01-11T19:46:54 <TheSheep> ronny: oh, it's a small app that sits in your systray, runs hatta as standalone server, lets you start a browser with it and lists all hatta wikis running in the vicinity, using avahi
156 2010-01-11T19:47:09 <ronny> ah, i see
157 2010-01-11T19:47:22 <TheSheep> oh, and Czarek added some simple config editing recently
158 2010-01-11T19:51:19 <TheSheep> and the latest news, I actually made it thread-safe recently, I think it's an important step for a web application ;)
159 2010-01-11T19:53:21 <ronny> TheSheep: how good is the rest handling, and is there some way to build some kind of blog post archive from taking metadata from rest files
160 2010-01-11T19:53:32 <ronny> TheSheep: if not i'll build it
161 2010-01-11T19:53:44 <ronny> and then run my blog on it
162 2010-01-11T19:55:40 <TheSheep> no dynamic pages in hatta
163 2010-01-11T19:55:49 <TheSheep> by design
164 2010-01-11T19:56:02 <TheSheep> so I guess no
165 2010-01-11T19:56:12 <ronny> i suppose no plans to change that?
166 2010-01-11T19:56:14 <TheSheep> the rest support is a 5-lines class
167 2010-01-11T19:56:33 <ronny> i see, so build an own it is
168 2010-01-11T19:56:42 <TheSheep> or use zine
169 2010-01-11T19:56:53 <ronny> i killed my sine casue i couldnt bear it ant more
170 2010-01-11T19:57:04 <ronny> hmm
171 2010-01-11T19:57:18 <ronny> i seem to get lack-of-sleep symptoms
172 2010-01-11T19:57:28 <TheSheep> we need a simlpe blogging engine running in mercurial
173 2010-01-11T19:57:44 <TheSheep> you can steal my mercurial and search code :)
174 2010-01-11T19:58:05 <TheSheep> give it a twitter api!
175 2010-01-11T19:59:07 <ronny> why a twitter api?
176 2010-01-11T19:59:24 <TheSheep> so that people can see updates in their twitter client ;)
177 2010-01-11T19:59:28 <TheSheep> and tweet on them
178 2010-01-11T19:59:51 <ronny> i just want mostly static pages + a archive page
179 2010-01-11T20:00:04 <TheSheep> I used oddmuse for that
180 2010-01-11T20:00:10 <ronny> oddmuse?
181 2010-01-11T20:00:15 <TheSheep> but you wouldn't like it
182 2010-01-11T20:00:21 <TheSheep> a single perl file :D
183 2010-01-11T20:01:03 <TheSheep> ronny: http://sheep.art.pl/Home <-- my old blog on oddmuse
184 2010-01-11T20:01:21 <ronny> i see
185 2010-01-11T20:01:35 <TheSheep> why sleep deprivation?
186 2010-01-11T20:02:13 <ronny> more like bad sleep this night and failed wakeup
187 2010-01-11T20:03:10 <TheSheep> I see, you should go to sleep early, eat properly and brush your teeth regularly
188 2010-01-11T20:03:21 <TheSheep> and groom your fur
189 2010-01-11T20:03:28 <johill> and floss
190 2010-01-11T20:03:34 <johill> ;)
191 2010-01-11T20:16:07 *** tpfennig
192 2010-01-11T23:37:22 <ronny> who is that RenatoSilva that wants to get moin translations on launchpad every now and then
193 2010-01-11T23:37:43 <TheSheep> he made the solenoid theme
194 2010-01-11T23:37:46 <ronny> it seems he bugs #launchpad about that every few months
195 2010-01-11T23:38:17 <ronny> btw, whats the actual license of the moinmoin translations? gpl2, too?
196 2010-01-11T23:44:34 <dreimark> yes and later
197 2010-01-11T23:45:09 <dreimark> he wants us to move to launchpad and to change our license to bsd or something similiar
198 2010-01-11T23:45:14 <dreimark> we don't want
199 2010-01-11T23:45:18 <ronny> i see
200 2010-01-11T23:45:27 <ronny> he ignores that?
201 2010-01-11T23:45:51 <dreimark> yes, i think he don't understand why we contribute
202 2010-01-11T23:48:08 <ronny> dreimark: i suppose all he wants is as easy translation process as possible
203 2010-01-11T23:49:22 <dreimark> yes I am too. I have introduced the CheckTranslation tool.
204 2010-01-11T23:49:48 <dreimark> And I think getting more people liking do to translation is a good thing
205 2010-01-11T23:57:45 <TheSheep> I could try installing pootle or something similar
206 2010-01-11T23:58:26 <TheSheep> but the polish transation needs a global review of policies and style