[tg-trunk] Re: TG2 progress and bugs

2007-07-05 Thread Lee McFadden
On 7/4/07, Max Ischenko [EMAIL PROTECTED] wrote: As you see it's not cookie-based, alas, but at least it was easy to implement. ;) Yes, but it uses sessions. I've never had anything but trouble with sessions once you move to multiple front-end servers and, unless there's a *100% foolproof*

[tg-trunk] Re: TG2 doing things right

2007-07-05 Thread Leandro Lucarella
Ian Bicking, el 2 de julio a las 15:48 me escribiste: 2- paster, paste script to be exact is way too complicated for normal tg commands, paster is build on top of optparse which at least in TG case will maintain the huge set of switches, most TG commands could be ran with a simpler

[tg-trunk] Re: TG2 progress and bugs

2007-07-05 Thread Ken Kuhlman
Don't know how ROR handles its flash messages, but there have been some good suggestions lately on the tg-users ML about how tg's flash could be improved. These threads might give you some ideas on what kind of an api your users would like: Flash notes with HTML tags

[TurboGears] Re: Complete Web development framework for TurboGears

2007-07-05 Thread Sanjay
What I understand, from my limited depth, is that this project aims to be something like the VS .NET IDE for TG framework. It really exites me! I don't know whether extending toolbox can take the vision that forward. Even, can a web application serve the ultimate vision, or a window application

[TurboGears] Scaling Examples

2007-07-05 Thread [EMAIL PROTECTED]
Hello gents. I am researching new frameworks with which to rewrite my high traffic web application. I have used Django for a smaller sub-project and I wanted to compare and contrast it with TurboGears. I would be very grateful for a pointer to TurboGears applications currently in production

[TurboGears] Re: Facebook python API

2007-07-05 Thread h0b0camp
Monty, I'd love to hear what changes you've made to the suckity python api before I go diving head first into it :) Or, if there's anything I can do to assist... Thanks! On Jun 17, 1:09 pm, Monty Taylor [EMAIL PROTECTED] wrote: I'm working on a TG-based Facebook app and have already written

[TurboGears] readonly fields

2007-07-05 Thread Glauco
Why readonly fields is not submitted with other fields (hidden too) ? I don't understand well what's the reason... Glauco -- ++ Glauco Uri - Programmatore

[TurboGears] Re: readonly fields

2007-07-05 Thread asm
Even assuming you are using widgets; the use of 'readonly' involves it being passed straight through to the HTML. My understanding is that 'disabled' fields are not sent as part of the form data; but that 'readonly' field are sent as part of the form. This (and their visual appearance) are what

[TurboGears] Re: Crash in Kid processing when data contains amp;#151 character?

2007-07-05 Thread asm
The issue here is that Kid wants to work with XML and Unicode. This throws up an issue that HTML entities are not valid Unicode and must be represented differently. The following code from TurboBlog (Florent Aide) addresses this issue: from htmlentitydefs import name2codepoint def

[TurboGears] Re: TG commits sqlalchemy objects after leaving controller.

2007-07-05 Thread Lee McFadden
On 7/5/07, Loucash [EMAIL PROTECTED] wrote: And, I'd like to have an access to a score column in my results and how can I get it. When I tried: results.fetchall() then I have a tuples, but then empty cursor is given to an instances method :( The best solution would be if in Company_m

[TurboGears] Generate dist in binary for linux (tg2exe)

2007-07-05 Thread Paulo Leonardo
Hi everybody! I am searching for an tg2exe, but to linux(Ex: tg2bin). For generate a binary file, in linux. I need distribute a application without the source code. Exist some way of the distribute the application without the source code, or hide the source code? I search in group, but I did

[TurboGears] Re: TG commits sqlalchemy objects after leaving controller.

2007-07-05 Thread Loucash
I think the best way to handle that would be to create a mapper extension that uses the create_instance method to override the standard behaviour. You could then make sure that the score property gets applied if it's available in the rows given to the mapper. It works, I've implemented

[TurboGears] Re: readonly fields

2007-07-05 Thread jose
The mainly reason to use DISABLED instead of READONLY is that READONLY is usable only with text boxes on the other hand you can make DISABLED every kind of widgets. j asm wrote: Even assuming you are using widgets; the use of 'readonly' involves it being passed straight through to the HTML.

[TurboGears] Re: Crash in Kid processing when data contains amp;#151 character?

2007-07-05 Thread Christoph Zwerschke
to increase the confusion, Kid outputs a wrong error message, probably becasuse of this Python bug: ... This turned out to be a bug in Kid, not Python. UnicodeDecodeErrors are erroneously translated to these TypeErrors by Kid. Will be solved in the next Kid version. -- Chris

[TurboGears] Re: Problem with install with Python 2.5.1c1 on Ubuntu

2007-07-05 Thread Christopher Arndt
[EMAIL PROTECTED] schrieb: I had a very similar problem that could not be resolved with a simple install of RuleDispatch. It turned out that removing and re-installing in the site-packages was not enough. When I deleted the folder: /var/lib/python-support/python2.5/dispatch the problem

[TurboGears] Re: Update on the status of TG

2007-07-05 Thread iain duncan
On Thu, 2007-05-07 at 14:03 +0200, Christoph Zwerschke wrote: Thanks for the status update, Alberto. What are the plans for widgets in TG 2.0? Will these be ToscaWidget? Is your plan of releasing a beta of with a new widget browser anytime soon still within your bounds of possibility?

[TurboGears] Re: Scaling Examples

2007-07-05 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: Hello gents. I am researching new frameworks with which to rewrite my high traffic web application. I have used Django for a smaller sub-project and I wanted to compare and contrast it with TurboGears. I would be very grateful for a pointer to TurboGears

[TurboGears] Iterate through an SA models columns?

2007-07-05 Thread iain duncan
I'm mucking around trying to automate more of my admin interface, and wondered if anyone could tell me what the smart way to iterate through an SA mapped objects column attributes would be. Is there a better way than just going through all the attributes of the object checking to see if they are

[TurboGears] Re: Iterate through an SA models columns?

2007-07-05 Thread Lee McFadden
On 7/5/07, iain duncan [EMAIL PROTECTED] wrote: I'm mucking around trying to automate more of my admin interface, and wondered if anyone could tell me what the smart way to iterate through an SA mapped objects column attributes would be. Is there a better way than just going through all the

[TurboGears] Re: Crash in Kid processing when data contains amp;#151 character?

2007-07-05 Thread buffalob
Thanks so much for the replies Chris and asm. I tried the suggested fix with the .decode.('cp1252') and yes that works great for avoiding the crash - thank you again, I never would have known to try that! Because you described that fix as quick/dirty, I'm also wondering if there's any broader

[TurboGears] TurboGears at EuroPython2007 Vilnius

2007-07-05 Thread [EMAIL PROTECTED]
Hi guys, someone mentioned EuroPython in another thread, perhaps it is not pointless to tell you that I will be talking on Tuesday 15:00-15:30 on Managing and displaying user track data with Python ... and the software I am presenting is built with TurboGears. So, if someone wants to meet and

[TurboGears] Re: please help! need to know python version

2007-07-05 Thread [EMAIL PROTECTED]
Site says that TurboGears 1.0.2.2 Now with Python 2.5 support! I am using with Python 2.5 and so far I am very happy. W. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group,

[TurboGears] Re: please help! need to know python version

2007-07-05 Thread John M Camara
Should support Python 2.3 and higher but I recommend at least 2.4. On Jul 5, 1:22 pm, anna [EMAIL PROTECTED] wrote: Hi all, Can anyone tell me what version of Python Turbogears is written/ developed in? Or can you tell me where to find this info? Thanks, Anna

[TurboGears] please help! need to know python version

2007-07-05 Thread anna
Hi all, Can anyone tell me what version of Python Turbogears is written/ developed in? Or can you tell me where to find this info? Thanks, Anna --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group.

[TurboGears] Re: Crash in Kid processing when data contains amp;#151 character?

2007-07-05 Thread Christoph Zwerschke
buffalob wrote: Because you described that fix as quick/dirty, I'm also wondering if there's any broader solution that I should consider for the longer term to help lessen the chance of such invalid data griding my app to a halt? Any thoughts? Quick dirty in so far as your HTML_Stripper

[TurboGears] Shopping cart?

2007-07-05 Thread iain duncan
I'm curious whether anyone knows of a TG or pylons based shopping cart project. I like the idea of Satchmo, the Django cart, and might just run a Django and TG site off the same db, but if there is a TG or pylons equivalent in the making that would be preferable. Thanks Iain

[TurboGears] Re: Complete Web development framework for TurboGears

2007-07-05 Thread Uwe C. Schroeder
I guess a windows version would be rather inconvenient for many - not everyone runs windows :-) So if this has to be a non-web application (which might make sense), at least write it with something platform-independent, like python/wxpython Uwe On Wednesday 04 July 2007, Sanjay wrote: What

[TurboGears] TurboGears 2 - ActionScript/Flex Support

2007-07-05 Thread SamFeltus
I think ya'll should consider building in support for ActionScript and Flex into TurboGears 2. HTML is a limited display technology for expressing audio visual ideas (obviously it is great for text). The upcoming open sourcing of the Flex technology opens up alot of opportunities to expand the

[TurboGears] State of TurboGears running with Apache?

2007-07-05 Thread Graham Dumpleton
From what I have read, there has in the past been some questions marks on whether TurboGears will run properly under Apache using mod_python. Part of the reason seemed to be that Apache runs as a multiprocess server and database caches in individual processes aren't being synchronised. The result