Title: [2033] projects/TGWidgets/trunk: Core widgets (Widget and WidgetRepeater) now use the 'tgwidgets' template engine as a default.
Revision 2033
Author alberto
Date 2006-10-30 11:22:02 -0500 (Mon, 30 Oct 2006)
Log Message
Core widgets (Widget and WidgetRepeater) now use the
Title: [2034] branches/1.0/turbogears/qstemplates/quickstart/+package+/model.py_tmpl: clean model import order
Revision 2034
Author fredlin
Date 2006-10-30 20:47:11 -0500 (Mon, 30 Oct 2006)
Log Message
clean model import order
Modified Paths
Title: [2035] trunk/turbogears/qstemplates/quickstart/+package+/model.py_tmpl: merge [2034] from 1.0
Revision 2035
Author fredlin
Date 2006-10-30 20:48:01 -0500 (Mon, 30 Oct 2006)
Log Message
merge [2034] from 1.0
Modified Paths
Title: [2037] projects/TGWidgets/trunk: Removing JS and forms stuff from TGWidgets
Revision 2037
Author alberto
Date 2006-10-31 01:38:05 -0500 (Tue, 31 Oct 2006)
Log Message
Removing JS and forms stuff from TGWidgets
Modified Paths
projects/TGWidgets/trunk/docs/tgwidgets.txt
Title: [2040] projects/TGWidgetsForms/trunk/setup.py: Forgot to add FormEncode to TGWidegstForms install_requires
Revision 2040
Author alberto
Date 2006-10-31 01:46:26 -0500 (Tue, 31 Oct 2006)
Log Message
Forgot to add FormEncode to TGWidegstForms install_requires
Modified Paths
Title: [2041] projects/TGWidgets/trunk/tgwidgets/core.py: Fixed arg names in adapt_value
Revision 2041
Author alberto
Date 2006-10-31 01:55:01 -0500 (Tue, 31 Oct 2006)
Log Message
Fixed arg names in adapt_value
Modified Paths
projects/TGWidgets/trunk/tgwidgets/core.py
Diff
#1156: Improve error reporting in Genshi templates
-+--
Reporter: talin|Owner: anonymous
Type: enhancement | Status: new
Priority: normal |Milestone:
Component:
#1139: [PATCH] SQLObject bug in handling of non default foreign keys
---+
Reporter: trlandet |Owner: anonymous
Type: defect | Status: closed
Priority: normal |
On 10/28/06, Nadav Samet [EMAIL PROTECTED] wrote:
Can anyone advice if this is a security risk to accept both encrypted password and the plain-text one?I would advise against it...If the provider accepts an encrypted password, it's pretty much the same as sending a plain-text password. Why bother
On 29 Oct 2006, at 19:20, Kevin Dangoor wrote:
People are already running a mix of the old (SQLObject and Kid) and
the new (SQLAlchemy and Genshi). In the time between the 1.0 and
(next major) release, the balance will likely shift over time toward
the new.
I'd like to start supporting
On Oct 30, 2006, at 7:21 AM, Alastair Houghton wrote:
BTW, as you're talking about detecting the need for sudo and the
suchlike, on Mac OS X, I tend to prefer setting my PATH to include
the bin folder in the Python framework, rather than installing the
binary files that live in there into
+1.
I think this is great, and it makes the future transitions even easier
for lots of people.
1. Install Python
2. Download tgsetup.py
3. python tgsetup.py
My only nit pick would be that we probably want to sent people to add:
4. Install and configure a database engine and python drivers
Hi all,
May someone help me calling javascript functions?
In my edit.kid I would like to insert a javascript function like this:
script
function help(){
alert ('Ciao')
}
/script
This one works, but if I move the function to a file into
myproject/static/javascript/help.js
it doesn't
Definitely Cool to see if any of y'all live nearby. Jorge just posted
up on this but here is the frappr for TG:
http://www.frappr.com/turbogears/map
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears
Is it just me, or does CherryPy take a *really* long time to start up
and restart?
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings
Jose Soares [EMAIL PROTECTED] writes:
Hi all,
May someone help me calling javascript functions?
In my edit.kid I would like to insert a javascript function like this:
script
function help(){
alert ('Ciao')
}
/script
This one works, but if I move the function to a file into
What do you mean by doesn't work? The file isn't being included or
the function has errors?
Ill just guess the file isn't being included. What happens when you
go directly to the file in the browser?
For example if you are running your server at localhost:8080 then try going to
I am with Jorge on this one, while you are testing it just use a kid
page that displays the widget. Automatically solves the reloading and
too-much-stuff-on-a-page issues. AFAIK there has been discussion about
putting some pagination on the widget list, but that will be in an
upcoming
Gregor Horvath [EMAIL PROTECTED] writes:
I have the need for such a row level security in my current project, so
I implemented a thin layer above sqlobject. (There is no change in
SQLObject itself)
If someone is interested, I am willing to share the code.
I am. :-) You can use TG's wiki
Sounds like we need a small TG app on the TurboGears web site for
people to meet each other. An app that integrates Google maps, a
forum, and similar to meetup.com.
This could be a nice project for the upcoming TurboGears Jam -
http://mindview.net/Conferences/TurboGearsJam/.
No. It's not just you. I started to collect some profile data the
other day to see what I could do but found out that I need to get a
little more familiar with TG/CherryPy internals first. From looking at
the data it looks like there are many opportunities for improvements as
some of the call
Hi,
I tried posting this a few hours ago, but it did not appear, so I will
try again. Sorry if it appears twice.
I am trying to install Turbogears 1.0b1 on windows XP. This is a new
install. I already had python 2.4. Everything seems to install.
tg-admin.exe appears in the scripts folder. But
I have a form with a FileField. After a validation error or exception
occurs, the field is not preserving the old path name, but is becoming
blank. Pondering whether it the expected behaviour, or I might be
missing something...
thanks
sanjay
yesterday I reply to a couple of messages and I got this from all of
them. I know my messages did go to the list because Adam reply to this
one today.
is anyone else getting this too?
-- Forwarded message --
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Oct 30, 2006 1:30 AM
Hi all,
I would like to know how to retrieve the cherrypy informations like
the query_string of url, the server_url, the authenticated_user,
cookies, etc.
Something like the Zope REQUEST.
---
QUERY_STRING'PIPPO=ASSNOME=ASASAS'
Hello I just remember about this
http://www.frappr.com/turbogears/map
it's old from the 0.8 days or something
you may want to check it out see ya :)
On 10/29/06, Michael Steinfeld [EMAIL PROTECTED] wrote:
Hi,
It's probably a long shot, but I am in Sarasota Florida (hour south of
Tampa)
After traced code I found tgquickstart() just import 'all' cherrypy and
turbogears modules instead of import 'required' modules only, maybe its
one of the problems
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
John,
I agree! I think that's a FABULOUS idea for the TurboGears Jam!
Hope to see you there!
Dianne
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
Hi all,
I would like to know how to retrieve the cherrypy informations like
the query_string of url, the server_url, the authenticated_user,
cookies, etc.
Something like the Zope REQUEST.
---
QUERY_STRING'PIPPO=ASSNOME=ASASAS'
Hi,
[Apologies if this is a double post, I don't think the first one made
it]
I need to run the PASSWORD() function on the database server and
retrieve the result. I have managed to get this working, with the
following code:
import model
from sqlobject.sqlbuilder import Select, func
conn =
I have added that to
http://docs.turbogears.org/1.0/RoughDocs/DocumentationWishList
On 10/29/06, Matt Wilson [EMAIL PROTECTED] wrote:
Thanks for the hint. I just found this page on the trac wiki:
http://trac.turbogears.org/turbogears/wiki/UsingModelsOutsideTurboGears
That seems to be
For those of you who haven't seen yet:
http://turboentity.ematia.de/
Its a declarative layer on top of SQLAlchemy a'la ActiveMapper (and
apparently heavily inspired by ActiveMapper according to the source).
It feels much more like SQLObject than ActiveMapper, has documentation,
and examples.
On 10/29/06, Elvelind Grandin [EMAIL PROTECTED] wrote:
Is there somebody that uses these in their projects? If not they will
be changed in the next released to a Project class.
I have some code that depends on get_model it's my hackish way of
tg-admin sql drop,tg-admin sql create, put sample
Michael Steinfeld schrieb:
It's probably a long shot, but I am in Sarasota Florida (hour south of
Tampa) and would like to form a users group or even just meet for coffee
with other people interested in TurboGears and Python.
I'll chime in here too: I'm in Cologne/Germany. I would even drive
Chicago, anyone?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For
Ian Wilson wrote:
What do you mean by doesn't work? The file isn't being included or
the function has errors?
Ill just guess the file isn't being included. What happens when you
go directly to the file in the browser?
For example if you are running your server at localhost:8080 then try
I'm amused that there's a whole lot of posting here and nobody is even
remotely close to each other.
Cambridge, MA fwiw
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send
On Oct 30, 2006, at 12:57 PM, cwurld wrote:
I tried posting this a few hours ago, but it did not appear, so I will
try again. Sorry if it appears twice.
To eliminate spam (and we toss out a fair bit), new members are
moderated. (I flip that bit after I let a message through.)
I am trying
Anyone for United Kingdom, especially Yorkshire-area?
-Rob
Michael Steinfeld wrote:
Hi,
It's probably a long shot, but I am in Sarasota Florida (hour south of
Tampa) and would like to form a users group or even just meet for coffee
with other people interested in TurboGears and Python.
On Oct 30, 2006, at 5:46 AM, Steve Holden wrote:
Is it just me, or does CherryPy take a *really* long time to start up
and restart?
It's not you (and I don't think it's CherryPy). We've got a lot of
code that gets imported when you import turbogears. I've been
thinking about ways to deal
Ha yeah seriusoly did you look at that link to the map though? There
are people all over. Maybe TG users are just naturally territorial.
Anyways, San Luis Obispo, CA for me.
-Ian
On 10/30/06, Karl Guertin [EMAIL PROTECTED] wrote:
I'm amused that there's a whole lot of posting here and
Karl Guertin wrote:
I'm amused that there's a whole lot of posting here and nobody is even
remotely close to each other.
Cambridge, MA fwiw
I think that says good things ... namely that i18n support here is
better than it is in other projects. Granted, I know embarrassingly
little about
TurboSetup 0.2 is out and available from pypi. Notable features in this
version:
* Widgets to display and edit a configuration, dynamically built from
the config file or a given dictionary
* A database uri handling object that provides validation of uri
parameters and builds uri strings for
Two questions.
With TurboEntity work with tg-admin sql create
~and~
Can the author provide better documentation on the use of select
queries? IE select(id50 and id100)
Otherwise, looks great.
Thanks!
-chris
--~--~-~--~~~---~--~~
You received this message
Steve Holden wrote:
Is it just me, or does CherryPy take a *really* long time to start up
and restart?
How long is *really* long? Longer than 1.5 seconds?
C:\Python24\Lib\site-packagespython cherrypy\test\hello.py
[30/Oct/2006:09:12:25] HTTP Serving HTTP on http://localhost:8080/
Sanjay schrieb:
I have a form with a FileField. After a validation error or exception
occurs, the field is not preserving the old path name, but is becoming
blank. Pondering whether it the expected behaviour, or I might be
missing something...
Yes, this is normal for input type=file /
Kevin Dangoor wrote:
However, I
should note that my own development tends to be partly shielded from
this because I do test driven development and run my tests more often
than update code on a running server process.
Kevin
Kevin,
I don't believe startup time in production is the issue
On 10/30/06, Kevin Dangoor [EMAIL PROTECTED] wrote:
On Oct 30, 2006, at 5:46 AM, Steve Holden wrote:
Is it just me, or does CherryPy take a *really* long time to start up
and restart?
It's not you (and I don't think it's CherryPy). We've got a lot of
code that gets imported when you
Steve Holden [EMAIL PROTECTED] writes:
Is it just me, or does CherryPy take a *really* long time to start up and
restart?
In development mode it does take a while. In production mode it is very
fast. Of course if you have other slow things they'll impact in the startup
time (e.g. if it is
fumanchu [EMAIL PROTECTED] writes:
Steve Holden wrote:
Is it just me, or does CherryPy take a *really* long time to start up
and restart?
How long is *really* long? Longer than 1.5 seconds?
Is this CP 3 code or CP 2.X (TG compatible) code?
I got an error for quickstart...
Traceback
Below is a few lines from profiling a new quick start application. All
I did was create an app via quick start, modified the startup file to
enable profiling, started the server, viewed the home page of the app,
and then hit the browser refresh button 6 times.
The line that starts with 23118
On 10/30/06, Steve Holden [EMAIL PROTECTED] wrote:
Is it just me, or does CherryPy take a *really* long time to start up
and restart?
Yes, same here. I really didn't notice until I went back to some old
Spyce-based code and remembered that it didn't have the same issue.
--
Tim Lesher
Hi,
On Oct 30, 2006, at 11:31 AM, Diez B. Roggisch wrote:
(...)
Of course I can create a new webapplication just for testing my widget
project. But first of all, the toolbox widget list mechanisms
already _allow_
for convenient, self-embedded rendering. There is everything available
Steve Holden schrieb:
Is it just me, or does CherryPy take a *really* long time to start up
and restart?
I noticed that if I have no network connection the start up time is
considerably/annoying higher than with a connection.
Maybe some timeout ?
--
Greg
OK, here's my problem:
I have a script which accesses the DB, and which can be started in the
background from my TG web application (The script also uses my app's
model). I want to prevent this script from being simultaneously
executed more than once. Problem is, the web app may be replicated
On 10/30/06, Jose Soares [EMAIL PROTECTED] wrote:
I would like to know how to retrieve the cherrypy informations like
the query_string of url, the server_url, the authenticated_user,
cookies, etc.
Something like the Zope REQUEST.
Googling for cherrypy request would've answered your
On 10/30/06, percious [EMAIL PROTECTED] wrote:
With TurboEntity work with tg-admin sql create
I'm not 100% sure but I'd be surprised if it didn't.
Can the author provide better documentation on the use of select
queries? IE select(id50 and id100)
Syntax is the same as standard sqlalchemy.
On 10/30/06, John M Camara [EMAIL PROTECTED] wrote:
No. It's not just you. I started to collect some profile data the
other day to see what I could do but found out that I need to get a
little more familiar with TG/CherryPy internals first. From looking at
the data it looks like there are
I don't think that CP is the problem but rather TG that imports a lot
of things on startup even if usually you don't need *all* of them.
CP itself is pretty fast, at least here...
Ciao
Michele
Steve Holden wrote:
Is it just me, or does CherryPy take a *really* long time to start up
and
Stuart Clarke [EMAIL PROTECTED] writes:
I have a script which accesses the DB, and which can be started in the
background from my TG web application (The script also uses my app's
model). I want to prevent this script from being simultaneously
executed more than once. Problem is, the web
On Mon, 2006-10-30 at 22:26 -0300, Jorge Godoy wrote:
Stuart Clarke [EMAIL PROTECTED] writes:
I have a script which accesses the DB, and which can be started in the
background from my TG web application (The script also uses my app's
model). I want to prevent this script from being
Is anyone planning to write a memcached caching mechanism for Genshi?
I love the whole templates are correct XHTML and editable in insert
name of favourite web editor here factor. But until I can memcached
from these templating systems, I'll be using Cheetah.
Stuart
On Mon, 2006-10-30 at
Stuart Clarke [EMAIL PROTECTED] writes:
*** The test-and-set operation isn't atomic though, is it? Which still
leaves the door (slightly) open for simultaneous executions.
It depends how you're doing it. I'd try locking the table for update,
updating it and then starting the process. If
On 10/30/06, Stuart Clarke [EMAIL PROTECTED] wrote:
On Mon, 2006-10-30 at 22:26 -0300, Jorge Godoy wrote:
Stuart Clarke [EMAIL PROTECTED] writes:
I have a script which accesses the DB, and which can be started in the
background from my TG web application (The script also uses my app's
Jorge Godoy wrote:
fumanchu [EMAIL PROTECTED] writes:
Steve Holden wrote:
Is it just me, or does CherryPy take a *really* long time to start up
and restart?
How long is *really* long? Longer than 1.5 seconds?
Is this CP 3 code or CP 2.X (TG compatible) code?
I got an error for
On Oct 30, 2006, at 7:18 PM, m h wrote:
You've probably already heard of it, but bazaar (bzr) is using lazy
imports to improve startup time. The latest release, 0.12, cut
startup time by 50%.
Yes, lazy imports is specifically one area that I've considered. I
don't think I can do it
On Oct 30, 2006, at 7:56 PM, John M Camara wrote:
Below is a few lines from profiling a new quick start application.
All
I did was create an app via quick start, modified the startup file to
enable profiling, started the server, viewed the home page of the app,
and then hit the browser
import cherrypy
cherrypy.request
http://docs.cherrypy.org/api-reference#request
On Oct 30, 2006, at 4:52 PM, Jose Soares wrote:
Hi all,
I would like to know how to retrieve the cherrypy informations like
the query_string of url, the server_url, the authenticated_user,
cookies, etc.
Thanks for your efforts filtering spam.
Yes, I can run python from the command line. I can run other
executables that are in the python scripts folder from the command
line.
I am wondering if I should remove TG and start the install over. During
the install, I had a few crashes because I was
Tomorrow (Halloween) is that last day to submit talk proposals for
PyCon 2007 (in Dallas)! It's a great event, and I'd certainly
recommend it. Good crowd to hang around with lots of smart people who
know all kinds of stuff. You won't believe the things you learn just
by being in the same
On Oct 30, 2006, at 6:36 PM, Adam Jones wrote:
Until I have something that is more useful than an incomplete
gathering
of components, additional updates will be posted at the following
address(es) to cut down on mailing list spam:
http://www.recursivethought.com/blog/tags/view/turbosetup
A possible longer shot -- N. Charlotte, Winston Salem and points west
in North Carolina. I live
west of Winston Salem, have some TG experience and long-term Python
experience (Zope2, some
Twisted, etc).
Let's have a coffee @ with some wireless (downtown W-S or maybe
Charlotte?).
thank you,
On 10/30/06, Karl Guertin [EMAIL PROTECTED] wrote:
On 10/30/06, percious [EMAIL PROTECTED] wrote:
With TurboEntity work with tg-admin sql create
I'm not 100% sure but I'd be surprised if it didn't.
The website says that automatic table creation works as normal.
This looks intriguing- I
On Oct 30, 2006, at 7:39 PM, cwurld wrote:
Thanks for your efforts filtering spam.
Yes, I can run python from the command line. I can run other
executables that are in the python scripts folder from the command
line.
I am wondering if I should remove TG and start the install over.
On 10/29/06, Adam Jones [EMAIL PROTECTED] wrote:
Same for Portland, OR.
Hey me too! Cool. -- Andy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
On Oct 30, 2006, at 11:06 AM, Jonathan LaCour wrote:
For those of you who haven't seen yet:
http://turboentity.ematia.de/
Its a declarative layer on top of SQLAlchemy a'la ActiveMapper (and
apparently heavily inspired by ActiveMapper according to the
source).
It feels much more like
On Oct 30, 9:19 pm, Kevin Dangoor [EMAIL PROTECTED] wrote:
On Oct 30, 2006, at 7:39 PM, cwurld wrote:
Thanks for your efforts filtering spam.
Yes, I can run python from the command line. I can run other
executables that are in the python scripts folder from the command
line.
I
The reason why I had looked at that example first was the fact it was
the first TG code listed. Anyway I looked into the issue a little
deeper and I realized now it will not effect start up time but felt it
was still worth optimizing. I found that there were some indentation
via tabs which
Kevin Dangoor wrote:
On Oct 30, 2006, at 6:36 PM, Adam Jones wrote:
Until I have something that is more useful than an incomplete
gathering
of components, additional updates will be posted at the following
address(es) to cut down on mailing list spam:
I think we should create a doc to collect those candidates in an arena
:-D
Till now we have three candidates for default SA:
1. ActiveMapper
2. plain SA definitions
3. TurboEntity
Lee McFadden has checked in [1997] to replace ActiveMapper with plain
SA definitions.
Though plain SA makes SA
Is anyone planning to write a memcached caching mechanism for Genshi?
I love the whole templates are correct XHTML and editable in insert
name of favourite web editor here factor. But until I can memcached
from these templating systems, I'll be using Cheetah.
er. Why don't you undertake
Dang all those dudes are going to be there? What about the other
turbogears crew they all coming? I mean cherrypy and etc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group,
Thank you very much to Kevin Dangoor and Bob Ippolito for this important link.
:-)
Kevin Dangoor wrote:
import cherrypy
cherrypy.request
http://docs.cherrypy.org/api-reference#request
On Oct 30, 2006, at 4:52 PM, Jose Soares wrote:
Hi all,
I would like to know how to retrieve the
not here
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more
Jorge Godoy schrieb:
If someone is interested, I am willing to share the code.
I am. :-) You can use TG's wiki to share content like this.
I've putted it on the sqlobjects wiki, since it belongs/depends more to SO.
http://wiki.sqlobject.org/rowlevelsecurity.html
I see. And it should be
85 matches
Mail list logo