[TurboGears] Re: I want my ampersand

2005-11-09 Thread Ronald Jaramillo
Hi Jeff, This _was_ a CatWalk issue =). Thanks for the tip, it's fixed in svn now. Cheers. Ronald On Nov 9, 2005, at 4:47 AM, Jeff Grimmett wrote: I've noticed that trying to enter an HTML entity such as reg; into my database via Catwalk causes the data to be truncated - everthing

[TurboGears] Re: TG .9 and catwalk

2005-11-09 Thread Tim Lesher
On 11/9/05, modmans2ndcoming [EMAIL PROTECTED] wrote: so, in .9 I will just need to mount catwalk? no more dropping it into the application directory? will the access control be set up? It looks that way from svn (and the TurboTunes demo). -- Tim Lesher [EMAIL PROTECTED]

[TurboGears] Re: Presentation materials and FAQ

2005-11-09 Thread Michele Cella
william wrote: FAQ: Side to the good Turbogears documentation, I propose you to use the Turbogears wiki to collect the FAQ (and their answers) that you think relevant. Great work william. Two days ago I tried to make the FAQ page more appealing and easy to mantain, like this one:

[TurboGears] Re: ez_setup.py install ERROR !

2005-11-09 Thread koorb
error: Could not find distribution for Requirement.parse('nose=0.6') You need an earlier version of nose, you can get it here % wget http://somethingaboutorange.com/mrl/projects/nose/nose-0.6.tar.gz % tar zxf nose-0.6.tar.gz % cd nose-0.6 % easy_install . I think that should do you

[TurboGears] Re: Installation with no internet connection

2005-11-09 Thread Chackero
Hi all Lately, I am without InterNet in house. I have all the packages that the necessary TurboGears, with exception of the Setuptools. How I get setuptools without using ez_setup.py? Thanks! PS.: Pardon my English

[TurboGears] Re: I want my ampersand

2005-11-09 Thread Jeff Grimmett
On 11/9/05, Ronald Jaramillo [EMAIL PROTECTED] wrote: This _was_ a CatWalk issue =). Thanks for the tip,it's fixed in svnnow.w00t :-)-- Things fall apart. The Center cannot hold.- Life as a QA geek, in a nutshell. Best,Jeff

[TurboGears] Re: Multiple hosts on same machine

2005-11-09 Thread Kevin Dangoor
On 11/8/05, Jeff Grimmett [EMAIL PROTECTED] wrote: On 11/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Yes, this is your best bet. And if you want multiple hosts all appearing at port 80, then running Apache or lighthttpd in front is the way to go. Is there a problem if they're both on

[TurboGears] Re: ez_setup.py install ERROR !

2005-11-09 Thread [EMAIL PROTECTED]
I know that. I want that the auto installer (easy_setup) must work correct.

[TurboGears] Re: TG .9 and catwalk

2005-11-09 Thread Elvelind Grandin
which btw fails for me with could not locate runnable browser. But thats perhaps to be expected on a non-standard OS. On 11/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On 11/9/05, modmans2ndcoming [EMAIL PROTECTED] wrote: so, in .9 I will just need to mount catwalk? no more dropping it

[TurboGears] Re: Presentation materials and FAQ

2005-11-09 Thread Kevin Dangoor
On 11/9/05, Michele Cella [EMAIL PROTECTED] wrote: Two days ago I tried to make the FAQ page more appealing and easy to mantain, like this one: http://projects.edgewall.com/trac/wiki/TracFaq Unfortunately TurboGears trac can't find the docutils package and is not possible to use

[TurboGears] Re: Presentation materials and FAQ

2005-11-09 Thread Michele Cella
Kevin Dangoor wrote: On 11/9/05, Michele Cella [EMAIL PROTECTED] wrote: Two days ago I tried to make the FAQ page more appealing and easy to mantain, like this one: http://projects.edgewall.com/trac/wiki/TracFaq Unfortunately TurboGears trac can't find the docutils package and is

[TurboGears] Re: ez_setup.py install ERROR !

2005-11-09 Thread koorb
[EMAIL PROTECTED] wrote: I want that the auto installer (easy_setup) must work correct. Because this is a development version it needs different dependancies I guess, the reason ez_setup wont work is because you are missing a dependancy, if you install nose0.6 then you can run ez_setup for

[TurboGears] Re: Installation with no internet connection

2005-11-09 Thread Kevin Dangoor
You can get the source package from the CheeseShop and install it the old fashioned way (python setup.py install): http://cheeseshop.python.org/pypi/setuptools You may also be able to get the setuptools egg from there and install it using ez_setup.py just as you would with easy_install. Kevin

[TurboGears] Re: TG .9 and catwalk

2005-11-09 Thread Kevin Dangoor
On 11/9/05, Elvelind Grandin [EMAIL PROTECTED] wrote: which btw fails for me with could not locate runnable browser. But thats perhaps to be expected on a non-standard OS. tg-admin gui -n to launch the server without attempting to open a browser. Kevin

[TurboGears] Re: Error in svn checkout for kid

2005-11-09 Thread Ryan Tomayko
On 11/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Hi Ryan, It *looks* like this is something going in your svn repository as of about a day ago. Yep. Sorry, the permissions got hosed when I added a few users. Nothing evil, just needed to chown the passwd file properly so apache/svnserve

[TurboGears] Re: TG .9 and catwalk

2005-11-09 Thread Elvelind Grandin
and now it does :) On 11/9/05, Elvelind Grandin [EMAIL PROTECTED] wrote: ah. nice. perhaps it would be good if it should which port it bound to. On 11/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On 11/9/05, Elvelind Grandin [EMAIL PROTECTED] wrote: which btw fails for me with could

[TurboGears] Re: Multiple hosts on same machine

2005-11-09 Thread Levi
Not so much a best practice as it is a constraint of working with tcp/ip services. Basically only one process can connect to a tcp/ip port at a time.

[TurboGears] Re: ez_setup.py install ERROR !

2005-11-09 Thread koorb
Thanks Kevin, that makes more sense! Kevin Dangoor wrote: Oops. That should've been nose = 0.6. Fixed...

[TurboGears] Re: Multiple hosts on same machine

2005-11-09 Thread Jeff Grimmett
On 11/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Yes, this is your best bet. And if you want multiple hosts all appearing at port 80, then running Apache or lighthttpd in front is the way to go. Is there a problem if they're both on 80, such as lockups or something, or is this simply a

[TurboGears] Multiple controllers and models

2005-11-09 Thread Keith Veleba
I'm working on a new webapp for my company, finally settling on TurboGears after much debate. I have a question, however. Can you have multiple controllers and models for different sections of your application? CherryPy seems to support multiple nodes off the root node, but how does that work

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Elvelind Grandin
Sure. you can have multiple controllers in tg too. subclass them from controllers.Root and you can use the turbogears.url function to abstract the paths a little. ie cherrypy.root.foo.bar = Myappthatinherentscontroollers.Root() and in your app. url(/baz) will point to /foo/bar/baz. On 11/9/05,

[TurboGears] Re: Installation with no internet connection

2005-11-09 Thread Phillip J. Eby
Chackero wrote: Lately, I am without InterNet in house. I have all the packages that the necessary TurboGears, with exception of the Setuptools. How I get setuptools without using ez_setup.py? Put the setuptools egg in the same directory as ez_setup.py, and when you run ez_setup.py it will

[TurboGears] Re: Good boost from the O'Reilly article

2005-11-09 Thread Steve Bergman
Kevin Dangoor wrote: TurboTunes has been viewed more than 500 times (including 24 who used the Internet Archive mirror... I hope that's working out to be speedy for people). That's great to hear. I hope I'm not just stating the obvious to comment that the single most significant reason

[TurboGears] Re: Good boost from the O'Reilly article

2005-11-09 Thread Kevin Dangoor
On 11/9/05, Steve Bergman [EMAIL PROTECTED] wrote: By this, I mean easy for hosting services to deploy for mass hosting, thereby making it easy for customers to use it. mod_python is nice, but has some rough edges. A really good, scalable, easily administered way of deploying TG, including

[TurboGears] Re: Good boost from the O'Reilly article

2005-11-09 Thread Lee McFadden
You can see the number of (reported) downloads for the torrents at the tracker itself[1]. I'm not sure how reliable those reported downloads are (I'm guessing it depends on the client) but it at least gives an estimate. I'll probably work out some method of making the stats nice from a real

[TurboGears] Re: Good boost from the O'Reilly article

2005-11-09 Thread Kevin Dangoor
Did you see 0c5abaeda155c7017e90a6020ba64ca2218ee682 the other day? Man, that was great! I loved the part where Samuel L. Jackson did that one thing. I'll definitely buy the 0c5abaeda155c7017e90a6020ba64ca2218ee682 dvd when it comes out on video. :) Nice to see that there are some stats

[TurboGears] Re: Good boost from the O'Reilly article

2005-11-09 Thread Lee McFadden
The one that starts with f435 = 20MinuteWiki.mov The one that starts with 0c5a = TurboTunesTutorial.mov And 0c5abaeda155c7017e90a6020ba64ca2218ee682 rocked! :P Lee On 09/11/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Did you see 0c5abaeda155c7017e90a6020ba64ca2218ee682 the other day? Man,

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Keith Veleba
Thanks, Elvelind. One more thing - where's the best place to add those to root? Import my other controllers into controllers.py and add to cherrypy.root at the end of that file?

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Kevin Dangoor
On 11/9/05, Keith Veleba [EMAIL PROTECTED] wrote: One more thing - where's the best place to add those to root? Import my other controllers into controllers.py and add to cherrypy.root at the end of that file? cherrypy.root should be set in the script that starts up your server. (The

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Elvelind Grandin
I'm doing it in the projectname-start.py file. but that depends somewhat on what kind of apps they are. On 11/9/05, Keith Veleba [EMAIL PROTECTED] wrote: Thanks, Elvelind. One more thing - where's the best place to add those to root? Import my other controllers into controllers.py and add

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Elvelind Grandin
but if it's sub-apps, perhaps a feedobject( ;) ) that you add to your blog root, it might be more logical to put that in the controllers file On 11/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On 11/9/05, Keith Veleba [EMAIL PROTECTED] wrote: One more thing - where's the best place to add

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Kevin Dangoor
I only meant the setting of cherrypy.root itself should happen in the start script. Adding things *to the root* will likely happen in controllers.py most of the time. Kevin On 11/9/05, Elvelind Grandin [EMAIL PROTECTED] wrote: but if it's sub-apps, perhaps a feedobject( ;) ) that you add to

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Elvelind Grandin
exactly. On 11/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: I only meant the setting of cherrypy.root itself should happen in the start script. Adding things *to the root* will likely happen in controllers.py most of the time. Kevin On 11/9/05, Elvelind Grandin [EMAIL PROTECTED] wrote:

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Michele Cella
Elvelind Grandin wrote: but if it's sub-apps, perhaps a feedobject( ;) ) that you add to Just wondering, are you working on a feedobject? :-) Ciao Michele

[TurboGears] Python 2.3?

2005-11-09 Thread Kevin Dangoor
There was a thread a week or two ago about Python 2.3 support. I've been conciously writing in Python 2.3 style (no decorators, use the sets module) since then, but I've been hoping that someone who's actually using 2.3 would submit a patch to make all of TurboGears Python 2.3 compatible. Any

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Elvelind Grandin
how could you guess? :P if I can get some time over it will be commited tonight. On 11/9/05, Michele Cella [EMAIL PROTECTED] wrote: Elvelind Grandin wrote: but if it's sub-apps, perhaps a feedobject( ;) ) that you add to Just wondering, are you working on a feedobject? :-) Ciao

[TurboGears] Re: Python 2.3?

2005-11-09 Thread Jared Kuolt
I think a good question to ask is Do all of the components (kid, SQLObject, etc) support Python 2.3? It seems the point would be moot if they don't.

[TurboGears] Re: Python 2.3?

2005-11-09 Thread Kevin Dangoor
On 11/9/05, Jared Kuolt [EMAIL PROTECTED] wrote: I think a good question to ask is Do all of the components (kid, SQLObject, etc) support Python 2.3? It seems the point would be moot if they don't. Agreed. As far as I'm aware, none of the projects included with TurboGears require Python 2.4

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Michele Cella
Elvelind Grandin wrote: how could you guess? :P Mmm... I have no idea, just lucky!? :D if I can get some time over it will be commited tonight. That's great! I was going to work on a FeedsController during my Christmas holidays (yes it's far away but I will not have time until then :-( ),

[TurboGears] Re: Presentation materials and FAQ

2005-11-09 Thread Michele Cella
I william I've take the time to prepare a small mockup of your FAQ page using the rst processor, I've not modified your page since I don't have any rights to do so and mess up your work with such a big change. You can find it here: http://trac.turbogears.org/turbogears/wiki/RstTurbogearsFaq

[TurboGears] MultipleJoin Bug?

2005-11-09 Thread Stefan Arentz
Weird behaviour with 0.8a3: I have two model objects for which I set an alternative table name. class User(SQLObject): class sqlmeta: table = 'Users' email = StringCol(length=255) password = StringCol(length=255) zones =

[TurboGears] Full text search of TurboGears reference?

2005-11-09 Thread Steve Bergman
Quick question. Any possibility of seeing a full text search of the docs at http://turbogears.org/docs/api/index.html? Or, let me guess... there's already a way to do that at www.google.com? Even if there is it would be nice to be able to do it right on the index page. Just a suggestion.

[TurboGears] New module sqlobject.util.csvimport for test fixtures

2005-11-09 Thread Ian Bicking
I've added a module in sqlobject.util.csvimport for loading data from CSV files for test fixtures. It has docstrings which should explain the functionality. I've attached a CSV file I'm using in a test, as an example of what they look like. If anyone wants to make a function for dumping a

[TurboGears] Can't get KID Match tag working...

2005-11-09 Thread FooManChu
I've recently been experimenting with KID templates and have been having troubles. I like how the templates are setup from the quickstart which is also documented here: http://lesscode.org/projects/kid/wiki/LayoutTemplateRecipe Having some trouble adding my own match tempaltes to it though:

[TurboGears] Re: Deleting linked row causes Catwalk probs

2005-11-09 Thread Jeff Grimmett
On 11/9/05, Ronald Jaramillo [EMAIL PROTECTED] wrote: I'm not shure how to reproduce this, may I see your models? How are the two table related?OK, here's the first table model:class Article(BaseClass): title = StringCol() summary = StringCol() content = StringCol() date =

[TurboGears] Re: Presentation materials and FAQ

2005-11-09 Thread Mark Mc Mahon
On 11/9/05, Michele Cella [EMAIL PROTECTED] wrote: SNIP - I've put only some of your q/a to just show my idea regarding a Faq (note that questions are actually questions :-) ) - section regarding catwalk, identity, cherrypy, sqlobject are all at the same level (since they really are all

[TurboGears] Patch to kid to generate python source files if KID_OUTPUT_PY environment variable is set

2005-11-09 Thread Don Hopkins
I noticed a useful sounding environment variable called KID_OUTPUT_PY, which will generate the python source code files for compiled templates, but when I set it, it didn't have any effect. I rooted around to find out why, and came up with this patch to make it work, by passing it in from the

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Jeff Grimmett
On 11/9/05, Elvelind Grandin [EMAIL PROTECTED] wrote: Sure. you can have multiple controllers in tg too. subclass them from controllers.Root and you can use the turbogears.url function toabstract the paths a little. ie cherrypy.root.foo.bar = Myappthatinherentscontroollers.Root()and in your app.

[TurboGears] Re: Can't get KID Match tag working...

2005-11-09 Thread Kevin Dangoor
I've noticed this behavior as well. I have a theory on this... my theory is that once the body match in the master template takes effect, the match you have defined for in the body is not run. I'd call this a bug, myself. Kevin On 11/9/05, FooManChu [EMAIL PROTECTED] wrote: I've recently been

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Kevin Dangoor
On 11/9/05, Jeff Grimmett [EMAIL PROTECTED] wrote: Hm, I couldn't find that function in the TG API docs, but it does apparently have doc strings since help( turbogears.url) got me what I needed. Is there a bug in the doc generator, or does it just need to be updated? I did regenerate the docs

[TurboGears] Re: Multiple controllers and models

2005-11-09 Thread Jeff Grimmett
On 11/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: I did regenerate the docs for 0.8. I've noticed that some things areslipping through the API docs, so I must be doing something wrong.It's worth opening a ticket on to be sure the API docs are cleaned up for 0.9. Ticket is opened. I appologize for