I attempt to use this validator but got the following error :
2005/10/07 13:59:34 HTTP INFO 192.168.0.14 - GET
/user/access_log?frdate=2005%2F10%2F7todate=2005%2F10%2F8active=1
HTTP/1.1
2005/10/07 13:59:34 INFO Traceback (most recent
Ok, i made it working, but now my session data dissapears after first
response, and i have to login again if i wan't to see another page
==
2005/10/07 16:44:22 INFO Traceback (most recent call last):
File
/home/gary/lib/python2.4/site-packages/CherryPy-2.1.0_rc1-py2.4.egg/cherrypy/_cphttptools.py,
line 272, in run
main()
File
I begin to start using the validator and got confused of what is the
design philosophy behind it.
1. There is an instance method validator_error that would be called if
exist otherwise it would raise another exception.
I believe this has to be mentioned in the documentation as otherwise,
this
Hmm... I haven't started using Ajax in TG yet, so I had not thought of
that. Since I am planning on using ajax, I had better figure out what I
am going to do. :-)
Thanks much.
[EMAIL PROTECTED] wrote:
I use the same approach(decorator on selectioned url links). The login
form is just a
Heh. I probably skipped that part since I already had python installed. :-)
Krys
Kevin Dangoor wrote:
On 10/5/05, Krys Wilken [EMAIL PROTECTED] wrote:
I know that ActivePython puts the python folder in the path, but not the
scripts folder. It also sets up an association for .py files.
I've got a demo copy of Sawmill that I'm trying out and it had
something interesting to say...
Apparently, the #1 browser at turbogears.org is... Python-urllib 2.4!
Other than possibly the cheeseshop, turbogears.org is probably the
only site that can make that claim :)
Kevin
--
Kevin Dangoor
You need docutils if you want to do that.
easy_install docutils
Kevin
On 10/7/05, Tom Smith [EMAIL PROTECTED] wrote:
when i added ...
from docutils.core import publish_parts
I got..
Tom-Smiths-Computer-2:~/wiki20 tomsmith$ python wiki20-start.py
Traceback (most recent call last):
I've been taking on the challenge of building an identity management and access control framework for TurboGears. One of the features I really liked about working with BroadVision's Web framework (back in 2001) was the notion of an anonymous visitor.During the course of a visit, you could collect
I came across a few dependancy issues like this during the 20 minute
wiki demo. Could these dependancies be documented in the installation
or packaged with the rest of the install?
I'm having some problems when exporting my XHTML files to Kid. I create
the pages using Dreamweaver MX, then save them as XHTML and modify them
to be a Kid's template. Now to the problem: the pages need to be
exported as UTF8 *and* the entities have to be replaced by UTF8
equivalents, or Kid
Is the definition of byPagename() missing from the current tutorial?
I'm at the bottom of page 2 of the 20-minute wiki, and I'm getting
complaints that Page.byPagename doesn't exist. (Which seems right, as
*I* sure didn't write it :)
On 10/7/05, Chris Curvey [EMAIL PROTECTED] wrote:
Is the definition of byPagename() missing from the current tutorial?
I'm at the bottom of page 2 of the 20-minute wiki, and I'm getting
complaints that Page.byPagename doesn't exist. (Which seems right, as
*I* sure didn't write it :)
On Oct 7, 2005, at 8:33 AM, Tom Smith wrote:
Tom-Smiths-Computer-2:~/wiki20 tomsmith$ python wiki20-start.py
Traceback (most recent call last):
File wiki20-start.py, line 15, in ?
from wiki20.controllers import Root
File /Users/tomsmith/wiki20/wiki20/controllers.py, line 3, in ?
Thanks guys for the quick replies -
Its not that SQLObject isn't capable, its that our data model isn't a
typical data model. We have a data broker type situation, where a
centralized server distributes data to all the clients. Typically, this
server will go to a database and get the
I don't think Turbogears need SQLObject at all. model.py is just a
particular implementation example, you can write your own .py and name
it(structure the whole thing) whatever you want.
For your case, it seems that you want the feature of SQLObject but the
real data backend is not the supported
Still the same with r43:
C:\Devtg-admin quickstart
Enter project name: test
Enter package name [test]: test
generating test\dev.cfg
generating test\prod.cfg
generating test\test-start.py
generating test\setup.py
generating test\test\controllers.py
generating test\test\model.py
generating
Ok, I haven't tried to investigate why, but it works fine when run in
trunk directory:
C:\svn\turbogears\trunktg-admin quickstart
Enter project name: test
Enter package name [test]: test
generating test\dev.cfg
generating test\prod.cfg
generating test\test-start.py
generating test\setup.py
class Root:
class index(Page):
template = blabla
content_type = text/html
validators =
def render(self):
return dict(bla)
This would be easier to handle with a:
class Page:
def __init__(self, bla):
...
init_instance_variables
...
instead of decorators.
Good morning,
I've downloaded the latest (I think) version of TurboGears via
subversion (svn co http://www.turbogears.org/svn/turbogears/trunk
turbogears), and I go to build the development version, as detailed
on http://www.turbogears.org/community/contributing.html, by running:
python
first, you need to follow exactly the installation instruction on
TurboGears(to kick start a base, could be outdated but doesn't matter).
Then you can do your svn upgrade as described above, including any new
Kid, Cherrypy, SQLObject etc.
TurboGears has a pretty long list of dependencies and
Hi Kevin,
is it intended to have the TurboGears.egg-info/ directory in svn? It
always conflicts with my own that is created by python setup.py develop.
Cheers,
Fabian.
On 10/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
first, you need to follow exactly the installation instruction on
TurboGears(to kick start a base, could be outdated but doesn't matter).
Then you can do your svn upgrade as described above, including any new
Kid, Cherrypy, SQLObject
Krys Wilken wrote:
I think both ideas are of value. An exec command for running scripts,
and a special module-level function in model.py that is run
automatically by sql create.
I might like it, too. What do you think of this:
Index: turbogears/quickstart/projectname/model.py.source
To me it seems like it should be an error if there's no validation_error
method and any validators are given. This way the error is caught early
during development.
Yes, but there are sometimes(many times I would say) soft-errors that
don't need this kind of handling. A typical case would be
Hi Fabian,
I had thought at one point that I saw Phillip advise to put egg-info
in svn. I don't see that now... *some* egg-info entries could be
manually maintained (eg sqlobject.txt that is in new quickstarted
projects). That's not the case now, though, for TG.
I left the directory there but
I see the problem now. It works in develop mode, but not installed. It
looks like the static directories do not get installed.
Kevin
On 10/7/05, xio [EMAIL PROTECTED] wrote:
Ok, I haven't tried to investigate why, but it works fine when run in
trunk directory:
[EMAIL PROTECTED] wrote:
I begin to start using the validator and got confused of what is the
design philosophy behind it.
1. There is an instance method validator_error that would be called if
exist otherwise it would raise another exception.
I believe this has to be mentioned in the
Jeff Watkins wrote:
I've been taking on the challenge of building an identity management and
access control framework for TurboGears. One of the features I really
liked about working with BroadVision's Web framework (back in 2001) was
the notion of an anonymous visitor.
During the course of
OK, this is fixed in r46.
Kevin
On 10/7/05, Kevin Dangoor [EMAIL PROTECTED] wrote:
I see the problem now. It works in develop mode, but not installed. It
looks like the static directories do not get installed.
Kevin
On 10/7/05, xio [EMAIL PROTECTED] wrote:
Ok, I haven't tried to
[Env: Turbogears 0.5, running on Windows XP]
I have a template containing a form, which posts back to the same URL.
My controller looks like this:
@turbogears.expose(html=yadda)
def showStuff(self, **kwargs):
if 'submit' in kwargs:
# [ Update the db ]
turbogears.flash('DB
[EMAIL PROTECTED] wrote:
Friends:
Now , with turbogears, I am using a text editor as an ide. Before
starting my first turbogear project, I was planning on moving to the
eric3 ide for my python coding.
1)Are any of you using an ide for your turbogears projects, and how is it
going?
2)Many
There are a number of messages that have been sent recently that I'd
like to respond to and intend to... but between the TurboGears 0.8
release and tomorrow's sprint, I just don't have the time right now to
respond to them all.
So for everyone who has sent all of that interesting mail today,
On 10/7/05, David Stanek [EMAIL PROTECTED] wrote:
That is probably better than what I had done. I just grabbed the eggs from
the TurboGears download page and since I am on Linux I built a cElementTree
egg. Then I wrote a little shell script to set my PATH and PYTHONPATH.
Well, I'm still
I wanted to try RuleDispatch out, so I played around with a very little
JSON serialization routine, since that was brought up here before.
Doesn't actually create JSON, just JSONable objects.
You install RuleDispatch with:
easy_install -Zf http://peak.telecommunity.com/snapshots/
On 10/7/05, Bill Woodward [EMAIL PROTECTED] wrote:
ValueError: (Missing 'Version:' header and/or PKG-INFO file,
TurboGears [unknown version] (c:\documents and
settings\william_woodward\turbogears))
Now, I could swear that I did not get this error this morning.
Perhaps something was removed
I use generic functions for scoring in Zesty News. They are very
spiffy, and I definitely owe it to Phillip for introducing them to me.
(And giving me the code to use them!)
Thanks for putting this out there Ian! You rock!
Kevin
On 10/7/05, Ian Bicking [EMAIL PROTECTED] wrote:
I wanted to
On 10/7/05, Bill Woodward [EMAIL PROTECTED] wrote:
On 10/7/05, Bill Woodward [EMAIL PROTECTED] wrote:
ValueError: (Missing 'Version:' header and/or PKG-INFO file,
TurboGears [unknown version] (c:\documents and
settings\william_woodward\turbogears))
Now, I could swear that I did not
Keep in mind that if TurboGears is in control of both the
authentication/authorization *and* the choice of HTML vs. JSON, that
means that making an AJAX request that gets JSON back can
automatically trigger a JSON response that represents an
authentication failure. This is the nice thing about
On 10/7/05, Kevin Dangoor [EMAIL PROTECTED] wrote:
On 10/7/05, Bill Woodward [EMAIL PROTECTED] wrote:
So, it looks like maybe the PKG-INFO file, plus several other files,
were removed form the TurboGears.egg-info/ directory in revision 44.
The comments in the rev show that it was
On 10/7/05, Bill Woodward [EMAIL PROTECTED] wrote:
Good morning,
I've downloaded the latest (I think) version of TurboGears via
subversion (svn co http://www.turbogears.org/svn/turbogears/trunk
turbogears), and I go to build the development version, as detailed
on
On 10/7/05, Kevin Dangoor [EMAIL PROTECTED] wrote:
Hi Fabian,
I had thought at one point that I saw Phillip advise to put egg-info
in svn. I don't see that now... *some* egg-info entries could be
manually maintained (eg sqlobject.txt that is in new quickstarted
projects). That's not the
On 10/7/05, Bill Woodward [EMAIL PROTECTED] wrote:
Whew! All done!
Thanks to everyone for all the help.
I'm sure some portion of that can be automated :)
Have a good time in Germany!
Kevin
--
Kevin Dangoor
Author of the Zesty News RSS newsreader
email: [EMAIL PROTECTED]
company:
On 10/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Keep in mind that if TurboGears is in control of both the
authentication/authorization *and* the choice of HTML vs. JSON, that
means that making an AJAX request that gets JSON back can
automatically trigger a JSON response that
44 matches
Mail list logo