Hi Sean,
Thanks again for the help.
You are correct, the paste was wrong. The file does say log_dir.
As for the 2 logs files, they both exist but are 0 bytes each.
So the service installs correctly and seems to start correctly. The
browser is left waiting for a response that never comes.
Is possible to run 2 turbogears application in the same machine without
causing problems?
Ex: TurboGears application A in port 8080
TurboGears application B in port 8081 .
Thanks,
Happy New Year
[],s Leonardo
I can't think why not, just configure each one to run on a different
port like:
in appA/dev.cfg (or prod.cfg):
server.socketPort=8080
in appB/dev.cfg (or prod.cfg):
server.socketPort=8081
Alberto
Leonardo wrote:
Is possible to run 2 turbogears application in the same machine without
No problem at all. I have closer to 10 tg apps running nicely
On 1/2/06, Leonardo [EMAIL PROTECTED] wrote:
Is possible to run 2 turbogears application in the same machine without
causing problems?
Ex: TurboGears application A in port 8080
TurboGears application B in port 8081 .
I do most of my development on two different machines, one a desktop
running Ubuntu, the other a laptop running OS X. This means that my
SQLite database ends up in two different locations depending on which
machine I'm working on: /home/rmunn/projects/... on Ubuntu, or
/Users/rmunn/projects/... on
I solve this by having two dev.cfg files. and then just specifing the
one I need depending on which machine I'm on
On 1/2/06, Robin Munn [EMAIL PROTECTED] wrote:
I do most of my development on two different machines, one a desktop
running Ubuntu, the other a laptop running OS X. This means
Visitor Tracking is one of the features I've been longing for a long
time.
I'd sure welcome if it will appear in TurboGears, including limited
help to make this happen. IMO, this should be kept orthogonal or at
least loosely coupled to other subsystems like identities or whatsnot.
I'd like to
Hi,
I'm using Kid templates to serve dynamic pages and they produce HTML in
UTF-8 encoding. Turbogears processes and encodes them just fine but
CherryPy serves them as text/html (note the absence of the charset
field) which confuses browsers (e.g. Firefox 1.5 with auto-detect for
Russian turned
Hello,
[Sorry for posting it here while it's clearly not an TG problem]
I have created a data model class with the UnicodeCol column.
When trying to use it I got the error:
Traceback (most recent call last):
File booklist.py, line 11, in ?
BookEntry(pubid='sample1x', ISBN='',
Just a note to update the problem: I switched to getting my connection via hub.getConnection() and still have the same problem.--Jeff Watkinshttp://newburyportion.com/"Advertising directed at children is inherently deceptive and exploits children under eight years of age."-- American Academy of
I'm curious to know if anyone knows about, or is interested in, a
trac-like clone created with TurboGears ?
--markc
Looking at thread
http://groups.google.com/group/turbogears/browse_frm/thread/b12609be62408f9c
I was just thinking : would STAN be a better model for widgets ? STAN
seems much more suited for building HTML components than Kid, and it
would make it easier to extend classes and to drop into
On 1/2/06, Dan Jacob [EMAIL PROTECTED] wrote:
Plus we could avoid the various bugs we have beenhaving with Kid templates and widgets.
Has there been any Kid bugs uncovered while writing widgets?
-- David
ping, (just to wake it up)
Hi markc,
for the sheel problem you could try to wrap the record insertion
betwenn hub.begin() and hub.commit().
Ciao
Michele
markc wrote:
Regarding the JSON problem, I had a look in dev.cfg and found this
setting and now AJAX works...
tg.allow_json = True
As for the inability to
I've been working on these and I've added some stuff. It's still needs a
lot of work (I'm going to add callback and options as well as more
widgets and fix some inconsitencies on how the widgets are created and
inserted into the temapltes), I don't think this is ready for inclusion
on the SVN
David,
I have not hit any bugs with Kid. I really like it as a templating
language.
My desire is to allow widget developers to leverage any templating
system that has a TurboGears templeting plugin.
As I learn kid better, and write more code. I will use it more. I
have complex STAN code
On Mon, Jan 02, 2006 at 08:58:15AM -0800, Michael Schneider wrote:
Dan,
I have no beef with Kid. I would like to see the widget templates use
the
same template plug in as expose.
That way you could develop widgets using any templating language, and
mix the widgets.
I would like to
Hi,
I'm using Kid templates to serve dynamic pages and they produce HTML in UTF-8
encoding. Turbogears processes and encodes them just fine but CherryPy serves
them as text/html (note the absence of the charset field) which confuses
browsers (e.g. Firefox 1.5 with auto-detect for Russian
On Mon, 2006-01-02 at 11:53 -0500, Karl Guertin wrote:
On 1/2/06, markc [EMAIL PROTECTED] wrote:
I'm curious to know if anyone knows about, or is interested in, a
trac-like clone created with TurboGears ?
I'm pretty sure none exist, but I have no interest in a TG clone
thereof. I think
Yes, that works! To summarize...
. It seems my svn checked out and installed setuptools needed to be
downgraded from setuptools-0.6a9dev_r41815-py2.4.egg to
setuptools-0.6a8-py2.4.egg (this may not be correct as I am new to
python and using eggs).
. To enable AJAX and JSON (as per the end of
http://blog.dowski.com/2005/12/26/buffet-a-full-spread-of-templates/
Looks interesting. Please if this has been already posted in the list,
ignore this mail.
David
Does that work out of the box on Tiger? or does it still need the tiger
fix patch ?
runs out of the box for me ...
2006/1/2, modmans2ndcoming [EMAIL PROTECTED]:
Does that work out of the box on Tiger? or does it still need the tiger
fix patch ?
Hi David,
This was also announced here: http://tinyurl.com/e4blh
TG now supports template plugins: ;-)
http://www.blueskyonmars.com/2006/01/01/turbogears-now-supports-cheetah-and-stan/
Ciao
Michele
David Guaraglia wrote:
http://blog.dowski.com/2005/12/26/buffet-a-full-spread-of-templates/
Perhaps Kevin should change the mac install guide to include an option
for python 2.4.2 from DarwinPorts then as well.
I'm pretty sure none exist, but I have no interest in a TG clone
thereof. I think Trac works just fine as is and wouldn't be improved
if it was ported to TG.
If a port existed for a stable TG v1 then I suspect it would be much
easier to AJAXify and generally modify said mythical trac-like
I had the environment set up before, but I biffed my system messing
with Apache 2 anyway, so I had to rebuild the environment, but this
time, I have elected to set it up under python 2.4.2 from Darwinports.
I downloaded ez-setup.py and went with the instructions, but I only got
easy_install,
Kevin: did so - http://trac.turbogears.org/turbogears/ticket/312
sorry for quite a long time to post a ticket and to replay here
(replaying here again was a thought from my friend) - new year's eve
was quite long for me :)
Well, I removed the DarwinPorts version of Python 2.4.2 and installed
Python 2.4.1 from macpython and it all worked as expected.
What is up with that? 2.4.2 is so different from 2.4.1 that it caused
the script to only install 4 items from the system?
I cannot get it to work. It throws up a bunch of syntax error messages
with I call tg-admin.
I'm working on the shopping cart for my wife's website (which I'll soon
extract for the community) and keep running into something. When I
modify a piece of session data then hit a specific page again, I get
this error in the browser:
500 Internal error
Server got itself in trouble
On 1/2/06, Jeremy Jones [EMAIL PROTECTED] wrote:
I guess I could look at templates/master.py oh, that's right - itdoesn't exist.I just googled and didn't find a flag to turn ongeneration of .py files from Kid.If someone knows how, I'd appreciate
some insite.I guess I'm about to dig into
It's a shame people don't get WSGI middleware, as this is another
classic example of where it'd work wonderfully. Besides for making this
functionality easily usable by any WSGI compatible framework, it'd open
the doors to tie this ID back into other middleware such as the Open ID
authentication
Ben Bangert wrote:
TurboGears does a great job re-using other projects, it only makes
sense that when appropriate new re-usable projects should be created if
functionality can easily be setup independently of the framework.
All I can say is +1!
On 1/2/06, Jeremy Jones [EMAIL PROTECTED] wrote:
David Stanek wrote:
On 1/2/06, Jeremy
Jones [EMAIL PROTECTED]
wrote:
I guess I could look at templates/master.py oh, that's right - it
doesn't exist.I just googled and didn't find a flag to turn on
generation of .py files
On 1/2/06, Michele Cella [EMAIL PROTECTED] wrote:
Jeremy Jones wrote: File /home/jmjones/svn/home/pppweb/trunk/pppwebproject/tg/pppweb/pppweb/templates/view_cart.py, line 19, in initialize rslt = initialize(self) File
David Stanek, el lunes 2 de enero a las 17:05 me escribiste:
On 1/2/06, Jeremy Jones [EMAIL PROTECTED] wrote:
I guess I could look at templates/master.py oh, that's right - it
doesn't exist. I just googled and didn't find a flag to turn on
generation of .py files from Kid. If
David Stanek wrote:
On 1/2/06, *Jeremy Jones* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
David Stanek wrote:
On 1/2/06, *Jeremy Jones* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I guess I could look at templates/master.py oh, that's
right
On Jan 2, 2006, at 1:45 PM, modmans2ndcoming wrote:
+++
Traceback (most recent call last):
File /usr/local/bin/tg-admin, line 5, in ?
from pkg_resources import load_entry_point
File
/Library/Python/2.3/site-packages/setuptools-0.6a8-py2.3.egg/
pkg_resources.py,
line
A few comments:
- User ID is very different from Visitor ID, all users are visitors;
but the reverse isn't always true. Visitor ID does not require any
authentication, where User ID probably will. Therefore, I think they
should be handled completely independently.
- Visitor ID is very
A few comments:
- User ID is very different from Visitor ID, all users are visitors;
but the reverse isn't always true. Visitor ID does not require any
authentication, where User ID probably will. Therefore, I think they
should be handled completely independently.
- Visitor ID is very
Well, things have definitely changed a bit since either of those documents were written. Can you give me a little hint about what's going wrong? Are you certain you've created the user correctly?I'm looking to update the sample application, because quite a few things have changed lately.On 2 Jan,
While it *MIGHT* be possible to create this query using SQLBuilder,
it certainly wouldn't be any easier using SQLBuilder than raw SQL:
select t1.product_id,
t1.home*%(home_page_weight)s +
t1.product*%(product_page_weight)s +
On Jan 2, 2006, at 7:07 PM, Jeff Watkins wrote:
While it *MIGHT* be possible to create this query using SQLBuilder,
it certainly wouldn't be any easier using SQLBuilder than raw SQL:
select t1.product_id,
t1.home*%(home_page_weight)s +
I just svn updated my TG (and third party stuff) and this is working
much better now. I've been hitting the new code for about 15-20 minutes
now and I've seen 0 of the same problem.
Thanks all,
- jmj
I've got a method which does cherrypy.HTTPRedirect() based on a
parameter which is passed in. I'm getting it mostly redirecting to
where I tell it to go, but occasionally, it'll redirect to /. Anybody
else seeing this? I couldn't find anything about this on CherryPy's
site. I'll probably
Hi Jeff,
Thank you so much for replying!
I followed, to the letter, all of the directions posted on
http://trac.turbogears.org/turbogears/wiki/IdentityManagement
(I did edit the document under step 5, since the way things were
selected via @identity.require had been recently improved.)
The
Just posting a correction to the parent post, putting the year as the
first parameter to datetime.datetime():
def byYear(column, year):
return AND(column = datetime.datetime(year, 1, 1),
column datetime.datetime(year + 1, 1, 1))
def byYearAndMonth(column, year, month):
Hello everyone,
I am trying to validate a really simple form, something like this:
kwargs = { 'names' : ['James', 'Book'], 'zips':['12345', '20093'],
'id':'5', 'misc':'foo'] }
for a method like processForm(names, zips, id, misc)
However, while making a schema for id and misc is simple (using
OK, Solved the issue with python 2.4.2 not working with TG... I needed
to also install elementtree = 1.2.6 which Darwinports also had.
Thanks to the folks on IRC for tha tone.
Hi all,
I've been reading the widgets/base.py code and just don't see how you
tell a CheckBoxList which items are already checked. Anyone have a
working example, or can say quickly how to do it?
Also, here's the bug(s):
In short, the widget's values coming from a submitted form are not
I was wondering if there was any thought put into TableForm being able
to contain a list of widgets.
For example TableForm([ TextField(name, default=None,
validator=V.String())]*3) will correctly render a TableForm with input
name=name .../ 3 times, but I'm not so sure it will play nice during
53 matches
Mail list logo