Wednesday, 2007-04-11

*** AlexCONRAD has joined #pylons00:37
*** jimt has joined #pylons00:38
*** Jim7J1AJH has quit IRC00:39
*** POX_ has quit IRC00:40
*** Jim7J1AJH has joined #pylons00:40
*** pjenvey_ has quit IRC00:58
*** ronchilla_ has joined #pylons01:15
*** ronchilla has quit IRC01:15
*** ronchilla_ has quit IRC01:32
*** ronchilla_ has joined #pylons01:32
*** rope has joined #pylons01:37
*** gldnspud has quit IRC01:54
*** gldnspud has joined #pylons01:55
*** POX_ has joined #pylons02:01
*** goibhni1 has joined #pylons02:13
*** gjh has joined #pylons02:30
*** kg has joined #pylons03:00
*** nathan^ has quit IRC03:06
*** Chairos has quit IRC03:08
*** jimt has quit IRC03:33
*** Chairos has joined #pylons03:43
*** ronchilla__ has joined #pylons03:47
*** ronchilla_ has quit IRC03:47
*** rope has quit IRC03:56
*** scane has joined #pylons03:56
scaneHi. Do I have to reload something when I change routing.py and if so how? Thank you.03:58
*** ronchilla__ has quit IRC03:58
*** ronchilla__ has joined #pylons03:58
scaneI 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't03:59
_damjan_it does it automagically03:59
scane_damjan_: thank you. so there must be some other reason. It is strange, when I remove all route the app still works04:03
scaneMaybe it is because of some caching. And browser caching (opera here) and pylons caching both might be involved04:04
_damjan_you use caching in development?04:05
scanei 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 caching04:08
_damjan_scane: you can put a 'print xxx' statement in the controller to see if it's hit04:10
eleftheriosscane, I think best would be using FF instead of either IE or Opera04:10
_damjan_and Linux while at that :)04:10
eleftheriosand while you're at it, install Firebug too04:10
eleftherioshttp://pylonshq.com/project/pylonshq/query?group=status&milestone=0.9.604:11
eleftheriosI get lots of internal server errors04:11
scanethank you. good idea. I will google for firebug. os cannot be changed it is not my own machine, they use windows.04:12
eleftheriosscane, once you use firebug you won't believe how you could have lived without it04:14
eleftheriosscane, good luck with you OS change too, I hope it happens some time soon04:14
eleftheriosDebian 4.0 (Etch) is released by the way ;-)04:15
eleftherios_damjan_, http://pylonshq.com/project/pylonshq/ticket/203 <- you're right04:17
_damjan_eleftherios: yes, ben agreed about it too04:21
_damjan_but the patch broke some test04:22
eleftheriosoh04:22
Brackiinstall IETab for FF as well so you can test IE weirdness in a cozy atmosphere..04:34
*** Chairos has quit IRC04:41
*** Chairos has joined #pylons04:42
*** jbb666 has joined #pylons05:11
eleftheriosBracki, haha, well put :-)05:24
*** ronchilla_ has joined #pylons05:27
*** ronchilla__ has quit IRC05:27
*** goibhni1 is now known as goibhniu05:50
*** pjenvey_ has joined #pylons06:06
*** pjenvey has quit IRC06:18
*** luckymurali_81 has quit IRC06:19
*** nathan^ has joined #pylons06:23
nathan^:P06:23
vednis_eeewww, got my unit test to dump core06:40
vednis_not bad for a web app :)06:40
xorAxAxvednis_: sqlite?06:42
vednis_xorAxAx, yep, with a no-so-specially crafted SQLAlchemy transaction06:42
vednis_right out of the SA docs, actually06:43
xorAxAxpysqlite bug06:47
vednis_ah06:47
xorAxAxdont forget to file a ticket after you have checked the newest versions06:47
xorAxAxwell, its rather easy - cpython itself is hard to crash06:48
vednis_what's rather easy?06:48
xorAxAxs/easy/obvious/06:50
vednis_xorAxAx, that worked, I went from pysqlite 2.3.2 to 2.3.3, and SA throws the proper error06:50
vednis_thanks for the help06:52
*** creiht has joined #pylons06:54
*** jbb666 has quit IRC07:01
*** lisppaste5 has quit IRC07:08
*** MarkB1 has joined #pylons07:16
*** lisppaste5 has joined #pylons07:16
*** pobrien has joined #pylons07:21
*** Kush- has joined #pylons07:29
*** windle has quit IRC08:25
*** beluga9 has joined #pylons08:42
*** POX_ has quit IRC08:53
*** POX_ has joined #pylons08:55
*** dds has joined #pylons08:56
ddsianbicking: around?08:58
ianbickingdds: yeah, a bit08:59
ddsianbicking: I have a testcase for you to show that paste.deploy.appconfig() fails if you have a filter defined09:00
ianbickingdds: are you using filter-with ?09:00
ddsyes09:00
TownCrierpylons: 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
ianbickingI've noticed a problem with that, but haven't had a chance to look closely yet09:00
ddssorry I meant to say filter-with defined09:00
ianbickingyeah; filter-app/next works fine, but filter-with has a problem with appconfig.09:00
ddsok09:01
ddsbut, then, the config that you read with appconfig() is different.09:05
ianbickingI'm not saying that it's not a bug09:12
TownCrierpylons: 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 IRC09:19
*** ronchilla_ has joined #pylons09:19
*** efm_ has quit IRC09:39
*** efm has joined #pylons09:42
*** AlexCONRAD has quit IRC09:46
*** __pv has joined #pylons09:58
*** efm_ has joined #pylons10:01
*** efm has quit IRC10:03
*** alex____ has joined #pylons10:05
*** alex____ is now known as tarez10:06
tarezhello, newbie here!10:06
tarezI'm having an issue on Windows with the helloworld/getting started walkthrough10:07
tarezhi all10:11
Chairoshello10:11
Chairosthis time of day a lot of people are usually idle.10:11
Chairosso, what's your issue?10:11
tarezwell, when I do paster serve --reload development.ini, I get an error that seems to come from subprocess.py10:12
Chairoscan you paste the complete traceback here? http://pylonshq.com/pasties10:13
tarezwindows says "filename, directory name, or volume lable syntax is incorrect"10:13
ianbickingtarez: do you have Paste 1.3.2 ?  There was a Windows fix in it10:13
Chairoshttp://pylonshq.com/pasties/new10:13
tarezlet me check on the Paste version10:13
tarezthere's the traceback10:15
tarezhttp://pylonshq.com/pasties/21210:15
tarezit looks to be the same error as http://pylonshq.com/pasties/21110:16
tarezPaste is 1.3.2 on my box, I just installed Pylons today10:17
*** dds has quit IRC10:18
tarez@ianbicking: your form generation blog posts have sparked lively conversation in our office10:19
tarez:)10:19
ianbickinghrm... looks like I fixed that in paste.script.command, but not serve10:22
ianbickinghrm... oh, yeah10:25
ianbickingI think there's a workaround of a bug that maybe has been fixed in Python 2.510:25
ianbickingthere's this bug: http://groups.google.com/group/pylons-discuss/browse_thread/thread/87374554e4cb15fb/00ba506b1acd4880?lnk=gst&q=pasterscript&rnum=1&hl=en#00ba506b1acd488010:27
ianbickingwell, that report10:27
*** pjenvey__ has joined #pylons10:27
ianbickingand 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 what10:27
ianbicking*probably* I can just do a version check, and only do that quoting thing for Python 2.4 and under10:28
ianbickingbut I'd like some confirmation from a Windows user10:28
ianbickingif someone can provide some confirmation, I can do another PasteScript release with that fix10:29
*** westpjc has joined #pylons10:33
rbmianbicking: I really liked your blog post about form libraries10:33
tarezI'm a windows user and I'd be glad to help out...10:37
tarezwhat would you like me to test? I have 2.5 now but I can install 2.4 if need be10:37
tarezbtw, there's no space in my Python path...10:39
*** ronchilla has joined #pylons10:42
*** ronchilla_ has quit IRC10:42
ianbickingtarez: if you can test it under Python 2.4 that would be helpful10:43
ianbickingI suspect it works under 2.4, because all the reports I've gotten are from 2.5 users10:44
tarezalright, let me get it installed and then I will report back10:44
ianbickingideally 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
tarezcan do10:44
tarezwill 2.4.4 do?10:44
*** goibhniu has quit IRC10:45
ianbickingtarez: yes, I think any version of 2.4 should be fine10:47
tarezso, I installed Python in 'C:/Program Files/Python24/'10:54
tarezthen I ran 'python ez_setup.py Pylons'10:55
tarezI had already changed my PATH variable to point to the 24 install in Program Files10:55
tarezrunning this: paster create --template=pylons helloworld10:56
tarezgave me this: Cannot find Python executable C:\Program10:56
*** matt_good has quit IRC10:56
tarezthough I can acces python with only 'python' and it starts the interactive shell for the 2.4 install10:58
aa_tarez: yeah, you need to run on windows...um.. paster_script ? or something like that11:00
aa_tarez: paster does something weird11:01
aa_python paster_script.py something11:01
tarezhmm, 'paster' worked with 2.5 and no space in the python install path11:01
aa_hmm, yeah, maybe it's the space, my python ws in program files11:02
tarezI think it has to do with the space in the path that ian is looking at11:02
*** ronchilla has quit IRC11:02
*** ronchilla has joined #pylons11:02
tarezI am running through the same test on 2.5 now11:11
tarezyep, same error on 'paster create' command11:12
*** kooph has joined #pylons11:12
koophhi11:12
tarezthe space is definitely the issue with 2.4 and 2.511:12
tarezhi kooph11:13
koophbeaker middleware is maintained by ben?11:14
ianbickingtarez: so the quote marks don't help with the space?11:15
ianbickingkooph: no, beaker is not I11:15
ianbickinghrm... there should be *something* that will help when there's a space11:15
ianbickingProgram\ Files ?11:16
tarezapparently 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 space11:16
ianbickingor is there a good API to get the short form of the filename11:16
ianbickingprogra~111:16
kooph:)11:16
tarezthe 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
tarezthe short form might be a solution11:17
koophbut session module is taken from myghtyutils, right?11:18
tarezhere's someone doing it in Jython: http://mail.python.org/pipermail/python-list/2002-February/126796.html11:19
tarezobviously a long time ago...I just noticed the 200211:20
tarezbut he's shelling out to the Windows Script Host, so that's not really a great solution11:20
ianbickingtarez: do any of os.path.normpath, normcase, realpath, abspath give you a more usable path?11:31
tarezgood question, let me take a look11:32
tarezI'm a bit of a Python noob, so I don't know exactly how to see those11:34
tarez:)11:34
tarezfirst I did 'import os'11:34
tarezbut when I do 'print os.path.normpath' I get '<function normpath at 0x00A3B270>'11:35
ianbickingtarez: os.path.normpath(r'C:\Program Files\Python25\Python.exe')11:37
tareznone of those you listed seem to get rid of the space.11:39
ianbickingdamn11: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
ronchillaos.path.normpath(r'C:\Program Files\Python25\Python.exe')11:42
ronchillaoops11:42
*** ianbicking is now known as ianbicking|mtg11:42
nathan^Can anyone here help me with apache and url rewriting?11:43
nathan^Here is my problem11:44
*** benbangert has joined #pylons11:44
*** keren23f has joined #pylons11: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=72343211:45
nathan^With PHP, this worked out just fine11:46
nathan^But we're migrating to python/myghty and I get a 404 now when I request /foo-723432/bar/snark/boojum11:46
nathan^Can anyone help me?11:46
benbangertnathan^: uhhh, thats weird11:48
benbangertnathan^: what do you mean it rewrites the URL?11:48
*** gldnspud has quit IRC11:48
nathan^Yeah.11:48
benbangertin your script, if you print out request.environ['PATH_INFO'] does it show the proper URL?11:48
*** gldnspud has joined #pylons11: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 runs11:49
*** zzzeek_ has joined #pylons11:51
nathan^zzzeek_11:51
tarezwhat does the rewrite rule itself look like?11:51
nathan^ RewriteRule /trip-([0-9]*)/.*/ /user/trip.myt\?tab=airlines&id=$1 [L]11:51
benbangertohh11:53
benbangertnathan^: ok, so whats the problem?11:53
nathan^I get a 40411:53
nathan^It works for the PHP portion of the site11:53
nathan^But I switched the rule now that I have the myt portion finished and I get a 404 :(11:54
benbangertI have no idea how you have that URL mapped to Myghty11:54
benbangertAre you using Pylons?11:54
nathan^Pretty much all that changed is trip.php to trip.myt11:54
nathan^I'm not. :(11:54
benbangertThen it comes down to how you have Myghty configured11:54
nathan^Okay.11:54
nathan^So what should I read to understand what I need to change?11:55
benbangertAre you using mod_python?11:55
nathan^Yes.11:55
benbangertSo you probably don't have the section in there for the .myt files setup to dispatch properly11:55
nathan^Okay.11:56
nathan^Can you give me a for example, or something? So I know where to start?11:56
benbangertI haven't setup a mod_python Myghty block in about 3 years now, so I'm at a loss on that11:57
koophwhere i can setup url prefix for pylons?11:59
koophapp/config/environment.py?11:59
*** fullpony has joined #pylons11:59
nathan^benbangert, can you point me somewhere to get me started?  I still have no idea what to do12:00
benbangertkooph: I'd recommend using the PrefixMiddleware12:01
*** FlimFlamMan has joined #pylons12:01
benbangertkooph: http://pylonshq.com/docs/application_configuration.html12:02
benbangertnear the bottom12:02
*** ronchilla has quit IRC12:03
*** ronchilla has joined #pylons12:03
stegmaths exam >:(12:04
stegI would rather program12:04
koophbut from where i can import prefixmidlleware?12:09
koophor it is separate project12:10
*** matt_good has joined #pylons12:10
koophok, i see it in paste12:10
koophgee.. i know that paste can lot of things, but it still suprises me:)12:11
benbangert:)12:12
*** ronchilla_ has joined #pylons12:14
*** ronchilla has quit IRC12:17
vednisOT 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
koophok, now the hardest part: reportlab. anyone used it lately?12:18
* vednis .o( whoa, 76 people in here. Cool! :)12:19
pjenvey__really? wowza12:20
SignumHas 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
SignumPOX_: Uhm... shouldn't be in unstable.12:27
SignumPOX_: Oops. Since when do experimental packages go through the NEW queue?12:28
POX_since always?12:28
SignumThat's a long time. :)12:28
POX_;)12:28
*** cwells has joined #pylons12:31
nathan^benbangert12:31
nathan^Or anyone :)12:31
benbangertindeedy12:31
nathan^SO12:31
benbangertoops, lunch, brb12:31
nathan^I think what I need is12:31
nathan^Ack12:31
nathan^Okay I'll go get lunch also12:31
nathan^BRB12:31
vednisyou know what the best part about learning elisp is?  You learn something new with almost any code you look at.12:35
vednisBut, at the same time, the code is understandable - you can tell what is happening by the context.  Pretty cool.12:36
koophbye12:41
*** kooph has quit IRC12:41
scanevednis, elisp is a scripting language for the emacs editor?12:42
vednisscane, yes, it is a derivative of Common Lisp12:42
vednisbut very similar12:42
*** rope has joined #pylons12:44
nathan^So12:49
nathan^I think I need PythonOption MyghtyPathTranslate12:49
stegis it still dynamically scoped? :P12:49
nathan^But when I try using it, just like the docs suggest12: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 error12:50
nathan^Oh12:57
nathan^It wants a ','12:57
*** etrepum_ has joined #pylons12:58
*** etrepum has quit IRC12:58
nathan^I'm pretty sure this is what I want, but, I need help understanding how to write the MyghtyPathTranslate rule12:58
ianbicking|mtgtanuki: maybe win32api.GetShortPathName('...') would work?  Requires win32api, but we could check for a space before bothering with this13:02
ianbicking|mtgI think win32api is also installed by default13:02
xorAxAxnope13:02
ianbicking|mtgwell, we can just tell them to install it if it's necessary to fix this problem13:03
ianbicking|mtgso long as you don't need it if you don't have a space in the filename13:03
benbangertianbicking|mtg: http://pylonshq.com/project/pylonshq/ticket/22913:05
benbangerthave you seen that issue before?13:05
benbangertseems like another special setuptools thing ;)13:05
TownCrierpylons: 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
benbangertnathan^: the Myghty website docs would be the best choice13:06
benbangertor the mail list13:06
nathan^Hm13:06
*** efm_ has quit IRC13:06
nathan^Yeah when I search the site there's pretty much one example of using it, and it's not even correct13:08
benbangertit took me quite awhile to get things working right back when I used Myghty13:11
benbangertI'd highly suggest just going with Pylons + Mako ;)13:11
benbangertyou can have it go straight to templates in a template directory13:11
benbangertit doesn't have to use the whole MVC thing13:11
steghmm13:12
stegdo you guys try and write designer-friendly templates?13:12
stegor not worry about it?13:12
nathan^Yeah I wish my boss would let me, ben13:12
*** westpjc has quit IRC13:12
stegyou can do some really cool stuff with mako13:13
stegbut I guess some of it would be impenetrable to your average designer13:13
benbangertsteg: yea, though I'd generally just try and sweep the stuff that might confuse the designer into a separate template thats just called in13: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 URL13:13
benbangertand teach them the basics so that they can use components13:14
nathan^SO I wouldn';t have to rewrite the URL at all13:14
stegbenbangert: I'm wondering if things like toscawidgets could compound the problem13:14
stegbenbangert: because instead of "a page" there's lots and lots of little bits that are all tied together13:14
benbangertprobably, 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
stegand you need to understand how they are tied together in order to work out what goes where13:15
stegyeah13:15
benbangertwell, the question is whether its worth it.... which I think it could easily be13:15
benbangertit depends what kind of designer you're talking about13:15
benbangertthe Photoshop/Fireworks designer who makes the layout, then lets the software try and make a web page from it13:15
benbangertor the designer who looks at the design, gets the images right, writes the CSS and HTML, etc.13:15
benbangertthe latter should have no problem13:16
stegyes, that's true13:16
benbangertcause Mako templates are easier than the crazy CSS/HTML shit designers have to deal with13:16
stegthere'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
benbangertthey spend days getting rid of a 5px margin that occurs only on IE 5.5 hehe13:16
stegso I am going to make use of him13:16
stegbecause I think he'll enjoy it13:16
benbangertand plenty of designers even know some JS, which is also more complex than basic Mako functions13:17
stegbenbangert: absolutely, I don't know how they deal with that sort of thing13:17
stegwould drive me insane13:17
CIA-22pylons: pjenvey * r1929 /Pylons/trunk/ (CHANGELOG pylons/commands.py):13:18
CIA-22pylons: don't assume the first package listed in top_level.txt is the base package for paster shell13:18
CIA-22pylons: Patch from Alberto Valverde13:18
CIA-22pylons: Fixes #22913:18
TownCrierpylons: 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-22pylons: pjenvey * r1930 /Pylons/trunk/pylons/commands.py:13:29
CIA-22pylons: o avoid paster shell reimporting the models and base packages if they've13:29
CIA-22pylons: already been found, otherwise it could think they weren't found when there's13:29
CIA-22pylons: > 1 top_level.txt entries13:29
CIA-22pylons: o refactor validate_name to use can_import13:29
CIA-22pylons: o fix paster [rest]controller's PYTHON_PATH clash message's whitespace13:29
CIA-22pylons: o add __all__13:29
*** efm_ has joined #pylons13:30
TownCrierpylons: 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
TownCrierpylons: 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
TownCrierpylons: 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-22pylons: pjenvey * r1931 /Pylons/trunk/pylons/commands.py:13:43
CIA-22pylons: only attempt to import the models package immediately after finding the base package, this is more correct13:43
CIA-22pylons: Refs #22913:43
TownCrierpylons: 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 trac13: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 #pylons13:56
CIA-22pylons: 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 names13:57
*** cwells has quit IRC13:58
*** cwells_ is now known as cwells13:58
*** __pv has quit IRC13:59
tarezinianbicking|mtg: for now, I just installed in a path with no space, but still getting this problem: http://pylonshq.com/pasties/21214:02
tarezoops, fat-fingered it14:03
tarezianbicking|mtg: for now, I just installed in a path with no space, but still getting this problem: http://pylonshq.com/pasties/21214:03
ianbicking|mtgwell, maybe it's fixed for all cases on Windows now14:48
ianbicking|mtgWindows users can easy_install PasteScript==dev to test14:48
*** matt_good has quit IRC14:48
Chairosianbicking|mtg: where did the problem occur, paster serve?14:52
ianbicking|mtgyeah14:52
*** ianbicking|mtg is now known as ianbicking14:52
* Chairos installs py2.5 on his windows vm.14:53
ianbickingyou should be able to install into Program Files and have it work too, if you have win32all14:53
ChairosI won't be trying that.14:53
ianbickingjust for kicks?14:54
Chairosunless win32all comes with the py2.5 msi, I don't have it.14:54
tarezpulling down the dev code now14:58
*** creiht has quit IRC14:58
tarezoops, forgot there's no svn on this machine...doh!14:58
* pjenvey__ punches windows in the face14:58
tareznow we get to see if TortoiseCVS and TortoiseSVN play nice14:59
*** fullpony has quit IRC14:59
tarezoh god, of course, it wants to reboot15:02
* tarez thanks pjenvey__ for his preemptive strike15:02
Chairosyou can install SVN without TortoiseSVN15:02
*** ronchilla_ has quit IRC15:02
*** ronchilla_ has joined #pylons15:02
tarezyou can, but I had tortoisesvn on the network and I'm lazy15:02
tarezBRB15:03
*** tarez has quit IRC15:03
Chairosianbicking: works great here.15:03
Chairosgot XP SP2, py2.515:03
Chairosinstalled to c:\Python2515:03
*** tarez has joined #pylons15:07
*** sickill has joined #pylons15:08
tarezok, installing svn didn't help, the console still can't find 'svn'15:11
tarezback to PATH editing for me15:12
tarezhrm...the PasteScript==dev easy install ain't so easy because Windows can't find svn which I just installed15:14
* tarez asks his boss about that MacBook again15:15
sickillhi 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 40415:18
Chairossickill: 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 fine15:18
Chairostarez: installing http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe worked for me15:18
nathan^I think I need to use PythonOption MyghtyPathTranslate15:19
Chairosnathan^: I think the lesson here is that mod_python is a piece of crap.15:19
nathan^Or something15:19
tarezChairos: thanks, on my way15:19
nathan^Yeah we're all set up to use it15:19
ChairosBitTorrent.com uses Myghty with FastCGI.15:19
nathan^What do you suggest? :P15:19
nathan^Hm.15:19
sickillChairos: here it is: http://pylonshq.com/pasties/21415:19
ChairosI recommend a mod_proxy to a WSGI appserver like paste.httpserver15:19
pjenvey__Chairos - supposedly bitttorrent.com is Pylons now15:20
tarezBRB15:20
*** tarez has quit IRC15:20
nathan^Yeah we cant switch right now15:20
nathan^I'm pretty much locked into wasting time getting this to work15:21
nathan^I guess15:21
Chairossickill: try deleting the 'data' directory in your project root and relaunching your paster serve.15:21
*** ronchilla__ has joined #pylons15:22
nathan^So, since changing from myghty/mod_python isn't an option, can anyone suggest anything to help me?15:22
Chairosmodify your file structure so you don't need rewrite-rules?15:23
ChairosI dunno.15:23
Chairosthere's a mod_python mailing list.15:23
nathan^Yeah I can't find the info on it.15:23
sickillChairos: holy cow! it did it! thx very much :)15:24
Chairossickill: glad to help15:24
Chairosnathan^: http://mailman.modpython.org/mailman/listinfo/mod_python15:25
*** ronchilla_ has quit IRC15:25
*** keren23f has quit IRC15:26
*** tarez has joined #pylons15:26
Chairoswb tarez15:26
tarezthanks15:26
tarezthe update to PasteScript worked, thanks Chairos15:27
tarezer, thanks for the tip on SVN15:27
tarezthanks to Ian for the fix, now let's test it.15:27
tarezsuccess15:28
Chairosyay15:28
tarezianbicking: no spaces in my install path, but the patch seems to work15: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 #pylons15:33
Chairosnathan^: myghty.org -> @sourceforge link -> Subscribe -> https://lists.sourceforge.net/lists/listinfo/myghty-users15:33
*** sickill has left #pylons15:33
nathan^<315:35
*** mike8 has joined #pylons15:38
*** mike8 has left #pylons15:39
*** mike8 has joined #pylons15:40
*** tarez_ has joined #pylons15:41
*** tarez has quit IRC15:47
*** tarez_ is now known as tarez15:47
*** pobrien has quit IRC15:49
*** kg has joined #pylons15:51
*** kg has joined #pylons15:52
*** pobrien has joined #pylons15:52
*** zzzeek_ has quit IRC15:59
*** kg has left #pylons16:03
*** zzzeek_ has joined #pylons16:07
*** pjenvey__ has quit IRC16:08
tarezgood bye...thanks for help. I am off for the evening.16:08
*** pjenvey__ has joined #pylons16:08
*** tarez has quit IRC16:09
CIA-22pylons: bbangert * r1933 /Pylons/trunk/setup.py: Removing the last of the old dependencies that used dev versions.16:16
nathan^<3 the community16:16
*** justin has joined #pylons16:17
*** zzzeek_ has quit IRC16:18
benbangertChairos: you ever get a thing to grab all the egg's for Pylons?16:19
CIA-22pylons: bbangert * r1934 /Pylons/trunk/setup.cfg: Changing doc output dir to 0.9.516:21
xorAxAxwas there a release?16:22
benbangertyes16:22
benbangertI just put it up on cheeseshop16:22
*** ChanServ sets mode: +o benbangert16:23
xorAxAxneat16: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
primcoHEY! congrats.16:23
xorAxAxweeee, no more cheetah issues!16:24
xorAxAxtg is dead, long  live pylons :-)16:24
vednisgreat16:24
vednis!!16:24
vednisdarn enter key16:25
vednisbenbangert, what do you think the best part of the 0.9.5 release is?16:26
benbangerti18n16:26
benbangertthere's lots of i18n stuff all over16:26
xorAxAxi.e. mainly? :)16:26
benbangertstuff to ensure your query and form args are utf-8, stuff to get the right language and such from the user16:27
benbangertbut hell, there's a lot of stuff in this release16:27
xorAxAx:)16:27
benbangert46 tickets closed16:27
vedniswow, nice16:27
justinso... how much is my app going to break? :-D16:27
benbangertthe next highest release in history was only 24 tickets16:27
benbangertjustin: look for the WARNING in changelog16:27
vednisjustin: hehehe :)16:27
CIA-22pylons: bbangert * r1935 /Pylons/trunk/CHANGELOG: Updating CHANGELOG for release.16:29
nathan^benbangert16:29
nathan^Does the new pylons come with the