Typo in decorators docs examples?

2006-08-27 Thread Graham Higgins
q.com/docs/ 0.9.1/pylons/decorators/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

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: 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 21:00, Christoph Haas wrote: > Thanks. It's really hard to compare the three beasts. I am running commercial sites developed in both Django & TG, and I've pushed Pylons around a bit. Your characterisation of the three differe

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 render_re

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 18:20, Damjan wrote: > >>> # Setup Genshi(only) Template Engine >> >> Implying that mix'n'match isn't supported? > > That's copy/paste from the recipe I've found... I don't use other > templates so I've not even tried mixing t

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 fe

Confluence metadata

2007-03-02 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, Any thoughts on whether the Confluence metadata plugin [1] might prove useful? It seems fairly innocuous, unlike the Python syntax- highlighting New Code Macro, which is reportedly inimical to RSS and PDF :-( [1] http://confluence.atlassia

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 0

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: Introduction: modifying the Routes error

2007-03-20 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20 Mar 2007, at 13:42, Clodoaldo wrote: > map.connect('', controler='hello', action='index') Is that a typographic error or a transcription error? It should read "controller", not "controler". Cheers, Graham. -BEGIN PGP SIGNATURE-

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: http://www.sqlalchemy.org/docs/sqlc

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 fo

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: http://docs.pythonweb.org

Re: Apache/2.2.4 + mod_fcgid

2007-04-16 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16 Apr 2007, at 19:20, Goodrone wrote: > I hope it would help beginners to start up with > Pylons, but.. I've misstyped the module name in the topic: actually > mod_fcgid is given Tsk, tsk. ;-) Okay, take another look at > http://docs.pythonwe

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 soapli

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 enough

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: > http://docs.pythonweb.org/display/pylon

Re: Pylons docs [was: Hold my hand, please]

2007-04-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Apr 2007, at 01:48, Shannon -jj Behrens wrote: > It looks nice, but I fear so many people have written overviews of > Pylons that I'm completely losing track. [ ... ] > > There's *tons* of good documentation for Pylons. [ ... ] > > We need to

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'

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: Autohandler question

2007-05-09 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9 May 2007, at 10:56, voltron wrote: > > Could someone tell me what exactly the auohandler file is for in the > templates directory? It's automatically picked up and applied by Myghty, so it's only relevant when using the Myghty templating eng

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

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 say

Re: RDF backed Pylons

2007-05-14 Thread Graham Higgins
look at Oort? (The main site is unresolvable at the moment, try: http://groups.google.com/group/oort Or Carmen might be of interest: https://carmen.dreamlab.net/ whit morriss' tagger may provide some food for thought: http://www.openplans.org/projects/yucca/install-tagger Cheers, Graham Hig

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 ref

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 : > config.template_en

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) +++ WebOb/webo

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 +3

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

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 L

Re: Can't install Pylons on Mac

2008-07-15 Thread Graham Higgins
On Jul 14, 11:23 pm, "Mike Orr" <[EMAIL PROTECTED]> wrote: > Tried to install Pylons 0.9.7 beta on a colleague's Mac and got a funny error: > > $ easy_install -fhttp://pylonshq.com/download/0.9.7-U Pylons > Processing Pylons > error: couldn't find a setup script in Pylons I have an /old/ TiBook r

Re: QuickWiki

2009-01-18 Thread Graham Higgins
On Jan 16, 2:23 pm, Patrick 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 are many different

Re: docs.pylonshq.com - tires my eyes

2009-01-24 Thread Graham Higgins
On Jan 24, 6:19 am, Jan Koprowski 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: formbuild.handle missing

2009-02-23 Thread Graham Higgins
> Looking at the source for FormBuild 2.1.0 it has formbuild.handle()   > completely commented out.  I'm assuming it is no longer recommended.   > Problem is, there's more code in the formbuild docs that doesn't work   > either.  I'm guessing those docs were for pre-2.x.  Pity they haven't   > be

Re: 0.9.7 and Elixir

2009-02-23 Thread Graham Higgins
On Feb 23, 4:57 pm, Chris Curvey 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, tesla-pylons- elixir G

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 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 kwargs to session

Re: 0.9.7 and Elixir

2009-02-24 Thread Graham Higgins
On Feb 24, 10:20 pm, Isaac 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 more sane for a t

Re: Authorization with repoze.what in Pylons

2009-02-24 Thread Graham Higgins
On Feb 24, 10:26 pm, dw 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 message if you don't zero in on th

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 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 > didn't like how formbui

Re: repoze.what-pylons working sample project

2009-03-13 Thread Graham Higgins
On Mar 13, 12:45 am, Gustavo Narea wrote: > I'm sorry about the delay, but I've been very busy this week. Thanks for your efforts on this. I'd like to meet Gopal's request for a paster-ready repoze.what app. I already have a working repoze.who +repoze.what auth'n'auth template in Shabti [1] b

Shabti - some paster template "power-ups" for Pylons

2009-03-30 Thread Graham Higgins
generated 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, G

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" 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 experiences: I've been using S

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 get_region

Re: Beaker 1.3.1 and MissingCacheParameter

2009-06-11 Thread Graham Higgins
On Jun 10, 6:53 pm, Mike Orr wrote: > This is the same error I reported yesterday, but I haven't seen any > diagnosis yet.  I'll have to disable @beaker_cache in the meantime. That's odd, I could have sworn that I posted something on this a couple of weeks ago ... but it seems to have vanished i

Re: Beaker 1.3.1 and MissingCacheParameter

2009-06-12 Thread Graham Higgins
On Jun 11, 10:59 pm, Ben Bangert 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 subscribed to the G

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

2009-08-21 Thread Graham Higgins
On Aug 21, 1:48 am, Didip Kerabat 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 (venus-based) syndic

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

2009-08-21 Thread Graham Higgins
On Aug 20, 4:38 pm, KLEIN Stéphane wrote: > Hi, > > Where is "formbuild" (http://formbuild.org/) repository ? http://formbuild.org/svn/FormBuild/trunk/ Cheers, Graham --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

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

2009-08-31 Thread Graham Higgins
On Aug 30, 2:17 pm, "Thomas G. Willis" 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 approach that used

Re: Question on configuring TestController

2009-09-08 Thread Graham Higgins
On Sep 6, 11:30 pm, Didip Kerabat 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 context variables

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: http://bitbucket.or

Re: Any known pylons based blog application

2009-09-14 Thread Graham Higgins
On Sep 4, 7:06 pm, "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 application written

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, T

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 a

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: A visually disabled web developer needs advice on form building in pylons.

2009-09-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Krishnakant, On 28 Sep 2009, at 20:30, Krishnakant wrote: > I am Krishnakant from Mumbai (India). /me has fond childhood memories of Mumbai, living in a shoreside apartment on what used to be known as Neapan Sea Road, overlooking Baroda p

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 29 Sep 2009, at 07:04, cd34 wrote: > In order for the code to work properly by passing a function name to > error_handler in the decorator, I would need to change the above to: > >if error_handler: >environ = pylons.re

Re: Is pylons the right framework for ERP like Web apps?

2009-09-28 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi On 28 Sep 2009, at 21:19, Krishnakant wrote: > I would like to know whether pylons can be choosen for a web > application > involving heavy load resulting from a lot of requests and form based > data submission and dynamic updates? There's no a

Re: A visually disabled web developer needs advice on form building in pylons.

2009-09-29 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 Sep 2009, at 17:23, Mike Orr wrote: > excellent articles in the Pylons Cookbook Hmm. Krishnakant, from your perspective as a user of assistive technology, is accessibility diminished by coloured syntax highlighting rendered in HTML? (as

Re: Is pylons the right framework for ERP like Web apps?

2009-09-30 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30 Sep 2009, at 05:30, mickgardner wrote: > > Just thought i'd add... > > My understanding is that openerp (nee 'tinyerp') uses pylons now. It > used to use turbogears. That'll be "OpenERP Pylons based web-client" referenced in http://rvalyi.

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

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

2009-12-01 Thread Graham Higgins
age+/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-dis

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.htm

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/

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 optimiza

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 http://ww

Re: Where is the right place to initialize couchdbkit objects?

2009-12-15 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Metin, On 15 Dec 2009, at 12:11, Metin Akat wrote: > I'm wondering where would be the right place in my app to initialize > my database objects and associate my models with them. Gaël Pasgrimaud, FormAlchemy developer kindly contributed a couchd

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 boo

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:

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 > wrote: >> "A decorator is a Python object that can be called with a single >> argument and which modifies a function or a method

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

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 applica

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 is

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 at

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 ba

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

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=fastcgi&x=0&y=0 Quite cryptic sometimes. Looks like you may unfortunately be constrain

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 Pyt

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 b

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 {{pac

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 shamel

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

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

2010-03-16 Thread Graham Higgins
On Mar 12, 7:45 pm, Ben Bangert 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 and is released

Re: Pylons logo on white background

2010-03-16 Thread Graham Higgins
On Mar 15, 8:54 pm, Mike Orr 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 recognition factor, very f

Re: pylons + elixir

2010-03-16 Thread Graham Higgins
On Mar 11, 7:13 pm, Charlie Meyer 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 http://bel-epa.c

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 i

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 havin

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 http://pylonshq.com/docs/en/1.0/tutorials

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):

  1   2   >