[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread reflog
hm, ok. i'll keep an eye on it. eli

[TurboGears] Re: Endless loop when restarting TG site

2005-12-29 Thread Michele Cella
Since it has to do with widgets, could this be ticket #148? http://trac.turbogears.org/turbogears/ticket/148 Ciao Michele David Stanek wrote: It seems like this may be a CherryPy issue. Are you able to run your server with '-v' so that you can get more detail about the exception that

[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread Michele Cella
This also seems to be related to ticket #148, you are using a widget created outside the turbogears package, right? Ciao Michele reflog wrote: hm, ok. i'll keep an eye on it. eli

[TurboGears] problem using Identity on MySql

2005-12-29 Thread reflog
Hi. I don't know if this is Identity related prob, or I am doing something stupid, but when I added Identity support in my project, and tried adding this: a = std.identity.current or some call like in_group('admin') I get this: 500 Internal error Server got itself in trouble Traceback (most

[TurboGears] Re: Negative feedback

2005-12-29 Thread Lion Kimbro
Okay! Thanks, everybody, for all the helpful advice. Kevin, I've posted my apology insights on: http://lion.taoriver.net/?p=11 I'll take Mike Orr's advice, and journal about what I find easy or hard, what I have difficulty finding, and techniques / insights / workarounds I figure out. And

[TurboGears] Re: Updating a schema with tg-admin

2005-12-29 Thread Kevin Dangoor
I haven't yet used the feature myself, but it is there. I believe it involves taking a snapshot of how the database stands, then computing a diff between that snapshot and the current model and turning that into a script that can be run. But, I can't be more specific than that since I haven't

[TurboGears] Re: Problem with identity management and db transactions

2005-12-29 Thread [EMAIL PROTECTED]
Hello Kevin, no, they are all myisam tables no innodb at all. It seems that I'm not the only one having that problem. Some tables have a fixed row format, most have a dynamic row format, if that does mean anything. Anything else I can check? Regards, Fabian

[TurboGears] Re: problem using Identity on MySql

2005-12-29 Thread [EMAIL PROTECTED]
Hello, at least you are not alone, I have the same problem: http://groups.google.com/group/turbogears/browse_thread/thread/5855bf4ae2108a5d/9199aaf0a7597bda#9199aaf0a7597bda Regards, Fabian

[TurboGears] Re: Negative feedback

2005-12-29 Thread Kevin Dangoor
On 12/29/05, Lion Kimbro [EMAIL PROTECTED] wrote: Okay! Thanks, everybody, for all the helpful advice. Kevin, I've posted my apology insights on: http://lion.taoriver.net/?p=11 Thanks, Lion! I'll take Mike Orr's advice, and journal about what I find easy or hard, what I have

[TurboGears] Re: Problem with identity management and db transactions

2005-12-29 Thread Kevin Dangoor
Hi Fabian, OK. That may be an easier thing to deal with. With the implicit transactions in 0.9, if your code hits an exception it will try to rollback. Of course, if all you have are MyISAM tables, you *can't* rollback... hence the error. Personally, I wouldn't run a database without

[TurboGears] 0.9 svn or 0.8a6 release?

2005-12-29 Thread Peter Herndon
Hi there, I have some previous experience with CherryPy 2.0 and Kid, from all of 8 months ago or so, though pre-dating TurboGears. I've got a website I need to build, and I'd like to know if I should use the current release, 0.9 from svn, or should I wait for the 0.9 release? The website is a

[TurboGears] Re: 0.9 svn or 0.8a6 release?

2005-12-29 Thread Jorge Godoy
Peter Herndon [EMAIL PROTECTED] writes: I have some previous experience with CherryPy 2.0 and Kid, from all of 8 months ago or so, though pre-dating TurboGears. I've got a website I need to build, and I'd like to know if I should use the current release, 0.9 from svn, or should I wait for

[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread Kevin Dangoor
This may indeed be #148. I'm having trouble reproducing it... I didn't have the static directory set up properly at first, but that didn't crash CP as described. Then, when I did set the static directory up properly, the widget worked fine. I stuck it in a random 20 minute wiki project that I've

[TurboGears] Re: 0.9 svn or 0.8a6 release?

2005-12-29 Thread Peter Herndon
On 29 Dec 2005 10:36:06 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: Peter Herndon [EMAIL PROTECTED] writes: I have some previous experience with CherryPy 2.0 and Kid, from all of 8 months ago or so, though pre-dating TurboGears. I've got a website I need to build, and I'd like to know if

[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread Michele Cella
I've put some time into this, step to reproduce te problem. Let's put this widget into my controllers.py: class MyTextField(widgets.TextField): template = div xmlns:py=http://purl.org/kid/ns#; /div I then modified turbogears/widgets/base.py to: if isinstance(t,

[TurboGears] Re: 0.9 svn or 0.8a6 release?

2005-12-29 Thread Jorge Godoy
Peter Herndon [EMAIL PROTECTED] writes: I work as a sysadmin for a major hospital, and I want to build a website that contains contact information for each server. That is, the 24x7 operations team will be able to log in (so auth is required), look up a server by name or IP, and get both

[TurboGears] Re: Problem with identity management and db transactions

2005-12-29 Thread [EMAIL PROTECTED]
Hello Kevin, thanks for your support, I have added a ticket for the problem. With best regards, Fabian

[TurboGears] Model designer in recent svn not working

2005-12-29 Thread [EMAIL PROTECTED]
Hello, since the model designer is now available in the new revisions (413 for me), I wanted to give it a try but it's not working. The page is displayed but nothing happens. The logfile complains about a missing file: 2005/12/29 15:23:08 DEBUG INFO NOT FOUND file:

[TurboGears] Re: Model designer in recent svn not working

2005-12-29 Thread Ronald Jaramillo
Hi Fabian, The template was refering to 'modeldesigner.js' but the js file name is 'modelDesigner.js'. Thanks for the tip, this is fixed in svn. Cheers. Ronald On Dec 29, 2005, at 2:30 PM, [EMAIL PROTECTED] wrote: Hello, since the model designer is now available in the new revisions (413

[TurboGears] Re: Model designer in recent svn not working

2005-12-29 Thread [EMAIL PROTECTED]
Hello Ronald, thanks for the quick fix, it's working now (rev. 414), a really great tool. Do you think it's possible to load the models in the current project into the designer in the future? With best regards, Fabian

[TurboGears] Re: Model designer in recent svn not working

2005-12-29 Thread Ronald Jaramillo
On Dec 29, 2005, at 2:56 PM, [EMAIL PROTECTED] wrote: Hello Ronald, thanks for the quick fix, it's working now (rev. 414), a really great tool. Thanks, you are welcome Do you think it's possible to load the models in the current project into the designer in the future? Working on it.

[TurboGears] Re: Updating a schema with tg-admin

2005-12-29 Thread [EMAIL PROTECTED]
Hello, if you only add a new model you can use tg-admin sql create, it will only create the extra tables. Changing a model is more difficult. If you execute tg-admin sql record after each changel, you can track the changes (they are displayed with tg-admin sql status). For upgrading I would

[TurboGears] Re: Updating a schema with tg-admin

2005-12-29 Thread Kevin Dangoor
On 12/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Changing a model is more difficult. If you execute tg-admin sql record after each changel, you can track the changes (they are displayed with tg-admin sql status). For upgrading I would have assumed to use tg-admin sql upgrade, but then

[TurboGears] Re: 0.9 svn or 0.8a6 release?

2005-12-29 Thread Peter Herndon
What is identity, in TurboGears context? It sounds interesting, from an authN/authZ perspective. It is authn/authz. :-) Take a look at http://groups.google.co.uk/group/turbogears/browse_thread/thread/8dc90943e2cce3ce/2c33d46b6ca2f28e#2c33d46b6ca2f28e for the things I've talked above.

[TurboGears] i18n admin tool (command-line)

2005-12-29 Thread Max Ischenko
Hello, I have written a command line tool to manage i18n data, along the lines of how admi18n web interface work (and re-using the same msgfmt/pygettext tools). It's a standalone script now but only because I haven't figured out how to integrate it directly with tg-admin. Supported commands are:

[TurboGears] Re: problem using Identity on MySql

2005-12-29 Thread Jeff Watkins
I wonder if this has anything to do with Identity using it's own Hub. Starting in r400, I modify the TG_SecretToken for the visitor. As this is modified using a hub that isn't the same one as the application's model, maybe this is causing a problem with SQLObject.On 29 Dec, 2005, at 5:44 am,

[TurboGears] Re: i18n admin tool (command-line)

2005-12-29 Thread Kevin Dangoor
Hi Max, Very cool! Integrating with tg-admin should be quite simple. Take a look at setup.py, and you'll see where the entry points are defined for the existing commands. That's how you add a command: you just put a pointer to the class there. To see how the other commands are implemented, take

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Jeff Watkins
Again, I don't usually get involved in arguments like this because I simply don't use the templates (my pages are static HTML with Ajax calls), but one of my initial complaints with Kid is that it *changes* my code.If I write in XHTML, I expect it to *stay* XHTML not be translated into HTML 4.0.

[TurboGears] Re: problem using Identity on MySql

2005-12-29 Thread reflog
Ok, I'll check if I can use INNODB tables. Jeff, I think it is somehow related, because my app did hit exceptions before, but it never complained about transactions...

[TurboGears] Cherrypy file sessions and SQLObject

2005-12-29 Thread Liza
Hello everyone! I'm trying to switch my session handling from Ram to File and ran into an immediate problem. I get this error when the session is established: PicklingError: Can't pickle class 'sqlobject.declarative.sqlmeta': it's not found as sqlobject.declarative.sqlmeta I tried removing

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Kevin Dangoor
On 12/29/05, Jeff Watkins [EMAIL PROTECTED] wrote: Again, I don't usually get involved in arguments like this because I simply don't use the templates (my pages are static HTML with Ajax calls), but one of my initial complaints with Kid is that it *changes* my code. If I write in XHTML, I

[TurboGears] Re: problem using Identity on MySql

2005-12-29 Thread Kevin Dangoor
On 12/29/05, reflog [EMAIL PROTECTED] wrote: Ok, I'll check if I can use INNODB tables. Jeff, I think it is somehow related, because my app did hit exceptions before, but it never complained about transactions... I'm expecting to check in a change today to allow you to turn off the

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread David Stanek
On 12/29/05, Jeff Watkins [EMAIL PROTECTED] wrote: If I write in XHTML, I expect it to *stay* XHTML not be translated into HTML 4.0. And if I specify XHTML in the config file, I expect it to look the way I wrote it, complete with closing script tags instead of autoclosed script tags (script

[TurboGears] Re: i18n admin tool (command-line)

2005-12-29 Thread Max Ischenko
Hi Kevin, I attached the module to ticket #126. Copy it to commands/ directory and add i18n = turbogears.command.i18n:InternationalizationTool to setup.py to try it out. I also updated it to check i18n.localeDir and i18n.domain settings as described on

[TurboGears] Re: problem using Identity on MySql

2005-12-29 Thread reflog
As always - you guys are fast and swift with the solutions! Converting the tables to INNODB did the trick. Thanks alot. And to Kevin: I all for FOR the transactional databases. I just used to work with Postgres and didn't realise that this was default MySql behaviour. cheers, Eli

[TurboGears] Re: Model designer in recent svn not working

2005-12-29 Thread reflog
Keep up the great work, really glad to see it in the SVN!

[TurboGears] Re: problem using Identity on MySql

2005-12-29 Thread Kevin Dangoor
On 12/29/05, reflog [EMAIL PROTECTED] wrote: And to Kevin: I all for FOR the transactional databases. I just used to work with Postgres and didn't realise that this was default MySql behaviour. It does seem a little crazy :) Kevin -- Kevin Dangoor Author of the Zesty News RSS newsreader

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Ron Stephens
Hello Kevin Jorge Vargas wrote: For what I see people wanting Cheetah have this points: 1 - I need to output format and kid doesn't lets me 2 - I just like it better 3 - We should let people decide for 1 and I think this is the most important part, why don't we made kid default for XML, XHTML

[TurboGears] to the mysql users with rollback exceptions

2005-12-29 Thread Kevin Dangoor
As of r417, if you put notrans_ in front of the DBURI, TurboGears will silently ignore all begin/commit/rollback/end instructions. Kevin -- Kevin Dangoor Author of the Zesty News RSS newsreader email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com

[TurboGears] Re: Negative feedback

2005-12-29 Thread Mike Orr
Regarding absolute URLs, I'm not sure if what you're trying to build is related to your distributed catalog-of-wikis thing. Most TG sites are standalone and independent so relative links work well, especially with their ability to automatically adjust to whatever URL environment they're deployed

[TurboGears] Re: to the mysql users with rollback exceptions

2005-12-29 Thread Michael Schneider
Kevin, I added this info the MySQL Wikki Section

[TurboGears] SCGI over Proxy in LightTPD

2005-12-29 Thread Jared Kuolt
Can anyone explain why one might want to use the SCGI method over the Proxy method outlined in the docs? http://www.turbogears.org/docs/deployment/lighttpd.html

[TurboGears] Re: [turbogears-commits] [420] trunk/turbogears/widgets/base.py: temporary rollback of the change from #306

2005-12-29 Thread David Stanek
On 12/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Revision 420 Author kevin Date 2005-12-29 17:19:41 + (Thu, 29 Dec 2005) Log Message temporary rollback of the change from #306 Modified Paths trunk/turbogears/widgets/base.py Was this because of the auto reloading issue? --

[TurboGears] [OT?] What is everyone's development setup?

2005-12-29 Thread [EMAIL PROTECTED]
I'm getting back into web developing with python after a little hiatus due to school and other projects. I have a couple sites I made with CherryPy and now I plan on updating them to TurboGears along with trying out some new ideas. But before I do that I HAVE to simplify my development setup.

[TurboGears] Re: [turbogears-commits] [420] trunk/turbogears/widgets/base.py: temporary rollback of the change from #306

2005-12-29 Thread Kevin Dangoor
On 12/29/05, David Stanek [EMAIL PROTECTED] wrote: Was this because of the auto reloading issue? Nope. There were several failing tests, so I decided to rollback until I could see why they were failing. Mostly minor, cosmetic stuff (one actual problem)... That's all back in now. Kevin --

[TurboGears] Re: What is everyone's development setup?

2005-12-29 Thread [EMAIL PROTECTED]
I apologize in advance if this isn't the correct place to post this. It seemed like the best place to get an answer, although it's not directly about TurboGears. That's why I put the OT in the subject. Dale Jung

[TurboGears] Re: What is everyone's development setup?

2005-12-29 Thread Michael Schneider
Dale, I develop on windows and deploy on linux. Python 2.4.2 turbogears sqlite eclipse + python plugin + pylint SVN for source control Note: I deploy on MYSQL and SQLite, but always develop on sqlite have fun, Mike

[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread Jason Chu
On Thu, Dec 29, 2005 at 09:35:23AM -0500, Kevin Dangoor wrote: On 12/29/05, Michele Cella [EMAIL PROTECTED] wrote: I've put some time into this, step to reproduce te problem. Let's put this widget into my controllers.py: class MyTextField(widgets.TextField): template =

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread [EMAIL PROTECTED]
I *really* hate anything that changes my code, because chances are I know what I'm doing. well, judging from your post, it's not all that obvious that you do know what you're doing, at least wrt XML and XHTML. I suggest reading this before proceeding: http://www.hixie.ch/advocacy/xhtml

[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread Kevin Dangoor
On 12/29/05, Jason Chu [EMAIL PROTECTED] wrote: My thinking was that it had to do with cherrypy autoreloading. Cherrypy finds the compiled class in cls.template, but can't find the source class and throws an exception. You may be right about that. The test I did earlier wouldn't have hit

[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread David Stanek
Take a look at changeset #422. It fixes the immediate issue, but I still want to investigate this a little bit to see the difference between widgets defined in widgets.py vs. controllers.py. -- David

[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread Michele Cella
Kevin Dangoor wrote: On 12/29/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On 12/29/05, Jason Chu [EMAIL PROTECTED] wrote: My thinking was that it had to do with cherrypy autoreloading. Cherrypy finds the compiled class in cls.template, but can't find the source class and throws an

[TurboGears] Re: What is everyone's development setup?

2005-12-29 Thread [EMAIL PROTECTED]
Hello, I think that's an interesting question. My setup is ubuntu linux with mysql (now with innodb), as an editor I use eclipse with pydev-plugin for excellent autocomplete (and more) and subclipse for svn connectivity. For templates I use nvu and quanta at the moment but I would like to have

[TurboGears] Re: [OT?] What is everyone's development setup?

2005-12-29 Thread Tim Lesher
Development: * WinXP, svn repo, with Ubuntu Linux FreeBSD 6.0 via VMware * Emacs (python-mode for code; nxml-mode for templates) Production (planned): * FreeBSD (hosting on Textdrive) If you happen to be an emacs user already, nxml-mode is an excellent, excellent X(H)TML editing mode. I

[TurboGears] Re: [OT?] What is everyone's development setup?

2005-12-29 Thread Sean De La Torre
Dev: - WinXP - Editors: PythonWin, will also be trying SPE - DB: mysql/sqlite (personal use), SQL Server (client) - SVN Prod: - Personal: Debian Linux (hosted at DreamHost), mysql - Client: Win 2003 Server, SQL Server I can't wait until SQLObject supports SQL Server. It will make my life much

[TurboGears] Re: problem using Identity on MySql

2005-12-29 Thread Mike Orr
Well, should TG make Innodb tables by default, even if it has to patch SQLObject to do so? -- Mike Orr [EMAIL PROTECTED] ([EMAIL PROTECTED] address is semi-reliable)

[TurboGears] Re: constant crashes in 0.9dev

2005-12-29 Thread David Stanek
On 12/29/05, David Stanek [EMAIL PROTECTED] wrote: Take a look at changeset #422. It fixes the immediate issue, but I still want to investigate this a little bit to see the difference between widgets defined in widgets.py vs. controllers.py. There is no difference I am just a little slow today.

[TurboGears] Re: [OT?] What is everyone's development setup?

2005-12-29 Thread Jeremy Jones
I'm running everything (almost) on my laptop, which is running Ubuntu Breezy. Immediately after quickstarting the project, I svn added the project directory and committed it. I incrementally commit changes as I get functionality added or fixed. My svn repository is on another Ubuntu box,

[TurboGears] Re: What is everyone's development setup?

2005-12-29 Thread David Stanek
I run svn versions of TurboGears and all of the related packages. I run Gentoo on both Intel and Sparc boxes: Linux version 2.6.12-gentoo-r9 ([EMAIL PROTECTED]) (gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)) #4 SMP Thu Sep 1 07:15:58 EDT 2005

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Jeff Watkins
I understand the difference between wire and infoset, but they're just not relevant to me. If I write a document that contains: script src=.../script I don't want my template processor to change that to: script src=.../ While I'm well aware that both forms are legal XHTML and are basically

[TurboGears] Re: What is everyone's development setup?

2005-12-29 Thread Karl Guertin
On 12/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think that's an interesting question. My setup is ubuntu linux with mysql (now with innodb), as an editor I use eclipse with pydev-plugin for excellent autocomplete (and more) and subclipse for svn connectivity. For templates I use nvu

[TurboGears] Re: [OT?] What is everyone's development setup?

2005-12-29 Thread Jorge Godoy
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: Computers: FreeBSD Server * SVN Repo with production files Desktop * FreeBSD Test Server [vmware] - SVN local copy that is network shared via VPN * FreeBSD Test Server's network share Laptop * SVN local copy * FreeBSD Test Server's network

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread [EMAIL PROTECTED]
While I'm well aware that both forms are legal XHTML and are basically the same, one works in all browsers and one doesn't. what part of not all browsers support XHTML in Hixie's article did you miss? I still don't think you understand this issue, at all. /F

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread David Stanek
On 12/29/05, Jeff Watkins [EMAIL PROTECTED] wrote: I understand the difference between wire and infoset, but they're justnot relevant to me. They somewhat are relevant because Kid stands true to the infoset and not the wire format. If I write a document that contains:script src="" I don't want my

[TurboGears] Re: problem using Identity on MySql

2005-12-29 Thread Kevin Dangoor
On 12/29/05, Mike Orr [EMAIL PROTECTED] wrote: Well, should TG make Innodb tables by default, even if it has to patch SQLObject to do so? I don't think so. To use innodb, you need to put the location of your tablespace in my.cnf. (At least, you did with earlier mysql's. I don't know if

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Jorge Godoy
Jeff Watkins [EMAIL PROTECTED] writes: I understand the difference between wire and infoset, but they're just not relevant to me. If I write a document that contains: script src=.../script I don't want my template processor to change that to: script src=.../ It doesn't happen here:

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Elvelind Grandin
I belive they fixed the script / problem in the latest version of kid. On 29 Dec 2005 17:14:21 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: Jeff Watkins [EMAIL PROTECTED] writes: I understand the difference between wire and infoset, but they're just not relevant to me. If I write a

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Karl Guertin
On 29 Dec 2005 17:14:21 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: It doesn't happen here: script src=foo.js/script and script src=foo.js /script Are not the same. The latter has a text node inside the script element consisting of a single space (unless I'm remembering my xml incorrectly).

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread David Stanek
The interesting thing about all of this is that users think they are using XHTML when they a really using a fudgy form of HTML. There is nothing wrong with serializing as HTML and I am not sure why so many people want XHTML other than to add another buzz word to their resume. The truth of the

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Jorge Godoy
Karl Guertin [EMAIL PROTECTED] writes: On 29 Dec 2005 17:14:21 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: It doesn't happen here: script src=foo.js/script and script src=foo.js /script Are not the same. The latter has a text node inside the script element consisting of a single

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Bob Ippolito
On Dec 29, 2005, at 2:14 PM, Jorge Godoy wrote: Jeff Watkins [EMAIL PROTECTED] writes: I understand the difference between wire and infoset, but they're just not relevant to me. If I write a document that contains: script src=.../script I don't want my template processor to change that

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Karl Guertin
On 29 Dec 2005 17:27:44 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: You are correct. But both my input and output have a space. :-) I read somewhere that IE gets lost without it and I got used to adding this single space... IE actually gets confused on the script src=foo.js / syntax, hence

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Jeff Watkins
Fredrik, I don't understand the ideological point Hickson is trying to make. Or more accurately: I don't care. Remember, it's advocacy. Not gospel. All browsers will read XHTML served with the content-type text/html and will *at least* render correct HTML. I simply couldn't care less whether

[TurboGears] Re: [OT?] What is everyone's development setup?

2005-12-29 Thread Kevin Dangoor
On 12/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: If I'm working at home I'll work directly off the network share. Otherwise I work on a local copy. I regularly commit changes via SVN but I don't update the production files until they're ready to go live. One thing you can also consider

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Jeff Watkins
Elvelind, thanks! I didn't notice that this had been fixed. I'll have to try using xhtml again.

[TurboGears] positional parameters

2005-12-29 Thread Kevin Dangoor
CherryPy 2.2 has positional parameters as a standard feature, and we've had a ticket open for a while to add them to TurboGears. I went the easy way and made it so that turbogears.controllers.Controller subclasses cherrypy.lib.cptools.PositionalParametersAware. So, if you subclass Controller

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Jeff Watkins
Thanks again! That worked a treat. A small nit to pick: Kid introduces a newline between the open and close script tags. But that's merely a nit. I'm also pleased to see it leaves the case of attributes alone. My JavaScript binding framework (think Apple's Cocoa Bindings for Web applications)

[TurboGears] Re: [OT?] What is everyone's development setup?

2005-12-29 Thread [EMAIL PROTECTED]
Hey everyone, thanks for the great responses. More than I expected! Same here. But I tag every deployment version, so that it is easier to create branches if I need to or if I need to check what has changed since release X Good idea, I'll have to look into that. I don't use branches though,

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Bob Ippolito
On Dec 29, 2005, at 2:35 PM, Jeff Watkins wrote: Maybe I'm just being grumpy because I haven't had any sleep, but I really hate template processors that modify anything I didn't ask them to modify. In addition to fiddling with my tags when I didn't ask it to, it uppercases everything. Ick.

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Sylvain Hellegouarch
All browsers will read XHTML served with the content-type text/html and will *at least* render correct HTML. I simply couldn't care less whether they complain about invalid XHTML. What's the point of serving XHTML as text/html apart from confusing the browser? You might not care but user

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Sylvain Hellegouarch
Hello, All browsers will read XHTML served with the content-type text/html and will *at least* render correct HTML. I simply couldn't care less whether they complain about invalid XHTML. I'm not sure to see the point of serving XHTML as text/html apart from messing up with the user agent

[TurboGears] svn funkiness

2005-12-29 Thread Jeremy Jones
I've just svn updated and tg-admin quickstarted a new project. Funny thing is that this new project has a .svn folder if I quickstart it into a local working svn directory. But if I quickstart to a non-svn working directory, I get no .svn folder. Is it just me, or is anyone else seeing

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread David Stanek
On 12/29/05, Jeff Watkins [EMAIL PROTECTED] wrote: In addition to fiddling with my tags when I didn't ask itto, it uppercases everything. Ick. This can be controlled easily be setting serializer.transpose = None where serializer is an instance of HTMLSerializer. I am not sure how easy this is to

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Elvelind Grandin
On 12/29/05, David Stanek [EMAIL PROTECTED] wrote: On 12/29/05, Jeff Watkins [EMAIL PROTECTED] wrote: In addition to fiddling with my tags when I didn't ask it to, it uppercases everything. Ick. This can be controlled easily be setting serializer.transpose = None where

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Karl Guertin
On 12/29/05, Elvelind Grandin [EMAIL PROTECTED] wrote: It's not easy at this point. but perhaps we should add an option to make it easy? You should just lowercase by default. I haven't seen any handwritten html in the last 5 years that uses uppercase tags. It doesn't matter to the UAs but it

[TurboGears] How to get using latest version

2005-12-29 Thread .M.
Does the svn trunk build id itself as TurboGears 0.9a0dev-r1? The documentation says ...easy_install -f http://peak.telecommunity.com/snapshots/ RuleDispatch (Note that the usual caveats about sudo and such apply.) For a python newbie, any suggestions where to read up on the usual? I've tried

[TurboGears] Fieldset widget input method and form_errors

2005-12-29 Thread qvx
I noticed the following two lines in Filedset.input method: form_errors = getattr(cherrypy.request, form_errors, {}) form_errors.update(errors) I'm not sure where form_errors is coming from, but if there is no such attribute, form_errors.update(errors) will be lost. Should we

[TurboGears] Re: [OT?] What is everyone's development setup?

2005-12-29 Thread Jorge Godoy
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: Good idea, I'll have to look into that. I don't use branches though, I use seperate folders. i.e. /domain.com /domain.com/public_html/ *old nonpython version /domain.com/web_app/ *current web app /domain.com/sq_lite/ *old version

[TurboGears] Re: positional parameters

2005-12-29 Thread Michele Cella
Great, but are validators still working right? I remember Sean Cazzel saying (back in November on the 0.9 IRC Chat) that validators were not working when using positional parameters. Ciao Michele Kevin Dangoor wrote: CherryPy 2.2 has positional parameters as a standard feature, and we've had

[TurboGears] Re: svn funkiness

2005-12-29 Thread Kevin Dangoor
On 12/29/05, Jeremy Jones [EMAIL PROTECTED] wrote: I've just svn updated and tg-admin quickstarted a new project. Funny thing is that this new project has a .svn folder if I quickstart it into a local working svn directory. But if I quickstart to a non-svn working directory, I get no .svn

[TurboGears] Re: svn funkiness

2005-12-29 Thread Jorge Godoy
Jeremy Jones [EMAIL PROTECTED] writes: I've just svn updated and tg-admin quickstarted a new project. Funny thing is that this new project has a .svn folder if I quickstart it into a local working svn directory. But if I quickstart to a non-svn working directory, I get no .svn folder. Is

[TurboGears] Re: How to get using latest version

2005-12-29 Thread Kevin Dangoor
On 12/29/05, .M. [EMAIL PROTECTED] wrote: Does the svn trunk build id itself as TurboGears 0.9a0dev-r1? It should, I think, have a legitimate revision number on it (if you make an egg, at least). The documentation says ...easy_install -f http://peak.telecommunity.com/snapshots/

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread David Stanek
On 12/29/05, Karl Guertin [EMAIL PROTECTED] wrote: On 12/29/05, Elvelind Grandin [EMAIL PROTECTED] wrote: It's not easy at this point. but perhaps we should add an option to make it easy?You should just lowercase by default. I haven't seen any handwritten html in the last 5 years that uses

[TurboGears] Re: positional parameters

2005-12-29 Thread Kevin Dangoor
Validators, in general, work. But, you may be correct that validators *on the positional parameters* may not work. That's worth testing. Kevin On 12/29/05, Michele Cella [EMAIL PROTECTED] wrote: Great, but are validators still working right? I remember Sean Cazzel saying (back in November on

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Kevin Dangoor
On 12/29/05, David Stanek [EMAIL PROTECTED] wrote: You should just lowercase by default. I haven't seen any handwritten html in the last 5 years that uses uppercase tags. It doesn't matter to the UAs but it does to the designers. I agree with jeff: ick. To my knowledge there has not

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Mike Orr
On 12/29/05, Ron Stephens [EMAIL PROTECTED] wrote: Hello Kevin Jorge Vargas wrote: For what I see people wanting Cheetah have this points: 1 - I need to output format and kid doesn't lets me 2 - I just like it better 3 - We should let people decide for 1 and I think this is the most

[TurboGears] please change to turbogears.toolbox.catwalk.CatWalk

2005-12-29 Thread Kevin Dangoor
Earlier today, Ronald moved CatWalk to turbogears.toolbox.catwalk (from turbogears.catwalk). He left the old package there, but I think we should get rid of it since catwalk is completely within 0.9. So, anyone out there running 0.9 should change to using the new location... Thanks, Kevin --

[TurboGears] creating SQLObject from form data

2005-12-29 Thread sergio
in php, i usually would do this with one file, but i am not sure how to do this, or what is going on in turbogears.. i have a form where users can create an account.. this is accessed by: @turbogears.expose(html=learningopps.templates.newAccount) def newAccount(self):

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Kevin Dangoor
On 12/29/05, Mike Orr [EMAIL PROTECTED] wrote: Um, what non-HTML format is there that TG should support out of the box? (And I'm a Cheetah fan, sheesh.) And doesn't the new Cheetah-friendly template handler cover those cases? (I haven't tried it yet.) Ideally, it would be easy to do

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread [EMAIL PROTECTED]
Fredrik, I don't understand the ideological point Hickson is trying to make. Or more accurately: I don't care. Remember, it's advocacy. No, it's a simple observation of the fact that Internet Explorer don't under- stand XHTML. It's IE that doesn't care about what you're doing; you think you

  1   2   >