[TurboGears] Re: in Atlanta? so am I!

2005-12-09 Thread David Guaraglia
Hey! If you wait a couple of months I'll be moving to Atlanta too! LOL. In fact it would be nice to know someone living in Atlanta when I go there. I'll be moving from Brazil 'back' to the U.S (I'm American but I was raised in Argentina) and I'll prolly need a little guide when I get there.

[TurboGears] Changes to i18n package

2005-12-09 Thread Dan Jacob
I've made a few changes to the i18n package: 1. I've decided to dump all those XML files and replace them with Python modules. For example, the formatting settings for Danish are now in turbogears/i18n/data/da.py instead of turbogears/i18n/da.xml. Basically I generated the Python modules from

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread qvx
I know I'm little off the topic, but I felt that I should say it. I'm developing an in-house solution here at my company using TG, and all I've told to my boss is that it is using a Python web framework. I omitted the TurboGears part, because the name doesn't sound serious or professional.

[TurboGears] Re: Asking for Opinions: How to mount a form with a variable number of fields

2005-12-09 Thread Jorge Godoy
aw [EMAIL PROTECTED] writes: I just posted a configurable data widget to the mail list. I don't have commit access to SVN. Anyway, would an enhanced version of this do what you wanted? I did it that way on a PHP project. I'll take a look on how you did it. If it supports widgets or can

[TurboGears] Re: Identity: Multiple authentication types

2005-12-09 Thread Jorge Godoy
Lee McFadden [EMAIL PROTECTED] writes: This may be because I'm being difficult, but I need two different authentication types in my application. For the public side of things, no password is needed and they just need to enter their email address to confirm their identity. For the admin

[TurboGears] Re: Identity: Multiple authentication types

2005-12-09 Thread Lee McFadden
On 09 Dec 2005 09:34:34 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: Take a look at http://trac.turbogears.org/turbogears/wiki/IdentityManagement and pay special attention the what has been derived from a question I made here about using an or type of authentication. It will solve your

[TurboGears] Re: Identity: Multiple authentication types

2005-12-09 Thread Jorge Godoy
Lee McFadden [EMAIL PROTECTED] writes: As it stands it seems that this isn't possible without having two seperate apps and a front end to proxy the app depending on which section you're going to. Or am I mistaken? How about using the default identity manager for visitors and creating your

[TurboGears] Re: Help w/ Testgears and Model

2005-12-09 Thread Kevin Dangoor
On 12/8/05, p [EMAIL PROTECTED] wrote: Okay, so I have unit tests that test my model(s). When I run them directly, I use the following line to set up a connection: sqlhub.processConnection = connectionForURI(myurihere) What is sqlhub? You need to be sure that whatever __connection__ is set

[TurboGears] Re: Identity: Multiple authentication types

2005-12-09 Thread Lee McFadden
No, we're still not getting there. I don't want to test for groups/users from both models. I don't want the two parts of the app to know anything about the other's authentication. What I'm getting at is this: Is it possible to have two *completely descreet* identity providers for different

[TurboGears] Re: Kid DOMSerializer

2005-12-09 Thread Kevin Dangoor
On 12/8/05, Jason Chu [EMAIL PROTECTED] wrote: We ran into a point where being able to pass a kid template (from a non-form (let's refer to it as display) widget) to a javascript function as DOM calls would be really really nice. Then to refresh a widget, your JSON method returns this

[TurboGears] Re: [Install] Error in install turbogears-0.8a5-py2.4

2005-12-09 Thread Kevin Dangoor
On 12/8/05, Zoom Quiet [EMAIL PROTECTED] wrote: 在 05-12-8,Kevin Dangoor[EMAIL PROTECTED] 写道: Can you give the exact command line you ran on both Windows and FreeBSD? http://www.turbogears.org/download/index.html has FormEncode 0.4, so it doesn't seem like you'd have a tough time getting

[TurboGears] Re: Configurable DataGrid widget

2005-12-09 Thread Kevin Dangoor
On 12/9/05, aw [EMAIL PROTECTED] wrote: I could not find any documentation on how to write a widget but I took a stab at it by reading the code. Sorry, I am not an expert Python programmer. About 1 week worth of coding so far. This grid took about 3 hours. Mainly playing around. Thanks

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Kevin Dangoor
On 12/9/05, Dan Jacob [EMAIL PROTECTED] wrote: 2. There's a new function in turbogears.i18n.utils, google_translate(from_lang, to_lang, text). It basically queries the Google Translation Service page and screen-scrapes the text to give you a translation. For example:

[TurboGears] 1,000 messages

2005-12-09 Thread Kevin Dangoor
According to Google, this is my 1,001st message to this group. Amazing how quickly they add up! Kevin

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Kevin Dangoor
On 12/8/05, koorb [EMAIL PROTECTED] wrote: It's good this topic has been brought up, although an apparently trivial thing the look and brand can have a big impact on how something is perceived. I rather liked the turbogears under the hood badges, and the newer templates on the site are nice

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Kevin Dangoor
On 12/9/05, qvx [EMAIL PROTECTED] wrote: I'm developing an in-house solution here at my company using TG, and all I've told to my boss is that it is using a Python web framework. I omitted the TurboGears part, because the name doesn't sound serious or professional. Personally, I like the

[TurboGears] TurboGears on Debian - Issues

2005-12-09 Thread Chad L.
I've looked over the docs on the Trac for installing on Debian, but I seem to have run into different issues. I'm using Linode for my host (Linux VPS) and have picked Debian 3.1 (Sarge) for the distro. The issue is that Sarge already has Python 2.3 installed. So I do this: apt-get install

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Karl Guertin
On 12/8/05, koorb [EMAIL PROTECTED] wrote: I'm guessing you can't read my mind, so here's the link to http://koorb.co.uk/turbogears/ (it's 2:30am I need sleep ...) Nice work, I wanted to do an upward slanted G crossbar but that doesn't fit with my text while it does with yours. I prefer the

[TurboGears] Re: Configurable DataGrid widget

2005-12-09 Thread aw
Hi Kevin, I am not clear on exactly how you use yours. I will have to spend more time looking at the code. It seems like there it takes the results of an Select results object and places it in a form with the option of editting or deleting it. All columns are displayed. I also pass in a

[TurboGears] Re: TurboGears on Debian - Issues

2005-12-09 Thread Lee McFadden
Chad, I have it set up on my Linode with Sarge and it's fairly simple. Just: sudo apt-get install python2.4-celementtree That should install the right version for you. Lee On 12/9/05, Chad L. [EMAIL PROTECTED] wrote: I've looked over the docs on the Trac for installing on Debian, but I

[TurboGears] Re: Asking for Opinions: How to mount a form with a variable number of fields

2005-12-09 Thread Kevin Dangoor
Hi Jorge, On 08 Dec 2005 23:08:56 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: My idea is to provide a form with the common part, where the client can say what are the processes these samples should be submitted to and then say how many samples he'll be sending. Something like:

[TurboGears] Re: TurboGears on Debian - Issues

2005-12-09 Thread Andreas Reuleaux
On Fri, Dec 09, 2005 at 06:35:13AM -0800, Chad L. wrote: I've looked over the docs on the Trac for installing on Debian, but I seem to have run into different issues. I'm using Linode for my host (Linux VPS) and have picked Debian 3.1 (Sarge) for the distro. The issue is that Sarge

[TurboGears] Re: Identity: Multiple authentication types

2005-12-09 Thread Lee McFadden
Kevin, I'll open a ticket. I'd really like this to work so I may even try to make a patch myself this weekend. Per controller identity filters would be very nice. Lee On 12/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Hi Lee, What you're asking for sounds like a perfectly reasonable use

[TurboGears] Re: Running Turbogears as a service in Windows

2005-12-09 Thread martin
that what that was about, thanks heaps

[TurboGears] Re: Running Turbogears as a service in Windows

2005-12-09 Thread Kevin Dangoor
On 12/9/05, martin [EMAIL PROTECTED] wrote: I try to use the vanilla setup (with py2exe added) to create the exe file, however much is created, no error is shown and still the actual file is not created i cant really find anything on it the web, what would be the fault? I want to have a

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Sean De La Torre
I recently used logoworks.com for my business logo. After seeing what they did for me, my dad also used them for his company's logo. Their service was excellent, however, they are a little more expensive than thelogocompany. Kevin Dangoor wrote: On 12/8/05, koorb [EMAIL PROTECTED] wrote:

[TurboGears] Re: Configurable DataGrid widget

2005-12-09 Thread Kevin Dangoor
Hi Alvin, On 12/9/05, aw [EMAIL PROTECTED] wrote: I am not clear on exactly how you use yours. I will have to spend more time looking at the code. It seems like there it takes the results of an Select results object and places it in a form with the option of editting or deleting it. All

[TurboGears] Re: TurboGears on Debian - Issues

2005-12-09 Thread Chad L.
Thanks guys. Ok, I can get the python2.4-celementtree installed now, then did the .pydistutils.cfg file in my home directory. However, when I try to run the TurboGears install (ez_setup.py), it still seems to have an issue with cElementTree: Running cElementTree-1.0.2-20050302/setup.py -q

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Kevin Dangoor
Interesting. I looked at their site as well, but I was little more impressed by thelogocompany's samples. As I said, though, I'm not sure that we'd get anything better than koorb's logo from either of those places. (Different, I'm sure... but better is unknown, and subjective anyway.) What you

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Tim Lesher
On 12/9/05, Sean De La Torre [EMAIL PROTECTED] wrote: I recently used logoworks.com for my business logo. After seeing what they did for me, my dad also used them for his company's logo. Their service was excellent, however, they are a little more expensive than thelogocompany. I don't

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Kevin Dangoor
On 12/9/05, Tim Lesher [EMAIL PROTECTED] wrote: I don't have any direct contact with LogoWorks, but I've been less-than-impressed with some things I've read about them: http://www.baddesignkills.com/logoworks/ Apparently, this sort of this is not uncommon among the low price logo design

[TurboGears] Re: Kid DOMSerializer

2005-12-09 Thread Jason Chu
On Fri, Dec 09, 2005 at 08:43:11AM -0500, Kevin Dangoor wrote: On 12/8/05, Jason Chu [EMAIL PROTECTED] wrote: We ran into a point where being able to pass a kid template (from a non-form (let's refer to it as display) widget) to a javascript function as DOM calls would be really really

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Mark Ramm
Consider koorb's logo: http://koorb.co.uk/turbogears/variations.html and the under the hood in use today (look on the far right): http://www.diggdot.us/ Personally I think the issue is not so much fun vs serious, but armature vs professional. And even that isn't quite what I want to say,

[TurboGears] Re: TurboGears on Debian - Issues

2005-12-09 Thread Andreas Reuleaux
On Fri, Dec 09, 2005 at 07:44:12AM -0800, Chad L. wrote: Thanks guys. Ok, I can get the python2.4-celementtree installed now, then did the .pydistutils.cfg file in my home directory. However, when I try to run the TurboGears install (ez_setup.py), it still seems to have an issue with

[TurboGears] Re: can a form's action be a call to loadJSONDoc or some equivalent

2005-12-09 Thread Jason Chu
On Fri, Dec 09, 2005 at 01:06:52PM +, Arnar Birgisson wrote: Hi Evan, Sure, just use an input type=button onclick=whaeverjavascript(); / instead of input type=submit ... /. Also, don't use form../form tags around your form, that way, when the user presses enter while inside any of

[TurboGears] Re: Kid DOMSerializer

2005-12-09 Thread Roger Espinosa
I've noticed that innerHTML has odd side effects witih forms --- creating a button that did nothing more than fire a Javascript function that updated a hidden field before submitting the form *would* submit the form but *not* update the hidden field --- or rather, it would *seem* to update, but

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Sean De La Torre
I had never seen that before. That's pretty bad. I never even considered that they would copy a logo from someone else. That Beaver Brewery logo used to be on the main page as one of their example logos.

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Erik Smartt
2005/12/9, koorb [EMAIL PROTECTED]: I'm guessing you can't read my mind, so here's the link to http://koorb.co.uk/turbogears/ (it's 2:30am I need sleep ...) I like the direction these are going. Have you tried squeezing the logo into a micro-button size? (I'm partial to the 80x15 or

[TurboGears] Re: Running Turbogears as a service in Windows

2005-12-09 Thread martin
Interesting point, still it doesnt influence if an egg is created, theres something im doing fundamentally wrong enriching the wiki20 setup as below still doesnt even yield the exe file..its late it seems from setuptools import setup, find_packages from turbogears.finddata import

[TurboGears] Re: Running Turbogears as a service in Windows

2005-12-09 Thread martin
Interesting point, still it doesnt influence if an exe is created, theres something im doing fundamentally wrong enriching the wiki20 setup as below still doesnt even yield the exe file..its late it seems from setuptools import setup, find_packages from turbogears.finddata import

[TurboGears] Re: Asking for Opinions: How to mount a form with a variable number of fields

2005-12-09 Thread Jorge Godoy
Kevin Dangoor [EMAIL PROTECTED] writes: What do you think of the add row/remove row model? I thought about it as well, but then it just breaks the flow of data typing (well, not so much since there will be 2 TABs and 1 space more for each line...). I've come up with a solution -- and posted

[TurboGears] tg installation borken

2005-12-09 Thread Jeremy Jones
I tried updating my TG installation this AM and it kept trying to use 0.5.1, so I went into my /usr/lib/python2.4/site-packages, removed the entries in the .pth files containing TurboGears (and related items), removed the egg files and directories for the packages I removed from the .pth

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Leandro Lucarella
Kevin Dangoor, el viernes 9 de diciembre a las 09:11 me escribiste: On 12/9/05, Dan Jacob [EMAIL PROTECTED] wrote: 2. There's a new function in turbogears.i18n.utils, google_translate(from_lang, to_lang, text). It basically queries the Google Translation Service page and screen-scrapes

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Karl Guertin
On 12/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: What you get from someone like Jon Hicks is an incredible level of detail. Look at the Firefox, Thunderbird or even the Rails logo and you'll see what I mean. Or check out his samples: http://www.hicksdesign.co.uk/ When I did the logo I was

[TurboGears] Re: Asking for Opinions: How to mount a form with a variable number of fields

2005-12-09 Thread Kevin Dangoor
On 09 Dec 2005 14:52:18 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: that's missing is ability to change the widget's name for each rendering (but we can come up with an API to do that). I believe it is worth. How can I help? ;-) That should be easy. I'll do so soon. These are the

[TurboGears] Re: TurboGears on Debian - Issues

2005-12-09 Thread Chad L.
I have gcc installed, and I've verified the header files are indeed in the locations it says they are not so I'm not sure why it doesn't work. Chad

[TurboGears] Re: tg installation borken

2005-12-09 Thread Jeremy Jones
Jeremy Jones wrote: I tried updating my TG installation this AM and it kept trying to use 0.5.1, so I went into my /usr/lib/python2.4/site-packages, removed the entries in the .pth files containing TurboGears (and related items), removed the egg files and directories for the packages I

[TurboGears] Re: making an exe

2005-12-09 Thread Kevin Dangoor
I assume you're running python setup.py py2exe ? And, if so, what is the output you're seeing? Kevin On 12/9/05, martin [EMAIL PROTECTED] wrote: Interesting point, still it doesnt influence if an egg is created, theres something im doing fundamentally wrong enriching the wiki20 setup as

[TurboGears] Identity enabled, framework claims it's not

2005-12-09 Thread Ryan Forsythe
I'm trying to move a project I've been building for the past month to use the Identity framework rather than its current homebrew auth stuff. I keep getting an IdentityManagementNotEnabledException(), though. The tutorial idtest project works fine, but as soon as I try to use Identity in

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-09 Thread Kevin Dangoor
On 12/9/05, Karl Guertin [EMAIL PROTECTED] wrote: When I did the logo I was told to keep the 'G-gear-ball-thing' and to adjust the color and font. I thought I was pushing it by redesigning the G. A logo as complex as one of the ones cited is a much larger departure from the original. I'll do

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Jared Kuolt
In the meantime, ¿Es usted listo engranar para arriba? Literal translation back to english: Are you ready to gear for above? I don't think it's as much a problem with the translator as it is the idiom of our culture. Ask an Italian guy if he's ready to gear up and he's likely to smack you.

[TurboGears] Re: making an exe

2005-12-09 Thread martin
the output comes without errors, all files are copied flat into build however no exe is created, probably it is not so much a TG thing, py2exe samples work without problems though, at the moment I run py2exe on toddswiki the fileupload tutorial wiki I type: python setup.py py2exe for from

[TurboGears] Re: making an exe

2005-12-09 Thread martin
and the dist folder afterwards 28.09.2005 12:4177.824 bz2.pyd 09.12.2005 23:32 456 cElementTree.pyc 09.12.2005 23:32 134.656 cElementTree.pyd 09.12.2005 23:32 4.173 collector.py 09.12.2005 23:32 4.613 collector.pyc 09.12.2005

[TurboGears] Re: tg installation borken

2005-12-09 Thread Kevin Dangoor
On 12/9/05, Jeremy Jones [EMAIL PROTECTED] wrote: OK - I really don't know what fixed it, nor why ez_setup and easy_install were picking up 0.5.1, but I re-ran easy_install after getting a successful 0.5.1 install and it upgraded it to 0.8a5. I ran tg-admin quickstart and it created a

[TurboGears] Re: making an exe

2005-12-09 Thread martin
and yes its deep night here :) i think thats all information there is, since it conforms to whats been written about py2exe i must have done something real silly btw I only extracted TG egg, at that time however docutils used its own egg, i mean to remember, is that a prob?

[TurboGears] Re: Identity enabled, framework claims it's not

2005-12-09 Thread Jason Chu
On Fri, Dec 09, 2005 at 09:12:36AM -0800, Ryan Forsythe wrote: I'm trying to move a project I've been building for the past month to use the Identity framework rather than its current homebrew auth stuff. I keep getting an IdentityManagementNotEnabledException(), though. The tutorial

[TurboGears] Re: can a form's action be a call to loadJSONDoc or some equivalent

2005-12-09 Thread Arnar Birgisson
2005/12/9, Jason Chu [EMAIL PROTECTED]: On Fri, Dec 09, 2005 at 01:06:52PM +, Arnar Birgisson wrote: Also, don't use form../form tags around your form, that way, when the user presses enter while inside any of the controls, nothing get's submitted. Couldn't you, just as easily,

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Kevin Dangoor
On 12/9/05, Jared Kuolt [EMAIL PROTECTED] wrote: Io capisco un po L'Italiano, ma non molto benne L'Espagnol. ;) For those of us who only speak English, this apparently means: I understand po an Italian, but not many buckets the Espagnol Kevin

[TurboGears] Re: Blog using TG

2005-12-09 Thread Jared Kuolt
Funny that you mention that. I was going to release mine tonight! I've got a pretty basic engine going on, but it's going to be full-featured. On 12/9/05, David Stanek [EMAIL PROTECTED] wrote: I am thinking about writing a blog application with TurboGears. Has anyone started one yet? I am

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Jared Kuolt
Yes. Buckets. I understand a little Italian, but not very good Spanish which is AFAIK syntactically correct. On 12/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On 12/9/05, Jared Kuolt [EMAIL PROTECTED] wrote: Io capisco un po L'Italiano, ma non molto benne L'Espagnol. ;) For those

[TurboGears] Re: making an exe

2005-12-09 Thread Kevin Dangoor
sadly, no... I mean script = toddswiki-start.py, Kevin On 12/9/05, martin [EMAIL PROTECTED] wrote: you mean: scripts = [toddswiki-start.py], ?? -- Kevin Dangoor Author of the Zesty News RSS newsreader email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog:

[TurboGears] Configuration

2005-12-09 Thread [EMAIL PROTECTED]
Have a few values that need to change depending on deployment method. Given the dev.cfg and prof.cfg files already exist I was hoping to be able to add my own configuration information to this. However I couldn't find anything in CherryPy or TG docs talking about how to get to these values. If

[TurboGears] Blog using TG

2005-12-09 Thread David Stanek
I am thinking about writing a blog application with TurboGears. Has anyone started one yet? I am planning an starting with Pyblosxom as a base. And then make it use Kid and then make it database driven with SQLObject. Thoughts? -- David

[TurboGears] Q: How to turn off autoCommit with a MySQL backend

2005-12-09 Thread Mike Kent
I've gotten to the point in my project where I want to use transactions. I'm using MySQL as my database backend. I understand that for transactions I need to turn off autoCommit (and cache). Normally this is done by appending '?autoCommit=0' to the end of your dburi string. However, the

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Leandro Lucarella
Jared Kuolt, el viernes 9 de diciembre a las 09:14 me escribiste: In the meantime, ¿Es usted listo engranar para arriba? Literal translation back to english: Are you ready to gear for above? It's worst, it means: Are you smart gear for above? -- Leandro Lucarella (luca) | Blog

[TurboGears] Re: making an exe

2005-12-09 Thread Bob Ippolito
py2exe uses console, windows, service, or com_server. script is ignored. On Dec 9, 2005, at 9:32 AM, Kevin Dangoor wrote: sadly, no... I mean script = toddswiki-start.py, Kevin On 12/9/05, martin [EMAIL PROTECTED] wrote: you mean: scripts = [toddswiki-start.py], ?? --

[TurboGears] Re: Blog using TG

2005-12-09 Thread Jorge Godoy
Jared Kuolt [EMAIL PROTECTED] writes: Funny that you mention that. I was going to release mine tonight! I've got a pretty basic engine going on, but it's going to be full-featured. Cool! This is something I'd like using here... :-) -- Jorge Godoy [EMAIL PROTECTED]

[TurboGears] Re: Q: How to turn off autoCommit with a MySQL backend

2005-12-09 Thread Karl Guertin
On 12/9/05, Mike Kent [EMAIL PROTECTED] wrote: I've gotten to the point in my project where I want to use transactions. http://sqlobject.org/SQLObject.html#lazy-updates Is that what you're looking for?

[TurboGears] Re: Autocomplete Textbox

2005-12-09 Thread Jason Chu
On Tue, Dec 06, 2005 at 08:36:55PM -0200, Jorge Godoy wrote: Jason Chu [EMAIL PROTECTED] writes: On Tue, Dec 06, 2005 at 09:35:00PM -, Chad L. wrote: Has anyone tackled an autocomplete textbox for TurboGears yet? Kinda like the Ruby on Rails one

[TurboGears] Re: Help w/ Testgears and Model

2005-12-09 Thread Mike Kent
Kevin has a short memory; he just answered this question for me. See: http://groups.google.com/group/turbogears/browse_frm/thread/130ab999a7ce488c/ccf16462a2d14e96?q=Q%3Arnum=2#ccf16462a2d14e96

[TurboGears] unicode in sqlobject / mysql

2005-12-09 Thread Andreas Reuleaux
Instead of defining individual columns to hold unicode data in sqlobject class Mytable(SQLObject) mycol=UnicodeCol() ... I would rather use normal string columns class Mytable(SQLObject) mycol=StringCol() ... and declare the whole database to use utf-8. I can do this in mysql

[TurboGears] Re: Help w/ Testgears and Model

2005-12-09 Thread Kevin Dangoor
On 12/9/05, Mike Kent [EMAIL PROTECTED] wrote: Kevin has a short memory; he just answered this question for me. See: http://groups.google.com/group/turbogears/browse_frm/thread/130ab999a7ce488c/ccf16462a2d14e96?q=Q%3Arnum=2#ccf16462a2d14e96 While I do have a short memory, I did remember that

[TurboGears] Re: making an exe

2005-12-09 Thread Kevin Dangoor
Hmm... that is what the docs say. Strangely, I'm looking at a setup script of mine (which I have used earlier to produce exes) that specifies the script and a buildtype of windows. Kevin On 12/9/05, Bob Ippolito [EMAIL PROTECTED] wrote: py2exe uses console, windows, service, or com_server.

[TurboGears] Re: Identity enabled, framework claims it's not

2005-12-09 Thread Ryan Forsythe
On Dec 9, 2005, at 10:24 AM, Jason Chu wrote: Does it happen every time? If you refresh a couple times will it go away? Yeah, it happens when I run my project-start.py. --Ryan

[TurboGears] Re: Configuration

2005-12-09 Thread [EMAIL PROTECTED]
Found my own answer: http://www.cherrypy.org/trunk/docs/book/chunk/ch03s03.html 3.3.5.1. cherrypy.config.get(key, defaultValue = None, returnSection = False) Usage looks something like dev.cfg: [global] ... # PROJECT quickbind.upload_dir = '/Users/gcarothers/Documents/Programing/qb-upload/'

[TurboGears] Re: making an exe

2005-12-09 Thread Kevin Dangoor
On 12/9/05, martin [EMAIL PROTECTED] wrote: using console=[] I think that's a setuptools thing, not a py2exe thing. actually yields an exe file, not working though, but ill figure that out thanks for your time, now get back to version 0.9 :) Yes, I should do that. Kevin -- Kevin

[TurboGears] Re: TurboGears on Debian - Issues

2005-12-09 Thread Chad L.
No problem, I appreciate the help. I'll walk through the steps again. It's a good learning experience for me regardless. Chad

[TurboGears] Re: Blog using TG

2005-12-09 Thread Jorge Godoy
Jared Kuolt [EMAIL PROTECTED] writes: Development is not as fast as it could be. I'm pretty weak in Python, new to Kid, SQLObject, etc. and not very smart. This blog is gonna suck... :P If you guys are not offended by extremely obscene language (which is my testing protocol) I can show

[TurboGears] Re: Blog using TG

2005-12-09 Thread Jared Kuolt
Okay, remember, it's just a basic engine so it's not fully-featured. There's also a lot of CSS work to be done to make it look pretty. I was working on this last night, too, so the quality might be a little late-night style. http://superjared.com:8080/ To navigate, use your back button when

[TurboGears] Re: Identity enabled, framework claims it's not

2005-12-09 Thread Ryan Forsythe
Okay, found it. I was trying to skip ahead and build the identity checking into the decorator I'd already built, eg: def auth(roles): Limits decorated function to use only by given list of roles def decorator(func): for role in roles: if role in

[TurboGears] Re: Blog using TG

2005-12-09 Thread Kevin Dangoor
Boy, I expected it would at least have feeds, given that Elvelind gave 'em to you for free :) Thanks for sharing! Kevin On 12/9/05, Jared Kuolt [EMAIL PROTECTED] wrote: Okay, remember, it's just a basic engine so it's not fully-featured. There's also a lot of CSS work to be done to make it

[TurboGears] Ruby on Rails Book Example question/ BLOB and catwalk

2005-12-09 Thread Michael Schneider
My parter-in-crime here is implementing the Ruby on Rails Book example in TurboGears. It is an online shopping system. The catalog displays a picture of the item as well as price, count, description. The ROR example uses a link the picture and stores a link. We thougt it might be nice to

[TurboGears] Re: Blog using TG

2005-12-09 Thread Jared Kuolt
Hey, I'm still fleshing out the model. There's a lot to add! Plus, I'm still using 0.8a5. On 12/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Boy, I expected it would at least have feeds, given that Elvelind gave 'em to you for free :) Thanks for sharing! Kevin On 12/9/05, Jared Kuolt

[TurboGears] Re: SQLObject - dynamic field names

2005-12-09 Thread midtoad
There's an error in your quoted example: dataset = Author.select() record=get(1) fieldname = name it needs to say record = Author.get(1) Instead of data = getattr(record, fieldname), which looks ugly to me, perhaps you could consider using simply data = record.name If the issue is that

[TurboGears] Re: making an exe

2005-12-09 Thread Kevin Dangoor
I just realized what's missing: the script parameter for setup. py2exe needs to know what script it should run when you run the exe. Kevin On 12/9/05, martin [EMAIL PROTECTED] wrote: the output comes without errors, all files are copied flat into build however no exe is created, probably it

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Jared Kuolt
Io capisco un po L'Italiano, ma non molto benne L'Espagnol. ;) On 12/9/05, Leandro Lucarella [EMAIL PROTECTED] wrote: Jared Kuolt, el viernes 9 de diciembre a las 09:14 me escribiste: In the meantime, ¿Es usted listo engranar para arriba? Literal translation back to english: Are

[TurboGears] Re: TurboGears on Debian - Issues

2005-12-09 Thread Andreas Reuleaux
Sorry, that I can't give a better advice, as I neither have your problem nor do I completely understand it. This is just what I would do: apt-get --purge remove python2.4-celementtree apt-get --purge remove python2.4-elementtree And rely on the [c]elementtree that comes with the Turbogears

[TurboGears] Re: SQLObject - dynamic field names

2005-12-09 Thread Karl Guertin
On 12/9/05, midtoad [EMAIL PROTECTED] wrote: If the issue is that your field name is being determined programatically, so you don't know it ahead of time, you could always use the following: data = eval(record.% % (fieldname,)) That is the issue here. getattr is the standard way to handle

[TurboGears] Re: SQLObject - dynamic field names

2005-12-09 Thread Jason Chu
On Fri, Dec 09, 2005 at 06:43:06PM -0500, Karl Guertin wrote: On 12/9/05, midtoad [EMAIL PROTECTED] wrote: If the issue is that your field name is being determined programatically, so you don't know it ahead of time, you could always use the following: data = eval(record.% %

[TurboGears] from-svn turbogears, catwalk transaction problems

2005-12-09 Thread Gábor Farkas
hi, i'm using from-svn turbogears, revision 306. i am unable to edit/add objects using catwalk. it works ok with tg-admin shell. i'm using mac osx, and postgres 8.0.4. when editing, i get (full traceback at the end of the mail): =

[TurboGears] Re: unicode in sqlobject / mysql

2005-12-09 Thread Gábor Farkas
Andreas Reuleaux wrote: Instead of defining individual columns to hold unicode data in sqlobject class Mytable(SQLObject) mycol=UnicodeCol() ... I would rather use normal string columns class Mytable(SQLObject) mycol=StringCol() ... and declare the whole database to use utf-8.

[TurboGears] Re: Blog using TG

2005-12-09 Thread Jared Kuolt
This'll be down until after Tang Soo Do; Proabably after 8:30-ish. On 12/9/05, Jared Kuolt [EMAIL PROTECTED] wrote: Hey, I'm still fleshing out the model. There's a lot to add! Plus, I'm still using 0.8a5. On 12/9/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Boy, I expected it would at

[TurboGears] Re: Identity: Multiple authentication types

2005-12-09 Thread Jeff Watkins
Lee, this is a really interesting idea. I hadn't considered it at all when I originally developed the identity framework. However, I agree with Kevin, it's a really good use-case and I'd like to make it work.So I need a little more clarification: Do you want only one set of permissions? Or will

[TurboGears] Re: OT: Congrats Jeff!

2005-12-09 Thread Jeff Watkins
Thanks everyone. My part of the whole process was minimal compared to that of my wife. Little Molly is really a charmer, but man has she got a pair of lungs on her! --Jeff Watkinshttp://newburyportion.com/"Just because you have the right to do something, doesn't mean it's the right thing to do."--

[TurboGears] TG for PHP ;-)

2005-12-09 Thread Jorge Godoy
I'm not a PHP fan, but... http://www.symfony-project.com/ Their idea of a daily tutorial is interesting. It's an expansion of screencasts. :-) -- Jorge Godoy [EMAIL PROTECTED]

[TurboGears] weird bug

2005-12-09 Thread Facun Chamut
Apparently (no guarantees, it's fri @ 1:30 on the east coast), templates that are being called from 3 levels deep in cherrypy are not being affected by CSS. Uff, that sounds weird.An example:controllers.py import turbogearsfrom turbogears import controllersclass Root(controllers.RootController):

[TurboGears] Re: weird bug

2005-12-09 Thread Karl Guertin
On 12/10/05, Facun Chamut [EMAIL PROTECTED] wrote: the css affecting templates.welcome is properly parsed in your-site/, your-site/blah/ but not in your-site/blah/bleh. It is there on the page-source, but it is somehow being ignored. Is it on a relative or absolute url? That's what usually

[TurboGears] Re: unicode in sqlobject / mysql

2005-12-09 Thread Andreas Reuleaux
On Sat, Dec 10, 2005 at 01:35:52AM +0100, Gábor Farkas wrote: Andreas Reuleaux wrote: Instead of defining individual columns to hold unicode data in sqlobject class Mytable(SQLObject) mycol=UnicodeCol() ... I would rather use normal string columns class Mytable(SQLObject)

[TurboGears] Re: weird bug

2005-12-09 Thread Facun Chamut
if w/ relative/absolute you mean whether it finishes w/ a */*, then it doesn't matter (in this particular case. It sometimes does). Please see my example.On 12/10/05, Karl Guertin [EMAIL PROTECTED] wrote: On 12/10/05, Facun Chamut [EMAIL PROTECTED] wrote: the css affecting templates.welcome is

[TurboGears] Re: weird bug

2005-12-09 Thread Karl Guertin
On 12/10/05, Facun Chamut [EMAIL PROTECTED] wrote: if w/ relative/absolute you mean whether it finishes w/ a */*, then it doesn't matter (in this particular case. It sometimes does). Please see my example. I mean is your css file written as: link rel=stylesheet type=text/css

  1   2   >