can anyone offer suggestions/experience for integrating with solr ?

2009-06-11 Thread Jonathan Vanasco
or better stated: i've got the 'render' and 'integration' stuff pretty much covered what i don't have covered is generating the content to fill solr with. i'm estimating that it will take about about 20 minutes to load all the data from the db and template it. the live site works much faster

Re: Beaker 1.3.1 and MissingCacheParameter

2009-06-11 Thread Ben Bangert
On Jun 11, 2009, at 10:27 AM, Walter Cruz wrote: > But I /did/ manage to get @cache.cache to work by supplying a > data_dir: > > @cache.cache('foobar2', type='file', >data_dir='./data/cache', >expire=3600) > > Yes, looks like the problem is that the data_dir setting from teh > ini file

redirect_to exception not being processed in controller when a function

2009-06-11 Thread david
Hi, I am trying to incorporate "rum" into my pylons project. This was the first time I have tried to incorporate another wsgi app into an existing pylons app. The rum docs state that a way to do this is to create a controller as a *function*, like so: def AdminController(environ, start_respons

Re: Running virtualenv.py on Windows XP - error

2009-06-11 Thread phipster
>From your error stack it appears you're using Python 3. I couldn't find a definitive answer at http://pypi.python.org/pypi/virtualenv, but virtualenv may not yet be compatible with Python 3.x. I am able to run virtualenv under Python 2.6.2. Please install 2.6.x and try again, let us know if it w

Re: Beaker 1.3.1 and MissingCacheParameter

2009-06-11 Thread Walter Cruz
On Thu, Jun 11, 2009 at 6:26 AM, Graham Higgins wrote: > > But I /did/ manage to get @cache.cache to work by supplying a > data_dir: > > @cache.cache('foobar2', type='file', >data_dir='./data/cache', >expire=3600) > Yes, looks like the problem is that the data_dir setting from teh ini fil

Running virtualenv.py on Windows XP - error

2009-06-11 Thread MorneLouw
I'm trying to set up Pylons on my work's Windows PC and get stuck at the point where I need to run the virtualenv.py script. I get the following error: --- C:\downloads\python>C:\Python31\python.exe "C:\downloads\python \virtualenv-1.3.3\virtualenv.py" sandbox File "C:\

Re: How did you setup your tests?

2009-06-11 Thread Alexandre Conrad
2009/6/11 Tom Longson (nym) : > If anyone could post examples of their tests, I would appreciate it. Just browse to the "tests" directory of this repository: http://code.google.com/p/papyrus/source/browse/ Alex --~--~-~--~~~---~--~~ You received this message beca

Re: How did you setup your tests?

2009-06-11 Thread Alexandre Conrad
2009/6/10 Didip Kerabat : > How funny Alex, > > I had to solve the exact same problem last week. Our snippet looks similar > as well. Yeah. Here is where I got my inspiration from: http://wiki.pylonshq.com/pages/viewpage.action?pageId=9011209 Alex --~--~-~--~~~---~--

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: How did you setup your tests?

2009-06-11 Thread Alexandre Conrad
2009/6/10 Wichert Akkerman : > In my opinion  the whole standard test setup Pylons installs should be > different :). Currently importing package.tests has side-effects such as > invoking websetup, which is a bit nasty; importing should never have > side-effects imho, and this one is particularly

Re: How did you setup your tests?

2009-06-11 Thread Tom Longson (nym)
If anyone could post examples of their tests, I would appreciate it. Cheers, Tom Longson (nym) On Thu, Jun 11, 2009 at 12:08 AM, Chris Withers wrote: > > Wichert Akkerman wrote: > > My test setup for Pylons projects looks like this: > > > > * tests/__init__.py is empty > > * tests/base.py has

Re: How did you setup your tests?

2009-06-11 Thread Chris Withers
Wichert Akkerman wrote: > My test setup for Pylons projects looks like this: > > * tests/__init__.py is empty > * tests/base.py has three minimal test case classes: a class which only > configures SQLAlchemy, a class which only sets up a minimal Pylons > environment (with mock session, cache,