| [00:04:29] |
* |
ltbarcly` has joined #pocoo |
| [00:04:38] |
<ltbarcly`> |
is there any way to get the debugger working on appengine? |
| [00:07:38] |
<ronny> |
ltbarcly`: currently no |
| [00:09:37] |
<ltbarcly`> |
hmm, it seems to initially break on the parser import |
| [00:10:33] |
<ronny> |
ltbarcly`: its just not made to work on appengine |
| [00:10:47] |
<ronny> |
ltbarcly`: it relies on various tihngs that wont ever work on appengine |
| [00:10:52] |
<ltbarcly`> |
hmm |
| [00:11:09] |
<ltbarcly`> |
do you know of any other debug middleware that might work? the default exception stuff is pretty ugly |
| [00:11:16] |
<ronny> |
no idea |
| [00:11:21] |
<ronny> |
i dont use appengine |
| [00:34:43] |
* |
rafael has joined #pocoo |
| [00:38:37] |
* |
Kaelten has quit IRC |
| [01:15:33] |
* |
jpcw has quit IRC |
| [01:18:50] |
<davidcramer_> |
mitsuhiko: what do you think about the concept of block tags (Not talking about the {% block %} tag) that don't actually output int he source |
| [01:19:12] |
<davidcramer_> |
something that would be the only thing on the line, and that line would not be in the source |
| [01:19:27] |
<davidcramer_> |
I'm just wondering because my doc has like 10 blank lines at the top of it (where I do some random stuff) |
| [01:20:08] |
<davidcramer_> |
i haven't actually thought this through, just off the top of my head :) |
| [01:26:20] |
* |
davidcramer_ has quit IRC |
| [01:28:59] |
* |
davidcramer has joined #pocoo |
| [01:34:07] |
* |
rafael has quit IRC |
| [01:37:00] |
* |
Suhail has quit IRC |
| [01:48:03] |
* |
davidcramer has quit IRC |
| [01:48:31] |
* |
davidcramer has joined #pocoo |
| [01:57:17] |
* |
maix has quit IRC |
| [02:02:24] |
* |
dejot has joined #pocoo |
| [02:02:33] |
<dejot> |
wtf |
| [02:04:03] |
<dejot> |
much grown this channel is |
| [02:57:44] |
* |
alowry has quit IRC |
| [02:59:34] |
* |
mtrichardson has quit IRC |
| [03:00:31] |
* |
Kaelten has joined #pocoo |
| [03:01:17] |
* |
davidcramer_ has joined #pocoo |
| [03:05:51] |
* |
Baumichel has quit IRC |
| [03:07:32] |
* |
davidcramer_ has quit IRC |
| [03:07:57] |
* |
davidcramer_ has joined #pocoo |
| [03:13:01] |
* |
davidcramer has quit IRC |
| [03:13:36] |
* |
davidcramer has joined #pocoo |
| [03:14:07] |
* |
dejot has quit IRC |
| [03:14:50] |
* |
davidcramer_ has quit IRC |
| [03:19:07] |
* |
alowry has joined #pocoo |
| [03:24:45] |
* |
riltim has joined #pocoo |
| [03:41:05] |
* |
davidcramer has quit IRC |
| [03:50:09] |
* |
Suhail has joined #pocoo |
| [03:57:33] |
* |
riltim has quit IRC |
| [03:59:37] |
* |
davidcramer has joined #pocoo |
| [04:04:01] |
* |
davidcramer has quit IRC |
| [04:04:04] |
* |
davidcramer has joined #pocoo |
| [04:04:18] |
<ivan> |
yeah this must be the most unexpectedly large channel ever |
| [04:05:22] |
* |
aconbere has quit IRC |
| [04:05:34] |
* |
davidcramer_ has joined #pocoo |
| [04:07:40] |
* |
davidcramer has quit IRC |
| [04:08:07] |
* |
davidcramer has joined #pocoo |
| [04:15:05] |
* |
davidcramer has quit IRC |
| [04:24:24] |
* |
davidcramer_ has quit IRC |
| [04:29:34] |
* |
davidcramer has joined #pocoo |
| [04:43:16] |
* |
Kaelten has joined #pocoo |
| [04:57:43] |
* |
dejot has joined #pocoo |
| [05:17:59] |
* |
alowry has quit IRC |
| [05:26:28] |
* |
Kaelten has quit IRC |
| [05:45:42] |
* |
Suhail has quit IRC |
| [06:27:28] |
* |
izibi has joined #pocoo |
| [06:38:48] |
* |
luks has quit IRC |
| [06:48:57] |
* |
alowry has joined #pocoo |
| [07:25:27] |
* |
alowry has quit IRC |
| [07:29:05] |
* |
izibi has quit IRC |
| [07:36:03] |
* |
luks has joined #pocoo |
| [07:59:23] |
* |
sashav has joined #pocoo |
| [08:32:02] |
* |
EnTeQuAk has joined #pocoo |
| [08:39:05] |
<prencher> |
asmodai - oh snap they kept schedule and pushed out 2.6 |
| [08:42:09] |
* |
sashav has left #pocoo |
| [09:19:55] |
* |
sentor has joined #pocoo |
| [09:19:56] |
* |
davidcramer_ has joined #pocoo |
| [09:19:56] |
* |
davidcramer has quit IRC |
| [09:20:06] |
<sentor> |
hi |
| [09:20:45] |
<asmodai> |
prencher: hah |
| [09:22:03] |
<sentor> |
is use trac 0.11 (from the sources) and pygments from debian stable Version: 0.5.1-1 but no synthax highlighting occur |
| [09:22:04] |
* |
jpcw has joined #pocoo |
| [09:22:16] |
<sentor> |
are there configuration steps to do? |
| [09:23:03] |
<POX> |
IIRC, 0.5.1 didn't provide egg-mess, just install new package from testing or experimental |
| [09:23:33] |
<POX> |
http://packages.debian.org/python-pygments |
| [09:23:46] |
<EnTeQuAk> |
or use easy_install to get the latest version ;) |
| [09:23:55] |
<sentor> |
`To use pygments trac 0.11 you just have to install pygments 0.5.1 or higher' |
| [09:24:00] |
<sentor> |
says the trac wiki |
| [09:26:39] |
<POX> |
I can upload 0.10-1 to backports.org this weekend if you want |
| [09:27:33] |
<POX> |
good advice: don't ever install eggs into global site-packages (now all the egg-lovers will tell me I'm stupid, but I will just ignore them) |
| [09:29:04] |
<POX> |
hopefully things will change some day (see distutils-sig ml archives) |
| [10:12:25] |
* |
mika has left #pocoo |
| [10:13:32] |
<sentor> |
what the hell is a python egg and why is the default release called `Straußenei' |
| [10:15:55] |
<ronny> |
sentor: an egg is a ziped python package thats directly importable |
| [10:27:43] |
<asmodai> |
rofl |
| [10:51:29] |
<sentor> |
ronny: like ruby gem? |
| [10:52:18] |
<birkenfeld> |
yes |
| [10:52:26] |
<birkenfeld> |
about like that |
| [10:52:33] |
<birkenfeld> |
and as for the codename, why not? :) |
| [10:55:45] |
* |
davidcramer_ has quit IRC |
| [10:55:46] |
<sentor> |
you guys are very animalistic ...ponies Straußen egg from chicken i think... very funny :) |
| [10:56:19] |
* |
davidcramer has joined #pocoo |
| [10:57:53] |
<prencher> |
sentor - eggs from the cheeseshop.. it's a monty python reference |
| [10:58:07] |
<sentor> |
lol |
| [11:41:59] |
* |
EnTeQuAk has quit IRC |
| [11:53:21] |
<sentor> |
POX: it would be great if you could upload pygments 0.10-1 to backports.org |
| [11:56:18] |
* |
rafael has joined #pocoo |
| [11:56:33] |
<prencher> |
¨ |
| [12:02:48] |
<POX> |
sentor: I'll prepare bpo version soon (looks like trac 0.11.1-2~bpo40+1 is already there and it requires pygments >= 0.6) |
| [12:03:24] |
<sentor> |
thx POX :) |
| [12:16:07] |
* |
jpcw has quit IRC |
| [12:27:25] |
* |
saptah has joined #pocoo |
| [12:27:30] |
<saptah> |
re. |
| [12:31:31] |
* |
jpcw has joined #pocoo |
| [13:22:16] |
* |
Baumichel has joined #pocoo |
| [13:22:20] |
* |
rafael has quit IRC |
| [14:40:04] |
<prencher> |
birkenfeld - so where has mitsuhiko run off to this time? |
| [14:40:15] |
<birkenfeld> |
no idea... |
| [14:40:28] |
<prencher> |
he's not been here in quite a few days, has he? |
| [14:56:44] |
* |
s0undt3ch has joined #pocoo |
| [14:56:59] |
<s0undt3ch> |
hello ppl, has TP got widgets again? |
| [14:59:04] |
<s0undt3ch> |
huh!? Zine? |
| [15:01:26] |
<s0undt3ch> |
mitsuhiko: hello there! |
| [15:01:30] |
<tux21b> |
s0undt3ch, zine isn't useable at the moment, but mitsu is trying to fix it until next week |
| [15:01:47] |
<s0undt3ch> |
mitsuhiko: so, Zine is now incompatible with TextPress right? |
| [15:02:02] |
<s0undt3ch> |
tux21b: yeah, I figured ;) |
| [15:02:12] |
<prencher> |
he's not been talking in here for a few days s0undt3ch |
| [15:02:15] |
<prencher> |
i think microsoft got to him again |
| [15:02:55] |
<s0undt3ch> |
tux21b: I have a live textpress instance which I desperately need to update, but I've been waiting for TextPress to get widgets back, and now, it's called Zine ;) |
| [15:02:58] |
<tux21b> |
hehe. and yes, it's incompatible. the easiest would be to repost your posts again in a zine instance, if they aren't too many |
| [15:03:23] |
<s0undt3ch> |
tux21b: not too many but with attachments |
| [15:03:33] |
<s0undt3ch> |
so, still a pain :) |
| [15:03:51] |
<tux21b> |
ok. than i suggest you to wait a bit until it's finished ;) |
| [15:04:20] |
<s0undt3ch> |
has the pocoo forum also been dropped? |
| [15:04:34] |
<s0undt3ch> |
ie, the development of ... |
| [15:04:45] |
<tux21b> |
and you have already known, that zine isn't stable. and until armin isn't using it hiself it probably never will :D |
| [15:05:11] |
<s0undt3ch> |
yeah, he's still on WordPress ;) |
| [15:05:25] |
<tux21b> |
yeah, pocoo is death since over 1 year i think |
| [15:06:00] |
<ronny> |
tux21b: btw, whats the state on inyoka |
| [15:06:07] |
<tux21b> |
the successor was inyoka (http://ubuntuusers.de) for the german ubuntu community, but the sources arent published yet |
| [15:06:24] |
<tux21b> |
ronny, currently broken :) |
| [15:06:35] |
<ronny> |
tux21b: what did you do ?! |
| [15:07:03] |
* |
tux21b points to his blog: http://www.tux21b.org/2008/09/30/coding-weekend-2 ) |
| [15:08:08] |
<prencher> |
what'd you end up doing for forms tux21b? |
| [15:08:23] |
* |
maix has joined #pocoo |
| [15:08:35] |
<tux21b> |
prencher, good question. we haven't decided yet |
| [15:08:52] |
<tux21b> |
you are suggesting wtforms, aren't you? ;) |
| [15:09:10] |
<prencher> |
not suggesting anything |
| [15:09:35] |
<prencher> |
but if the goal was to eliminate django, obviously newforms will have to go as well |
| [15:09:47] |
<prencher> |
which means oyu have to pick a forms lib, in which case i'd like to know what you end up picking and why |
| [15:10:37] |
<tux21b> |
yes, definitely. currently we have enough to do with the models itself, but then we need to drop the url/view system too, and i think the last thing would be the form library |
| [15:11:06] |
<tux21b> |
but as I said, we haven't really thought about it yet, but I will inform you of course. |
| [15:11:23] |
<aa_> |
prencher: your not_empty validator only works for strings |
| [15:12:20] |
<prencher> |
yes, i know, since you told me the other day |
| [15:12:39] |
<prencher> |
why don't you submit a patch since you know exactly where it is? |
| [15:12:45] |
* |
Kaelten has joined #pocoo |
| [15:18:58] |
* |
Baumichel has quit IRC |
| [15:32:02] |
<asmodai> |
Fork, I say. Fork! |
| [15:33:17] |
<prencher> |
go spoon yourself asmodai! |
| [15:35:05] |
<asmodai> |
Better than knife myself |
| [15:35:38] |
<prencher> |
i might need you in the future |
| [15:35:49] |
<prencher> |
so that's not a feasible option, unfortunately |
| [15:36:02] |
<prencher> |
you're pretty useless at present, but i like to keep my options open, you know |
| [15:37:04] |
<asmodai> |
That's, ehrm, comforting to know. |
| [15:37:53] |
<asmodai> |
ok |
| [15:37:56] |
<prencher> |
isn't it? |
| [15:37:56] |
<asmodai> |
what I find odd |
| [15:38:03] |
<asmodai> |
BeautifulSoup has an example: |
| [15:38:11] |
<asmodai> |
soup.findAll('p', align="center") |
| [15:38:15] |
<asmodai> |
so I try something like |
| [15:38:22] |
<asmodai> |
soup.findAll('div' class='blah') |
| [15:38:25] |
<asmodai> |
and get a syntax error :S |
| [15:38:50] |
<asmodai> |
with comma |
| [15:39:04] |
<prencher> |
class is a keyword in python |
| [15:39:09] |
<asmodai> |
oh shit |
| [15:39:15] |
<asmodai> |
duh |
| [15:39:17] |
<prencher> |
fucking nub |
| [15:39:33] |
* |
asmodai has plans to go to bed on time tonight |
| [15:39:51] |
<prencher> |
sillly dutchpeople with their drugs |
| [15:40:00] |
<asmodai> |
Hey, I never touched any ok. |
| [15:40:12] |
<prencher> |
yeah i believe ya |
| [15:40:23] |
<maze> |
soup++ |
| [15:40:53] |
<maze> |
prencher, a joint every day keeps the doctor away :p |
| [15:46:26] |
<prencher> |
hey birkenfeld, you're usually on top of this: is 2.6 100% backwards compatible with 2.5.2? |
| [15:46:56] |
<prencher> |
it should just be some warnings and oldass libs gone right? |
| [15:47:42] |
<prencher> |
grumpy - kangaroo signal; anything of note for mod_wsgi and 2.6? |
| [15:54:31] |
* |
izibi has joined #pocoo |
| [16:12:40] |
* |
dejot has quit IRC |
| [16:13:09] |
* |
dejot has joined #pocoo |
| [16:17:24] |
* |
davidcramer has quit IRC |
| [16:18:03] |
* |
davidcramer has joined #pocoo |
| [16:32:01] |
<asmodai> |
hahahaah, a solution by an acquaintance of mine: |
| [16:32:04] |
<asmodai> |
http://FantasticContraption.com/?designId=2420348 |
| [16:38:02] |
* |
sentor has quit IRC |
| [17:12:13] |
* |
jpcw has quit IRC |
| [17:22:20] |
* |
alowry has joined #pocoo |
| [17:23:41] |
* |
dejot has quit IRC |
| [17:45:22] |
<prencher> |
asmodai! |
| [17:54:44] |
* |
alowry has quit IRC |
| [17:55:21] |
<birkenfeld> |
prencher: that is the goal, except for bug-compatibility |
| [17:55:35] |
<birkenfeld> |
i.e. you can't rely on a bug still being present :) |
| [17:57:57] |
<prencher> |
birkenfeld - good to know, could be there were some unavoidable ones.. couldn't find anything though, just thought i'd check :) |
| [18:16:07] |
* |
alowry has joined #pocoo |
| [18:20:32] |
<CIA-49> |
python-doctools: georg.brandl * r66735 /doctools/trunk/EXAMPLES: Add zc.async. |
| [18:23:32] |
* |
dejot_ has joined #pocoo |
| [18:23:47] |
<saptah> |
werkzeug is still in active development? |
| [18:23:58] |
<saptah> |
It's curiosity |
| [18:24:06] |
<birkenfeld> |
yes |
| [18:24:15] |
<birkenfeld> |
at least, when mitsuhiko comes back from the dead |
| [18:24:25] |
<saptah> |
where is he? |
| [18:24:43] |
<saptah> |
great, because I'm loving this library. |
| [18:25:02] |
<dennda> |
he seemed quite non-dead last weekend |
| [18:25:09] |
<birkenfeld> |
well, as far as we know, he might have been hit by a truck |
| [18:25:26] |
<prencher> |
that's rather morbid there birkenfeld |
| [18:25:43] |
<birkenfeld> |
yes, I know. that's my usual depressed self |
| [18:25:48] |
<saptah> |
:) |
| [18:26:10] |
<prencher> |
my conspiracy theory is that ms got to him again, off to another boot^brainwishcamp |
| [18:26:32] |
<dennda> |
I guess he's busy with his flat |
| [18:26:33] |
<birkenfeld> |
oh yeah... and now he only talks via MSN messenger |
| [18:26:51] |
<dennda> |
hm prenchers theory sounds more likely |
| [18:27:25] |
<saptah> |
girls do that |
| [18:27:38] |
<birkenfeld> |
dennda: yeah? how many trucks are there in Graz, compared with MS brainwash camps? |
| [18:28:05] |
<dennda> |
birkenfeld: those camps' locations are kept secret |
| [18:28:25] |
<dennda> |
and he may have as well been departed to some other planet |
| [18:29:34] |
<birkenfeld> |
saptah: another realistic option |
| [18:29:57] |
<saptah> |
sure |
| [18:30:01] |
<birkenfeld> |
it could also be that he had been hit by a girl while in the brainwash camp |
| [18:30:08] |
<dennda> |
uh |
| [18:30:10] |
<asmodai> |
birkenfeld: heh |
| [18:30:15] |
<dennda> |
that's certainly the worst option |
| [18:30:42] |
<saptah> |
I'll go to the GYM |
| [18:30:44] |
<saptah> |
bye |
| [18:30:46] |
* |
saptah has quit IRC |
| [18:32:03] |
<asmodai> |
birkenfeld: the possibility of having a social life *gasp* |
| [18:41:04] |
* |
dejot_ is now known as dejot |
| [18:41:17] |
* |
stifal has joined #pocoo |
| [18:43:48] |
<birkenfeld> |
asmodai: how could he!!1 |
| [18:45:07] |
<prencher> |
that is quite rude really |
| [18:45:12] |
<prencher> |
no dedication |
| [18:50:28] |
* |
Dauerbaustelle has joined #pocoo |
| [18:51:45] |
<Dauerbaustelle> |
Hello, where can I find the http-return possibillities of werkzeug? I need to return "raw" data (a file) |
| [18:52:12] |
<prencher> |
Dauerbaustelle - set mimetype of the response object |
| [18:53:05] |
<Dauerbaustelle> |
prencher: I can't find the docu for this httpreponse stuff |
| [18:53:16] |
<Dauerbaustelle> |
I only know how to use render_template -.- |
| [18:53:28] |
<prencher> |
it's under wrappers in the documentation |
| [18:53:38] |
<Dauerbaustelle> |
thanks, will search |
| [18:55:28] |
* |
mtrichardson has joined #pocoo |
| [18:55:33] |
<Dauerbaustelle> |
is it "return MyResponseInstance" ? |
| [18:56:41] |
<prencher> |
close; return response(environ, start_response) |
| [19:02:33] |
* |
sashav has joined #pocoo |
| [19:16:12] |
* |
sashav has quit IRC |
| [19:16:43] |
* |
sashav has joined #pocoo |
| [19:19:57] |
* |
rafael__ has joined #pocoo |
| [19:20:10] |
* |
rafael__ is now known as rafael |
| [19:22:08] |
* |
sashav has quit IRC |
| [19:35:21] |
* |
rafael has quit IRC |
| [19:36:21] |
* |
[diecast] has joined #pocoo |
| [19:39:20] |
* |
sashav has joined #pocoo |
| [19:40:47] |
* |
sashav has quit IRC |
| [19:42:15] |
* |
sashav has joined #pocoo |
| [19:51:38] |
* |
Dauerbaustelle has quit IRC |
| [19:55:52] |
* |
Baumichel has joined #pocoo |
| [20:15:35] |
* |
aconbere has joined #pocoo |
| [20:24:16] |
* |
mtrichardson has quit IRC |
| [20:24:25] |
* |
sashav has quit IRC |
| [20:26:41] |
* |
zepolen has joined #pocoo |
| [20:50:13] |
* |
sashav has joined #pocoo |
| [21:32:38] |
* |
Dauerbaustelle has joined #pocoo |
| [21:32:45] |
<Dauerbaustelle> |
Hello, |
| [21:35:01] |
<tux21b> |
hi Dauerbaustelle |
| [21:37:29] |
<Dauerbaustelle> |
this afternoon I asked howto return files (their rawdata) as http-response and somebody told me to use "response".... I don't know how to. I've got my view and the "request" variable, but know what to do...? The werkzeug docu's a bit weird and desultory |
| [21:38:46] |
<tux21b> |
Dauerbaustelle, generlly, you can just "yield" the data, but werkzeug provides a Response wrapper for it |
| [21:39:38] |
<Dauerbaustelle> |
Just show it in code.... please :O |
| [21:40:35] |
<tux21b> |
the tutorial has an example: http://werkzeug.pocoo.org/documentation/tutorial/ (grep for "def render_response") |
| [21:41:04] |
<tux21b> |
just call the constructor of Response with the data as first argument, and optionally a different mime-type |
| [21:41:53] |
<Dauerbaustelle> |
Response(MyData)? |
| [21:42:41] |
<tux21b> |
return Response(u'Hello World', mimetype='text/plain') for example |
| [21:43:33] |
<Dauerbaustelle> |
Ahh |
| [21:43:35] |
<Dauerbaustelle> |
*try* |
| [21:43:53] |
<tux21b> |
Dauerbaustelle, but that requires that you have all the data in the memory (for a short time). If the files are rather big, you should use the ResponseStreamMixin and stream.write(), or let a web server handle the files |
| [21:44:42] |
<Dauerbaustelle> |
tux21b: I can't let the webserver handle those files... but I'll take ResponseStreamMixin, ok |
| [21:44:50] |
<tux21b> |
ah, and you probably need to write "BaseResponse" instead of Response, but it's a good idea to subclass it for later modifications |
| [22:15:46] |
<Dauerbaustelle> |
I won't get it :( response ResponseStreamMixin doesn't work... argh |
| [22:19:21] |
<tux21b> |
Dauerbaustelle, it's a mixin. so you have to subclass from BaseResponse and ResponseStreamMixin |
| [22:21:23] |
<Dauerbaustelle> |
how can I do so? It seems like there's left much python to learn :S |
| [22:22:26] |
<tux21b> |
class Response(BaseResponse, ResponseStreamMixin): \n pass should do the trick |
| [22:23:05] |
<Dauerbaustelle> |
thx, I'll try |
| [22:26:02] |
<Dauerbaustelle> |
yeahi! Works :-* |
| [22:39:06] |
* |
izibi has quit IRC |
| [22:42:14] |
* |
dejot has quit IRC |
| [22:51:58] |
* |
_paneb has joined #pocoo |
| [22:52:27] |
* |
EnTeQuAk has joined #pocoo |
| [22:52:38] |
<_paneb> |
if my service gets a PUT with an attached XML document (and the client send the right Content-Type header), i will have to use the request's header dict? |
| [22:52:47] |
* |
Dauerbaustelle has left #pocoo |
| [23:53:48] |
* |
Baumichel has quit IRC |