| ronchilla_ | where can i find a change log for pylons 0.9.5? | 00:18 |
|---|---|---|
| *** int_ has joined #pylons | 00:18 | |
| ronchilla_ | actually i'm just trying to find out if mako is now the default template as opposed to myghty | 00:19 |
| *** int has quit IRC | 00:19 | |
| pjenvey__ | ronchilla_ - it's not, mako is a req now. it'll probably be the default next version | 00:43 |
| pjenvey__ | changelog is here http://pylonshq.com/project/pylonshq/browser/Pylons/tags/0.9.5/CHANGELOG | 00:44 |
| ronchilla_ | pjenvey__: thank you | 00:44 |
| ronchilla_ | pjenvey__: why is it that every time i upgrade pylons i have to recreate my project ? | 00:45 |
| *** int_ has quit IRC | 00:47 | |
| *** int_ has joined #pylons | 00:47 | |
| *** jimt has joined #pylons | 00:48 | |
| pjenvey__ | you can run paster create on your existing project | 00:49 |
| pjenvey__ | it'll prompt you for diffs | 00:49 |
| ronchilla_ | ah ok! | 00:49 |
| ronchilla_ | you are a life saver! my project has grown large and i was just groaning at the amount of time required to recreate the projects | 00:50 |
| pjenvey__ | sure | 00:51 |
| pjenvey__ | I don't think that's really documented anywhere, maybe in paste doc | 00:51 |
| pjenvey__ | we should describe it somewhere | 00:52 |
| TownCrier | pylons: Ticket #230 (Document project upgrades) created <http://pylonshq.com/project/pylonshq/ticket/230> | 00:54 |
| *** int_ is now known as int | 00:59 | |
| *** gldnspud_ has joined #pylons | 01:13 | |
| *** ronchilla__ has joined #pylons | 01:19 | |
| *** ronchilla_ has quit IRC | 01:19 | |
| *** gldnspud has quit IRC | 01:31 | |
| *** auwts has joined #pylons | 01:34 | |
| *** pjenvey__ has quit IRC | 01:59 | |
| *** goibhniu has joined #pylons | 02:07 | |
| ronchilla__ | Trouble with Pylons 0.9.5 on Windows | 02:08 |
| ronchilla__ | paster server --reload development.ini crashes with a traceback: WindowsError: [Error 22] The filename, directory name, or volume label syntax is incorrect | 02:09 |
| ronchilla__ | has anybody else experienced this? it seems to be a paste issue | 02:10 |
| xorAxAx | there was some thread on the mailing list | 02:10 |
| xorAxAx | of pylons | 02:10 |
| wiggy | 0.9.5? | 02:11 |
| ronchilla__ | cant find it... | 02:11 |
| xorAxAx | wiggy: ? | 02:12 |
| * wiggy hadn't noticed 0.9.5 was released | 02:12 | |
| ronchilla__ | xorAxAx: can you tell me the name of the thread | 02:13 |
| ronchilla__ | wiggy: it was released last night or early this morning | 02:13 |
| ronchilla__ | i've found the problem | 02:21 |
| ronchilla__ | its a paste problem; something to do with spaces in the path of the python executable | 02:22 |
| ronchilla__ | i think ianbicking discussed it on this thread yesterday... not sure but i think he mentioned a patch? | 02:24 |
| *** goibhniu has left #pylons | 02:25 | |
| elefth | ronchilla__, | 02:53 |
| elefth | <CIA-10> ianb * r6450 Script/ (4 files in 3 dirs): Fix problem with Windows and paster serve, and Windows with Python in a path with spaces. Also comment out an inadvertent test failure | 02:54 |
| *** goibhniu has joined #pylons | 03:19 | |
| *** goibhniu has left #pylons | 03:19 | |
| *** bradmw has quit IRC | 03:57 | |
| *** int has quit IRC | 04:00 | |
| *** auwts has quit IRC | 04:08 | |
| *** int has joined #pylons | 04:12 | |
| *** rann has joined #pylons | 04:16 | |
| *** jimt has quit IRC | 04:24 | |
| ronchilla__ | elefth: thanx, i'll get it from svn athough my patch works! | 04:25 |
| elefth | :-) | 04:26 |
| *** auwts has joined #pylons | 04:33 | |
| *** lingoNL has joined #pylons | 05:18 | |
| *** Kush- has joined #pylons | 05:27 | |
| *** rann has quit IRC | 05:35 | |
| *** AlexCONRAD has joined #pylons | 05:36 | |
| *** rob5 has left #pylons | 06:18 | |
| *** uche_ has joined #pylons | 06:54 | |
| *** pobrien has joined #pylons | 07:04 | |
| *** uche has quit IRC | 07:05 | |
| *** MarkB1 has left #pylons | 07:08 | |
| *** creiht has joined #pylons | 07:21 | |
| *** travisbrady has joined #pylons | 07:42 | |
| *** uche_ has quit IRC | 08:01 | |
| *** zzzeek_ has joined #pylons | 08:08 | |
| *** gldnspud_ has quit IRC | 08:12 | |
| *** gldnspud has joined #pylons | 08:15 | |
| *** jbb666 has joined #pylons | 08:17 | |
| *** AlexCONRAD has quit IRC | 08:17 | |
| *** auwts has quit IRC | 08:18 | |
| CIA-22 | pylons: thejimmyg * r1945 /Pylons/trunk/pylons/templating.py: Fixed so that a KeyError is not raised if format isn't passed | 08:23 |
| *** lingoNL has quit IRC | 08:26 | |
| *** windle has joined #pylons | 08:29 | |
| nathan^ | Great news | 08:35 |
| nathan^ | I got my mod_rewrite problem all taken care of | 08:35 |
| *** int has quit IRC | 08:44 | |
| *** int has joined #pylons | 08:44 | |
| *** zzzeek_ has quit IRC | 08:44 | |
| *** ronchilla_ has joined #pylons | 08:48 | |
| *** ronchilla__ has quit IRC | 08:48 | |
| *** AlexCONRAD has joined #pylons | 09:06 | |
| *** gldnspud has quit IRC | 09:11 | |
| *** tarez has joined #pylons | 09:46 | |
| *** hellabot has joined #pylons | 10:57 | |
| etrepum | benbangert: I'll have to find the pricing sheet | 10:58 |
| benbangert | weird that its not on the site ;) | 10:58 |
| benbangert | pylonshq.com is back btw | 10:58 |
| steg | is the wiki there going to stay? | 10:59 |
| benbangert | hmm, server wasn't rebooted, maybe a router blew up | 10:59 |
| *** scane_ has joined #pylons | 10:59 | |
| benbangert | no, all the content is being moved to the new wiki | 10:59 |
| steg | or will everything go to the new docs.pythonweb.org ? | 10:59 |
| steg | cool | 10:59 |
| *** scane__ has quit IRC | 10:59 | |
| *** pjenvey has joined #pylons | 11:00 | |
| creiht | etrepum: That's what I don't like about 95%, there isn't an easy way to calculate what your BW billing is going to be | 11:02 |
| creiht | It's too magical :) | 11:02 |
| etrepum | creiht: it's not really that magical, it's pretty easy to predict after you've started using it | 11:03 |
| *** zzzeek_ has quit IRC | 11:03 | |
| etrepum | if you assume an even spread $.25/GB is $79.10 per mbps/month | 11:04 |
| etrepum | which is what cachefly's published prices look like | 11:04 |
| benbangert | so if you push an even spread of 10 TB a month out? | 11:05 |
| etrepum | $2556.71 | 11:05 |
| benbangert | thats more than cachefly | 11:05 |
| benbangert | I think we pay around 1800 for 10TB in a month | 11:06 |
| etrepum | that's what $0.25 * 10 * 1024 is (plus some roundoff error) | 11:06 |
| benbangert | sure, but you can get deals if you push a lot ;) | 11:06 |
| etrepum | yeah of course | 11:06 |
| benbangert | how much would that be on Panther? | 11:07 |
| benbangert | assuming an even spread | 11:07 |
| etrepum | $1600-ish | 11:07 |
| benbangert | hmmm | 11:07 |
| benbangert | oh, on a side-note, I was thinking of getting a page up for Pylons ppl to pinpoint themselves, and maybe arrange BoF's or something to chat with other Pylons users | 11:07 |
| benbangert | it'd be nice to at least be able to visually see on a map how many Pylons users are in the vicinity so I know if its worth planning a meet-up | 11:08 |
| etrepum | what you can do is set up a free trial w/ them.. they normally do a week or two but you could probably get a month out of them | 11:08 |
| creiht | That's cool | 11:08 |
| creiht | something like frappr? | 11:08 |
| Chairos | hey, anyone else here going to RailsConf? (yeah, I know. but it's for business.) | 11:08 |
| benbangert | frappr? | 11:08 |
| creiht | http://www.frappr.com/ | 11:08 |
| benbangert | Chairos: the guy that sits next to me is | 11:08 |
| *** cwells_ has quit IRC | 11:08 | |
| etrepum | and then you can get them to send you a daily stats email that says what your mbps is per site and what the average so far in the month is | 11:08 |
| etrepum | then you can use that to estimate what it's going to be overall and then negotiate the $/mbps that puts you where you want to be | 11:09 |
| benbangert | creiht: neat, can I put it on another page? ;) | 11:09 |
| benbangert | creiht: or is it stuck on theirs? | 11:10 |
| creiht | Well I think you can have your own group on frapper | 11:10 |
| creiht | I haven't really used it much | 11:10 |
| creiht | just seen it on a couple of sites | 11:10 |
| benbangert | yea, looks like you can plant it elsewhere | 11:10 |
| benbangert | that'd work, awesome, I like it better when its done for me :) | 11:11 |
| creiht | hehe | 11:11 |
| creiht | It even tries to autodetect what city you are in | 11:11 |
| benbangert | yea, I noticed that, pretty cool | 11:11 |
| xorAxAx | gjh: ping | 11:19 |
| *** ronchilla_ has quit IRC | 11:24 | |
| *** ronchilla_ has joined #pylons | 11:24 | |
| *** btbytes has left #pylons | 11:34 | |
| gjh | xorAxAx: ping. | 11:35 |
| xorAxAx | gjh: you made some usage of moin's wsgi capabilities, i lost the url to the page documenting it | 11:36 |
| gjh | xorAxAx: http://bel-epa.com/library/pylons/pylonsandmoinmoin.html | 11:37 |
| benbangert | gjh: that'd be nice in the cookbook.... ;) | 11:38 |
| benbangert | gjh: you know if James signed a book deal yet? | 11:38 |
| gjh | benbangert: I want to make sure it actually works first. :D | 11:39 |
| benbangert | ah yes, there's always that | 11:39 |
| gjh | benbangert: he hasn't mentioned anything. | 11:39 |
| *** zzzeek_ has joined #pylons | 11:39 | |
| gjh | benbangert: I just set up a SPARQL endpoint mediated via a Pylons action. | 11:40 |
| nathan^ | Using myghty, is there a good way to format a float with 2 decimal places using <% foo.price %> ? | 11:40 |
| benbangert | nathan^: use the string replacement formatting | 11:41 |
| benbangert | nathan^: I think its like <% "%0.2d" % foo.price %> | 11:41 |
| benbangert | you'll need to look at the string formatting for %d | 11:41 |
| *** cwells has joined #pylons | 11:42 | |
| gjh | xorAxAx: or .. http://bel-epa.com/wiki/MoinMoinWSGIcallable :-) | 11:45 |
| benbangert | Chairos: around? | 11:49 |
| Chairos | yeah | 11:49 |
| Chairos | for a few more minutes | 11:50 |
| benbangert | the proxy thing you noted with making the URL | 11:50 |
| benbangert | the latest Routes changes how it gets its URL | 11:50 |
| benbangert | can you see if it properly handles leaving off the port info and such? | 11:50 |
| Chairos | sure, but I can't get around to it until tonight. | 11:50 |
| benbangert | it properly goes to HTTP_HOST first, then back to SERVER_PORT and SERVER_NAME | 11:50 |
| Chairos | can you remind me then? | 11:50 |
| benbangert | I'm thinking HTTP_HOST will properly reflect the public facing URL that was used, so it should be ok | 11:51 |
| Chairos | yeah, that's what I'd expect. | 11:51 |
| * Chairos goes to run off to a class, and then to work to do some Apache optimizing. | 11:51 | |
| benbangert | Chairos: http://routes.groovie.org/trac/routes/ticket/43 | 11:51 |
| benbangert | thats the ticket that was fixed | 11:51 |
| *** Kush- has joined #pylons | 11:52 | |
| nathan^ | benbangert, that doesnt actually work | 11:57 |
| nathan^ | In this case: | 11:57 |
| nathan^ | <% "%0.2f" % itin.lpc.baseFare+itin.lpc.taxesEtc %> | 11:57 |
| nathan^ | What happens is Error(TypeError): cannot concatenate 'str' and 'float' objects | 11:58 |
| *** mpathy has joined #pylons | 11:59 | |
| nathan^ | But | 12:03 |
| nathan^ | It works when I add them in the python block for the page before I get there | 12:03 |
| benbangert | nathan^: prolly cause in the prior page one of them is a float? | 12:06 |
| *** scane_ has quit IRC | 12:07 | |
| *** scane has joined #pylons | 12:07 | |
| *** nir has quit IRC | 12:08 | |
| nathan^ | benbangert, nah | 12:18 |
| nathan^ | Either way I got it working the way I want. :) | 12:19 |
| *** tarez has quit IRC | 12:24 | |
| *** ronchilla__ has joined #pylons | 12:26 | |
| *** ronchilla_ has quit IRC | 12:26 | |
| *** jbb666 has quit IRC | 12:26 | |
| *** jbb666 has joined #pylons | 12:26 | |
| *** tarez has joined #pylons | 12:27 | |
| *** scane has quit IRC | 12:30 | |
| *** scane_ has joined #pylons | 12:30 | |
| *** travisbrady has quit IRC | 12:41 | |
| *** gak has quit IRC | 12:44 | |
| *** lisppaste5 has quit IRC | 12:44 | |
| *** sloat has joined #pylons | 12:45 | |
| *** scane_ has quit IRC | 12:49 | |
| *** scane_ has joined #pylons | 12:49 | |
| *** lisppaste5 has joined #pylons | 12:53 | |
| *** mike8 has joined #pylons | 13:08 | |
| *** etrepum_ has joined #pylons | 13:19 | |
| *** etrepum has quit IRC | 13:19 | |
| *** scane has joined #pylons | 13:21 | |
| *** scane_ has quit IRC | 13:21 | |
| *** gjh has quit IRC | 13:24 | |
| *** tarez has quit IRC | 13:24 | |
| *** lingoNL has joined #pylons | 13:25 | |
| *** gjh has joined #pylons | 13:31 | |
| *** jesusphreak has joined #pylons | 13:32 | |
| jesusphreak | Are the changes in 0.95 outlined anywhere? | 13:32 |
| pjenvey_ | http://pylonshq.com/project/pylonshq/browser/Pylons/tags/0.9.5/CHANGELOG | 13:37 |
| steg | *shakes fist at django* | 13:46 |
| benbangert | I'm putting an announcement up soon | 13:48 |
| *** kg has joined #pylons | 13:49 | |
| *** rdesh has joined #pylons | 13:49 | |
| jesusphreak | steg: heh, why do you say that? | 13:50 |
| Chairos | benbangert: just tested the Routes trunk. | 13:50 |
| Chairos | it works for me | 13:50 |
| benbangert | Chairos: latest Routes release is fine | 13:50 |
| benbangert | Chairos: Routes trunk has no changes over the current release | 13:51 |
| Chairos | well, whatever | 13:51 |
| Chairos | it works fine. | 13:51 |
| benbangert | :) | 13:51 |
| benbangert | cool | 13:51 |
| *** kg has quit IRC | 13:51 | |
| jesusphreak | steg: I'm pretty frustrated with Django myself right now | 13:51 |
| jesusphreak | I know I say that every few weeks, but after 0.96 came out, I decided to just get over it and do things the Django way | 13:51 |
| jesusphreak | so I've been trying to write an app with it for the past few weeks and I keep wanting to slam my head against the table | 13:52 |
| jesusphreak | there's just way too much built in | 13:52 |
| steg | jesusphreak: Oh I just love being an angry nerd and django is convenient for hat | 13:53 |
| steg | I don't actually have to use it :) | 13:53 |
| steg | it's like gossiping | 13:53 |
| steg | "and you know what else django did?" | 13:53 |
| jesusphreak | heh | 13:54 |
| steg | it's celebrity scandal for the python world | 13:54 |
| jesusphreak | they've just got MVC so muddled that it kills me | 13:54 |
| jesusphreak | you define view code inside your model | 13:54 |
| *** rope has quit IRC | 13:54 | |
| * pjenvey_ wonders why jesusphreak keeps going back to django | 13:55 | |
| steg | toscawidgets is the first form system I've found that actually has the flexibility to handle the forms I want to build | 13:55 |
| steg | thanks in no small part to formencode, btw | 13:55 |
| jesusphreak | pjenvey_: I really don't know...everytime I figure that I'll just get used to it and I never do | 13:55 |
| steg | the two work well for each other | 13:55 |
| benbangert | I want to get TW working with less effort in 0.9.6 | 13:56 |
| steg | jesusphreak: hmm, I find myself not worrying too much about MVC | 13:56 |
| jesusphreak | I don't tend to either, but you've got to have some kind of separation | 13:57 |
| jesusphreak | the newforms stuff let's you generate forms from your model, well you do that and you inevitably want to tweak that form in some way | 13:57 |
| steg | my widgets tend to know a fair amount about my model | 13:57 |
| jesusphreak | so either you make something that looks ugly as hell or you create an entirely new form, and at that point you are duplicating info in both the form and the model | 13:58 |
| benbangert | jesusphreak: and you can tweak individual widgets in TW | 13:58 |
| jesusphreak | it gets really messy | 13:58 |
| benbangert | jesusphreak: and you can start from the template the widget comes with | 13:58 |
| benbangert | jesusphreak: thats the whole point of the widget browser actually, to look at the template a widget comes with and change it if necessary | 13:58 |
| jesusphreak | does toscawidgets finally have some documentation? it has been awhile since I looked | 13:58 |
| benbangert | he just put up a tutorial | 13:58 |
| steg | you can override templates at any level too | 13:58 |
| steg | you can have a parent widget render its child if it needs that control | 13:58 |
| jesusphreak | oh damn | 13:58 |
| steg | or you can ask the child to render itself | 13:58 |
| jesusphreak | I'm defintely gonna have to look at this | 13:59 |
| benbangert | http://tinyurl.com/yt9xhs | 13:59 |
| steg | it's all done in regular template code | 13:59 |
| benbangert | is the package | 13:59 |
| benbangert | with a readme and such | 13:59 |
| steg | benbangert: what's this? | 13:59 |
| benbangert | its from this, http://groups.google.com/group/toscawidgets-discuss/browse_frm/thread/bc139de3383631d4 | 14:00 |
| steg | oh I just checked my mail and found it | 14:00 |
| steg | cool | 14:00 |
| steg | I am not going to read it because then I'll find out I've got the wrong idea and get depressed | 14:01 |
| jesusphreak | I think DHH was really right about a few things in designing Rails | 14:07 |
| jesusphreak | he refuses to put login generators and authentication systems in the core and such...and it makes a lot of sense | 14:08 |
| *** tarez has joined #pylons | 14:08 | |
| jesusphreak | you put something like that in the core and you can never make it flexible enough without making it really complex...so his mindset is to just make the framework itself efficient enough to where you can built custom unique systems like that within every app easily | 14:09 |
| jesusphreak | he might be an egomaniac but he is absolutely right on that point | 14:09 |
| *** tarez has left #pylons | 14:13 | |
| *** jesusphreak has quit IRC | 14:20 | |
| *** tarez has joined #pylons | 14:22 | |
| *** mpathy has quit IRC | 14:34 | |
| *** etrepum_ has quit IRC | 14:34 | |
| *** jbb666 has quit IRC | 14:35 | |
| *** etrepum has joined #pylons | 14:35 | |
| *** keren23f has quit IRC | 14:38 | |
| *** scane has quit IRC | 14:46 | |
| *** scane has joined #pylons | 14:47 | |
| *** scane has quit IRC | 15:04 | |
| *** scane_ has joined #pylons | 15:04 | |
| CIA-22 | pylons: thejimmyg * r1946 /Pylons/trunk/ (3 files in 3 dirs): Updated the docs version number and changed the links to use the PylonsHQ site as an example | 15:07 |
| *** scane_ has quit IRC | 15:09 | |
| *** scane_ has joined #pylons | 15:10 | |
| *** mike8 has quit IRC | 15:16 | |
| *** zzzeek_ has quit IRC | 15:24 | |
| CIA-22 | pylons: thejimmyg * r1947 /Pylons/trunk/pylons/controllers.py: Corrected some simple formatting problems | 15:25 |
| *** etrepum_ has joined #pylons | 15:31 | |
| *** etrepum has quit IRC | 15:31 | |
| *** uche has joined #pylons | 15:32 | |
| *** tarez has quit IRC | 15:38 | |
| rdesh | hey guys, is it preferred to use python 2.5 or 2.4 with pylons developmenT? | 15:41 |
| Chairos | either one should work. | 15:41 |
| * steg feels guilty because he just hacked the standard library wsgi server stuff so that it would play nicely with wingide | 15:43 | |
| rdesh | Hm, okay thanks | 15:48 |
| rdesh | also, going through the quickwiki tutorial, I did the easy_install of quickwiki okay, but when I run make-config QuickWiki test.ini, I get the following error: Some #directives are missing their corresponding #end ___ tag: cache | 15:48 |
| rdesh | any ideas? | 15:48 |
| *** efm_ has quit IRC | 15:49 | |
| ianbicking | rdesh: I think it's a problem with MyPackage.egg-info/paste_deploy_config.ini_tmpl | 15:50 |
| ianbicking | there's a #cache line in it that Pylons creates, but Cheetah interprets as a directive | 15:50 |
| rdesh | yikes... being a newbie i don't have much an idea what you're talking about :/ | 15:51 |
| ianbicking | sorry... you might just want to skip that and copy over development.ini | 15:51 |
| *** creiht has quit IRC | 15:51 | |
| rdesh | the development.ini from the egg folder? | 15:52 |
| rdesh | actually, i don't see one here | 15:52 |
| CIA-22 | pylons: thejimmyg * r1948 /sandbox/examples/QuickWiki/tags/0.1.4/ (51 files in 14 dirs): Result of running paster create for the QuickWiki source | 15:58 |
| *** pobrien has quit IRC | 16:00 | |
| pjenvey_ | rdesh - that'll be fixed in quickwiki 0.1.4, looks like james is preparing that as we speak | 16:04 |
| pjenvey_ | fortunately | 16:04 |
| rdesh | ah okay...just trying to make sense of this tutorial... skipped using the premade quickwiki and am "building it from scratch" as the tutorial shows | 16:04 |
| pjenvey_ | http://pylonshq.com/project/pylonshq/wiki/FAQ#why-does-paster-make-config-raise-a-cheetah-parser-parseerror | 16:05 |
| pjenvey_ | will fix it for now | 16:05 |
| *** etrepum_ is now known as etrepum | 16:06 | |
| elefth | rdesh, perhaps you could skip cheetah and use mako anyway. | 16:11 |
| rdesh | hi lef! | 16:11 |
| elefth | hi :-) | 16:11 |
| Chairos | elefth: cheetah was used by pastescript | 16:11 |
| elefth | Chairos, oh | 16:11 |
| elefth | I apologise, I thought he was talking about the standard template engine in Pylons. | 16:12 |
| elefth | is it cheetah or something else by the way? I have long been using Mako. | 16:12 |
| xorAxAx | it is still used by pastescript | 16:13 |
| xorAxAx | if you dont publish an entrypoint yourself that hints pastescript not to use it | 16:13 |
| rdesh | so mako is going to replace myghty? | 16:13 |
| elefth | yes | 16:14 |
| elefth | rdesh, but is is easy to start using mako as the standard template engine from now | 16:14 |
| elefth | http://pylonshq.com/project/pylonshq/wiki/TowardsOnePointZero and look at "Switching to Mako" | 16:15 |
| CIA-22 | pylons: pjenvey * r1949 /Pylons/trunk/ (CHANGELOG pylons/commands.py): fixed Python 2.3 compatibility in paster shell: dict.update only takes another dict | 16:15 |
| CIA-22 | pylons: pjenvey * r1950 /Pylons/tags/0.9.5/ (6 files in 4 dirs): merged r1944:1949 from trunk, minus r1946's setup.cfg. integrated r1949's CHANGELOG | 16:21 |
| CIA-22 | pylons: pjenvey * r1951 /Pylons/trunk/CHANGELOG: including the paster shell fix as part of 0.9.5 | 16:25 |
| *** scane_ has quit IRC | 16:27 | |
| *** scane__ has joined #pylons | 16:28 | |
| *** scane__ has quit IRC | 16:35 | |
| *** scane has joined #pylons | 16:36 | |
| benbangert | elefth: plus, 0.9.5 pulls down Mako, so changing that one line is all thats needed :) | 16:44 |
| *** scane_ has joined #pylons | 16:44 | |
| *** scane has quit IRC | 16:44 | |
| elefth | sweet | 16:45 |
| benbangert | I'm prepping the announcement now | 16:45 |
| benbangert | luckily I just caught a 2.3 compat issue with paster shell | 16:45 |
| benbangert | phrew | 16:45 |
| elefth | oh is it not officially released yet? I emailed most of my friends yesterday that 0.9.5 got released... | 16:45 |
| *** keren23f has joined #pylons | 16:45 | |
| elefth | and that they should check out the site | 16:45 |
| benbangert | well, I only saw 20 downloads of the egg | 16:46 |
| benbangert | so most people haven't grabbed it or updated yet | 16:46 |
| benbangert | the site got the announcement, yea | 16:46 |
| benbangert | I had to re-upload the fixed egg | 16:46 |
| benbangert | if your friends are using Python 2.3, they'll want the new one | 16:46 |
| elefth | I don't think any of them uses 2.3 | 16:46 |
| elefth | benbangert, ugh, this reminds me that I had written 80% of a short tutorial for using Alchemyware with Pylons. Where shall I place it on the wiki you think? | 16:47 |
| benbangert | well, you'll want it on the new wiki | 16:48 |
| benbangert | in the Pylons Community section | 16:48 |
| benbangert | I'll add a sub-section for tutorials | 16:48 |
| elefth | benbangert, so not somewhere in http://pylonshq.com/project/pylonshq/wiki/SqlAlchemyWithPylons ? | 16:49 |
| benbangert | nope, no more pages should be added to the old wiki | 16:49 |
| benbangert | everything should go to the new one | 16:49 |
| *** gjh has quit IRC | 16:49 | |
| * pjenvey_ goes to add a warning to the front page of the wiki to use confluence | 16:50 | |
| benbangert | elefth: http://docs.pythonweb.org/display/pylonscommunity/Tutorials | 16:50 |
| benbangert | elefth: add a page under there | 16:50 |
| benbangert | people will be able to comment as well | 16:51 |
| elefth | ok, it is not finished yet anyway. I will finish the docs for the dispatcher and then I'll complete the tutorial. I'll put it there, thanks :-) | 16:51 |
| elefth | this "Python Web Documentation Project" is a good thing. | 16:52 |
| TownCrier | pylons: WikiStart edited <http://pylonshq.com/project/pylonshq/wiki/WikiStart?version=218> | 16:53 |
| benbangert | pjenvey_: still need to rig up an xml-rpc upload of the module API docs as well | 16:55 |
| benbangert | hmmm | 16:55 |
| pjenvey_ | yea | 16:56 |
| pjenvey_ | then we can nuke them from svn | 16:56 |
| pjenvey_ | add a ticket | 16:56 |
| pjenvey_ | did that email import every finish? heh | 16:57 |
| pjenvey_ | s/every/ever/ | 16:57 |
| benbangert | pjenvey_: nope, I had to kill the proc | 16:57 |
| benbangert | no idea what happened, maybe point it at a smaller box with only 100 messages at a time or something | 16:57 |
| benbangert | pjenvey_: it can import mbox files.... | 16:57 |
| benbangert | if you have it all in an mbox file | 16:57 |
| *** zzzeek_ has joined #pylons | 16:58 | |
| pjenvey_ | i suspect it was thrasing | 16:58 |
| pjenvey_ | i didn't look at the system CPU time though | 16:58 |
| pjenvey_ | the process wasn't using much cpu | 16:58 |
| pjenvey_ | ok back to what i was doing before you found that bug | 16:59 |
| pjenvey_ | apparently one of the twitter developers is bad mouthing rails | 16:59 |
| benbangert | oh, I saw that, in an interview or something, right? | 16:59 |
| pjenvey_ | ya | 16:59 |
| * pjenvey_ At this | 17:00 | |
| * pjenvey_ point in time there’s no facility in Rails to talk to more than one | 17:00 | |
| * pjenvey_ database at a time. | 17:00 | |
| * pjenvey_ If you’re looking to deploy a big web application | 17:01 | |
| * pjenvey_ and you’re language-agnostic, realize that the same operation in Ruby | 17:01 | |
| * pjenvey_ will take less time in Python. | 17:01 | |
| benbangert | lol | 17:01 |
| *** rdesh has quit IRC | 17:02 | |
| *** cwells has quit IRC | 17:04 | |
| *** scane__ has joined #pylons | 17:18 | |
| *** scane_ has quit IRC | 17:18 | |
| *** scane__ has quit IRC | 17:22 | |
| *** scane_ has joined #pylons | 17:22 | |
| *** scane_ has quit IRC | 17:25 | |
| *** scane__ has joined #pylons | 17:25 | |
| *** benbangert has quit IRC | 17:27 | |
| *** cwells has joined #pylons | 17:28 | |
| *** scane__ has quit IRC | 17:29 | |
| *** scane_ has joined #pylons | 17:30 | |
| triplah_w | you guys seen moofx ? | 17:31 |
| *** scane_ has quit IRC | 17:34 | |
| *** scane__ has joined #pylons | 17:35 | |
| CIA-22 | pylons: thejimmyg * r1952 /Pylons/trunk/docs/quick_wiki.txt: Updates for the 0.9.5 release | 17:43 |
| CIA-22 | pylons: thejimmyg * r1953 /sandbox/examples/QuickWiki/tags/0.1.4/ (21 files in 10 dirs): Changes resulting from following the new QuickWiki tutorial | 17:44 |
| matt_good | huh, apparently I can't make a controller called "setup" | 17:44 |
| matt_good | "error: invalid command 'controller'" | 17:44 |
| matt_good | works with other names though | 17:45 |
| *** Kush1 has joined #pylons | 17:45 | |
| CIA-22 | pylons: thejimmyg * r1954 /Pylons/trunk/docs/install.txt: Updated the instructions for 0.9.5 to avoid an issue where easy_install detects the wrong version | 17:49 |
| *** scane__ has quit IRC | 17:50 | |
| *** scane_ has joined #pylons | 17:50 | |
| *** sloat has quit IRC | 17:53 | |
| *** windle has joined #pylons | 18:04 | |
| *** zzzeek_ has quit IRC | 18:11 | |
| pjenvey_ | paster controller setup.. that's an odd one | 18:13 |
| windle | ianbicking: can you svn up buildutils and put up a new release? the dev version is the only one that works on Windows | 18:14 |
| windle | pjenvey_: hmm? | 18:14 |
| * pjenvey_ matt_good: huh, apparently I can't make a controller called "setup" | 18:14 | |
| * pjenvey_ [5:44pm] matt_good: "error: invalid command 'controller'" | 18:14 | |
| windle | maybe he's not in the right directory? | 18:15 |
| pjenvey_ | no, i just reproduced it | 18:15 |
| windle | oh | 18:15 |
| pjenvey_ | pretty strange | 18:15 |
| pjenvey_ | oh that's a nice one | 18:18 |
| pjenvey_ | we try to import 'setup' to make sure the controller name doesn't clash | 18:18 |
| pjenvey_ | which imports your project's setup.py | 18:19 |
| pjenvey_ | which does a sys.exit with "no commands supplied" as if you ran "python setup.py" | 18:19 |
| pjenvey_ | hate teh relative imports | 18:19 |
| windle | yup | 18:22 |
| *** zzzeek_ has joined #pylons | 18:23 | |
| CIA-22 | pylons: pjenvey * r1955 /Pylons/trunk/ (CHANGELOG pylons/commands.py): | 18:27 |
| CIA-22 | pylons: allow creation of controllers named 'setup' via paster controller | 18:27 |
| CIA-22 | pylons: Reported by Matt Good | 18:27 |
| windle | pjenvey_: http://weblog.lonelylion.com/2007/04/12/twitters-been-served/ | 18:31 |
| TownCrier | pylons: Ticket #201 (Make the response object available in __after__) updated <http://pylonshq.com/project/pylonshq/ticket/201#comment:4> | 18:31 |
| pjenvey_ | DHH blogged a reply | 18:32 |
| windle | yea | 18:32 |
| windle | I like Chris's take on it | 18:32 |
| pjenvey_ | looked like the comments to it were turning into a bitchfest | 18:32 |
| windle | its hilarious | 18:32 |
| pjenvey_ | oh. that's the link to it, duh | 18:32 |
| windle | "Open source…where the source is open, and the mouths are closed." | 18:32 |
| *** fullpony has joined #pylons | 19:02 | |
| *** pjenvey__ has joined #pylons | 19:09 | |
| *** pjenvey_ has quit IRC | 19:09 | |
| *** welterde has quit IRC | 19:25 | |
| *** fullpony has quit IRC | 19:59 | |
| *** scane__ has joined #pylons | 20:06 | |
| *** scane has joined #pylons | 20:08 | |
| *** scane_ has quit IRC | 20:09 | |
| *** scane has quit IRC | 20:10 | |
| *** scane_ has joined #pylons | 20:10 | |
| *** scane__ has quit IRC | 20:11 | |
| *** gldnspud has joined #pylons | 20:22 | |
| *** scane_ has quit IRC | 20:24 | |
| *** scane has joined #pylons | 20:25 | |
| *** gldnspud has quit IRC | 20:31 | |
| *** shawn has joined #pylons | 20:32 | |
| TownCrier | pylons: Ticket #163 (QuickWiki cannot be "paste"d ->) closed <http://pylonshq.com/project/pylonshq/ticket/163#comment:9> | 20:41 |
| *** zzzeek_ has quit IRC | 20:49 | |
| *** gldnspud has joined #pylons | 20:50 | |
| *** scane_ has joined #pylons | 21:04 | |
| *** scane has quit IRC | 21:04 | |
| *** scane has joined #pylons | 21:08 | |
| *** scane_ has quit IRC | 21:08 | |
| *** scane_ has joined #pylons | 21:11 | |
| *** scane has quit IRC | 21:11 | |
| *** btbytes has joined #pylons | 21:14 | |
| pjenvey__ | yay new quickwiki | 21:28 |
| pjenvey__ | no more cheetah problems | 21:28 |
| *** Niosop has joined #pylons | 21:30 | |
| Niosop | evening | 21:30 |
| Niosop | I've been working w/ Django a lot lately, and just started playing w/ pylons. I was wondering if anyone could give me a couple of pros/cons of pylons compared to django? | 21:31 |
| Chairos | we have a guy called jesusphreak who would LOVE to do that. :D | 21:33 |
| Chairos | basically, Pylons is a hell of a lot more flexible. | 21:33 |
| Chairos | You have two ORMs to choose from, plus any number of non-ORM data-storage techniques. | 21:33 |
| Chairos | You can use most any template language you want, including one that's a clone of Django's. | 21:34 |
| Chairos | Pylons apps are easier to deploy than Django apps. | 21:34 |
| Niosop | nod, noticed that. The ability to use SA and a wide assortment of templates is what made me look at it in the first place. | 21:34 |
| Chairos | The biggest downside is that the Pylons community is a lot smaller than the Django community. | 21:34 |
| Niosop | How hard is mod_python integration? I saw a doc on it, and it didn't look TOO difficult, but is it that easy in practice? | 21:35 |
| Chairos | another occasional downside is that Pylons is constructed from a lot of parts: Paste, Beaker, Routes, etc... and docs are sometimes spread out in places you wouldn't expect. | 21:35 |
| Chairos | It's fairly easy. | 21:35 |
| Chairos | But I wouldn't recommend it. | 21:35 |
| Niosop | better solution? | 21:35 |
| Chairos | It's the second-least efficient method of deploying apps, just ahead of plain-old CGI. | 21:35 |
| Niosop | fcgi/scgi? | 21:36 |
| Chairos | in increasingly-better order, I would recommend SCGI, FastCGI, and mod_proxying to an appserver | 21:36 |
| Chairos | pylonshq.com is in fact a Pylons app; it used to run with mod_python and now runs with the mod_proxy solution. | 21:36 |
| Chairos | turnthepage.org is a pylons app I wrote; I used to run it with FastCGI, and like pylonshq, I've switched to mod_proxy, using CherryPy's WSGI appserver. | 21:37 |
| Niosop | what's it proxying to? | 21:37 |
| Niosop | ahh, cherrypy? | 21:37 |
| Chairos | a tiny HTTP server based off SimpleHTTPServer in the standard library. | 21:37 |
| Niosop | nod | 21:37 |
| Chairos | WSGI is tremendously useful in that you can deploy it any number of ways. | 21:37 |
| Niosop | so you run cherrypy on some port, and use mod_proxy to redirect traffic to that port? | 21:38 |
| Chairos | there's at least three standalone appservers for it, three FastCGI interfaces, including one with C code to make it faster, two SCGI interfaces, a mod_python interface, an IIS interface, and an AJP interface | 21:38 |
| Chairos | Niosop: it's not technically cherrypy; it's just a WSGI appserver that ships WITH cherrypy. | 21:38 |
| Niosop | The only thing I really need to be able to do is to run multiple apps on the same server using named virtual hosts in apache. | 21:38 |
| Chairos | but yes | 21:38 |
| Chairos | I do that. | 21:38 |
| Chairos | I have two apps running on my server right now in virtual hosts | 21:39 |
| Chairos | I'll show you what the apache config looks like, if you want | 21:39 |
| Niosop | yeah, that would be handy :) | 21:39 |
| Niosop | What distro? | 21:39 |
| Chairos | debian testing | 21:39 |
| Niosop | cool, same here, so shouldn't be an issue | 21:39 |
| lisppaste5 | Chairos pasted "apache config" at http://paste.lisp.org/display/39646 | 21:40 |
| Chairos | the other app on the server has an identical apache config, except it runs on port 5000 | 21:41 |
| Chairos | needless to say, my firewall blocks actual access to the appservers; you have to go through apache. | 21:41 |
| Chairos | you could also use lighttpd, or a proxy like ngnix or squid in front | 21:42 |
| Niosop | nod. Would probably use apache or lighttpd for serving static files. | 21:43 |
| Chairos | for that particular app, I only have one static file, and it has to be explicitely downloaded, so I don't bother. | 21:44 |
| Chairos | but, yeah, you can do that. | 21:44 |
| Niosop | Any nice middleware for caching in pylons? Looks like just using the g global would work pretty well as a query/object type cache. | 21:44 |
| Chairos | there's much better caching built in. | 21:45 |
| Chairos | http://pylonshq.com/docs/0.9.4.1/caching.html | 21:45 |
| Niosop | nice :) | 21:45 |
| Chairos | it uses DBM files by default, but it can also cache in memory, or to pickle files, or it can use memcache. | 21:45 |
| Chairos | it can also use all those options for sessions, though there the pickle files are the default, to make it easy to expire old sessions by having a cronjob delete old files. | 21:45 |
| Niosop | cool. I notice it mentions using Myghty's container API for caching, would it still be available if using mako? | 21:46 |
| Niosop | not sure if the container API is tied to the template system or not | 21:47 |
| pjenvey__ | it's not | 21:47 |
| Niosop | not available or not tied? | 21:47 |
| pjenvey__ | not tied | 21:47 |
| Niosop | ok, cool :) | 21:47 |
| Niosop | looks like I might be able to move over to pylons pretty smoothly then. | 21:48 |
| Chairos | yeah, the container api is part of a package called MyghtyUtils that was factored out of Myghty a while back. | 21:48 |
| Chairos | because Myghty started life as a semi-framework in its own right, not just a templating system. | 21:49 |
| Chairos | if you've heard of Perl's HTML::Mason, it was basically similar. | 21:49 |
| Niosop | no, I managed to dodge Perl in my trek through programming languages :) | 21:49 |
| Chairos | good lad | 21:49 |
| pjenvey__ | yea, nice! | 21:50 |
| pjenvey__ | don't look back | 21:50 |
| Chairos | I do regret dropping Scheme, though. | 21:50 |
| Niosop | I'm pretty happy w/ Python now. C# was nice for a while, but moved to python back when mono was pretty unstable. | 21:52 |
| Niosop | now if only SQL Alchemy or SQL Object supported Informix, lol | 21:55 |
| pjenvey__ | there's a ticket for it | 21:57 |
| pjenvey__ | http://www.sqlalchemy.org/trac/ticket/336 | 21:57 |
| pjenvey__ | ooh and a patch | 21:57 |
| Niosop | Nice. Might be enough, I just want basic read support, won't do any writing to the DB. | 21:58 |
| Niosop | and if not, no biggy, since it's just basic queries, InformixDB alone would be enough. | 21:59 |
| *** btbytes has quit IRC | 22:06 | |
| *** welterde has joined #pylons | 22:14 | |
| windle | Chairos: how come you don't run both Pylons apps out of the same process with paste's URLmap? | 22:20 |
| windle | Chairos: that'd be more efficient ;) | 22:20 |
| windle | brb | 22:20 |
| Chairos | because if I do that, my guilt will force me to work on turnthepage's code, and I'm too lazy for that right now. | 22:21 |
| *** scane has joined #pylons | 22:26 | |
| *** scane_ has quit IRC | 22:27 | |
| *** scane has quit IRC | 22:42 | |
| *** scane_ has joined #pylons | 22:42 | |
| *** triplah has joined #pylons | 22:46 | |
| *** scane_ has quit IRC | 22:57 | |
| *** scane__ has joined #pylons | 22:58 | |
| *** triplah_w has quit IRC | 23:04 | |
| *** Vratha has joined #pylons | 23:09 | |
| Vratha | hello! | 23:09 |
| Chairos | hey | 23:11 |
| Vratha | how's it going | 23:13 |
| Vratha | still haven't had much time to screw around with pylons :( | 23:13 |
| Chairos | it's okay | 23:13 |
| Chairos | i'm about to sleep | 23:13 |
| Vratha | thesis, class, presentations, and screwing with learning some math. finance takes up all my other time | 23:13 |
| Vratha | me too | 23:14 |
| Vratha | i'm just watching this ep. of dl.tv before i sleep | 23:14 |
| *** scane__ has quit IRC | 23:16 | |
| Vratha | Chairos: but i was kinda curious; am i able to call methods on any python classes i create in my template files? | 23:16 |
| *** scane has joined #pylons | 23:16 | |
| Vratha | like if i create some sort of python class in models/, is there a way to get access to some object instance of it? | 23:16 |
| pjenvey__ | depends on the templating engine, but most of them allow that | 23:17 |
| Vratha | does myghty allow it? | 23:17 |
| pjenvey__ | myghty/mako allow you to write python basically | 23:17 |
| pjenvey__ | yes, definitely | 23:17 |
| Vratha | ok, cool :) | 23:17 |
| Vratha | well i guess i should look at the myghty docs then? | 23:17 |
| windle | I'd suggest going with Mako, Myghty is being deprecated | 23:18 |
| Vratha | because that'd definitely be sexier than writing XML directly | 23:18 |
| Vratha | oh ok | 23:18 |
| Vratha | i'll make sure i upgrade when i do start using pylons | 23:18 |
| windle | Pylons 0.9.5 installs Mako with it | 23:18 |
| * Vratha checks his version | 23:19 | |
| Vratha | damn; i have 0.9.4.1 | 23:21 |
| Vratha | oh well; i'll need to upgrade anyway when i start getting into this | 23:21 |
| *** shawn has quit IRC | 23:25 | |
| CIA-22 | pylons: pjenvey * r1956 /Pylons/trunk/pylons/templates/ (default_project/setup.py_tmpl minimal_project/setup.py_tmpl): the ez_setup package is only really needed by setup.py, don't package it for distribution | 23:27 |
| *** Vratha has quit IRC | 23:30 | |
| *** windle has quit IRC | 23:38 | |
| *** Niosop has quit IRC | 23:50 | |
Generated by irclog2html.py 2.4 by Marius Gedminas - find it at mg.pov.lt!