Typo in decorators docs examples?

2006-08-27 Thread Graham Higgins
/rest.py.html) similarly shows a string being supplied as the keyword value. Cheers, Graham Higgins. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Re: Concepts of Pylons (proposal for an introductory article to web frameworks)

2007-01-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Jan 2007, at 20:03, Christoph Haas wrote: http://workaround.org/concepts-of-pylons.html Good effort. FWIW I commend you on your English skills and (broadly) your comparison of Django, Turbogears and Pylons . The document surely needs

Re: Adding Genshi Template Engine (environment.py vs middleware.py)

2007-02-17 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Feb 2007, at 16:33, Damjan wrote: # Setup Genshi(only) Template Engine Implying that mix'n'match isn't supported? I haven't had any success with the add_template_engine approach. When I supplied the engine as an argument to

Re: ConceptsOfPylons and Pylons Documentation

2007-02-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Feb 2007, at 07:01, Mike Orr wrote: On Feb 27, 2007, at 12:58 PM, Christoph Haas wrote: AFAIK there is a plan to write a more complete handbook for Pylons at http://pylonshq.com/project/pylonshq/wiki/DocLayoutProposals I added a few

Re: POST showing up as GET

2007-03-19 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19 Mar 2007, at 12:51, Alberto Valverde wrote: I'll probably rewrite that sample app soon with 0.9.4.1 and new helper code based on http:// tinyurl.com/26zyk9. FWIW: I just checked this - I used the twsample app as-is and adjusted my

Re: ANN: Documentation Wiki Launched

2007-03-20 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20 Mar 2007, at 09:21, James Gardner wrote: Once again Philip Jenvey is on the case and has implemented a prototype rst plugin which currently generates HTML but not PDF. FWIW, I noticed an unfortunate feature of the PDF export w.r.t.

Re: Exec stored procedure

2007-03-20 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Evgeny, How i can exec stored procedure from database (MsSql) in Pylons with SqlAlchemy? I have not tried it with stored procedures but look for: Functions can be specified using the func keyword: in:

Re: Apache 2.2.4 + mod_fcgi

2007-04-15 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15 Apr 2007, at 16:00, Goodrone wrote: Could anyone share a piece his real configuration for Apache/2.2.4 + mod_fcgi + Pylons? I can do that for Apache/2.0.5x. I don't believe that the relevant directives or mod_fcgi usage are different for

Re: Apache 2.2.4 + mod_fcgi

2007-04-16 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16 Apr 2007, at 17:51, Goodrone wrote: Thank you, Graham. I'll try your method and share my experience as soon as possible. I've expanded the instructions slightly and written it up on the Pylons Confluence wiki:

Re: pylons + SOAP

2007-04-16 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16 Apr 2007, at 17:18, [EMAIL PROTECTED] wrote: I am looking for pylons + soap document. There isn't anything specifically SOAPy about Pylons. SOAP services can be run quite independently as WSGI apps. Take a look at the examples in

Re: Hold my hand, please

2007-04-22 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20 Apr 2007, at 02:28, Heather wrote: So, any takers? Okay, I'll give it a shot. See http://bel-epa.com/wiki/ AnOverviewOfPylons Dunno about acting as groundwork but if it helps you put a couple of the pieces into place, that's good

Re: Web Services via SOAP (with WSGI app Cookbook recipe!)

2007-04-26 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26 Apr 2007, at 06:37, Ben Bangert wrote: I'll see about getting the optio SOAP thing in the cookbook tomorrow, tonight I've added using WSGI applications as Pylons controllers to the cookbook here:

Re: a little flaw of quick_wiki tutorial

2007-05-02 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 May 2007, at 13:01, Aldarion wrote: here http://pylonshq.com/docs/0.9.5/quick_wiki.html#delete in def delete(self): the line c.titles = model.Page.select() should be c.titles = [page.title for page in model.Page.select()] isn't it?

Re: a little flaw of quick_wiki tutorial

2007-05-02 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 May 2007, at 15:10, Aldarion wrote: can't agree with you any more. this should be done in the section of templates . just for this case. c.titles = [page.title for page in model.Page.select()] was choose in 8.4. so the code c.titles =

Re: Clean url mapping

2007-05-09 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9 May 2007, at 09:56, voltron wrote: # routes [...] map.connect(''', controller='test', action='tada1') [...] map.connect(''', controller='test', action='tada2') I'm not sure what the exact effect of those triple quotes would be but

Re: Clean url mapping

2007-05-09 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9 May 2007, at 15:48, voltron wrote: Oops, those are typos. Just to be sure. I made another quick test: I cant get this to render: http://localhost:5000/test I get a 404 error Have a look at the docstring in config/routing.py. It sayeth:

Re: RDF backed Pylons

2007-05-19 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14 May 2007, at 22:36, Kendall Clark wrote: There once was a command-line WSGI SPARQL endpoint, SparqlServer.py. It used CherryPy's WSGI class and I snarfed a copy when I encountered the pointer --- but there no longer seem to be any

Re: genshi

2007-05-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 May 2007, at 00:01, Julien Cigar wrote: I wondered how can I tell to Pylons that the rendered template (with Genshi) should be in utf-8 / xhtml-strict ? I tried the following (middleware.py) but without success :

Re: Bug about substitution of _ (gettext) in 'Error Traceback' console

2007-11-23 Thread Graham Higgins
On Nov 22, 3:38 pm, Tomasz Nazar [EMAIL PROTECTED] wrote: I think I have found some strange behaviour in Pylons and it is repeatable. It is related to _ (gettext) function and having debug sessions with nice Pylons 'Error Traceback' console I saw the same problem (using Pylons trunk). I

Typo in WebOb trunk webob/__init__.py

2007-12-05 Thread Graham Higgins
Correction for a miniscule typo in WebOb trunk r7113 which cause the following exception: NameError: global name 'res' is not defined. Index: WebOb/webob/__init__.py === --- WebOb/webob/__init__.py (revision 7113) +++

Exception in weberror/exceptions/errormiddleware.py

2007-12-07 Thread Graham Higgins
Ah, nowhere to post a ticket, so ... The returned value from formatter.format_text is a tuple, so the subsequent string processing of err_report blows up both in the concatenation and in the error_stream.write. I'm using this crude workaround. --- errormiddleware.py +++ (clipboard) @@ -375,7

Re: Exception in weberror/exceptions/errormiddleware.py

2007-12-07 Thread Graham Higgins
On Dec 7, 4:18 pm, Graham Higgins [EMAIL PROTECTED] wrote: Ah, nowhere to post a ticket, so ... Wrong again. It's already been logged.: http://pylonshq.com/project/pylonshq/ticket/336 --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Issues running Pylons with mod_wsgi on Windows

2008-01-17 Thread Graham Higgins
This may not be a Windows-specific issue. I've just seen the same error on a Macbook. In my case, I believe it arises from one of the easy_installed packages. I have separate production and development virtualenv setups for a recently-deployed project, one pair on my Macbook and t'other on the

Re: QuickWiki

2009-01-18 Thread Graham Higgins
On Jan 16, 2:23 pm, Patrick optoma...@rogers.com wrote: Is there an example App anywhere that is suitable for 0.9.7 and that would provide examples of everything needed for a publishable site, such as images etc? I'm afraid that there isn't such a beast at the moment, possibly because there

Re: docs.pylonshq.com - tires my eyes

2009-01-24 Thread Graham Higgins
On Jan 24, 6:19 am, Jan Koprowski jan.koprow...@gmail.com wrote: Standard Sphinx generated site was better: more coherent, looks nicer. As Ben states, the site code is open source and you are free to create your own alternative presentation, e.g. http://bel-epa.com/docs/index

Re: 0.9.7 and Elixir

2009-02-23 Thread Graham Higgins
On Feb 23, 4:57 pm, Chris Curvey ccur...@gmail.com wrote: I'm trying to set up a new project with 0.9.7 and Elixir. You might find some use in having a look at the project file organisation and content of the basic Shabti template. Shabti is a bitbucket fork of the old, mostly abandoned,

Re: formbuild.handle missing

2009-02-24 Thread Graham Higgins
I should be able to read   through these new docs in the next couple of days, so will provide any   feedback if I have any. Thanks, that would be useful. On reflection I'd say there were a couple of things that are obviously missing from the treatmentL i) the introduction of a form token

Re: 0.9.7 and Elixir

2009-02-24 Thread Graham Higgins
On Feb 24, 3:35 pm, Isaac nerk...@gmail.com wrote: Shabti sounds interesting though I've not looked at it. Here I've updated the pastebin thingy (and deleted the old one):http://pylonshq.com/pasties/e0131b490dafc08b30633c506ca29931 Could you explain the reasoning behind your choice of

Re: 0.9.7 and Elixir

2009-02-24 Thread Graham Higgins
On Feb 24, 10:20 pm, Isaac nerk...@gmail.com wrote: Well, the best explanation I have is that these values are how I want the Session to behave, which is why I put a comment saying you may want to put something else there. That's what I was following up :-) Maybe some other values are

Re: Authorization with repoze.what in Pylons

2009-02-24 Thread Graham Higgins
On Feb 24, 10:26 pm, dw dwe...@structuralcomponents.net wrote: recommended putting the lib/auth functions in a file called repoze located in lib/auth. Heh, that's exactly what I did too, with exactly the same results. It totally weirded me out for a while. It can be a misleading exception

Re: looking for freelance work (pylons/python)

2009-02-28 Thread Graham Higgins
using ports on os x it only took 4 hours :) Or, if it's simpático with your OS X architecture, 4 mins. Futon and a wee start/stop app included: http://jan.prima.de/~jan/plok/archives/142-CouchDBX-Revival.html With an appropriate 3rd-level spell of ssl tunneling, you can use a local Futon to

Re: formbuild.handle missing

2009-03-04 Thread Graham Higgins
On Mar 3, 3:59 am, Chris Miles miles.ch...@gmail.com wrote: Hi, there were a number of errors I had to correct to get it working.   Notes pasted below.   Thank you Chris, that was extremely helpful. I apologise for not doing a better job. However, after getting it working I decided I

Shabti - some paster template power-ups for Pylons

2009-03-30 Thread Graham Higgins
projects have tests of varying limited degrees of thoroughness, so it will be worth running nosetests in the generated projects as matter of course. Comments, observations, questions, corrections and constructive criticism will be welcomed. Cheers, Graham Higgins. http://www.linkedin.com

Re: Shabti - some paster template power-ups for Pylons

2009-04-08 Thread Graham Higgins
On Apr 5, 4:55 pm, sri.devabhakt...@gmail.com sri.devabhakt...@gmail.com wrote: Thanks Graham. This is a useful complement that saves time + confusion in getting started with Pylons. Thanks for the endorsement, Sri. It is encouraging to learn that the notion has some relevance. Some

Trying out the new Beaker

2009-05-10 Thread Graham Higgins
The new Beaker release looks great, Ben. Can I plead for a couple of gratuitous examples to be added to Kai perhaps? And maybe some tests using the cache decorators? I haven't been able to persuade @cache.region to do any caching. I'm using it like this with a Pylons controller: def

Re: Beaker 1.3.1 and MissingCacheParameter

2009-06-12 Thread Graham Higgins
On Jun 11, 10:59 pm, Ben Bangert b...@groovie.org wrote: Here's the recommend method for using the Beaker cache object. Fiat lux. Works flawlessly, just as you say. Thank you. Cheers, Graham. --~--~-~--~~~---~--~~ You received this message because you are

Re: Pylons marketing, ( new thread from web tech )

2009-08-21 Thread Graham Higgins
On Aug 21, 1:48 am, Didip Kerabat did...@gmail.com wrote: The only evangelism I know that works, is blogging about my specific hurdles while using Pylons and post the solutions so that others can benefit. Thanks for mentioning your blog Didip. I've added it to the informal PlanetPylons

Re: Where is formbuild (http://formbuild.org/) repository ?

2009-08-21 Thread Graham Higgins
On Aug 20, 4:38 pm, KLEIN Stéphane klein.steph...@gmail.com wrote: Hi, Where is formbuild (http://formbuild.org/) repository ? http://formbuild.org/svn/FormBuild/trunk/ Cheers, Graham --~--~-~--~~~---~--~~ You received this message because you are

Re: user management (login, registration, etc.)

2009-08-31 Thread Graham Higgins
On Aug 30, 2:17 pm, Thomas G. Willis tom.wil...@gmail.com wrote: I took a slightly different approach And I took yet another approach, vive la difference :-) Shabti [1, 2] is a handful of shovel-ready Pylons project templates based on Ben Dan Jacob's old Tesla project [3], an abandoned

Re: Question on configuring TestController

2009-09-08 Thread Graham Higgins
On Sep 6, 11:30 pm, Didip Kerabat did...@gmail.com wrote: I set several tmpl_context attributes (in the form of c.abc = 'foo' or c.xyz = datetime.utcnow()) inside base.py __init__() How can I mock/mimic the same setup on TestController object? I use the paste.testing env flag to set up

Re: user management (login, registration, etc.)

2009-09-10 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10 Sep 2009, at 18:59, travis+ml-pyl...@subspacefield.org wrote: I could use some more complete examples. Sure. There's Shabti: PyPi: http://pypi.python.org/pypi/Shabti/0.3.2c - for Pylons 0.9.7 users Bitbucket repos:

Re: Any known pylons based blog application

2009-09-14 Thread Graham Higgins
On Sep 4, 7:06 pm, karikris...@gmail.com karikris...@gmail.com wrote: Dear All, I am looking for pylons based blog application for my website. I simply need blog post to publish, edit, hide and tagging. Mostly I will be single user for the blog. [ ... ] Do you know any other blog

Re: Pylons Project Templates page in pylonshq wiki

2009-09-25 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25 Sep 2009, at 10:13, Chris Miles wrote: I have created a page in the pylons wiki to list any community created Pylons project templates. Good move. TW installs has a paster template for creating widgets, it's not Pylons-specific tho' so

Re: Difficulties with Pylons + tw.forms and @validate which returns AttributeError: 'function' object has no attribute 'replace'

2009-09-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Sep 2009, at 22:35, cd34 wrote: @validate(form=movie_form, error_handler=index) Working example here: http://bitbucket.org/gjhiggins/shabti/src/tip/shabti/templates/microsite/+package+/controllers/pages.py_tmpl (based on Pylons==0.9.7,

Re: Difficulties with Pylons + tw.forms and @validate which returns AttributeError: 'function' object has no attribute 'replace'

2009-09-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Sep 2009, at 20:11, cd34 wrote: $ cat ../lib/python2.5/site-packages/easy-install.pth I dunno if this helps but there seem to be three required libraries missing from that list. Check Pylons' setup.py for the list of install_requires

Re: Difficulties with Pylons + tw.forms and @validate which returns AttributeError: 'function' object has no attribute 'replace'

2009-09-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Sep 2009, at 20:23, Krishnakant wrote: Just a quick curious question. Very sorry to take this off track a bit, but Can't we do validations using toscawidgets? Yes we can. That's what I assumed the OP to be using, based on the reference

Re: Python 3.1

2009-10-26 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25 Oct 2009, at 23:30, aharrisreid wrote: I am very much new to Python, and one of my first projects is a simple data-based website. However, looking to the future, I am starting with Python 3.1 (I can hear many of you shouting don't -

Re: Syndication

2009-11-05 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5 Nov 2009, at 23:39, Mike Orr wrote: I've implemented the feeds at http://incidentnews.gov/ , in both RSS and Atom. If somebody could check the HTML and feed XML for errors, I'd be grateful. There are permanent links in the page footer,

Re: anyone ever get around to documenting storm with Pylons?

2009-11-23 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22 Nov 2009, at 07:02, noah.gift wrote: anyone ever get around to documenting storm with Pylons? I did, 'bout 18 months ago: http://bel-epa.com/notes/Pylons/StormandPylons.xml Cheers, Graham http://www.linkedin.com/in/ghiggins

Re: Setting up Pylons as a client to an exsisting DB

2009-12-01 Thread Graham Higgins
/default/+package+/model/__init__.py_tmpl HTH Graham Higgins -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss

Re: Exception: No status code was found

2009-12-04 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 Dec 2009, at 13:56, morellik wrote: Every morning, I find the same problem, only for the first login attempt. I'm in despair :-(( One strategy, if it's available to you, is to use virtualenv to create a clone of the application and run

Re: Calling a controllers method from another method? Is there a 'safe' way without redirecting?

2009-12-04 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5 Dec 2009, at 00:38, John_Nowlan wrote: return render(/foo.html) # foo should not return, it is calling render No, render doesn't work like that, it works like this: def spurious_example(): output_collector = render(header.html)

Re: Calling a controllers method from another method? Is there a 'safe' way without redirecting?

2009-12-04 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5 Dec 2009, at 03:53, Graham Higgins wrote: class AController(BaseController): def _foo(): that'd be class AController(BaseController): def _foo(self): of course. Cheers, Graham http://www.linkedin.com/in/ghiggins

Re: slow import

2009-12-06 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6 Dec 2009, at 16:07, andres wrote: it seems like an unnecessary startup cost A purely personal perspective: I don't wish to appear discouraging but Pylons is not yet at 1.0 and I wouldn't want to see the dev team pressured to make

Re: Accessing dev server instance

2009-12-06 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6 Dec 2009, at 09:27, shocks wrote: Hi When I run: paster serve --reload development.ini I am able to view the site through 127.0.0.1:5000/myapp (on Ubuntu server) however I cannot access this site from another machine on my network (ie

Re: Calling a controllers method from another method? Is there a 'safe' way without redirecting?

2009-12-06 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6 Dec 2009, at 18:40, jnowl wrote: Graham, your 'spurious_example()' bit really helped the lights go on. Heh, thought it might. I've been there before, got a whole wardrobe full of T-shirts :-) Glad I could help. Cheers, Graham

Re: searching for some jsonify example or tutorial

2009-12-17 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Dec 2009, at 12:18, Krishnakant wrote: Hello all, I have been searching for some good json example for pylons application. Mariano's tightly-focused pointer should have landed you in the right place in that chapter of the Pylons book.

Re: searching for some jsonify example or tutorial

2009-12-17 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Dec 2009, at 21:20, Marius Gedminas wrote: I recall some fun times being had by all when the json dumper generated {title: something irrelevant, date: 2004-01-17} which the browser nicely and silently evaluated to {title: something

Re: searching for some jsonify example or tutorial

2009-12-19 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Krishnakant, On 19 Dec 2009, at 09:35, Krishnakant wrote: I thought I would put this question in a different way, not just to keep it on-topic for pylons list and make my mis-understanding clear about the issue at hand. Understood - and

Re: searching for some jsonify example or tutorial

2009-12-19 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19 Dec 2009, at 22:32, Mike Orr wrote: On Sat, Dec 19, 2009 at 7:55 AM, Graham Higgins gjhigg...@gmail.com wrote: A decorator is a Python object that can be called with a single argument and which modifies a function or a method. wraps

Re: Python Open Id suggestion

2009-12-26 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23 Dec 2009, at 18:17, karikris...@gmail.com wrote: I have been looking for open-id client implementation for our web site. We will work on two level of authentication mode. 1. The user directly register with us 2. the user who can sign in

Re: AuthKit bug!

2009-12-26 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23 Dec 2009, at 22:42, gsandorx wrote: AuthKit doesn’t work with Python 2.4 due to it has some Exceptions declared not using the new class styles. The bug was fix partially in AuthKit 0.4.5, thougth they say it's completely solved. Actually

Re: Roadmap / 0.10 / 1.0 (resource routes)

2009-12-29 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30 Dec 2009, at 03:17, Chris wrote: In the Pylons roadmap wiki page, it mentions a mysterious ;) new meta framework called Marco. Is this hosted anywhere? I'd like to just poke around and see where it is headed. It's early days yet but ...

Re: Roadmap / 0.10 / 1.0 (resource routes)

2009-12-30 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31 Dec 2009, at 01:04, karikris...@gmail.com wrote: Does this new architecture support running multiple applications together to make one website? For example, say we have a blog application, forum application, poll, feedback and cms

Re: repoze setup_sql_auth

2010-01-18 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matt, On 18 Jan 2010, at 21:20, Matt Woolnough wrote: I'm trying to use repoze who for the first time, so I though I might as well see how other people use it. I thought shabti_auth_repozewho might be a good place to start. I am having some

Re: repoze setup_sql_auth

2010-01-19 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matt, On 19 Jan 2010, at 05:17, Matt Woolnough wrote: Thats some nice work you've done there. Very handy indeed. Thanks for the kind words, glad it's been of some use. So we're better off using the SVNs than the packages via easy_install

Re: Big file upload progress bar

2010-01-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Jan 2010, at 18:56, Gael Pasgrimaud wrote: Latest log entry is now upgrade sample pylons to 0.9.7 http://www.gawel.org/docs/gp.fileupload/rev/53aa46a39a7e So it should work. Okay, dokey, I'll give it a spin and confirm back that it does.

Re: Big file upload progress bar

2010-01-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Jan 2010, at 20:24, Graham Higgins wrote: Latest log entry is now upgrade sample pylons to 0.9.7 http://www.gawel.org/docs/gp.fileupload/rev/53aa46a39a7e So it should work. Okay, dokey, I'll give it a spin and confirm back that it does

Re: Big file upload progress bar

2010-01-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Jan 2010, at 20:24, Graham Higgins wrote: Okay, dokey, I'll give it a spin and confirm back that it does. Yes, it does. I needed to make one or two simple changes and I've updated the bitbucket repos: http://bitbucket.org/gawel

Re: Fastcgi and performance

2010-01-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 Jan 2010, at 03:02, PF4Pylons wrote: The provider is Godaddy Here is all they say about fastcgi in their help section http://help.godaddy.com/search?q=fastcgix=0y=0 Quite cryptic sometimes. Looks like you may unfortunately be

Re: RESTful resource management components for Pylons?

2010-01-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Vlad, On 27 Jan 2010, at 22:29, haronmedia wrote: I am also very new to Python so it might take a little while before I get a grip and do a (rather big) paradigm shift from PHP to Python. I suspect that you're going to enjoy programming in

Re: RESTful resource management components for Pylons?

2010-01-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 Jan 2010, at 06:06, Mike Orr wrote: Thanks, I didn't know about these. I would caution against depending solely on AuthKit. AuthKit has gotten some criticism for being monolithic. I would at least look at Repoze.who/what and see if you can

Re: Big file upload progress bar

2010-01-29 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 Jan 2010, at 21:41, Vladimir Dronnikov wrote: How do I append gp.fileupload to an existing Shabti (shabti_formalchemy) application? In particular, how to attach the middleware? Using the standard tempita substitution pattern, replace

Re: formencode.FancyValidator

2010-02-04 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4 Feb 2010, at 15:41, gazza wrote: I am trying to find a simple example to create a bespoke validator. Could you somebody be so kind and point me to an article to accomplish this in pylons? Not an article but a few examples, FWTW (some

Re: Pylons 0.10 and 1.0 Beta 1 Released

2010-02-06 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6 Feb 2010, at 03:46, Ben Bangert wrote: 'm pleased to announced that Pylons 0.10b1 and 1.0b1 are now out. ***applause*** Congrats, Ben. Cheers, Graham http://www.linkedin.com/in/ghiggins -BEGIN PGP SIGNATURE-

Re: any thing new in the latest RC for pylons?

2010-03-16 Thread Graham Higgins
On Mar 12, 7:45 pm, Ben Bangert b...@groovie.org wrote: The only known incompatibility at this point is that toscawidgets is NOT compatible with Pylons 1.0. This is because its still relying on Buffet, which has been deprecated since 0.9.7. I'm hoping that toscawidgets get a fix for this

Re: Pylons logo on white background

2010-03-16 Thread Graham Higgins
On Mar 15, 8:54 pm, Mike Orr sluggos...@gmail.com wrote: OK, but the yellow ball has to remain yellow because it represents a light-producing sun. FWIW, colour was explicitly /not/ an original feature of the design. The akhet is a full-on hieroglyph and its orthography alone has a high

Re: pylons + elixir

2010-03-16 Thread Graham Higgins
On Mar 11, 7:13 pm, Charlie Meyer cemey...@gmail.com wrote: integrate elixir with pylons, ... preferred way to do it ... anyone has done it before ... tips, examples, etc Hi Charlie, There are few Pylons+SQLA+Elixir examples here: http://bitbucket.org/gjhiggins/shabti/ the docs are here

Re: Pylons logo on white background

2010-03-17 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16 Mar 2010, at 18:12, Mike Orr wrote: That's fine. My point is just that it's supposed to connote sun, and a tan ball or blue ball would not do that. The akhet is a logogram not a pictogram / icon, any pictorial component merely reflects

Re: pylons + elixir

2010-03-17 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Mar 2010, at 19:46, Charlie Meyer wrote: Im going to give shabti a try, i considered using the new sqlalchemy declarative layer, but I already have a console app using elixir models that I want to convert into a pylons web app, so not

Re: QuickWiki Pylons-1.0b1

2010-03-18 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Feb 2010, at 20:45, Matthew Burgess wrote: I'm nearly done now, I think. I'm kind of stuck on the delete() function at the moment. The .rst I have in hg doesn't appear to match what's published at

Re: Pylons nosetests and tmpl_context

2010-03-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Mar 2010, at 10:40, grassoalvaro wrote: Hi, i have problem with some automatic tests. Simple example: [code] from test.tests import * from pylons import tmpl_context as c class TestBlaController(TestController): def test_index(self):

Re: any good tutorial for formalchemy?

2010-04-23 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23 Apr 2010, at 16:10, Krishnakant Mane wrote: I see. So should the template not be used for production? It should be good enough for government work. The instability is largely due to an elevated number of commits as I go through the code

Re: Auth'n'auth on pylons REST interface

2010-04-23 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21 Apr 2010, at 19:51, BenH wrote: I'm another newbie to Pylons and I hoping the community can give me some tips. Bearing in mind that free advice is generally worth less than you pay for it ... What would the community suggest I do to

Re: IIS + Pylons

2010-04-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Apr 2010, at 06:08, B Mahoney wrote: I followed the instruction by Graham Higgins for Serving a Pylons app with IIS http://wiki.pylonshq.com/display/pylonscookbook/Serving+a+Pylons+app+with+IIS pedantic That article was added by me

Re: FormEncode inadequate?

2010-05-12 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12 May 2010, at 11:26, Haron Media wrote: So I need your opinion. Am I completely missing the power of FormEncode, or should I really continue with my own form processing class? If anyone is interested, I can post it when finished for others

Re: Help get Pylons 1.0 out the door!

2010-05-19 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19 May 2010, at 02:59, Ben Bangert wrote: You, (Yes, You!), can help get Pylons 1.0 out the door sooner. So what's holding up the release at this point? Two documentation tickets: While there's some minor tickets in Beaker/Routes, I don't

Re: Help get Pylons 1.0 out the door!

2010-05-25 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25 May 2010, at 23:19, Mike Orr wrote: If you restrict SQLAlchemy to the 0.5 series I think you misread this: something like SQLAlchemy=0.5,=0.6 My reasoning is that the lack of an upper limit seems to imply an unwarranted assumption

Re: Help get Pylons 1.0 out the door!

2010-05-25 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26 May 2010, at 05:39, Graham Higgins wrote: I think you misread this: something like SQLAlchemy=0.5,=0.6 Ah, talking of needlessly imprecise --- SQLA current is 0.6.0. I was too casual, prolly misled you as to my intention (which

Re: Help get Pylons 1.0 out the door!

2010-05-26 Thread Graham Higgins
On 19 May 2010, at 13:04, Graham Higgins wrote: * #688 (newline in signed cookie) seems still to be extant JIC my PM to Ben is on a lonely tarpitted sojourn round the outer planets: #688 is solved by switching to the standard base64 alphabet: base64.standard_b64decode and base64

Re: Form libraries (again)

2010-06-21 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22 Jun 2010, at 00:10, Ben Bangert wrote: The first doesn't really work, because you can't trust the client, ever. The second ... still means that on the final form submit, they could've mucked with the values leaving only the last

Re: Restful route apparently ignored

2010-07-12 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12 Jul 2010, at 09:22, Gisborne wrote: class ThingsController(self, format='html') That doesn't look right. can anyone tell me from here what I've done wrong? I think you omitted to Read The Fine Manual: http://pylonshq.com/docs/en/1.0 I

Re: Routes case insensitive

2010-07-13 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13 Jul 2010, at 14:36, mohammed.ali.eng wrote: it's depends on server, It may seem that way but that's just the implementation. The appropriate standards-setting docs would seem to be RDF1738 [1] and later, for URIs, RFC3986 [2]. Both are

Re: Modelingware

2010-08-03 Thread Graham Higgins
On Aug 3, 1:37 am, waugust waugustyn...@gmail.com wrote: I saw somewhere a blurb about ArgoUML being able to hook up to SQLAlchemy to create models Dunno about that. I've never seen any mention of a direct connection. There is a somewhat contorted path that winds its way via an elixir-based

Re: Modelingware

2010-08-03 Thread Graham Higgins
I ppsted a write-up here: http://bel-epa.com/posts/elixir-uml-model.xml Drat, the img references have drifted out of scope, sorry. I'll try and fix 'em up. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: [SPAM] Testing controllers with repoze.what

2010-08-12 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12 Aug 2010, at 20:49, waugust wrote: What am I missing here? How do I mimic a logged in user when testing my controllers? Example testauthcontroller here:

Re: TurboMail 3 with Pylons 1.0 - MailNotEnabledException

2010-08-18 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11 Aug 2010, at 14:16, Bzouchir wrote: from turbomail.adapters import tm_pylons tm_pylons.start_extension() I'll hazard a(n educated) guess... The Pylons adaptor for TM uses old-style (i.e. 0.9.7) config-handling: from pylons

Re: TurboMail 3 with Pylons 1.0 - MailNotEnabledException

2010-08-18 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18 Aug 2010, at 22:59, Graham Higgins wrote: The Pylons adaptor for TM uses old-style (i.e. 0.9.7) config-handling: from pylons import config Nope, wrong according to 1.0 docs... http://pylonshq.com/docs/en/1.0/configuration/#getting

Re: a very veard message pops up with pylons 1.0 with firefox

2010-08-25 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25 Aug 2010, at 18:23, Krishnakant Mane wrote: form method=post, action=http://localhost:5000/member/setMember; td input type=submit,value=submit /td What could be wrong with this? Spurious commas. - -- Cheers, Graham

Re: Authentication and Authorization

2010-09-09 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Aug 20, 8:17 pm, Ross Vandegrift r...@kallisti.us wrote: On Fri, Aug 20, 2010 at 10:36:41AM -0700, Mike Orr wrote: Many people find a homegrown scheme adequate, and easier than repoze.who/what, especially if you're using a login form and have

  1   2   >