[TurboGears] Re: Toolbox thoughts for IRC Chat

2005-11-15 Thread Ronald Jaramillo
Hi, On Nov 15, 2005, at 3:59 AM, [EMAIL PROTECTED] wrote: Very pleasant looking indeed. Thanks There is one thing I am wondering, is it true that we have a proportationally higher percentage of Mac users/developers on TurboGear which could be a contributing factor for the clean and

[TurboGears] Re: Toolbox thoughts for IRC Chat

2005-11-15 Thread Ronald Jaramillo
On the Mac, ugly things stand up =). I meant stand out, (no Slim Shaddy here) Ronald Jaramillo mail: ronald AT checkandshare DOT com blog: http://www.checkandshare.com/blog

[TurboGears] Re: cElementTree Installation Errors on Ubuntu

2005-11-15 Thread Rob Cowie
It worked! Thankyou - it has taken a few days to come across this solution. Cheers

[TurboGears] Re: Lazy updates?

2005-11-15 Thread Jeff Watkins
Yes, that's basically it. However, on thing that I've been unable to determine how to do is switch from non-lazy to lazy updates. I'm not certain it's possible.Most of the time immediate updates is fine. But occasionally, I want to update a BUNCH of things and only flush them to the database

[TurboGears] Re: Lazy updates?

2005-11-15 Thread [EMAIL PROTECTED]
the .set() method ? But I don't think we can control the update. Seems to me that the lazy only controls if the update is immediate, but not controllable. lazy in the sense of I would do it when I want. Jeff Watkins wrote: Yes, that's basically it. However, on thing that I've been unable to

[TurboGears] Re: Lazy updates?

2005-11-15 Thread Jeff Watkins
On 15 Nov, 2005, at 7:54 am, [EMAIL PROTECTED] wrote: the .set() method ? The real problem with the set method is it forces me to collect all my changes in some other place before I can apply them to the model object. This means my model object doesn't reflect the current state and is

[TurboGears] About LocalizedSubmitButton.

2005-11-15 Thread Leandro Lucarella
Hi! I've seen there's a new LocalizedSubmitButton (changeset 198) and I was wondering why is not i18n-aware the 'regular' SubmitButton, since _() will fallback to the default string even for people that don't use i18n explicitly. I think is not a good idea to 'multiplex' all the widgets (and all

[TurboGears] Re: cElementTree Installation Errors on Ubuntu

2005-11-15 Thread vinjvinj
Can we add this to the FAQ. I'm sure many people will come across this on ubuntu.

[TurboGears] TG-only apps (how does Zesty work?)

2005-11-15 Thread Guyon Morée
I have a question about how people manage applications which do not totally consist out of TG. I use Zesty News as an example because I assume that for example the feed-fetching happens in a different application or maybe just a different thread(?) How do you manage this and how are the 2 apps

[TurboGears] How many sites use TurboGears?

2005-11-15 Thread lifeisgood
Dear all, This is potentially a very dumb question but is there a way to test if a page served by Turbogears is from turbogears? And is there a general solution to the problem. I have been wondering whether to jump ship from mod_python recently and it occurred to me, that I (and presumably

[TurboGears] Re: Lazy updates?

2005-11-15 Thread Leandro Lucarella
[EMAIL PROTECTED], el martes 15 de noviembre a las 12:54 me escribiste: the .set() method ? But I don't think we can control the update. Seems to me that the lazy only controls if the update is immediate, but not controllable. lazy in the sense of I would do it when I want. You can

[TurboGears] Using OpenRico's LiveGrid with TurboGears

2005-11-15 Thread [EMAIL PROTECTED]
Hi, Has anyone tried using OpenRico's LiveGrid with TurboGears? We'd like to be able to display a potentially LARGE list of items and be able to only send the items actually displayed rather than the whole list. I managed to get things working to the point where the LiveGrid is calling my data

[TurboGears] Re: How many sites use TurboGears?

2005-11-15 Thread vinjvinj
I moved from a combination of mod_python and a customized mpservlet to cherrypy and then to turbo gears. The move to cherrypy took about a day and the move to tubo gears is currently going on. I would strongly urge moving over. The community is great and helpful and the interface is cleaner.

[TurboGears] Re: How many sites use TurboGears?

2005-11-15 Thread [EMAIL PROTECTED]
Well TurboGears proper hasn't been around that long (though the components have been around much longer) so that number if you had it wouldn't be particularly meaningful. Just building an app with it and seeif you like it. Personally I've found it very low overhead (in terms of annoying

[TurboGears] Re: Using OpenRico's LiveGrid with TurboGears

2005-11-15 Thread Lee McFadden
Have you tried using Venkman[1][2] to help you debug the Javascript and see where it's falling over? Lee [1] http://www.mozilla.org/projects/venkman/ [2] http://www.svendtofte.com/code/learning_venkman/index.php On 15/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Has anyone tried

[TurboGears] 25 minutes to IRC chat

2005-11-15 Thread Kevin Dangoor
Just a reminder that at 1PM Eastern, 6PM GMT, there will be an IRC chat to talk about the things that need to be done for 0.9. If you've even thought about contributing to TurboGears, this would be a great meeting to attend if you can. irc.freenode.net, channel #turbogears Kevin -- Kevin

[TurboGears] Re: Using OpenRico's LiveGrid with TurboGears

2005-11-15 Thread [EMAIL PROTECTED]
I've never used Venkman. I gave it a try and it rules! I've been debugging with alert and MochiKit's log. Venkman is MUCH more pleasant. I managed to get my response processed but I'm not getting scrollbars like I'm supposed to. My issue was that I needed to register an element with rico's

[TurboGears] Re: We need a cookbook

2005-11-15 Thread Jason Chu
On Mon, Nov 14, 2005 at 08:16:51PM -0800, jcDelta wrote: I saw the kid cookbook, but we should have one that pulls it all together. Some ideas for recipies: connect to an ldap database provide for username/password sign on upload a text file These are just off the top of my head, but

[TurboGears] Re: Using OpenRico's LiveGrid with TurboGears

2005-11-15 Thread vinjvinj
Please keep us posted and sample code would be great too! The livegrid demo sure looks pretty cool and somehting I'll have to add to my app.

[TurboGears] Re: Trying to setup a turbogears development version

2005-11-15 Thread slate
Kids egg is not working. I solved this problem by downloading kids source. I made an egg with setup.py, and installed this on my computer.

[TurboGears] Re: 25 minutes to IRC chat

2005-11-15 Thread Tim Lesher
On 11/15/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Just a reminder that at 1PM Eastern, 6PM GMT, there will be an IRCchat to talk about the things that need to be done for 0.9. If you'veeven thought about contributing to TurboGears, this would be a greatmeeting to attend if you can. Can someone

[TurboGears] Re: 25 minutes to IRC chat

2005-11-15 Thread Lee McFadden
The meetup is being logged Tim, have no fear. Links will be posted after we're done. On 15/11/05, Tim Lesher [EMAIL PROTECTED] wrote: On 11/15/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Just a reminder that at 1PM Eastern, 6PM GMT, there will be an IRC chat to talk about the things that

[TurboGears] Re: Trying to setup a turbogears development version

2005-11-15 Thread slate
I dont have any public site available, but: Download kid http://lesscode.org/dist/kid/0.7.1/kid-0.7.1.tar.gz Extract it. cd into extracted directory python setup.py bdist_egg easy_install -f dist/kid-0.7.1-py2.4.egg

[TurboGears] Adding transactions to @expose

2005-11-15 Thread Sean Cazzell
There has been a lot of interest on the list of having a way to automatically wrap a request in a transaction. The most obvious way to do this is to add it into expose. Michele has done a great job putting together the relevant information (with suggestions from Ian Bicking) on ticket #80 here:

[TurboGears] Re: Trying to setup a turbogears development version

2005-11-15 Thread Dave Warnock
slate wrote: Kids egg is not working. I solved this problem by downloading kids source. I made an egg with setup.py, and installed this on my computer. Could you make the egg available? I assume 0.7.1? Dave

[TurboGears] Re: We need a cookbook

2005-11-15 Thread jcDelta
Ah, I see. I misunderstood what it was for. Thanks.

[TurboGears] Re: Adding transactions to @expose

2005-11-15 Thread Michele Cella
Sean CazzellCazzell wrote: There has been a lot of interest on the list of having a way to automatically wrap a request in a transaction. The most obvious way to do this is to add it into expose. Michele has done a great job putting together the relevant information (with suggestions

[TurboGears] Re: Adding transactions to @expose

2005-11-15 Thread Jonathan LaCour
On Nov 15, 2005, at 5:34 PM, Ian Bicking wrote: I do have a question for you: how are you going to handle Exceptions and the ability to display nice errors with `flash`? Typically, I end up with a try:except:finally block where I `flash ('some nice error message')` and do a

[TurboGears] Re: Adding transactions to @expose

2005-11-15 Thread Sean Cazzell
On Tue, 2005-11-15 at 17:31 -0500, Jonathan LaCour wrote: Maybe this could be handled sort of like validators? @turbogears.expose(transaction=True, err_map={Exception : 'generic msg', SQLObjectNotFound : 'specific msg'} def

[TurboGears] Re: Python 2.3?

2005-11-15 Thread Frank
Hi Kevin I just tried the latest version from SVN with Python 2.3, and there are still a few decorators being used: 1. A few places in toolbox\shell.py 2. formencode: Extracting FormEncode-0.3-py2.3.egg to c:\python23\lib\site-packages File

[TurboGears] Dev Meeting chat transcript

2005-11-15 Thread Lee McFadden
Both a nice colourised version and a raw version of the logs are available. Nice version: http://planet.turbogears.org/irclogs/devmeeting.2005-11-15.log.html Raw version: http://planet.turbogears.org/irclogs/tg-devmeeting-20051115.raw.txt Apologies for not stripping out the irrelevant stuff

[TurboGears] Re: cElementTree Installation Errors on Ubuntu

2005-11-15 Thread Toke Høiland-Jørgensen
Glad to be of service :)I added a note to the Turbogears trac at http://trac.turbogears.org/turbogears/wiki/OperatingSystemSpecificConsiderations On 11/15/05, vinjvinj [EMAIL PROTECTED] wrote: Can we add this to the FAQ. I'm sure many people will come across thison ubuntu.

[TurboGears] Re: Adding transactions to @expose

2005-11-15 Thread Jonathan LaCour
Since I am already doing some hacking on expose (moving the validator and inputform functionality out to separate decorators) I thought I'd pick this one up. Fantastic! This is probably my biggest gripe with TurboGears right now, and I really was hoping someone would step up and work on

[TurboGears] Re: Python 2.3?

2005-11-15 Thread Paul Clifford
Frank wrote: I just tried the latest version from SVN with Python 2.3, and there are still a few decorators being used: 1. A few places in toolbox\shell.py Those were added after my initial 2.3 patch. I've reopened ticket 119 and added a patch to change the decorator style. You'll also

[TurboGears] Re: Hang in toolbox (svn trunk)

2005-11-15 Thread Tim Lesher
On 11/12/05, Tim Lesher [EMAIL PROTECTED] wrote: On 11/12/05, Kevin Dangoor [EMAIL PROTECTED] wrote: I haven't seen this problem myself, and I know that both Elvelind and Ronald have run the Toolbox. Ok--I just wanted to make sure it wasn't a known issue before Idebugged it further. main is

[TurboGears] Re: Trying to setup a turbogears development version

2005-11-15 Thread Dave Warnock
Slate, I dont have any public site available, but: Download kid http://lesscode.org/dist/kid/0.7.1/kid-0.7.1.tar.gz Extract it. cd into extracted directory python setup.py bdist_egg easy_install -f dist/kid-0.7.1-py2.4.egg Great thanks, it all worked except that I needed easy_install -f

[TurboGears] logout for identity

2005-11-15 Thread Benoit Masson
Hi I'm trying to add a logout fonction to the identity filter.So I've made a logout form:form action="" method="POST"        input type="hidden" name="f_logout" id="f_logout" value="true"/        input type="submit" value="logout"/        /formThen in the filter.py I've tried to add 

[TurboGears] Re: Adding transactions to @expose

2005-11-15 Thread Leandro Lucarella
Sean Cazzell, el martes 15 de noviembre a las 17:09 me escribiste: There has been a lot of interest on the list of having a way to automatically wrap a request in a transaction. The most obvious way to do this is to add it into expose. Michele has done a great job putting together the

[TurboGears] Re: Adding transactions to @expose

2005-11-15 Thread Sean Cazzell
On Tue, 2005-11-15 at 16:34 -0600, Ian Bicking wrote: I think expected exceptions (including redirects) should not roll back the transaction. Unexcepted exceptions (everything else should). However, you should be able to explicitly roll back or commit the transaction if the decorator

[TurboGears] Re: Adding transactions to @expose

2005-11-15 Thread Brian Dorsey
On 15/11/05, Sean Cazzell [EMAIL PROTECTED] wrote: Disabled by default (must explicitly enable): @expose(transaction=True) Obviously the latter is backwards compatible, but if everyone is going to want a transaction for all of their controller methods, maybe it should be enabled by default?

[TurboGears] Re: logout for identity

2005-11-15 Thread Jason Chu
On Wed, Nov 16, 2005 at 12:46:15AM +0100, Benoit Masson wrote: Hi I'm trying to add a logout fonction to the identity filter. So I've made a logout form: form action= method=POST input type=hidden name=f_logout id=f_logout value=true/ input

[TurboGears] KID hang up when combining applications

2005-11-15 Thread [EMAIL PROTECTED]
Hi, I started toying with TG a couple of weeks ago and first of all want to say that it is joy to work with. I'm really impressed about the shallow learning curve and it will certainly replace my current SQLObject/cherrypy/cheetah setup. Currently I'm trying to figure out how one can build more

[TurboGears] Re: Widget exceptions...

2005-11-15 Thread Jason Chu
On Tue, Nov 15, 2005 at 09:07:55PM -0500, Jason Chu wrote: Just trying to build my own widgets for some things. If I define the widget in a place where it's loaded on startup (somewhere in the controller, let's say) and the widget has a template property (and that template property has a in

[TurboGears] New formencode.sqlschema module

2005-11-15 Thread Ian Bicking
I added a new module to FormEncode in formencode.sqlschema, which wraps SQLObject classes/instances in a schema, and does the create/update/read as part of the .from_python/.to_python methods. I think it's really cool, and should make editing SQLObject objects way more elegant and easy. I

[TurboGears] Python / XML / TurboGears job opportunity

2005-11-15 Thread Don Hopkins
We're looking for an experienced Python programmer who knows XML, TurboGears and Kid templates, to help us finish a project by the middle of December. Programming is already well under way. We need an experienced coder who can jump in and get things done. Location is downtown Berkeley. We'll

[TurboGears] Re: New formencode.sqlschema module

2005-11-15 Thread [EMAIL PROTECTED]
thanks, would refactor my homebrew one to use this. Ian Bicking wrote: I added a new module to FormEncode in formencode.sqlschema, which wraps SQLObject classes/instances in a schema, and does the create/update/read as part of the .from_python/.to_python methods. I think it's really cool,

[TurboGears] Re: Lazy updates?

2005-11-15 Thread Krys Wilken
This is what I was thinking, but can you switch, on the fly, between lazy and non-lazy updates? The docs say that you can specify when defining your class that you want lazy updates (the default being non-lazy). I suppose you could change the class definition before instantiating the instance,

[TurboGears] Identity Conflict - User

2005-11-15 Thread Patrick Lewis
I just got around to checking out the subversion trunk, and stumbled on a name conflict. I had a sqlobject class named User in a project I'm working on, and this conflicts with the new identity User. I don't have identity turned on (looks like that is the default). Last line of the traceback

[TurboGears] hardcoded paths in tg-admin.exe and easy_install.exe?

2005-11-15 Thread [EMAIL PROTECTED]
Perhaps this has been mentioned already. So, forgive me if it has. I install Python into 'C:/Program Files/Python24' as I do not like to clutter up the C:/ portion of my file system. After installing turbogears and trying to begin the tutorial, I get the below error when I do this 'tg-admin

[TurboGears] Re: hardcoded paths in tg-admin.exe and easy_install.exe?

2005-11-15 Thread Ian Bicking
[EMAIL PROTECTED] wrote: Perhaps this has been mentioned already. So, forgive me if it has. I install Python into 'C:/Program Files/Python24' as I do not like to clutter up the C:/ portion of my file system. After installing turbogears and trying to begin the tutorial, I get the below error

[TurboGears] Re: Another blog..

2005-11-15 Thread Levi
toewound.blogger.com has retired. if you're interested, you can find its replacement here: http://www.twistedrails.org/blog/

[TurboGears] Re: TurboGears on Gentoo

2005-11-15 Thread [EMAIL PROTECTED]
i'm running gentoo and i made an install with easy_install.py. Shouldn't that be enough? i'm going to hop to my gentoo box and try this. Rob Cakebread wrote: Hi, I've got a TurboGears portage overlay directory available for Gentoo users: svn co

[TurboGears] Save wikipage problem, please help!

2005-11-15 Thread icylamb
Hi all, Please help me debugging this problem. I have followed the tutorial and initially I got the 'save' function working perfectly. However, when I start building up my wiki application with more functions and using MySQL as the database, I got this error when editing the page. It says

[TurboGears] Re: logout for identity

2005-11-15 Thread Benoit Masson
Yes this method works but this way you loose the last visited page. For exemple, if you're logged and looking at a download page, when you click download, you get redirected to /logout page, then you don't come back to the download page. Having the filter to handle that make logout

[TurboGears] Re: hardcoded paths in tg-admin.exe and easy_install.exe?

2005-11-15 Thread mel
I've actually found it a very common problem that python libraries do not handle an installation directory containing spaces properly on Windows. The default python installation directory on Windows (e.g. c:\python24) is rather unfortunate especially as it has some security implications:

[TurboGears] Re: TurboGears on Gentoo

2005-11-15 Thread [EMAIL PROTECTED]
!!! All ebuilds that could satisfy =dev-python/setuptools-0.6_alpha7 have been masked. !!! One of the following masked packages is required to complete your request: - dev-python/setuptools-0.6_alpha7 (masked by: package.mask) # Rob Cakebread [EMAIL PROTECTED] (14 Oct 2005) # Masked for testing

[TurboGears] Re: TurboGears on Gentoo

2005-11-15 Thread Rob Cakebread
Yes, they should run the same if everything goes as planned. The reason ebuilds are preferred is that many of the packages TurboGears depends on are already in portage: cherrypy, formencode, sqlobject, kid etc. The problem is if you have any of those already emerged, you'll have to unmerge them

[TurboGears] Re: TurboGears on Gentoo

2005-11-15 Thread Rob Cakebread
Thanks, I forgot to mention that setuptools is still masked: Edit or create /etc/portage/package.unmask and add this line: dev-python/setuptools and you should be good to go

[TurboGears] toolbox problems

2005-11-15 Thread Diwaker Gupta
I'm just starting to play around with SVN. When I try to run 'tg-admin toolbox' here are some problems I had: o it tried to load up a firefox instance since one was not running (which is fine). However, when firefox did start, it loaded up my home page rather than the toolbox page. This could be