Re: QuickWiki & Pylons-1.0b1

2010-02-17 Thread Matthew Burgess
Matthew Burgess wrote: On Thu, 11 Feb 2010 18:06:41 -0800, Ben Bangert wrote: On Feb 11, 2010, at 2:27 PM, Matthew Burgess wrote: I'm trying to get the QuickWiki tutorial to work against 1.0b1 and fixing up the docs as I go with the intention of submitting a patch once I'm done.

Re: QuickWiki & Pylons-1.0b1

2010-02-12 Thread Matthew Burgess
On Thu, 11 Feb 2010 18:06:41 -0800, Ben Bangert wrote: > On Feb 11, 2010, at 2:27 PM, Matthew Burgess wrote: > >> I'm trying to get the QuickWiki tutorial to work against 1.0b1 and > fixing up the docs as I go with the intention of submitting a patch once > I'm don

QuickWiki & Pylons-1.0b1

2010-02-11 Thread Matthew Burgess
Hi all, I'm trying to get the QuickWiki tutorial to work against 1.0b1 and fixing up the docs as I go with the intention of submitting a patch once I'm done. I'm at the stage of setting up the routes, and the tutorial tells me to replace all of the default custom routes with: map.conne

Re: Installing Pylons without an Internet connection

2010-02-07 Thread Matthew Burgess
Mike Orr wrote: On Sat, Feb 6, 2010 at 3:30 PM, Jason S. wrote: As far as a repeatable Pylons installation from local packages goes, I've set up a system using pip -- not sure about easy_install. I tried to use "pip --download-cache=/mydir" to make a local package archive that people at work

Installing Pylons without an Internet connection

2010-02-06 Thread Matthew Burgess
Hi, The Subject: may seem odd, given that Pylons is a Web Framework :-) However, what I'm trying to achieve is a 100% repeatable installation, which is oblivious to any updated packages on PyPi, etc. I'm trying to ensure that if I run 'go-pylons.py' on a development machine, then repeat the

Re: Best practice/schemes for database locking using Pylons and SQLAlchemy?

2009-05-06 Thread Matthew Burgess
On Wed, 6 May 2009 15:43:22 -0700 (PDT), Jeremy Burton wrote: > My question is what do people suggest are the best approaches for a > database locking scheme using Pylons and SQLAlchemy? I may be misunderstanding your question completely, but I'd have thought if you use a transactional/ACID c

Re: Configuring PYTHONPATH with fcgi

2006-09-08 Thread Matthew Burgess
uuellbee wrote: > I've done a similar type of thing, but not in Pylons yet. All I needed > was: > > import sys > sys.path.insert(0, "/path/to/my_packages") > > Would that not work here? Well, it kinda works. I also have to add: from pkg_resources import require require("Pylons") so that all

Re: Configuring PYTHONPATH with fcgi

2006-08-14 Thread Matthew Burgess
Mathias GUG wrote: > I also had to modify my .htaccess, because I had recursion limit > errors with mod_rewrite. The rules I've added are : > > RewriteRule ^$ /dispatch.fcgi/ [L] > RewriteCond %{REQUEST_URI} !^/dispatch.fcgi/.* > RewriteRule ^(.*)$ /dispatch.fcgi/$1 [QSA,L] Thanks for those, I

Re: Configuring PYTHONPATH with fcgi

2006-08-14 Thread Matthew Burgess
Mathias GUG wrote: > So, I've modified dispatch.fcgi to include the path to my own python > lib. dispatch.fcgi looks like this : > > #!/home/login/bin/python -S Hmm, what OS are you on when you use that line above? Linux only passes one argument to /usr/bin/env (see http://blog.ianbicking.or

Re: Configuring PYTHONPATH with fcgi

2006-08-13 Thread Matthew Burgess
Jamie Wilkinson wrote: > Another place to do it is in config/environment.py, and add the path to > sys.path in load_environment(). It's late so I'm probably doing something really daft. In config/environment.py line I've now got: root_path = os.path.dirname(os.path.dirname(os.path.abspath(__f

Configuring PYTHONPATH with fcgi

2006-08-13 Thread Matthew Burgess
Hi folks, Having just battled trying to get my FCGI-based deployment working, I'm not happy with the solution I've found! Basically, what was happening was that the dispatch.fcgi script (taken from http://www.pylonshq.com/project/pylonshq/wiki/FastCGI) couldn't import the paste.deploy module

Re: authkit 0.2 docs?

2006-07-30 Thread Matthew Burgess
[EMAIL PROTECTED] wrote: > c.tempate_dir = 'authkit/standard' > > Should that be "c.template_dir"? I thought so too, but it's misspelled (intentionally?) in the code as well. Matt. --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Authkit problems

2006-07-28 Thread Matthew Burgess
Hi folks. I'm having a weird issue with Authkit. Having followed the instructions in manual.txt, The account/signin and account/create pages only appear to pass through the first character of the text fields. That is, I try to login with '[EMAIL PROTECTED]' and 'admin' but this returns a 'No

Authkit minor doc issues

2006-07-28 Thread Matthew Burgess
I'm looking at http://www.pylonshq.com/project/pylonshq/browser/AuthKit/trunk/docs/manual.txt: --- and add ``web==0.6.0`` to your ``setup.py`` file's ``install_requires`` line so that it looks like this:: install_requires=["Pylons==0.9", "web==0.6.0", "AuthKit>=0.2.2b"], --- AuthKit>=0.2.2b d

Minor issue in pylons-0.9

2006-07-28 Thread Matthew Burgess
Hi folks. After creating a new pylons application, setup.py contains the following: install_requires=["Pylons==dev,>=0.9dev-r742"] I'd expect that to simply be "Pylons==0.9" now that 0.9 is final, no? Thanks, Matt. --~--~-~--~~~---~--~~ You received this mess

Pylons + mod_python

2006-07-11 Thread Matthew Burgess
Hi folks, Following on from Nicholas Piel's Wiki entry on configuring Pylons and mod_python, I'm getting an error at http://matt.lfs-matrix.net/. As well as the error returned to the browser, I get the following in Apache's error_log: Error occurred in _StatusBasedRedirect intercepting the r

Re: Missing pylons template

2006-07-07 Thread Matthew Burgess
Philip Jenvey wrote: > On Jul 7, 2006, at 2:10 PM, Matthew Burgess wrote: > > > > > Hi there. > > > > I've installed Pylons 0.8.2 using easy_install with the following > > .pydistutils.cfg: > > > > [install] > > install_lib = ~/pyth

Missing pylons template

2006-07-07 Thread Matthew Burgess
Hi there. I've installed Pylons 0.8.2 using easy_install with the following .pydistutils.cfg: [install] install_lib = ~/python/lib install_scripts = ~/python/bin (my Linux host only allows writes in my home directory, hence not being able to install Pylons system-wide). Now, when I try and cre