| *** AlexCONRAD has joined #pylons | 00:37 | |
| *** jimt has joined #pylons | 00:38 | |
| *** Jim7J1AJH has quit IRC | 00:39 | |
| *** POX_ has quit IRC | 00:40 | |
| *** Jim7J1AJH has joined #pylons | 00:40 | |
| *** pjenvey_ has quit IRC | 00:58 | |
| *** ronchilla_ has joined #pylons | 01:15 | |
| *** ronchilla has quit IRC | 01:15 | |
| *** ronchilla_ has quit IRC | 01:32 | |
| *** ronchilla_ has joined #pylons | 01:32 | |
| *** rope has joined #pylons | 01:37 | |
| *** gldnspud has quit IRC | 01:54 | |
| *** gldnspud has joined #pylons | 01:55 | |
| *** POX_ has joined #pylons | 02:01 | |
| *** goibhni1 has joined #pylons | 02:13 | |
| *** gjh has joined #pylons | 02:30 | |
| *** kg has joined #pylons | 03:00 | |
| *** nathan^ has quit IRC | 03:06 | |
| *** Chairos has quit IRC | 03:08 | |
| *** jimt has quit IRC | 03:33 | |
| *** Chairos has joined #pylons | 03:43 | |
| *** ronchilla__ has joined #pylons | 03:47 | |
| *** ronchilla_ has quit IRC | 03:47 | |
| *** rope has quit IRC | 03:56 | |
| *** scane has joined #pylons | 03:56 | |
| scane | Hi. Do I have to reload something when I change routing.py and if so how? Thank you. | 03:58 |
|---|---|---|
| *** ronchilla__ has quit IRC | 03:58 | |
| *** ronchilla__ has joined #pylons | 03:58 | |
| scane | I have the impression that changes to routing.py have no effect. | 03:59 |
| _damjan_ | scane, if you run your app with 'paster serve --reload development.ini' ... you don't | 03:59 |
| _damjan_ | it does it automagically | 03:59 |
| scane | _damjan_: thank you. so there must be some other reason. It is strange, when I remove all route the app still works | 04:03 |
| scane | Maybe it is because of some caching. And browser caching (opera here) and pylons caching both might be involved | 04:04 |
| _damjan_ | you use caching in development? | 04:05 |
| scane | i don't know. i left everything untouched, so I guess it is not used. I think the best thing would be using IE instead of opera, I suspect opera does some caching | 04:08 |
| _damjan_ | scane: you can put a 'print xxx' statement in the controller to see if it's hit | 04:10 |
| eleftherios | scane, I think best would be using FF instead of either IE or Opera | 04:10 |
| _damjan_ | and Linux while at that :) | 04:10 |
| eleftherios | and while you're at it, install Firebug too | 04:10 |
| eleftherios | http://pylonshq.com/project/pylonshq/query?group=status&milestone=0.9.6 | 04:11 |
| eleftherios | I get lots of internal server errors | 04:11 |
| scane | thank you. good idea. I will google for firebug. os cannot be changed it is not my own machine, they use windows. | 04:12 |
| eleftherios | scane, once you use firebug you won't believe how you could have lived without it | 04:14 |
| eleftherios | scane, good luck with you OS change too, I hope it happens some time soon | 04:14 |
| eleftherios | Debian 4.0 (Etch) is released by the way ;-) | 04:15 |
| eleftherios | _damjan_, http://pylonshq.com/project/pylonshq/ticket/203 <- you're right | 04:17 |
| _damjan_ | eleftherios: yes, ben agreed about it too | 04:21 |
| _damjan_ | but the patch broke some test | 04:22 |
| eleftherios | oh | 04:22 |
| Bracki | install IETab for FF as well so you can test IE weirdness in a cozy atmosphere.. | 04:34 |
| *** Chairos has quit IRC | 04:41 | |
| *** Chairos has joined #pylons | 04:42 | |
| *** jbb666 has joined #pylons | 05:11 | |
| eleftherios | Bracki, haha, well put :-) | 05:24 |
| *** ronchilla_ has joined #pylons | 05:27 | |
| *** ronchilla__ has quit IRC | 05:27 | |
| *** goibhni1 is now known as goibhniu | 05:50 | |
| *** pjenvey_ has joined #pylons | 06:06 | |
| *** pjenvey has quit IRC | 06:18 | |
| *** luckymurali_81 has quit IRC | 06:19 | |
| *** nathan^ has joined #pylons | 06:23 | |
| nathan^ | :P | 06:23 |
| vednis_ | eeewww, got my unit test to dump core | 06:40 |
| vednis_ | not bad for a web app :) | 06:40 |
| xorAxAx | vednis_: sqlite? | 06:42 |
| vednis_ | xorAxAx, yep, with a no-so-specially crafted SQLAlchemy transaction | 06:42 |
| vednis_ | right out of the SA docs, actually | 06:43 |
| xorAxAx | pysqlite bug | 06:47 |
| vednis_ | ah | 06:47 |
| xorAxAx | dont forget to file a ticket after you have checked the newest versions | 06:47 |
| xorAxAx | well, its rather easy - cpython itself is hard to crash | 06:48 |
| vednis_ | what's rather easy? | 06:48 |
| xorAxAx | s/easy/obvious/ | 06:50 |
| vednis_ | xorAxAx, that worked, I went from pysqlite 2.3.2 to 2.3.3, and SA throws the proper error | 06:50 |
| vednis_ | thanks for the help | 06:52 |
| *** creiht has joined #pylons | 06:54 | |
| *** jbb666 has quit IRC | 07:01 | |
| *** lisppaste5 has quit IRC | 07:08 | |
| *** MarkB1 has joined #pylons | 07:16 | |
| *** lisppaste5 has joined #pylons | 07:16 | |
| *** pobrien has joined #pylons | 07:21 | |
| *** Kush- has joined #pylons | 07:29 | |
| *** windle has quit IRC | 08:25 | |
| *** beluga9 has joined #pylons | 08:42 | |
| *** POX_ has quit IRC | 08:53 | |
| *** POX_ has joined #pylons | 08:55 | |
| *** dds has joined #pylons | 08:56 | |
| dds | ianbicking: around? | 08:58 |
| ianbicking | dds: yeah, a bit | 08:59 |
| dds | ianbicking: I have a testcase for you to show that paste.deploy.appconfig() fails if you have a filter defined | 09:00 |
| ianbicking | dds: are you using filter-with ? | 09:00 |
| dds | yes | 09:00 |
| TownCrier | pylons: robust_import.diff attached to Ticket #229 <http://pylonshq.com/project/pylonshq/attachment/ticket/229/robust_import.diff> || Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) created <http://pylonshq.com/project/pylonshq/ticket/229> | 09:00 |
| ianbicking | I've noticed a problem with that, but haven't had a chance to look closely yet | 09:00 |
| dds | sorry I meant to say filter-with defined | 09:00 |
| ianbicking | yeah; filter-app/next works fine, but filter-with has a problem with appconfig. | 09:00 |
| dds | ok | 09:01 |
| dds | but, then, the config that you read with appconfig() is different. | 09:05 |
| ianbicking | I'm not saying that it's not a bug | 09:12 |
| TownCrier | pylons: Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) updated <http://pylonshq.com/project/pylonshq/ticket/229#comment:1> | 09:14 |
| *** ronchilla_ has quit IRC | 09:19 | |
| *** ronchilla_ has joined #pylons | 09:19 | |
| *** efm_ has quit IRC | 09:39 | |
| *** efm has joined #pylons | 09:42 | |
| *** AlexCONRAD has quit IRC | 09:46 | |
| *** __pv has joined #pylons | 09:58 | |
| *** efm_ has joined #pylons | 10:01 | |
| *** efm has quit IRC | 10:03 | |
| *** alex____ has joined #pylons | 10:05 | |
| *** alex____ is now known as tarez | 10:06 | |
| tarez | hello, newbie here! | 10:06 |
| tarez | I'm having an issue on Windows with the helloworld/getting started walkthrough | 10:07 |
| tarez | hi all | 10:11 |
| Chairos | hello | 10:11 |
| Chairos | this time of day a lot of people are usually idle. | 10:11 |
| Chairos | so, what's your issue? | 10:11 |
| tarez | well, when I do paster serve --reload development.ini, I get an error that seems to come from subprocess.py | 10:12 |
| Chairos | can you paste the complete traceback here? http://pylonshq.com/pasties | 10:13 |
| tarez | windows says "filename, directory name, or volume lable syntax is incorrect" | 10:13 |
| ianbicking | tarez: do you have Paste 1.3.2 ? There was a Windows fix in it | 10:13 |
| Chairos | http://pylonshq.com/pasties/new | 10:13 |
| tarez | let me check on the Paste version | 10:13 |
| tarez | there's the traceback | 10:15 |
| tarez | http://pylonshq.com/pasties/212 | 10:15 |
| tarez | it looks to be the same error as http://pylonshq.com/pasties/211 | 10:16 |
| tarez | Paste is 1.3.2 on my box, I just installed Pylons today | 10:17 |
| *** dds has quit IRC | 10:18 | |
| tarez | @ianbicking: your form generation blog posts have sparked lively conversation in our office | 10:19 |
| tarez | :) | 10:19 |
| ianbicking | hrm... looks like I fixed that in paste.script.command, but not serve | 10:22 |
| ianbicking | hrm... oh, yeah | 10:25 |
| ianbicking | I think there's a workaround of a bug that maybe has been fixed in Python 2.5 | 10:25 |
| ianbicking | there's this bug: http://groups.google.com/group/pylons-discuss/browse_thread/thread/87374554e4cb15fb/00ba506b1acd4880?lnk=gst&q=pasterscript&rnum=1&hl=en#00ba506b1acd4880 | 10:27 |
| ianbicking | well, that report | 10:27 |
| *** pjenvey__ has joined #pylons | 10:27 | |
| ianbicking | and I was hoping someone would actually tell me what works where; as I'm pretty sure that if I just remove the code I'll break something, I'm just not sure what | 10:27 |
| ianbicking | *probably* I can just do a version check, and only do that quoting thing for Python 2.4 and under | 10:28 |
| ianbicking | but I'd like some confirmation from a Windows user | 10:28 |
| ianbicking | if someone can provide some confirmation, I can do another PasteScript release with that fix | 10:29 |
| *** westpjc has joined #pylons | 10:33 | |
| rbm | ianbicking: I really liked your blog post about form libraries | 10:33 |
| tarez | I'm a windows user and I'd be glad to help out... | 10:37 |
| tarez | what would you like me to test? I have 2.5 now but I can install 2.4 if need be | 10:37 |
| tarez | btw, there's no space in my Python path... | 10:39 |
| *** ronchilla has joined #pylons | 10:42 | |
| *** ronchilla_ has quit IRC | 10:42 | |
| ianbicking | tarez: if you can test it under Python 2.4 that would be helpful | 10:43 |
| ianbicking | I suspect it works under 2.4, because all the reports I've gotten are from 2.5 users | 10:44 |
| tarez | alright, let me get it installed and then I will report back | 10:44 |
| ianbicking | ideally with a space in the path to the Python executable (since that's what initially caused the problem that lead to that code) | 10:44 |
| tarez | can do | 10:44 |
| tarez | will 2.4.4 do? | 10:44 |
| *** goibhniu has quit IRC | 10:45 | |
| ianbicking | tarez: yes, I think any version of 2.4 should be fine | 10:47 |
| tarez | so, I installed Python in 'C:/Program Files/Python24/' | 10:54 |
| tarez | then I ran 'python ez_setup.py Pylons' | 10:55 |
| tarez | I had already changed my PATH variable to point to the 24 install in Program Files | 10:55 |
| tarez | running this: paster create --template=pylons helloworld | 10:56 |
| tarez | gave me this: Cannot find Python executable C:\Program | 10:56 |
| *** matt_good has quit IRC | 10:56 | |
| tarez | though I can acces python with only 'python' and it starts the interactive shell for the 2.4 install | 10:58 |
| aa_ | tarez: yeah, you need to run on windows...um.. paster_script ? or something like that | 11:00 |
| aa_ | tarez: paster does something weird | 11:01 |
| aa_ | python paster_script.py something | 11:01 |
| tarez | hmm, 'paster' worked with 2.5 and no space in the python install path | 11:01 |
| aa_ | hmm, yeah, maybe it's the space, my python ws in program files | 11:02 |
| tarez | I think it has to do with the space in the path that ian is looking at | 11:02 |
| *** ronchilla has quit IRC | 11:02 | |
| *** ronchilla has joined #pylons | 11:02 | |
| tarez | I am running through the same test on 2.5 now | 11:11 |
| tarez | yep, same error on 'paster create' command | 11:12 |
| *** kooph has joined #pylons | 11:12 | |
| kooph | hi | 11:12 |
| tarez | the space is definitely the issue with 2.4 and 2.5 | 11:12 |
| tarez | hi kooph | 11:13 |
| kooph | beaker middleware is maintained by ben? | 11:14 |
| ianbicking | tarez: so the quote marks don't help with the space? | 11:15 |
| ianbicking | kooph: no, beaker is not I | 11:15 |
| ianbicking | hrm... there should be *something* that will help when there's a space | 11:15 |
| ianbicking | Program\ Files ? | 11:16 |
| tarez | apparently not, I ran through a fresh install of both versions of Python and a fresh install of Pylons with both versions and they both died on the space | 11:16 |
| ianbicking | or is there a good API to get the short form of the filename | 11:16 |
| ianbicking | progra~1 | 11:16 |
| kooph | :) | 11:16 |
| tarez | the easiest is user education :) "Do not install in a folder with a space in the name!" | 11:17 |
| kooph | 'do not use windows' | 11:17 |
| kooph | ;> | 11:17 |
| tarez | the short form might be a solution | 11:17 |
| kooph | but session module is taken from myghtyutils, right? | 11:18 |
| tarez | here's someone doing it in Jython: http://mail.python.org/pipermail/python-list/2002-February/126796.html | 11:19 |
| tarez | obviously a long time ago...I just noticed the 2002 | 11:20 |
| tarez | but he's shelling out to the Windows Script Host, so that's not really a great solution | 11:20 |
| ianbicking | tarez: do any of os.path.normpath, normcase, realpath, abspath give you a more usable path? | 11:31 |
| tarez | good question, let me take a look | 11:32 |
| tarez | I'm a bit of a Python noob, so I don't know exactly how to see those | 11:34 |
| tarez | :) | 11:34 |
| tarez | first I did 'import os' | 11:34 |
| tarez | but when I do 'print os.path.normpath' I get '<function normpath at 0x00A3B270>' | 11:35 |
| ianbicking | tarez: os.path.normpath(r'C:\Program Files\Python25\Python.exe') | 11:37 |
| tarez | none of those you listed seem to get rid of the space. | 11:39 |
| ianbicking | damn | 11:39 |
| tarez | >>> os.path.normpath(r'C:\Program Files\Python25\Python.exe') | 11:40 |
| tarez | 'C:\\Program Files\\Python25\\Python.exe' | 11:40 |
| tarez | >>> os.path.normcase(r'C:\Program Files\Python25\Python.exe') | 11:40 |
| tarez | 'c:\\program files\\python25\\python.exe' | 11:40 |
| tarez | >>> os.path.realpath(r'C:\Program Files\Python25\Python.exe') | 11:40 |
| tarez | 'C:\\Program Files\\Python25\\Python.exe' | 11:40 |
| tarez | >>> os.path.abspath(r'C:\Program Files\Python25\Python.exe') | 11:40 |
| tarez | 'C:\\Program Files\\Python25\\Python.exe' | 11:40 |
| tarez | >>> | 11:40 |
| ronchilla | os.path.normpath(r'C:\Program Files\Python25\Python.exe') | 11:42 |
| ronchilla | oops | 11:42 |
| *** ianbicking is now known as ianbicking|mtg | 11:42 | |
| nathan^ | Can anyone here help me with apache and url rewriting? | 11:43 |
| nathan^ | Here is my problem | 11:44 |
| *** benbangert has joined #pylons | 11:44 | |
| *** keren23f has joined #pylons | 11:45 | |
| nathan^ | I have a file at /user/foo.myt, and, when Apache gets a request for /foo-723432/bar/snark/boojum, it rewrites the URL internally to /user/foo.myt?id=723432 | 11:45 |
| nathan^ | With PHP, this worked out just fine | 11:46 |
| nathan^ | But we're migrating to python/myghty and I get a 404 now when I request /foo-723432/bar/snark/boojum | 11:46 |
| nathan^ | Can anyone help me? | 11:46 |
| benbangert | nathan^: uhhh, thats weird | 11:48 |
| benbangert | nathan^: what do you mean it rewrites the URL? | 11:48 |
| *** gldnspud has quit IRC | 11:48 | |
| nathan^ | Yeah. | 11:48 |
| benbangert | in your script, if you print out request.environ['PATH_INFO'] does it show the proper URL? | 11:48 |
| *** gldnspud has joined #pylons | 11:48 | |
| nathan^ | I mean I have an apache rewrite rule so when it gets a request for /foo-*/*/ it behaves like I suggested, serving up /user/foo.myt?id=(number_after_the_dash) | 11:49 |
| nathan^ | The script never runs | 11:49 |
| *** zzzeek_ has joined #pylons | 11:51 | |
| nathan^ | zzzeek_ | 11:51 |
| tarez | what does the rewrite rule itself look like? | 11:51 |
| nathan^ | RewriteRule /trip-([0-9]*)/.*/ /user/trip.myt\?tab=airlines&id=$1 [L] | 11:51 |
| benbangert | ohh | 11:53 |
| benbangert | nathan^: ok, so whats the problem? | 11:53 |
| nathan^ | I get a 404 | 11:53 |
| nathan^ | It works for the PHP portion of the site | 11:53 |
| nathan^ | But I switched the rule now that I have the myt portion finished and I get a 404 :( | 11:54 |
| benbangert | I have no idea how you have that URL mapped to Myghty | 11:54 |
| benbangert | Are you using Pylons? | 11:54 |
| nathan^ | Pretty much all that changed is trip.php to trip.myt | 11:54 |
| nathan^ | I'm not. :( | 11:54 |
| benbangert | Then it comes down to how you have Myghty configured | 11:54 |
| nathan^ | Okay. | 11:54 |
| nathan^ | So what should I read to understand what I need to change? | 11:55 |
| benbangert | Are you using mod_python? | 11:55 |
| nathan^ | Yes. | 11:55 |
| benbangert | So you probably don't have the section in there for the .myt files setup to dispatch properly | 11:55 |
| nathan^ | Okay. | 11:56 |
| nathan^ | Can you give me a for example, or something? So I know where to start? | 11:56 |
| benbangert | I haven't setup a mod_python Myghty block in about 3 years now, so I'm at a loss on that | 11:57 |
| kooph | where i can setup url prefix for pylons? | 11:59 |
| kooph | app/config/environment.py? | 11:59 |
| *** fullpony has joined #pylons | 11:59 | |
| nathan^ | benbangert, can you point me somewhere to get me started? I still have no idea what to do | 12:00 |
| benbangert | kooph: I'd recommend using the PrefixMiddleware | 12:01 |
| *** FlimFlamMan has joined #pylons | 12:01 | |
| benbangert | kooph: http://pylonshq.com/docs/application_configuration.html | 12:02 |
| benbangert | near the bottom | 12:02 |
| *** ronchilla has quit IRC | 12:03 | |
| *** ronchilla has joined #pylons | 12:03 | |
| steg | maths exam >:( | 12:04 |
| steg | I would rather program | 12:04 |
| kooph | but from where i can import prefixmidlleware? | 12:09 |
| kooph | or it is separate project | 12:10 |
| *** matt_good has joined #pylons | 12:10 | |
| kooph | ok, i see it in paste | 12:10 |
| kooph | gee.. i know that paste can lot of things, but it still suprises me:) | 12:11 |
| benbangert | :) | 12:12 |
| *** ronchilla_ has joined #pylons | 12:14 | |
| *** ronchilla has quit IRC | 12:17 | |
| vednis | OT question: I'm looking for a "Unittest Mode" for Emacs that will work with nosetest output. Can anyone recommend a mode that I might use a base to build from? | 12:17 |
| kooph | ok, now the hardest part: reportlab. anyone used it lately? | 12:18 |
| * vednis .o( whoa, 76 people in here. Cool! :) | 12:19 | |
| pjenvey__ | really? wowza | 12:20 |
| Signum | Has anyone yet used my python-authkit Debian package (from the experimental branch)? I consider uploading it to the official Debian branch. | 12:26 |
| POX_ | Signum: isn't it still in NEW? | 12:27 |
| Signum | POX_: Uhm... shouldn't be in unstable. | 12:27 |
| Signum | POX_: Oops. Since when do experimental packages go through the NEW queue? | 12:28 |
| POX_ | since always? | 12:28 |
| Signum | That's a long time. :) | 12:28 |
| POX_ | ;) | 12:28 |
| *** cwells has joined #pylons | 12:31 | |
| nathan^ | benbangert | 12:31 |
| nathan^ | Or anyone :) | 12:31 |
| benbangert | indeedy | 12:31 |
| nathan^ | SO | 12:31 |
| benbangert | oops, lunch, brb | 12:31 |
| nathan^ | I think what I need is | 12:31 |
| nathan^ | Ack | 12:31 |
| nathan^ | Okay I'll go get lunch also | 12:31 |
| nathan^ | BRB | 12:31 |
| vednis | you know what the best part about learning elisp is? You learn something new with almost any code you look at. | 12:35 |
| vednis | But, at the same time, the code is understandable - you can tell what is happening by the context. Pretty cool. | 12:36 |
| kooph | bye | 12:41 |
| *** kooph has quit IRC | 12:41 | |
| scane | vednis, elisp is a scripting language for the emacs editor? | 12:42 |
| vednis | scane, yes, it is a derivative of Common Lisp | 12:42 |
| vednis | but very similar | 12:42 |
| *** rope has joined #pylons | 12:44 | |
| nathan^ | So | 12:49 |
| nathan^ | I think I need PythonOption MyghtyPathTranslate | 12:49 |
| steg | is it still dynamically scoped? :P | 12:49 |
| nathan^ | But when I try using it, just like the docs suggest | 12:49 |
| nathan^ | <LocationMatch "/trip-[0-9]*/.*/"> | 12:49 |
| nathan^ | PythonOption MyghtyPathTranslate "[\ | 12:49 |
| nathan^ | (r'/trip-([0-9]*)/.*/':r'/user/trip.myt\?tab=airlines&id=\1'),\ | 12:49 |
| nathan^ | ]" | 12:49 |
| nathan^ | </LocationMatch> | 12:49 |
| nathan^ | I get an invalid syntax error | 12:50 |
| nathan^ | Oh | 12:57 |
| nathan^ | It wants a ',' | 12:57 |
| *** etrepum_ has joined #pylons | 12:58 | |
| *** etrepum has quit IRC | 12:58 | |
| nathan^ | I'm pretty sure this is what I want, but, I need help understanding how to write the MyghtyPathTranslate rule | 12:58 |
| ianbicking|mtg | tanuki: maybe win32api.GetShortPathName('...') would work? Requires win32api, but we could check for a space before bothering with this | 13:02 |
| ianbicking|mtg | I think win32api is also installed by default | 13:02 |
| xorAxAx | nope | 13:02 |
| ianbicking|mtg | well, we can just tell them to install it if it's necessary to fix this problem | 13:03 |
| ianbicking|mtg | so long as you don't need it if you don't have a space in the filename | 13:03 |
| benbangert | ianbicking|mtg: http://pylonshq.com/project/pylonshq/ticket/229 | 13:05 |
| benbangert | have you seen that issue before? | 13:05 |
| benbangert | seems like another special setuptools thing ;) | 13:05 |
| TownCrier | pylons: Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) updated <http://pylonshq.com/project/pylonshq/ticket/229#comment:2> | 13:05 |
| nathan^ | benbangert, so, is there anywhere I can read about getting MyghtyPathTranslate working? | 13:06 |
| benbangert | nathan^: the Myghty website docs would be the best choice | 13:06 |
| benbangert | or the mail list | 13:06 |
| nathan^ | Hm | 13:06 |
| *** efm_ has quit IRC | 13:06 | |
| nathan^ | Yeah when I search the site there's pretty much one example of using it, and it's not even correct | 13:08 |
| benbangert | it took me quite awhile to get things working right back when I used Myghty | 13:11 |
| benbangert | I'd highly suggest just going with Pylons + Mako ;) | 13:11 |
| benbangert | you can have it go straight to templates in a template directory | 13:11 |
| benbangert | it doesn't have to use the whole MVC thing | 13:11 |
| steg | hmm | 13:12 |
| steg | do you guys try and write designer-friendly templates? | 13:12 |
| steg | or not worry about it? | 13:12 |
| nathan^ | Yeah I wish my boss would let me, ben | 13:12 |
| *** westpjc has quit IRC | 13:12 | |
| steg | you can do some really cool stuff with mako | 13:13 |
| steg | but I guess some of it would be impenetrable to your average designer | 13:13 |
| benbangert | steg: yea, though I'd generally just try and sweep the stuff that might confuse the designer into a separate template thats just called in | 13:13 |
| nathan^ | I also wish that I could get the guy in charge of our adsense program to get ads from somewhere other than the URL | 13:13 |
| benbangert | and teach them the basics so that they can use components | 13:14 |
| nathan^ | SO I wouldn';t have to rewrite the URL at all | 13:14 |
| steg | benbangert: I'm wondering if things like toscawidgets could compound the problem | 13:14 |
| steg | benbangert: because instead of "a page" there's lots and lots of little bits that are all tied together | 13:14 |
| benbangert | probably, since they'd then need to know how to go into a controller, tell it to use a template, then make the template.... | 13:14 |
| steg | and you need to understand how they are tied together in order to work out what goes where | 13:15 |
| steg | yeah | 13:15 |
| benbangert | well, the question is whether its worth it.... which I think it could easily be | 13:15 |
| benbangert | it depends what kind of designer you're talking about | 13:15 |
| benbangert | the Photoshop/Fireworks designer who makes the layout, then lets the software try and make a web page from it | 13:15 |
| benbangert | or the designer who looks at the design, gets the images right, writes the CSS and HTML, etc. | 13:15 |
| benbangert | the latter should have no problem | 13:16 |
| steg | yes, that's true | 13:16 |
| benbangert | cause Mako templates are easier than the crazy CSS/HTML shit designers have to deal with | 13:16 |
| steg | there's a CSS guy at work now. Well, he's actually a sort of general office guy, but I know he's into web design :) | 13:16 |
| benbangert | they spend days getting rid of a 5px margin that occurs only on IE 5.5 hehe | 13:16 |
| steg | so I am going to make use of him | 13:16 |
| steg | because I think he'll enjoy it | 13:16 |
| benbangert | and plenty of designers even know some JS, which is also more complex than basic Mako functions | 13:17 |
| steg | benbangert: absolutely, I don't know how they deal with that sort of thing | 13:17 |
| steg | would drive me insane | 13:17 |
| CIA-22 | pylons: pjenvey * r1929 /Pylons/trunk/ (CHANGELOG pylons/commands.py): | 13:18 |
| CIA-22 | pylons: don't assume the first package listed in top_level.txt is the base package for paster shell | 13:18 |
| CIA-22 | pylons: Patch from Alberto Valverde | 13:18 |
| CIA-22 | pylons: Fixes #229 | 13:18 |
| TownCrier | pylons: Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) closed <http://pylonshq.com/project/pylonshq/ticket/229#comment:3> | 13:19 |
| CIA-22 | pylons: pjenvey * r1930 /Pylons/trunk/pylons/commands.py: | 13:29 |
| CIA-22 | pylons: o avoid paster shell reimporting the models and base packages if they've | 13:29 |
| CIA-22 | pylons: already been found, otherwise it could think they weren't found when there's | 13:29 |
| CIA-22 | pylons: > 1 top_level.txt entries | 13:29 |
| CIA-22 | pylons: o refactor validate_name to use can_import | 13:29 |
| CIA-22 | pylons: o fix paster [rest]controller's PYTHON_PATH clash message's whitespace | 13:29 |
| CIA-22 | pylons: o add __all__ | 13:29 |
| *** efm_ has joined #pylons | 13:30 | |
| TownCrier | pylons: break.diff attached to Ticket #229 <http://pylonshq.com/project/pylonshq/attachment/ticket/229/break.diff> || Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) reopened <http://pylonshq.com/project/pylonshq/ticket/229#comment:4> | 13:31 |
| TownCrier | pylons: Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) closed <http://pylonshq.com/project/pylonshq/ticket/229#comment:6> || Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) updated <http://pylonshq.com/project/pylonshq/ticket/229#comment:5> | 13:32 |
| TownCrier | pylons: Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) updated <http://pylonshq.com/project/pylonshq/ticket/229#comment:7> | 13:37 |
| CIA-22 | pylons: pjenvey * r1931 /Pylons/trunk/pylons/commands.py: | 13:43 |
| CIA-22 | pylons: only attempt to import the models package immediately after finding the base package, this is more correct | 13:43 |
| CIA-22 | pylons: Refs #229 | 13:43 |
| TownCrier | pylons: Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) updated <http://pylonshq.com/project/pylonshq/ticket/229#comment:9> || Ticket #229 ([PATCH] paster shell breaks if pylons app is not the first package listed ...) updated <http://pylonshq.com/project/pylonshq/ticket/229#comment:8> | 13:44 |
| nathan^ | benbangert, can you tell me what the mailing list address is? | 13:51 |
| pjenvey__ | the info is on the trac | 13:51 |
| nathan^ | My question is specifically to myghty, if that makes a difference. I can't find the address for the mailing list on the myghty site. | 13:54 |
| *** cwells_ has joined #pylons | 13:56 | |
| CIA-22 | pylons: pjenvey * r1932 /Pylons/trunk/ (docs/internationalization.txt pylons/config.py): lowercasing 'UTF-8' when used in python code, as most docs usually have lowercase encoding names | 13:57 |
| *** cwells has quit IRC | 13:58 | |
| *** cwells_ is now known as cwells | 13:58 | |
| *** __pv has quit IRC | 13:59 | |
| tarez | inianbicking|mtg: for now, I just installed in a path with no space, but still getting this problem: http://pylonshq.com/pasties/212 | 14:02 |
| tarez | oops, fat-fingered it | 14:03 |
| tarez | ianbicking|mtg: for now, I just installed in a path with no space, but still getting this problem: http://pylonshq.com/pasties/212 | 14:03 |
| ianbicking|mtg | well, maybe it's fixed for all cases on Windows now | 14:48 |
| ianbicking|mtg | Windows users can easy_install PasteScript==dev to test | 14:48 |
| *** matt_good has quit IRC | 14:48 | |
| Chairos | ianbicking|mtg: where did the problem occur, paster serve? | 14:52 |
| ianbicking|mtg | yeah | 14:52 |
| *** ianbicking|mtg is now known as ianbicking | 14:52 | |
| * Chairos installs py2.5 on his windows vm. | 14:53 | |
| ianbicking | you should be able to install into Program Files and have it work too, if you have win32all | 14:53 |
| Chairos | I won't be trying that. | 14:53 |
| ianbicking | just for kicks? | 14:54 |
| Chairos | unless win32all comes with the py2.5 msi, I don't have it. | 14:54 |
| tarez | pulling down the dev code now | 14:58 |
| *** creiht has quit IRC | 14:58 | |
| tarez | oops, forgot there's no svn on this machine...doh! | 14:58 |
| * pjenvey__ punches windows in the face | 14:58 | |
| tarez | now we get to see if TortoiseCVS and TortoiseSVN play nice | 14:59 |
| *** fullpony has quit IRC | 14:59 | |
| tarez | oh god, of course, it wants to reboot | 15:02 |
| * tarez thanks pjenvey__ for his preemptive strike | 15:02 | |
| Chairos | you can install SVN without TortoiseSVN | 15:02 |
| *** ronchilla_ has quit IRC | 15:02 | |
| *** ronchilla_ has joined #pylons | 15:02 | |
| tarez | you can, but I had tortoisesvn on the network and I'm lazy | 15:02 |
| tarez | BRB | 15:03 |
| *** tarez has quit IRC | 15:03 | |
| Chairos | ianbicking: works great here. | 15:03 |
| Chairos | got XP SP2, py2.5 | 15:03 |
| Chairos | installed to c:\Python25 | 15:03 |
| *** tarez has joined #pylons | 15:07 | |
| *** sickill has joined #pylons | 15:08 | |
| tarez | ok, installing svn didn't help, the console still can't find 'svn' | 15:11 |
| tarez | back to PATH editing for me | 15:12 |
| tarez | hrm...the PasteScript==dev easy install ain't so easy because Windows can't find svn which I just installed | 15:14 |
| * tarez asks his boss about that MacBook again | 15:15 | |
| sickill | hi guys. can someone tell me why i'me getting EOFError when i'm trying to set anything in session object? | 15:15 |
| nathan^ | I still can't figure my problem out. | 15:17 |
| nathan^ | RewriteRule /trip-([0-9]*)/.*/ /user/trip.myt\?tab=airline&id=$1 [L] | 15:17 |
| nathan^ | Gives me a 404 | 15:18 |
| Chairos | sickill: try pasting a traceback in one of the pastebins. | 15:18 |
| nathan^ | But when I was using PHP, RewriteRule /trip-([0-9]*)/.*/ /user/trip.php\?tab=airline&id=$1 [L] | 15:18 |
| nathan^ | WOrked just fine | 15:18 |
| Chairos | tarez: installing http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe worked for me | 15:18 |
| nathan^ | I think I need to use PythonOption MyghtyPathTranslate | 15:19 |
| Chairos | nathan^: I think the lesson here is that mod_python is a piece of crap. | 15:19 |
| nathan^ | Or something | 15:19 |
| tarez | Chairos: thanks, on my way | 15:19 |
| nathan^ | Yeah we're all set up to use it | 15:19 |
| Chairos | BitTorrent.com uses Myghty with FastCGI. | 15:19 |
| nathan^ | What do you suggest? :P | 15:19 |
| nathan^ | Hm. | 15:19 |
| sickill | Chairos: here it is: http://pylonshq.com/pasties/214 | 15:19 |
| Chairos | I recommend a mod_proxy to a WSGI appserver like paste.httpserver | 15:19 |
| pjenvey__ | Chairos - supposedly bitttorrent.com is Pylons now | 15:20 |
| tarez | BRB | 15:20 |
| *** tarez has quit IRC | 15:20 | |
| nathan^ | Yeah we cant switch right now | 15:20 |
| nathan^ | I'm pretty much locked into wasting time getting this to work | 15:21 |
| nathan^ | I guess | 15:21 |
| Chairos | sickill: try deleting the 'data' directory in your project root and relaunching your paster serve. | 15:21 |
| *** ronchilla__ has joined #pylons | 15:22 | |
| nathan^ | So, since changing from myghty/mod_python isn't an option, can anyone suggest anything to help me? | 15:22 |
| Chairos | modify your file structure so you don't need rewrite-rules? | 15:23 |
| Chairos | I dunno. | 15:23 |
| Chairos | there's a mod_python mailing list. | 15:23 |
| nathan^ | Yeah I can't find the info on it. | 15:23 |
| sickill | Chairos: holy cow! it did it! thx very much :) | 15:24 |
| Chairos | sickill: glad to help | 15:24 |
| Chairos | nathan^: http://mailman.modpython.org/mailman/listinfo/mod_python | 15:25 |
| *** ronchilla_ has quit IRC | 15:25 | |
| *** keren23f has quit IRC | 15:26 | |
| *** tarez has joined #pylons | 15:26 | |
| Chairos | wb tarez | 15:26 |
| tarez | thanks | 15:26 |
| tarez | the update to PasteScript worked, thanks Chairos | 15:27 |
| tarez | er, thanks for the tip on SVN | 15:27 |
| tarez | thanks to Ian for the fix, now let's test it. | 15:27 |
| tarez | success | 15:28 |
| Chairos | yay | 15:28 |
| tarez | ianbicking: no spaces in my install path, but the patch seems to work | 15:29 |
| nathan^ | Chairos, can you also help me find the myghty mailing list? The myghty website, on the front page, says 'support will be provided via the list' but it doesn't say the list addy or anything. | 15:31 |
| *** keren23f has joined #pylons | 15:33 | |
| Chairos | nathan^: myghty.org -> @sourceforge link -> Subscribe -> https://lists.sourceforge.net/lists/listinfo/myghty-users | 15:33 |
| *** sickill has left #pylons | 15:33 | |
| nathan^ | <3 | 15:35 |
| *** mike8 has joined #pylons | 15:38 | |
| *** mike8 has left #pylons | 15:39 | |
| *** mike8 has joined #pylons | 15:40 | |
| *** tarez_ has joined #pylons | 15:41 | |
| *** tarez has quit IRC | 15:47 | |
| *** tarez_ is now known as tarez | 15:47 | |
| *** pobrien has quit IRC | 15:49 | |
| *** kg has joined #pylons | 15:51 | |
| *** kg has joined #pylons | 15:52 | |
| *** pobrien has joined #pylons | 15:52 | |
| *** zzzeek_ has quit IRC | 15:59 | |
| *** kg has left #pylons | 16:03 | |
| *** zzzeek_ has joined #pylons | 16:07 | |
| *** pjenvey__ has quit IRC | 16:08 | |
| tarez | good bye...thanks for help. I am off for the evening. | 16:08 |
| *** pjenvey__ has joined #pylons | 16:08 | |
| *** tarez has quit IRC | 16:09 | |
| CIA-22 | pylons: bbangert * r1933 /Pylons/trunk/setup.py: Removing the last of the old dependencies that used dev versions. | 16:16 |
| nathan^ | <3 the community | 16:16 |
| *** justin has joined #pylons | 16:17 | |
| *** zzzeek_ has quit IRC | 16:18 | |
| benbangert | Chairos: you ever get a thing to grab all the egg's for Pylons? | 16:19 |
| CIA-22 | pylons: bbangert * r1934 /Pylons/trunk/setup.cfg: Changing doc output dir to 0.9.5 | 16:21 |
| xorAxAx | was there a release? | 16:22 |
| benbangert | yes | 16:22 |
| benbangert | I just put it up on cheeseshop | 16:22 |
| *** ChanServ sets mode: +o benbangert | 16:23 | |
| xorAxAx | neat | 16:23 |
| *** benbangert changes topic to "New Wiki: http://docs.pythonweb.org/ | Doc Search: http://pylonshq.com/search_docs.html | Pastebin: http://paste.lisp.org/new/pylons | http://pylonshq.com/ | Latest version: 0.9.5" | 16:23 | |
| primco | HEY! congrats. | 16:23 |
| xorAxAx | weeee, no more cheetah issues! | 16:24 |
| xorAxAx | tg is dead, long live pylons :-) | 16:24 |
| vednis | great | 16:24 |
| vednis | !! | 16:24 |
| vednis | darn enter key | 16:25 |
| vednis | benbangert, what do you think the best part of the 0.9.5 release is? | 16:26 |
| benbangert | i18n | 16:26 |
| benbangert | there's lots of i18n stuff all over | 16:26 |
| xorAxAx | i.e. mainly? :) | 16:26 |
| benbangert | stuff to ensure your query and form args are utf-8, stuff to get the right language and such from the user | 16:27 |
| benbangert | but hell, there's a lot of stuff in this release | 16:27 |
| xorAxAx | :) | 16:27 |
| benbangert | 46 tickets closed | 16:27 |
| vednis | wow, nice | 16:27 |
| justin | so... how much is my app going to break? :-D | 16:27 |
| benbangert | the next highest release in history was only 24 tickets | 16:27 |
| benbangert | justin: look for the WARNING in changelog | 16:27 |
| vednis | justin: hehehe :) | 16:27 |
| CIA-22 | pylons: bbangert * r1935 /Pylons/trunk/CHANGELOG: Updating CHANGELOG for release. | 16:29 |
| nathan^ | benbangert | 16:29 |
| nathan^ | Does the new pylons come with the mako template engine? | 16:29 |
| benbangert | yes | 16:29 |
| benbangert | its not turned on by default yet, but its included | 16:29 |
| nathan^ | I wish I could get my boss to use mako/pylons | 16:29 |
| steg | oh wow a new pylons | 16:29 |
| * steg upgrades | 16:30 | |
| vednis | ^^^^^^^^^ steg's app dies | 16:30 |
| steg | hah, what app? :D | 16:30 |
| vednis | hehe j/k ;) | 16:30 |
| benbangert | justin: http://pylonshq.com/project/pylonshq/browser/Pylons/trunk/CHANGELOG | 16:31 |
| benbangert | if you were running 0.9.4.1 and fixed the stuff the deprecation warnings were talking about, that should address most of it | 16:32 |
| benbangert | also, the Routes had quite a few updates, new Routes went out yesterday | 16:32 |
| benbangert | http://routes.groovie.org/ | 16:32 |
| vednis | and new webhelpers the week before last | 16:32 |
| benbangert | a big one some people might be interested in with Routes, is you can turn off Route memory | 16:32 |
| benbangert | and you can turn off the implicit defaults of action=index, id=None for individual Routes | 16:33 |
| benbangert | I'm putting together a complete email that I'll be sending to the list in a little bit | 16:33 |
| vednis | wow, there are a lot more community-contributed fixes and patches in this release | 16:34 |
| benbangert | yup, the community is growing ;) | 16:34 |
| * nathan^ cries | 16:35 | |
| benbangert | nathan^: you can use Pylons with mod_python | 16:35 |
| nathan^ | I think my boss is happy that we wrote most of our own framework stuff | 16:36 |
| steg | the unicoding of GET/POST stuff is really neat | 16:36 |
| nathan^ | Mostly what is pissing me off now is that I can't get much help because no one else uses a setup like ours, and the docs aren't very clear as to what I might need to do. :P | 16:37 |
| vednis | nathan^, how quickly could you port part of your app to pylons? | 16:42 |
| vednis | afk | 16:42 |
| vednis | back | 16:44 |
| *** matt_good has joined #pylons | 16:44 | |
| vednis | matt_good, new Pylons release! | 16:45 |
| *** bradmw has joined #pylons | 16:48 | |
| nathan^ | vednis, I don't know, my friend. | 16:54 |
| nathan^ | Probably very quickly | 16:54 |
| vednis | well, it is always impressive to show significant and useful business functionality ported to a new platform in record time. | 16:55 |
| vednis | and an accompanying set of estimates for porting the rest of the app as well :) | 16:56 |
| *** Kush- has quit IRC | 16:56 | |
| vednis | that could be done with function points, ideal days, story points, etc. | 16:56 |
| *** cwells has quit IRC | 16:58 | |
| CIA-22 | pylons: bbangert * r1936 /Pylons/trunk/setup.cfg: Adding new i18n file for doc gen. | 17:02 |
| xorAxAx | benbangert: you changed the interface of the paginator :-( | 17:03 |
| Chairos | benbangert: no, I'm planning on adding that feature to my cheeseboard. | 17:03 |
| xorAxAx | app broken. | 17:03 |
| benbangert | xorAxAx: it's a small change, but yes, it changed | 17:03 |
| benbangert | it needed to change to properly handle getting query args to the db engine | 17:04 |
| xorAxAx | i am passing query args successfully | 17:04 |
| xorAxAx | of course it was a pain to figure out how that works flawlessly :-) | 17:04 |
| benbangert | ah, its significantly easier now | 17:05 |
| xorAxAx | so i dont doubt that this made it easier for new users of the code | 17:05 |
| benbangert | bbiaf | 17:06 |
| *** benbangert has quit IRC | 17:06 | |
| *** fullpony has joined #pylons | 17:09 | |
| *** mike8 has quit IRC | 17:11 | |
| *** pion33r has joined #pylons | 17:13 | |
| pjenvey__ | paginator changed? doh | 17:13 |
| *** beluga9 has quit IRC | 17:27 | |
| *** rope has quit IRC | 17:27 | |
| *** windle has joined #pylons | 17:38 | |
| CIA-22 | pylons: pjenvey * r1937 /Pylons/trunk/pylons/commands.py: mention restcontroller in the module docs | 17:40 |
| elefth | pjenvey__, what's your email? | 17:43 |
| pjenvey__ | pjenvey@groovie.org | 17:44 |
| pjenvey__ | elefth - where did you check about the including GPL code? | 17:45 |
| elefth | not only I keep missing your messages on here because of different timezones but I don't really know each time which of your incarnations is really you: pjenvey, pjenvey_, pjenvey__ :-) | 17:47 |
| elefth | pjenvey_, I asked in #gnu and #fsf | 17:48 |
| elefth | pjenvey__, even | 17:48 |
| matt_good | windle: do you read The Daily WTF? | 17:49 |
| Chairos | and were the people who answered associated with the FSF? | 17:49 |
| windle | matt_good: not yet | 17:49 |
| Chairos | I ask because the revelation you offer seems to contradict somewhat what the FSF's website says. | 17:49 |
| pjenvey__ | so they're saying a python import isn't like a linkage? | 17:49 |
| matt_good | windle: there was another one today about crazy interview stories, you should submit Rob's | 17:50 |
| Chairos | "If modules are designed to run linked together in a shared address space, that almost surely means combining them into one program." | 17:50 |
| Chairos | http://www.gnu.org/licenses/gpl-faq.html#MereAggregation | 17:50 |
| elefth | what the chap told is that as long as the licenses of the other modules do not restrict the GPL, components can be mixed freely. No issues. | 17:51 |
| *** cwells has joined #pylons | 17:51 | |
| Chairos | well, sure. a BSD program and a GPL program can be combined to form a new GPL program. | 17:52 |
| elefth | the BSD and MIT licenses he said do not restrict the GPL, I can mix freely and each module keeps its license. | 17:52 |
| Chairos | but they can't be combined to form a BSD program. | 17:52 |
| elefth | you can distribute a composite work where each module keeps its licence. | 17:52 |
| Chairos | elefth: cite, please. | 17:53 |
| elefth | Chairos, it is my own interpretation, I may be wrong. | 17:53 |
| Chairos | I am afraid that you are. | 17:53 |
| elefth | Chairos, this is from what I gather. | 17:53 |
| elefth | Chairos, we can ask in #gnu in case they can cite. | 17:53 |
| pjenvey__ | the FAQ link Chairos pasted has a pretty good description | 17:54 |
| pjenvey__ | GPL is quite viral | 17:54 |
| matt_good | the linking clause is a little fuzzy when relating to languages like Python since it's not done at compile time | 17:54 |
| windle | elefth: they made the LGPL specifically to address the linking issue | 17:54 |
| pjenvey__ | yea, it's more appropriate for libs | 17:54 |
| matt_good | but I usually err on the side of not importing modules that are GPLed in non-GPLed code | 17:54 |
| Chairos | pjenvey__: I do hate that word, 'viral'. The GPL doesn't "spread" unless you take action to spread it. | 17:55 |
| pjenvey__ | well you can usually avoid the flu too if i keep a safe distance from the guy sneezing =] | 17:56 |
| primco | hey folks. | 17:58 |
| primco | i have a pylons site i want to turn off caching for | 17:58 |
| matt_good | elefth: what's the background of the app and library in question? | 17:58 |
| primco | it worked fine until i started serving it with cherrypy | 17:58 |
| primco | now it's caching pages when it didn't with the paste server | 17:58 |
| matt_good | elefth: I've had decent luck getting some people to switch to LGPL | 17:59 |
| pjenvey__ | matt_good - i brought this up in regards to alchemyware | 17:59 |
| elefth | Chairos, so your take is that one can not combine BSD and GPL components in a framework with the BSD components keeping their license? | 17:59 |
| primco | is there a sway i can set it in pylons? i think it's cherrypy's fault | 17:59 |
| Chairos | elefth: my take is that the combined program must be licensed under the GPL if one of the components is GPL-licensed. | 18:00 |
| Chairos | this is also, so far as I can tell, RMS's take. | 18:00 |
| elefth | Chairos, I see. | 18:00 |
| windle | primco: caching where? | 18:00 |
| elefth | Chairos, I have to check that, I hope this is not the case. | 18:00 |
| Chairos | certainly if you extracted the original BSD-licensed components from the app, they would still be BSD-licensed. | 18:00 |
| windle | like, browser caching? | 18:00 |
| primco | yeah | 18:00 |
| Chairos | but in the context of the complete program, they are subsumed into the GPL. | 18:00 |
| elefth | hm | 18:01 |
| primco | a url that would usually do a query instead just diplays the last query | 18:01 |
| primco | unless i hit refresh | 18:01 |
| matt_good | elefth: oh, I see you're actually one of the authors | 18:01 |
| elefth | matt_good, yes | 18:01 |
| matt_good | considering the amount of debate, it's clear that the GPL will confuse people if you don't intend for it to apply to other applications | 18:02 |
| matt_good | so if that's not your intent relicensing it under the LGPL would make it much clearer | 18:02 |
| Chairos | elefth: see for example http://www.gnu.org/licenses/gpl-faq.html#CombinePublicDomainWithGPL and http://www.gnu.org/licenses/gpl-faq.html#GPLInProprietarySystem and http://www.gnu.org/licenses/gpl-faq.html#LinkingWithGPL | 18:02 |
| elefth | now I have just written a WSGI Dispatcher to work behind Routes that offers some nice functionality and I GPLed that too. | 18:03 |
| elefth | Chairos, I have read the last two in the past, I will have a look at the first one, thank you. | 18:04 |
| Chairos | suffice to say that if the resulting program of linking together a GPL-ed module and a non-GPLed module didn't have to be GPL-ed, then there would be none of the controversy over non-free modules in the Linux kernel. | 18:05 |
| Chairos | or at least there would be very little of it. | 18:06 |
| elefth | Chairos, my hope was/is that it is a different case when you mix it with components that have GPL-compatible licencing. | 18:06 |
| Chairos | the only difference is that it's legal to distribute the work, then. since you can legally put the whole thing under the GPL. | 18:07 |
| Chairos | basically, without exceptions that do not exist in the default GPL text, any program that includes GPL'd code must be licensed under the GPL, or else not publicly distributed. | 18:08 |
| elefth | Chairos, that sounds the most probable. I will double check at some point but I think you are right. | 18:08 |
| Chairos | now, many programs have exceptions for some purpose or another. for example, Bison copies some GPLed code into the generated output, but there is an exception allowing you to include that code in a non-GPLed program. | 18:08 |
| Chairos | but that exception had to be explicitly written, because the default case is that you can't do that. | 18:09 |
| matt_good | personally I don't know whether the GPL linking is *enforceable* under some conditions, but I believe that it is the *intent* of the license | 18:11 |
| matt_good | so if you don't intend it to apply via linking then the LGPL makes that clear | 18:12 |
| *** scane_ has joined #pylons | 18:19 | |
| elefth | well, I didn't think the GPL would be an issue with Alchemyware. If someone asks me to redistribute it with non-GPL code I will work something out. It has not been an issue so far. | 18:20 |
| elefth | in my opinion the GPL has many advantages over the other open source/free software licenses so I tend to use at all times. Of course this is just a personal preference, I don't mean to start a whole flamewar here. | 18:22 |
| windle | elefth: the primary thing I see people choose GPL for, is so that if someone else uses it and modifies it, they still get the updates | 18:23 |
| windle | elefth: if that's the main thing you're interested in, take a look at the Mozilla Public License, thats what Sun based theirs off of as well for Solaris | 18:24 |
| elefth | windle, for me the benefit with the GPL is that it ensures we crate a pool of free/open source software that anyone can contribute to but no one can take away from | 18:24 |
| windle | it's like the GPL, without the 'spreading' bit in it | 18:24 |
| elefth | s/crate/create | 18:24 |
| windle | yea, but I don't think that means much for web dev | 18:25 |
| windle | so it might as well be BSD licensed since it makes company lawyers more happy | 18:25 |
| windle | because the GPL is harmless against a company like Google | 18:25 |
| windle | which can use GPL all over, but you don't see them putting out the PageRank code | 18:26 |
| windle | cause of the web service GPL loophole | 18:26 |
| windle | a company that wants to use your GPL'd web code, will never have to give anything back to you | 18:26 |
| windle | since they'll most likely never "distribute" anything | 18:26 |
| *** scane has quit IRC | 18:26 | |
| windle | So if all the license does is stop lots of people from using it at companies.... what's the point? | 18:27 |
| elefth | hm | 18:28 |
| windle | I've seen more companies contribute to open source projects because they wanted to, than because they were forced to by the GPL. | 18:29 |
| elefth | windle, the opposite has happened many times too. Think of Apple and the Objective C compiler. | 18:29 |
| windle | Sure, its not in every case, but overall the biggest contributions of code I've seen dumped by companies into the OS community has been by choice, not by GPL force. | 18:30 |
| elefth | I don't think that you can quantify something like that so easy. | 18:30 |
| windle | The stuff IBM has dumped into open-source has been huge, and they did that without being strong-armed by a license. | 18:30 |
| windle | yea, I think I can, mainly because there's been a few companies that have dumped millions of lines of code into open-source | 18:31 |
| windle | but anyways, as I said, with web infrastructure code, the GPL is harmless as its intent is side-stepped by the web service loophole | 18:32 |
| windle | I like the BSD license, so I use that, and lots of companies are clear on their stance with that license | 18:32 |
| CIA-22 | pylons: bbangert * r1938 /pylonshq/trunk/ (4 files in 3 dirs): Updated version number and news. | 18:33 |
| elefth | the BSD license does not protect the open/free software pool. Anyone can contribute and anyone can take away without putting anything back. In the case of web software maybe you are right that the GPL intentions are side-stepped; I will check and read about it. | 18:35 |
| windle | elefth: same with the GPL | 18:36 |
| windle | when it comes to web apps | 18:36 |
| elefth | I'm half asleep here...02:35... | 18:36 |
| windle | flickr uses GPL code, do you see flickr source code out there? | 18:36 |
| windle | running a web service doesn't count as "distribution" | 18:37 |
| elefth | windle, no, but that's only part of the story | 18:37 |
| windle | thus, no having to give anything back | 18:37 |
| elefth | of course | 18:37 |
| elefth | thanks for the chat, I'm off to bed :-) | 18:38 |
| CIA-22 | pylons: bbangert * r1939 /pylonshq/trunk/pylonshq/templates/layout.html: Updating YUI grids to use Yahoo network. | 18:40 |
| *** efm_ has quit IRC | 18:46 | |
| CIA-22 | pylons: bbangert * r1940 /pylonshq/trunk/pylonshq/controllers/pastetags.py: Str'ing tag name before lookup. | 18:49 |
| triplah_w | how would i get more verbose errors from sqlobject? | 18:54 |
| triplah_w | ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to, depends, terms, command, state, frm, jobid) VALUES ('1', NULL, 'design', 'co' at line 1 | 18:55 |
| triplah_w | that doesnt really tell me much | 18:55 |
| triplah_w | it cuts the important part of the error off | 18:55 |
| pjenvey__ | that's probably the fault of the mysql lib | 18:57 |
| Chairos | yeah | 18:57 |
| triplah_w | windle: afaik Google contributes patches made to OSS back to the relevant communities | 18:57 |
| Chairos | that's not SO's exception. | 18:57 |
| triplah_w | i figured the TB was cutting it off somewhere | 18:57 |
| Chairos | also it doesn't seem to be using bind variables. | 18:57 |
| Chairos | which frightens me. | 18:57 |
| triplah_w | well that sucks :\ | 18:57 |
| triplah_w | i added two new columns to my db | 18:58 |
| triplah_w | but everything seems in order, so i cant actually spot the problem with my code | 18:58 |
| pjenvey__ | turn the sql echoing on | 19:00 |
| triplah_w | maybe i can get sqlobject to print the query it tries to execute | 19:00 |
| triplah_w | yep | 19:00 |
| matt_good | anyone know where the post was on the problems with trying to write your own glue instead of using a framework | 19:01 |
| fullpony | has anyone here played with Sookti at all? | 19:02 |
| triplah_w | matt_good: i think there was a post by jesusphreak | 19:03 |
| triplah_w | i'll grep some logs for it | 19:03 |
| triplah_w | matt_good: http://jesusphreak.infogami.com/blog/vrp1 | 19:04 |
| triplah_w | there is only a small paragraph there on RYO problems | 19:04 |
| triplah_w | prob not the article you want | 19:05 |
| triplah_w | INSERT INTO command (to, depends, terms, command, state, frm, jobid) VALUES ('1', NULL, 'support', 'comp', 'new', '1', 1) | 19:09 |
| justin | is 'to' a reserved word? | 19:11 |
| matt_good | triplah_w: yeah, I think there was another, but it looks like I don't need the comparison since we're going to go ahead with Pylons | 19:12 |
| triplah_w | justin: mysql didnt complain when i created a column with "to" as the name | 19:12 |
| triplah_w | matt_good: excellent | 19:12 |
| matt_good | though in looking, I did reread Ben's post on the issue of middleware that shouldn't be middleware: http://groovie.org/articles/2007/02/11/wsgi-middleware-isnt-middleware-time-for-better-language | 19:14 |
| matt_good | I kind of have to wonder why Alchemyware is middleware | 19:14 |
| triplah_w | justin: meh! that fixed it | 19:14 |
| matt_good | I don't really see a need to put your SA sessions in the environ instead of using the SessionContext stuff more directly | 19:15 |
| matt_good | but I guess elefth is away now | 19:16 |
| *** scane__ has joined #pylons | 19:21 | |
| *** efm_ has joined #pylons | 19:22 | |
| *** zzzeek_ has joined #pylons | 19:33 | |
| *** scane_ has quit IRC | 19:34 | |
| *** efm_ has quit IRC | 19:35 | |
| ianbicking | is there a way to force something to act like a container with Routes? (i.e., require a trailing slash) | 19:43 |
| ianbicking | I set up a route for ':bundle/', but I can match a URL with no trailing slash with this | 19:44 |
| ianbicking | and that of course isn't right | 19:44 |
| ianbicking | ideally I'd want to redirect, or set up a route to force a redirect somehow...? | 19:44 |
| Chairos | I don't think windle believes in trailing slashes. | 19:46 |
| ianbicking | a Zope afficianato? | 19:46 |
| ianbicking | they don't like trailing slashes either. Me, I'm a canonical URI kind of guy. | 19:46 |
| ianbicking | if I have /foo/bar, I don't really think I should have any /foo URLs, just /foo/ | 19:47 |
| *** efm has joined #pylons | 19:48 | |
| *** zzzeek_ has quit IRC | 19:53 | |
| *** scane__ has quit IRC | 20:04 | |
| *** scane_ has joined #pylons | 20:04 | |
| *** efm_ has joined #pylons | 20:07 | |
| *** efm has quit IRC | 20:09 | |
| windle | ianbicking: it can prolly be done | 20:14 |
| ianbicking | well, obviously it *can* be done. Is there a right way to do it? | 20:15 |
| ianbicking | it seems like it should be simple/automatic | 20:15 |
| windle | well, ideally you would have an option so that when it determines how to leave off url's, it requires each part to end in / | 20:17 |
| windle | and it'd need to leave a / at the end if you put one there | 20:17 |
| windle | file a ticket for it, I'll add it | 20:17 |
| windle | ianbicking: are there speed improvements in Paste 1.3 that weren't in 1.1? | 20:19 |
| windle | the http server it comes with? | 20:19 |
| windle | when I changed PylonsHQ to Pylons 0.9.5 and it updated all the stuff.... it got faster | 20:20 |
| *** fullpony_ has joined #pylons | 20:20 | |
| *** fullpony_ has quit IRC | 20:21 | |
| ianbicking | windle: maybe the threadpool wasn't on in 1.1? | 20:24 |
| ianbicking | otherwise no | 20:24 |
| windle | hmm | 20:24 |
| windle | maybe its Mako 0.1.5 instead of Mako 0.1.0 | 20:24 |
| ianbicking | I filed a ticket for the Routes thing | 20:24 |
| windle | whatever it is, I like it | 20:24 |
| ianbicking | cool; StaticURLParser really needs a speed improvement | 20:24 |
| ianbicking | and I need to finish that benchmarker; has anyone used httperf before? | 20:24 |
| windle | there's that other tool too | 20:24 |
| windle | uhhh | 20:25 |
| *** scane_ has quit IRC | 20:25 | |
| windle | http://cheeseshop.python.org/pypi/funkload/1.6.2 | 20:25 |
| ianbicking | yeah; it seems more complicated | 20:25 |
| ianbicking | I don't think I need that complicated | 20:25 |
| *** scane__ has joined #pylons | 20:25 | |
| ianbicking | even httperf has lots of options; suggestions on good options would be useful in and of itself | 20:25 |
| windle | hmmm | 20:28 |
| windle | so tricky to put together a comprehensive release note when so many packages have changes ;) | 20:29 |
| ianbicking | you need a news-file-parser | 20:29 |
| ianbicking | and some svn tools | 20:29 |
| windle | oh yea, that reminds me! | 20:31 |
| ianbicking | buildutils should be more awesome than it is | 20:31 |
| windle | yea | 20:32 |
| CIA-22 | pylons: bbangert * r1941 /Pylons/tags/0.9.5/: Tagging 0.9.5 version | 20:32 |
| ianbicking | way too many possible projects | 20:32 |
| ianbicking | is this what interns are for? | 20:32 |
| ianbicking | hmmm... SoC? | 20:32 |
| CIA-22 | pylons: bbangert * r1942 /Pylons/tags/0.9.5/setup.cfg: Auto-update of version strings | 20:32 |
| windle | lol | 20:32 |
| CIA-22 | pylons: bbangert * r1943 /Pylons/trunk/setup.py: Auto-update of version strings | 20:33 |
| windle | that sounds like a great SoC | 20:33 |
| ianbicking | is it too late to get into SoC? | 20:33 |
| windle | someone fix pudge and buildutils :) | 20:33 |
| ianbicking | this is all PSFable, I think | 20:33 |
| windle | thats totally PDFable | 20:33 |
| ianbicking | ugh, managing sucks too | 20:33 |
| *** fullpony has quit IRC | 20:36 | |
| triplah_w | has anyone ever prep'ed a proposal for a pylons SoC ? | 20:39 |
| ianbicking | to be a mentoring organization? | 20:40 |
| ianbicking | I don't think so | 20:40 |
| windle | hmm | 20:45 |
| windle | ianbicking: threadpool wasn't on by default in 1.1? | 20:45 |
| *** zzzeek_ has joined #pylons | 20:47 | |
| ianbicking | I don't think so | 20:47 |
| ianbicking | so I'm subscribed to the Python SoC list; I'll see what's up there | 20:48 |
| ianbicking | I have no interest in random applications, though | 20:48 |
| ianbicking | So I dunno | 20:48 |
| *** zzzeek_ has quit IRC | 20:48 | |
| pjenvey__ | threadpool defaulting is pretty old now, i'm sure it was in 1.1 | 20:49 |
| ianbicking | cce turned it off in the trunk. I should turn it back on. | 20:49 |
| ianbicking | maybe with a max-requests-to-live for each worker thread | 20:50 |
| ianbicking | I think that would mitigate any remaining problems | 20:50 |
| pjenvey__ | i'm not sure what his problems were about | 20:50 |
| ianbicking | maybe I will do that now | 20:50 |
| pjenvey__ | sounded like it might not be threadpool's fault | 20:50 |
| ianbicking | I think it the fault of long-lived threads | 20:51 |
| ianbicking | maybe threadlocal stuff that accumulated indefinitely | 20:51 |
| ianbicking | anyway, max-requests-to-live is a good feature anyway | 20:51 |
| windle | yea | 20:52 |
| CIA-22 | pylons: pjenvey * r1944 /Pylons/trunk/docs/form_handling.txt: /tmp isn't a very appropriate example for a 'permanent_store' directory | 20:55 |
| ianbicking | ok, back on, plus a request limit | 21:00 |
| *** scane__ has quit IRC | 21:02 | |
| *** scane_ has joined #pylons | 21:02 | |
| *** cwells has quit IRC | 21:04 | |
| ianbicking | oh, looks like Google just finished SoC selection? | 21:10 |
| ianbicking | oh well, nevermind all that then | 21:10 |
| *** cwells has joined #pylons | 21:16 | |
| *** scane_ has quit IRC | 21:52 | |
| *** scane_ has joined #pylons | 21:52 | |
| *** scane_ has quit IRC | 22:23 | |
| *** scane__ has joined #pylons | 22:23 | |
| *** etrepum has joined #pylons | 22:38 | |
| *** etrepum_ has quit IRC | 22:38 | |
| windle | ianbicking: they already finished the SoC selection? | 23:17 |
| wiggy | they did | 23:21 |
| windle | huh | 23:22 |
| windle | I totally wasn't paying attention this year. heh | 23:22 |
| *** windle has quit IRC | 23:26 | |
| *** tanuki has quit IRC | 23:30 | |
| *** pion33r has quit IRC | 23:31 | |
| *** ronchilla_ has joined #pylons | 23:34 | |
| *** ronchilla__ has quit IRC | 23:35 | |
| *** rope has joined #pylons | 23:46 | |
Generated by irclog2html.py 2.4 by Marius Gedminas - find it at mg.pov.lt!