| [00:07:15] |
* |
EnTeQuAk has joined #pocoo |
| [00:48:22] |
* |
Crast has quit IRC |
| [01:03:14] |
* |
stifal has quit IRC |
| [01:15:01] |
* |
mythos has quit IRC |
| [02:19:50] |
* |
Crast has joined #pocoo |
| [02:22:20] |
* |
saptah has joined #pocoo |
| [02:30:18] |
* |
Baumichel has quit IRC |
| [02:50:21] |
* |
Crast has quit IRC |
| [03:11:20] |
* |
maix has quit IRC |
| [03:18:04] |
* |
EnTeQuAk_ has joined #pocoo |
| [03:18:26] |
* |
EnTeQuAk has quit IRC |
| [03:18:48] |
* |
EnTeQuAk_ is now known as EnTeQuAk |
| [03:20:41] |
* |
EnTeQuAk has joined #pocoo |
| [03:24:23] |
* |
saptah has quit IRC |
| [05:28:29] |
* |
hoffmann has quit IRC |
| [05:52:03] |
* |
Kaelten has joined #pocoo |
| [06:15:36] |
* |
sashav has quit IRC |
| [06:24:26] |
* |
alowry has quit IRC |
| [06:25:40] |
* |
kaelten_ has joined #pocoo |
| [06:25:41] |
* |
Kaelten has quit IRC |
| [06:29:20] |
* |
kaelten_ is now known as Kaelten |
| [06:40:04] |
* |
rcscomp has joined #pocoo |
| [06:40:30] |
<rcscomp> |
I am getting a problem with a jinja template: 'ascii' codec can't decode byte 0xe2. |
| [06:40:40] |
<rcscomp> |
Where do I go from that? |
| [07:33:42] |
* |
heikkit has joined #pocoo |
| [08:13:49] |
* |
izibi has joined #pocoo |
| [08:18:09] |
* |
Kaelten has quit IRC |
| [08:28:18] |
<rcscomp> |
still getting the above error. Can anyone tell me someting I can do to get around this? Do I need to configure jinja differently? |
| [08:32:01] |
* |
heikkit has quit IRC |
| [08:52:59] |
<birkenfeld> |
rcscomp: where exactly does that error occur? |
| [08:54:17] |
<rcscomp> |
birkenfield: in the escape filter, but also when I remove the escape filter. All I am doing is {{ object.field|e }} |
| [08:54:58] |
<rcscomp> |
the problem is being caused by typographic characters |
| [08:55:14] |
* |
rcscomp has quit IRC |
| [08:55:43] |
* |
rcscomp has joined #pocoo |
| [08:55:56] |
<rcscomp> |
sorry, IM client crashed |
| [09:03:59] |
<EnTeQuAk> |
rcscomp, do you have a full traceback for us? |
| [09:05:28] |
<rcscomp> |
EnteQuaAk: unfortunately, not at the moment. I already got rid of all the characters from the DB. Hang on a second and I will try to reproduce. |
| [09:07:42] |
<rcscomp> |
EnTeQuAk: http://paste.pocoo.org/show/87078/ |
| [09:08:25] |
<rcscomp> |
I made that with by putting the following character in my DB in the section_title field: ” |
| [09:13:04] |
* |
davidcramer has joined #pocoo |
| [09:20:20] |
<EnTeQuAk> |
rcscomp, wherever you get `section_title` from, it needs to be an unicode string. |
| [09:20:38] |
<EnTeQuAk> |
so, `t.render(foo=u'„cool“')` instead of `t.render(foo='„cool“')` |
| [09:22:42] |
<rcscomp> |
EnTeQuAk: hmmm...well, I am using Werkzeug, so I thought everything i was working with from a POST was UTF-8 |
| [09:23:01] |
<EnTeQuAk> |
oh |
| [09:23:19] |
<rcscomp> |
EnTeQuAk: but that doesn't mean I haven't messed something up in the middle or in the DB |
| [09:27:40] |
<EnTeQuAk> |
well, I have no idea... for now – you could check if you get some unicode from the database – this should work |
| [09:29:32] |
* |
davidcramer has quit IRC |
| [09:31:03] |
<rcscomp> |
EnTeQuAk: I think i get UTF-8 from the database. It is Postgres and I think that is what I set the DBs to have by default. |
| [09:31:29] |
<birkenfeld> |
rcscomp: UTF-8 or Unicode strings? |
| [09:32:26] |
<rcscomp> |
birkenfeld: I just don't know, sorry. I use sqlalchemy and have declared those fields as Unicode() |
| [09:38:49] |
<birkenfeld> |
rcscomp: it still seems they are not unicode strings. can you repr() them at some stageß |
| [09:40:45] |
<rcscomp> |
birkenfeld: possibly. I will mess with it more this week. Going to head to bed now. Thanks for looking into it though, I appreciate your willingness to help. |
| [09:41:01] |
<birkenfeld> |
good night then ;) |
| [09:56:39] |
* |
rcscomp has left #pocoo |
| [11:05:35] |
* |
m-y-t-h-o-s has joined #pocoo |
| [11:14:42] |
* |
m-y-t-h-o-s is now known as mythos |
| [11:51:27] |
* |
Baumichel has joined #pocoo |
| [12:10:10] |
* |
maix has joined #pocoo |
| [12:20:02] |
* |
apollo13 has quit IRC |
| [12:22:40] |
* |
apollo13 has joined #pocoo |
| [12:23:32] |
* |
apollo13 has quit IRC |
| [12:24:59] |
* |
apollo13 has joined #pocoo |
| [12:47:14] |
* |
m-y-t-h-o-s has joined #pocoo |
| [12:47:25] |
* |
mythos has quit IRC |
| [12:56:21] |
* |
stifal has joined #pocoo |
| [13:12:32] |
* |
hoffmann has joined #pocoo |
| [13:34:46] |
* |
delroth has joined #pocoo |
| [13:35:32] |
<delroth> |
hi all, I just wrote a lexer for the Reia programming language, but I can't create a ticket on the Trac |
| [13:36:09] |
<delroth> |
http://delroth.is-a-geek.org/reia.diff |
| [13:37:06] |
<prencher> |
delroth - if it's an account creation problem, you can make one on the werkzeug trac and then use that on the pygments one |
| [13:37:32] |
<delroth> |
the account is already created and I can login, but I can't create any ticket |
| [13:38:57] |
* |
delroth has left #pocoo |
| [13:39:18] |
* |
delroth_ has joined #pocoo |
| [13:39:26] |
* |
delroth_ is now known as delroth |
| [13:46:36] |
* |
s0undt3ch has quit IRC |
| [13:52:18] |
<mitsuhiko> |
http://paste.pocoo.org/show/87100/ :D |
| [13:55:35] |
<tux21b> |
mitsuhiko, are you working on the wiki during your horrible-inet-free-time? |
| [13:55:46] |
<tux21b> |
and hi btw :) |
| [13:56:14] |
<birkenfeld> |
mitsuhiko: uh, bool([None]) is True |
| [13:56:23] |
<birkenfeld> |
you need an "if match" |
| [13:57:02] |
<mitsuhiko> |
birkenfeld: indeed. but it wasn't a serious attempt anyways :D |
| [13:57:10] |
<birkenfeld> |
^^ |
| [13:57:42] |
<tux21b> |
mitsuhiko, btw, EnTeQuAk has found the local_manager.cleanup bug |
| [13:58:35] |
<tux21b> |
and that's how the local_cache has improved the load: http://www.tux21b.org/public/local-cache-cpu.png http://www.tux21b.org/public/local-cache-eth.png http://www.tux21b.org/public/local-cache-mem.png |
| [14:00:09] |
<mitsuhiko> |
tux21b: what's the bug? |
| [14:00:53] |
<tux21b> |
mitsuhiko, http://dev.pocoo.org/hg/werkzeug-main/rev/551368a4167b |
| [14:01:24] |
<mitsuhiko> |
? |
| [14:01:35] |
<mitsuhiko> |
ukay. and how does that fix something? |
| [14:01:58] |
<mitsuhiko> |
ah. i see |
| [14:03:01] |
<birkenfeld> |
tux21b: you forgot to passwort-protect those screenshots |
| [14:03:22] |
<tux21b> |
birkenfeld, i don't think they are critical, are they? |
| [14:03:58] |
<birkenfeld> |
well, it starts like this, and perhaps next time you'll paste *actual* code snippets on paste.pocoo.org... |
| [14:04:05] |
<birkenfeld> |
you can't let yourself slip like this |
| [14:05:15] |
<tux21b> |
birkenfeld, yeah, thanks for watching over me ;) |
| [14:05:26] |
<birkenfeld> |
happy to |
| [14:10:56] |
<welterde> |
delroth: nice! |
| [14:27:21] |
<delroth> |
welterde: thanks :) |
| [14:46:25] |
* |
Leonidas submits the screenshots to reddit now |
| [14:46:53] |
* |
jpcw has joined #pocoo |
| [14:47:41] |
<welterde> |
Leonidas: which screenshot? ;) |
| [14:48:28] |
<Leonidas> |
welterde: the top secret system load graphics from some of the ubuntuusers servers ^^ |
| [14:49:01] |
<welterde> |
ah! |
| [14:49:11] |
* |
tux21b thinks that Leonidas will never manage to get them mentioned on reddit |
| [14:49:55] |
<Leonidas> |
tux21b: right, most of what I submit gets burried imediately. Even stuff that is actually interesting. |
| [14:50:27] |
<welterde> |
Leonidas: reddit hates you ;) |
| [14:51:33] |
<Leonidas> |
welterde: reddit hates facts that prove that lisp doesn't suck as hard as they always tell. Yeah, so they hate me |
| [14:51:42] |
<mitsuhiko> |
muhaha: http://lh5.ggpht.com/eddie.con.carne/SIkCmD0HesI/AAAAAAAABDQ/Kffl03exXxM/vistamag.jpg |
| [14:52:13] |
<Leonidas> |
photoshopdisasters ftw! |
| [14:53:14] |
<welterde> |
Leonidas: hmmm... not the other way around? |
| [14:54:03] |
* |
CIA-49 has quit IRC |
| [14:54:26] |
<Leonidas> |
welterde: no. Lately they have been complaining about how bad Lisp is, and that there are no web frameworks and tutorials. When I submitted a tutorial for LParen I got downmodded immediately. |
| [14:56:41] |
<welterde> |
reddit sucks anyway imho ;) |
| [14:56:56] |
<welterde> |
*waits* |
| [14:59:20] |
* |
tux21b likes reddit more than digg |
| [15:00:00] |
<Leonidas> |
welterde: it was better some months ago. maybe Hackernews is going to be the next reddit. |
| [15:00:15] |
<welterde> |
Leonidas: hackernews? |
| [15:00:33] |
<Leonidas> |
welterde: http://news.ycombinator.com/ |
| [15:01:07] |
<Leonidas> |
welterde: on the first page you see a posting by kn0thing, a reddit employee |
| [15:03:35] |
* |
welterde wants tags ;) |
| [15:09:32] |
* |
grumpy has joined #pocoo |
| [15:15:11] |
<prencher> |
hello mr grumpy |
| [15:17:28] |
<grumpy> |
prencher: hi, fwiw, threading.local() probably works as one expect when WSGIApplicationGroup is %{GLOBAL} |
| [15:18:17] |
<prencher> |
oh? |
| [15:44:43] |
* |
grumpy has quit IRC |
| [15:45:05] |
* |
grumpy has joined #pocoo |
| [15:53:11] |
* |
grumpy_ has joined #pocoo |
| [15:54:11] |
* |
grumpy has quit IRC |
| [16:01:21] |
* |
grumpy_ has quit IRC |
| [16:04:24] |
* |
highwaychile has joined #pocoo |
| [16:07:51] |
* |
rawb has joined #pocoo |
| [16:07:56] |
* |
rawb has left #pocoo |
| [16:14:39] |
<tux21b> |
does here anyone know a gtk svn tool, to browse revision histories (including the diffs of the changesets) similar to hgview? |
| [16:17:54] |
<asmodai> |
The Call for Papers for ApacheCon Europe 2009, to be held in Amsterdam, from |
| [16:17:55] |
<asmodai> |
+23rd to 27th March, is now open! Submit your proposals at |
| [16:17:55] |
<asmodai> |
+http://eu.apachecon.com/c/aceu2009/cfp/ before 24th October. |
| [16:23:37] |
* |
hoffmann has quit IRC |
| [16:25:41] |
<EnTeQuAk> |
tux21b, turtoisesvn or rapidsvn (one of both runs under linux – I think) |
| [16:25:50] |
<EnTeQuAk> |
but still, it's not gtk afair |
| [16:26:34] |
<EnTeQuAk> |
(well, as it seems only rapidsvn runs under linux) |
| [16:34:32] |
<tux21b> |
EnTeQuAk, it's slow and not as useable as hgview, but that might because of the svn backend. anyway thx :) |
| [16:43:43] |
* |
jpcw has quit IRC |
| [16:52:28] |
* |
highwaychile has quit IRC |
| [16:58:42] |
* |
hoffmann has joined #pocoo |
| [17:33:33] |
* |
hoffmann has quit IRC |
| [17:38:49] |
* |
CIA-49 has joined #pocoo |
| [18:29:45] |
* |
m-y-t-h-o-s is now known as mythos |
| [18:48:56] |
* |
apollo13 has quit IRC |
| [18:49:16] |
* |
apollo13 has joined #pocoo |
| [19:07:12] |
* |
alowry has joined #pocoo |
| [19:25:10] |
* |
apollo13 has quit IRC |
| [19:26:23] |
* |
apollo13 has joined #pocoo |
| [19:27:38] |
<tux21b> |
mitsuhiko, PIIIINNGGG :D |
| [19:29:42] |
<apollo13> |
hell bzr is really slow, or is it just launchpad? |
| [19:32:05] |
<EnTeQuAk> |
it's bzr ;) |
| [19:32:10] |
<prencher> |
it's both |
| [19:32:26] |
<EnTeQuAk> |
and bzr :D |
| [19:32:39] |
<prencher> |
also bzr |
| [19:36:56] |
<tux21b> |
it's lp |
| [19:37:01] |
<tux21b> |
and mostly bzr ;) |
| [19:42:38] |
* |
mythos has left #pocoo |
| [19:51:29] |
<prencher> |
ubuntu peoples.. is there a way to install a package without getting perl dependencies? |
| [19:51:47] |
<prencher> |
it seems to insist on those glue libs, even though we don't want em |
| [19:51:51] |
<sebner> |
prencher: depending on the package :P |
| [19:52:39] |
<prencher> |
mysql-server in this case |
| [19:56:59] |
<apollo13> |
sure |
| [19:57:05] |
<apollo13> |
dpkg -i --force-all *runs* |
| [19:57:28] |
<apollo13> |
should ignore all dependencies |
| [19:57:43] |
<apollo13> |
or at least only warn you but continue with the installation |
| [20:15:36] |
* |
delroth has quit IRC |
| [20:42:04] |
* |
mikeyumatov has joined #pocoo |
| [20:42:31] |
* |
mikeyumatov is now known as yumike |
| [20:44:46] |
* |
yumike has quit IRC |
| [20:45:00] |
* |
yumike has joined #pocoo |
| [20:46:17] |
* |
davidcramer has joined #pocoo |
| [20:52:01] |
<EnTeQuAk> |
maddiin, I just set up the new repository. check it out – http://www.bitbucket.org/EnTeQuAk/dmlt/ :D |
| [20:54:01] |
* |
davidcramer has quit IRC |
| [20:54:41] |
* |
davidcramer has joined #pocoo |
| [21:00:54] |
* |
EnTeQuAk has quit IRC |
| [21:04:53] |
* |
davidcramer has quit IRC |
| [21:05:08] |
* |
davidcramer has joined #pocoo |
| [21:19:24] |
* |
jpcw has joined #pocoo |
| [21:20:48] |
* |
davidcramer has joined #pocoo |
| [21:23:32] |
* |
aconbere has joined #pocoo |
| [21:24:48] |
* |
stifal has quit IRC |
| [21:36:17] |
* |
Dauerbaustelle has joined #pocoo |
| [21:37:46] |
<Dauerbaustelle> |
Hello, using werkzeug, how can I redirect to a view url parsing parameters to the function itself (not to the url!)? If this doesn't work, how can I "set" the url showed in the browser url bar (like redirect)? |
| [21:42:33] |
<Dauerbaustelle> |
or is there another way to redirect, for example, if "/delete" fails, to "/list", parsing parameters? I could render the list-template, but the "/delete" url would stay |
| [21:44:28] |
* |
jpcw has quit IRC |
| [22:03:27] |
* |
Dauerbaustelle has left #pocoo |
| [23:04:15] |
* |
hoffmann has joined #pocoo |
| [23:07:53] |
* |
izibi has quit IRC |
| [23:09:07] |
<CIA-49> |
Jinja 2: mitsuhiko trunk * 587:ad5d8733f0e7 / (16 files in 4 dirs): Various cleanups and added custom cycler. |
| [23:10:00] |
<ronny> |
mitsuhiko: sup on zine? |
| [23:10:18] |
<mitsuhiko> |
i have some nearly untested local changes not ready for pushing yet |
| [23:11:02] |
<ronny> |
well, pre-big change is broken, too, cant post messages for some reason, so im waiting to fix it |
| [23:11:10] |
<ronny> |
well, and crying about hg's license |
| [23:13:14] |
<tux21b> |
mitsuhiko, btw, i think you have entered a wrong b-day in skype ;) |
| [23:13:51] |
<mitsuhiko> |
and deleted |
| [23:14:03] |
<mitsuhiko> |
what's wrong with hg's license? |
| [23:14:56] |
<apollo13> |
mitsuhiko: is the one in studivz the right one? |
| [23:18:44] |
<mitsuhiko> |
if it's the 10th of may, then yes |
| [23:20:33] |
<apollo13> |
okay |
| [23:20:40] |
<apollo13> |
how are you? |
| [23:20:46] |
<apollo13> |
ready for tomorrow? |
| [23:21:35] |
<mitsuhiko> |
hope so :) |
| [23:22:01] |
<apollo13> |
I am there from 8:15 to 14:30 or something like it |
| [23:22:28] |
<empty> |
apollo13: what are you doing? |
| [23:22:40] |
<apollo13> |
sitting in front of my laptop empty? |
| [23:22:48] |
<apollo13> |
or when and where do you mean? |
| [23:22:52] |
<empty> |
apollo13: I meant tomorrow. |
| [23:22:57] |
<empty> |
sorry |
| [23:23:00] |
<apollo13> |
university :þ |
| [23:23:03] |
* |
davidcramer has quit IRC |
| [23:23:05] |
<empty> |
oh nice |
| [23:23:16] |
<empty> |
mitsuhiko too? |
| [23:23:18] |
<apollo13> |
yeah |
| [23:23:27] |
<empty> |
wow so like you guys hang out and stuff. |
| [23:23:30] |
<mitsuhiko> |
that's such a great theme, i want it: https://wiki.ubuntu.com/Artwork/Incoming/DustTheme?action=AttachFile&do=get&target=dust-0917-screenshot.jpg |
| [23:23:37] |
<apollo13> |
but different subject |
| [23:23:40] |
* |
davidcramer has joined #pocoo |
| [23:23:51] |
<mitsuhiko> |
...because mister florian decided to study physics :P |
| [23:23:57] |
<empty> |
mitsuhiko: great theme |
| [23:24:04] |
<apollo13> |
mitsuhiko: you miss the technical |
| [23:24:14] |
<apollo13> |
that makes a whole difference |
| [23:24:32] |
<apollo13> |
mitsuhiko: btw you are free to make the theme, not as gay as last time ;) |
| [23:25:08] |
<apollo13> |
empty: at least now I need 15 minutes to mitsuhiko instead of an hour ;) |
| [23:25:19] |
<mitsuhiko> |
you mean this one? http://dev.pocoo.org/~mitsuhiko/eee-maennlich.png ^^ |
| [23:26:02] |
<empty> |
eww, that's almost "Django My Little Pony" theme |
| [23:26:03] |
<sebner> |
*ahhhhhhhhh* |
| [23:26:27] |
<sebner> |
mitsuhiko: skype, studivz? that's so mainstream. where is your geekness :P |
| [23:26:47] |
<mitsuhiko> |
can't imagine a time where i wasn't mainstream |
| [23:27:17] |
<sebner> |
mitsuhiko: before you used studivz and skype :P |
| [23:27:50] |
<apollo13> |
mitsuhiko: btw I had those irc disconnects you have too today, but it got away... |
| [23:28:11] |
<apollo13> |
maybe it's hetzner and not inode ;) |
| [23:28:13] |
<mitsuhiko> |
sebner: then i used icq and mail |
| [23:28:21] |
<mitsuhiko> |
apollo13: no, it's not hetzner |
| [23:28:28] |
<mitsuhiko> |
i only have that problem on inode |
| [23:28:43] |
<apollo13> |
odd |
| [23:28:51] |
<sebner> |
mitsuhiko: mail is ok. well icq ... ^^ but you also have jabber ;) |
| [23:29:23] |
<mitsuhiko> |
apollo13: do you have package loss in mtr to google.com? |
| [23:29:31] |
<mitsuhiko> |
because i do Oo |
| [23:29:53] |
<mitsuhiko> |
sebner: which i don't use that much |
| [23:29:59] |
<sebner> |
mitsuhiko: btw, I build a new pc for my family and guess what's running. ubuntu ^^ (8.10) ^^ |
| [23:30:00] |
<mitsuhiko> |
i tried to, a while ago |
| [23:30:01] |
<apollo13> |
just mtr google.com ? |
| [23:30:05] |
<mitsuhiko> |
yep |
| [23:30:59] |
<apollo13> |
mitsuhiko: just on retries, eg the first comes down with 0.0% all over, but subsequent (just letting mtr run further) give me package loss too |
| [23:31:16] |
<sebner> |
mitsuhiko: no success? |
| [23:32:07] |
* |
_paneb has joined #pocoo |
| [23:32:27] |
<mitsuhiko> |
apollo13: well, no problem from hammett to google :) |
| [23:32:40] |
<mitsuhiko> |
so i don't think that's a problem with hetzner |
| [23:33:04] |
<apollo13> |
mitsuhiko: maybe cisco vpn^^ |
| [23:33:11] |
<mitsuhiko> |
i'm not using the vpn right now |
| [23:33:23] |
<_paneb> |
in a pylons controller, i can set the response status code, and then return some content. how would i go about doing something like that using werkzeug? |
| [23:33:42] |
<mitsuhiko> |
return Response("content", status=403) |
| [23:34:34] |
<apollo13> |
mitsuhiko: I am running through aco.net here and get most of the losses their, I guess I'll post it on news.tugraz.at ;) |
| [23:35:51] |
<apollo13> |
n8 kinners |
| [23:44:08] |
* |
ph_ has joined #pocoo |
| [23:58:50] |
* |
hoffmann has quit IRC |
| [23:58:55] |
* |
davidcramer has quit IRC |
| [23:59:26] |
* |
davidcramer has joined #pocoo |