| *** 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 |
|---|