AuthKit: code typo

2006-12-17 Thread Bill
http://authkit.org/trac/browser/AuthKit/trunk/authkit/authenticate/__init__.py#L327 references AuthConfigError instead of AuthKitConfigError: # # Configure the config files # if config_file and config_paste: raise AuthConfigError( <<< HERE 'Please sp

Re: pase 1.1 troubles

2006-12-17 Thread Jose Galvez
Jose Galvez wrote: > Ian Bicking wrote: > >> Ben Bangert wrote: >> >> >>> On Dec 17, 2006, at 7:57 PM, Jose Galvez wrote: >>> >>> >>> but it looks like something in the paste update breaks the current pylons, after updating (paste, script and deploy) static content

Re: pase 1.1 troubles

2006-12-17 Thread Jose Galvez
Ian Bicking wrote: > Ben Bangert wrote: > >> On Dec 17, 2006, at 7:57 PM, Jose Galvez wrote: >> >> >>> but it looks like something in the paste update breaks the current >>> pylons, after updating (paste, script and deploy) static content no >>> longer gets served from the public folder.

Re: pase 1.1 troubles

2006-12-17 Thread Jose Galvez
Ian Bicking wrote: > Ben Bangert wrote: > >> On Dec 17, 2006, at 7:57 PM, Jose Galvez wrote: >> >> >>> but it looks like something in the paste update breaks the current >>> pylons, after updating (paste, script and deploy) static content no >>> longer gets served from the public folder.

Paste 1.1

2006-12-17 Thread Ian Bicking
Paste 1.1 - This release includes a security fix, fixing a situation where you could escape the root when serving static files and running the Paste HTTP server publicly. If you used other WSGI servers or used the Paste HTTP server behind Apache this does not effect you. For an update o

Re: pase 1.1 troubles

2006-12-17 Thread Ian Bicking
Ben Bangert wrote: > On Dec 17, 2006, at 7:57 PM, Jose Galvez wrote: > >> but it looks like something in the paste update breaks the current >> pylons, after updating (paste, script and deploy) static content no >> longer gets served from the public folder. Sorry I'm not getting an >> error mess

Re: pase 1.1 troubles

2006-12-17 Thread Ben Bangert
On Dec 17, 2006, at 7:57 PM, Jose Galvez wrote: > but it looks like something in the paste update breaks the current > pylons, after updating (paste, script and deploy) static content no > longer gets served from the public folder. Sorry I'm not getting an > error message, only a 404 error. Cou

Re: pase 1.1 troubles

2006-12-17 Thread Jose Galvez
Thanks Ian, but it looks like something in the paste update breaks the current pylons, after updating (paste, script and deploy) static content no longer gets served from the public folder. Sorry I'm not getting an error message, only a 404 error. Could someone please check to see if pylons is w

Re: Pudge troubles

2006-12-17 Thread Stephen F. Steiner
On Dec 17, 2006, at 10:02 PM, Ben Bangert wrote: >> Can anyone enlighten me as to the state of pudge and/or the plans >> for moving to another documentation system? > > I plan on maintaining pudge for the foreseeable future, or until a > better documentation system comes along that will gene

Re: Pudge troubles

2006-12-17 Thread Ben Bangert
On Dec 17, 2006, at 5:59 PM, Stephen F. Steiner wrote: > I've been using Pylons for a while but have never any reason to use > pudge for anything until the other day when I needed to take the > Pylons docs on the road with me where I wouldn't have an Iinternet > connection. > > I assu

Re: Pudge troubles

2006-12-17 Thread Stephen F. Steiner
On Dec 17, 2006, at 9:44 PM, Yury Yurevich wrote: > easy_install -U svn://lesscode.org/buildutils/trunk > easy_install -U svn://lesscode.org/pudge/trunk Thank you but my point was that the pudge section of the Pylons world has not been keeping up-to-date. S Stephen F. Steiner Integrated Dev

Re: Pudge troubles

2006-12-17 Thread Yury Yurevich
On 20:59:12 Sun 17 Dec, Stephen F. Steiner wrote: > easy_install Pylons[pudge] > > But using that I get: > > Using /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ > site-packages/Pylons-0.9.3-py2.5.egg > Processing dependencies for Pylons[pudge] > Search

Re: pase 1.1 troubles

2006-12-17 Thread Ian Bicking
Jose Galvez wrote: > I just updated paste to paste 1.1 and I'm having all kinds of strange > problems. I created a new pylons app and tried to start it with paste > serve devleopment.ini and I get these errors: Sorry, I made a dumb update just before releasing. I've uploaded a new version of 1

Pudge troubles

2006-12-17 Thread Stephen F. Steiner
Hi, I've been using Pylons for a while but have never any reason to use pudge for anything until the other day when I needed to take the Pylons docs on the road with me where I wouldn't have an Iinternet connection. I assumed that the HTML documentation for Pylons was built

pase 1.1 troubles

2006-12-17 Thread Jose Galvez
I just updated paste to paste 1.1 and I'm having all kinds of strange problems. I created a new pylons app and tried to start it with paste serve devleopment.ini and I get these errors: File "c:\python25\scripts\paster-script.py", line 8, in load_entry_point('pastescript==1.0', 'console_s

Re: Recent i18n Pylons changes

2006-12-17 Thread Pedro Algarvio, aka, s0undt3ch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pedro Algarvio, aka, s0undt3ch wrote: > The reason that makes me feel like that is because I use Genshi for > templating, and genshi does not compile it's template's to python files > so, xgettext will probably not work, I've tried a few times without

file uploads with h?

2006-12-17 Thread Anil
How do you do them? i started to do it but i don't think i am doing it correctly. I am uploading a file from a windows client to pylons server running in Unix. <% h.file_field("import_file") %> <% h.submit_to_remote('button', 'Import', html={'class':"button2"}, update="something",

Re: Section 508 compliant form labels and fields?

2006-12-17 Thread Ian Bicking
Matt Good wrote: > [EMAIL PROTECTED] wrote: >> I do a bunch of U.S. government work and they require all web apps to >> be Section 508 compliant for accessibility and I want to make sure my >> pylons apps comply. >> >> Web form labels and input boxes are one area that's problemmatic for >> screen

Re: Section 508 compliant form labels and fields?

2006-12-17 Thread Jose Galvez
Wow I've never thought about 505 compliance. You could use h.content_tag('label', 'First Name:', for_='first') which would give your the label from your example below. If you didn't need anything fancy you could combine content_tag with the text_field in a custom helper function like: def cus

Re: about mako?

2006-12-17 Thread Matt Good
[EMAIL PROTECTED] wrote: > i notice that there is mako template supportted by pylons svn.but i do > not know it. > what about mako? Based on the information I got on IRC it's a new template engine from the author of Myghty. It's similar in syntax, but with some improvements like being more flexi

Re: Section 508 compliant form labels and fields?

2006-12-17 Thread Matt Good
[EMAIL PROTECTED] wrote: > I do a bunch of U.S. government work and they require all web apps to > be Section 508 compliant for accessibility and I want to make sure my > pylons apps comply. > > Web form labels and input boxes are one area that's problemmatic for > screen readers. The 508 recomme

formencode @validate with action= from a different controller?

2006-12-17 Thread chris . shenton
I have controllers for objects Client and System. In the Client 'show' action I list the systems the client has and have a form inline at the bottom to add a new system. It invokes an 'add' action for the *System* object, in the system controller. If successful, it re-invokes the Client index ac

Section 508 compliant form labels and fields?

2006-12-17 Thread chris . shenton
I do a bunch of U.S. government work and they require all web apps to be Section 508 compliant for accessibility and I want to make sure my pylons apps comply. Web form labels and input boxes are one area that's problemmatic for screen readers. The 508 recommendation is to use tags pointing at

Re: probel with form handling tutorial

2006-12-17 Thread Eugene Van den Bulke
A third way of dealing with the problem is to modify models/__init__.py so it contains: import form and in the controller refer to EmailForm in @validate as model.form.EmailForm ... I am now very confused ... in your experience what is the best way to deal with this? Thanks, EuGeNe --~--

probel with form handling tutorial

2006-12-17 Thread Eugene Van den Bulke
Hi All, I am in the process of learning Pylons and encountered a small problem with the form handling tutorial . In the section Validation the Quick Way if I run the code as it is mentioned in the tutorial I get an exception: : name 'EmailFo