micheleDiegoli schrieb:
> server.socket_host = "0.0.0.0"
You should set this to "localhost" unless you're running Apache on a
different server.
> server.socket_port = 8080
> server.thread_pool = 1
You should use more threads. The default is 10.
#LoadModule proxy_module modules/mod_proxy.so
Ar
thanks for that clarification. i was a bit thrown off b/c tg.devtools
exists in the paster_plugin list in the setup.py. i now realize that
it doesn't necessary mean that it's require like the other three lists
(install_requires, setup_requires, and test_requires). thanks very
much!
On Nov 30, 5
On Dec 1, 10:53 am, working_ant wrote:
> Hello,
>
> I succesfully deployed TG 2 application with apache 2.2 and mod_wsgi
> on Ubuntu 9.04.
>
> Unfortunatelly, the authentication provided by quickstart fails in
> production environment, every time I fill user and password form I get
> 404 error.
the controllers and template is pretty straight forward. when i visit
it on a browser via paster serve, it displays properly when given a
valid id in the db. as for the exception during nosetests, it is the
same one u would get when you provide an invalid id at GET /contacts/
[invalid_id]. this
pred.cfg
[global]
base_url_filter.on = False
base_url_filter.use_x_forwarded_host = True
server.socket_host = "0.0.0.0"
server.socket_port = 8080
server.thread_pool = 1
...
Apache conf:
ServerAdmin b...@bla.bla
ServerName bla.bla.bla
ServerSignature Off
#LoadModule proxy_modu
working_ant schrieb:
> Hello,
>
> I succesfully deployed TG 2 application with apache 2.2 and mod_wsgi
> on Ubuntu 9.04.
>
> Unfortunatelly, the authentication provided by quickstart fails in
> production environment, every time I fill user and password form I get
> 404 error. Rest of application
Thank you for your answer, I have solved it, there are many code need change
before this sample start to run in my PC.
2009/11/30 Diez B. Roggisch
> On Monday 30 November 2009 03:49:44 Titainium wrote:
> > Hi all,
> > I'm tring to run the sample of the jquery flexigrid, the sample is
> > here:
The index now contains r.w 1.0.18 and only 1.0.18
On Nov 30, 3:37 pm, Christoph Zwerschke wrote:
> AF schrieb:
>
> > However, the other methods documented
> > athttp://www.turbogears.org/2.1/docs/main/DownloadInstall.html
> > are still failing.
>
> > hg clonehttp://hg.turbogears.org/tgdevtools/t
Hello,
I succesfully deployed TG 2 application with apache 2.2 and mod_wsgi
on Ubuntu 9.04.
Unfortunatelly, the authentication provided by quickstart fails in
production environment, every time I fill user and password form I get
404 error. Rest of application works fine, I simply cannot access
a
AF schrieb:
> However, the other methods documented at
> http://www.turbogears.org/2.1/docs/main/DownloadInstall.html
> are still failing.
>
> hg clone http://hg.turbogears.org/tgdevtools/ tgdevtools
> hg clone http://hg.turbogears.org/tg-21/ tg21
Already fixed; should be:
> hg clone http://hg
On Nov 30, 7:37 pm, Seth wrote:
> AFAIK this is a bug, and only works when use_dotted_templatenames is
> set to False.
>
> Please see:http://trac.turbogears.org/ticket/2395
Ah, thanks for pointing me to it.
It seems Mako is still a second class citizen in the TurboGears
world...
--
You received
On Mon, Nov 30, 2009 at 12:15 AM, AF wrote:
>
> > Assuming a method "myaction(self, id)" under People(RestController):
> >
> > 1) Calling "GET /people/1/myaction" yields a 404.
> > 2) Calling "GET /people/myaction/1" calls myaction(self,1)
> >
> > Can someone more familiar with the code confirm i
> Try "easy_install -U repoze.who" to install the latest version.
>
> I updated the repoze.who requirements because the old version handled
> logouts differently, causing problems with the quickstarted tests, but
> forgot that the new version must be copied to the tg2.1 index.
>
Yep that works.
khalid schrieb:
> Using /home/maestro/_zero/tg21/mabase/lib/python2.5/site-packages/
> tg.devtools-2.1a3-py2.5.egg
> Processing dependencies for tg.devtools
> Searching for repoze.who>=1.0.18
> Reading http://www.turbogears.org/2.1/downloads/current/index/repoze.who/
> No local packages or download
AFAIK this is a bug, and only works when use_dotted_templatenames is
set to False.
Please see: http://trac.turbogears.org/ticket/2395
Seth
On Nov 29, 5:42 pm, Antoine Pitrou wrote:
> Hello,
>
> I just noticed that caching of Mako compiled templates seems to be
> disabled on my sites. They are u
Getting same error.
Have tried:
easy_install -i http://www.turbogears.org/2.1/downloads/current/index
tg.devtools
and just to check, i tried:
wget http://www.turbogears.org/2.1/downloads/current/tg2-bootstrap.py
But, I got a 404...
On Nov 30, 11:15 am, percious wrote:
> Looks like there migh
micheleDiegoli schrieb:
> I've some problem when I try to run Turbogears behind Apache (or
> Nginx): I only see the turbogears page (running on port 8080) and not
> the port less address!
> I'm working on CentOS 5.3 virtual server.
>
> I did the same on Debian and on this os works very well...
Po
Hi to all,
I've some problem when I try to run Turbogears behind Apache (or
Nginx): I only see the turbogears page (running on port 8080) and not
the port less address!
I'm working on CentOS 5.3 virtual server.
I did the same on Debian and on this os works very well...
Thanks in advance,
Regards,
Looks like there might be a typo. I will double check on this today.
Sorry about that.
cheers.
-chris
On Nov 30, 8:12 am, khalid wrote:
> Hello,
>
> thanks for all your jobs.
>
> I begin a new project that will be released in 2010-03-01
> and decide to try tg2.1 (a3).
>
> When I try to install
Hello,
thanks for all your jobs.
I begin a new project that will be released in 2010-03-01
and decide to try tg2.1 (a3).
When I try to install it in a virtualenv (amd64/debian/squeeze/
python-2.5.4 & virtualenv-1.3.3)
following "http://www.turbogears.org/2.1/docs/main/
DownloadInstall.html"
and
Hi,
If I understand it correctly, 'python setup.py develop' does basically
the same thing as 'python setup.py install', only it links the source
to your site-packages rather than installing it in there. In this
case, setup.py develop will only install tg.devtools if it is listed
in the install_dep
Hi *jo*,
*jo* wrote:
> I'm having trouble unpickling a value from cherrypy.session -- it
gives me *a ValueError:* *insecure* *string* *pickle*.
> ...
> if not cherrypy.session.get(key):
> File
"/var/lib/python-support/python2.4/cherrypy/filters/sessionfilter.py",
line 448, in __getattr
On Monday 30 November 2009 03:49:44 Titainium wrote:
> Hi all,
> I'm tring to run the sample of the jquery flexigrid, the sample is
> here:
> http://turbogears.org/2.0/docs/main/ToscaWidgets/Cookbook/FlexiGrid.html,
> but I have get this kind of error when I try to open this page:
> http://localh
steve schrieb:
> hi,
>
> i am trying to do the following:
>
> class TestGetOneContactsController(TestController):
> def test_get_one(self):
> contact = DBSession.query(Contact).first()
> print contact.id
> print contact.full_name
> print contact.given_name
>
Mike Carifio schrieb:
> Is there errata that tells me how to adapt the book to using tg2
> instead of tg?
> I looked at http://www.turbogearsbook.com/addendum.html, but this
> doesn't seem to be it. Pl. advise. Thanks.
The changes are to drastic, and AFAIK there is no migration document.
Diez
--
25 matches
Mail list logo