On 8. des. 2005, at 09.35, Bob Ippolito wrote:On Dec 8, 2005, at 12:12 AM, Rune Hansen wrote: On 7. des. 2005, at 23.52, Bob Ippolito wrote: Generating a random number is insignificant. A timestamp would probably be better though given the use case.Anyway, the right answer is to do it from
useage easy_setup install TurboGears in windows2003 and FreeBSD 6.0 is
same error:
Installed
/usr/local/lib/python2.4/site-packages/cElementTree-1.0.2_20050302-py2.4-freebsd-6.0-RELEASE-i386.egg
error: Installed distribution FormEncode 0.2.3dev-r1104 conflicts with
requirement FormEncode=0.4
在 05-12-8,Zoom Quiet[EMAIL PROTECTED] 写道:
useage easy_setup install TurboGears in windows2003 and FreeBSD 6.0 is
same error:
Installed
/usr/local/lib/python2.4/site-packages/cElementTree-1.0.2_20050302-py2.4-freebsd-6.0-RELEASE-i386.egg
error: Installed distribution FormEncode
Declaring the namespace should get the HTML to render OK. The following raises an exception during parsing:
html xmlns:py=http://purl.org/kid/ns#
element mochi:format= /
/html
To get it to render OK all I had to do was:
html xmlns:py=http://purl.org/kid/ns#
xmlns:mochi=some_unique_uri
Ticket 181 offers up better request/response objects. I'm going to go
with that ticket instead and just make sure that those objects are
available and in use.
Kevin
On 12/7/05, Kitto Mandala [EMAIL PROTECTED] wrote:
FYI, a simple hack/workaround got me past this so I could write and
run some
On 12/8/05, Lee McFadden [EMAIL PROTECTED] wrote:
loadJSONDoc(${std.url('/Edit/')}, {rand: Math.random(),
tg_format: json});
I'm going to still suggest calling the random value tg_random and
that we have turbogears/controllers.py throw away that value so that
you need not worry about it in
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 that.
I'm also not certain what you're asking about in your other message
with the directory
I just created a fresh Ubuntu install (v5.10), and attempted to install
TurboGears. I did previously install both the gcc compiler packages and
the python-dev package. Unfortunately, the install failed in a way that
is mysterious to me.
The command line I used was as follows:
sudo easy_install
Interesting article over at Tim O'Reilly's site:
http://radar.oreilly.com/archives/2005/12/ruby_book_sales_surpass_python.html
There's a fair bit of discussion about Rails and the Python web
frameworks (including our own).
I'll have more to say on this topic soon.
Kevin
--
Kevin Dangoor
On 08/12/05, coriolinus [EMAIL PROTECTED] wrote:
I just created a fresh Ubuntu install (v5.10), and attempted to install
TurboGears. I did previously install both the gcc compiler packages and
the python-dev package. Unfortunately, the install failed in a way that
is mysterious to me.
The
In 0.9, will KitchenSink support KitchenSource plug-ins?
And do circular references still confuse the GarbageDisposal?
I'm looking forward to the Counter and Range integration.
I think all of the problems with GarbageDIsposal, Counter, and Range
are fixed, but I don't know about KitchenSync
In my web app that I am writing, I want to store files inside a
database. The storage and retrieval if the document works, but if I
want to store something other than a word doc it does not.
This is what I am doing now:
@turbogears.expose(content-type=application/msword)
def getDoc(self, id):
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote:
Interesting article over at Tim O'Reilly's site:
http://radar.oreilly.com/archives/2005/12/ruby_book_sales_surpass_python.html
I saw this too. I think there are a couple of interesting points
that get missed in all the Ruby Book sales
On 12/8/05, Mark Ramm [EMAIL PROTECTED] wrote:
There are a bunch of Python books I would buy in a second if they
where available:
Agreed, but I'd add a new version of Martelli's Python in a Nutshell
to my Christmas list as well.
Mine is getting dogeared and seems to grow new pencilled-in
Hey there,
As a side note, CP 2.2 will have (actually it already has) new ways to specify
the content type:
Until CP 2.1, CP defauts its content type to text/html, you will be able to
change that globally from the config file though a line like:
server.defaultContentType = 'application/xml'
The TurboGears community has grown by leaps and bounds over what it
was when Sebastian did the inner templates for the current site. I
have a bunch of ideas for what should go into the site now, and it's
time to think about what the site should look like for 0.9/1.0.
Karl Guertin has an opening
On 12/7/05, Don Hopkins [EMAIL PROTECTED] wrote:
In 0.9, will KitchenSink support KitchenSource plug-ins?
And do circular references still confuse the GarbageDisposal?
I call Not-Invented-Here on that one! Why would we need our own
GarbageDisposal when Python already comes with a
Agreed, but I'd add a new version of Martelli's Python in a Nutshell
to my Christmas list as well.
That's another great book in need of an update.
--Mark
I've found that the Dive Into Python book was very good to fill the gap.
That being said, I agree it wouldn't hurt having either update of existing books
or new ones.
- Sylvain
Selon sergio [EMAIL PROTECTED]:
And of course I would very much like to see a TurboGears book as soon
as it
The best Python book I have ever read is Python Essential Reference
by David M. Beazley. It is a great reference book that deserves a
place on your desk, however it hasn't been updated since Python
2.1 :/ I would gladly buy a few copies of a Python 2.4 version!
Once all the PHP people
The TurboGears community has grown by leaps and bounds over what it
was when Sebastian did the inner templates for the current site. I
have a bunch of ideas for what should go into the site now, and it's
time to think about what the site should look like for 0.9/1.0.
The images you sent are
Jonathan LaCour [EMAIL PROTECTED] writes:
I think that Rails has evidenced how important branding is, especially when
it comes to web development. I would love to see TurboGears do what Rails
did, and have a branding campaign as part of the push towards 1.0. Pay a
really, genuinely good
On 08/12/05, Sylvain Hellegouarch [EMAIL PROTECTED] wrote:
Until CP 2.1, CP defauts its content type to text/html, you will be able to
change that globally from the config file though a line like:
server.defaultContentType = 'application/xml'
Excellent, ready to switch from HTML to XHTML and
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote:
So, if you've got an idea for a change to the logo or site template,
now's the time!
Woot! The site is up for redesign as well!
that did it.. thank you!
On 08 Dec 2005 14:31:51 -0200, Jorge Godoy [EMAIL PROTECTED] wrote:
Someone has to dig a bit more to see what TG has to offer than to see what
Rails has to offer.
Let's keep this discussion focused on the overall visuals, as opposed
to the content. I have plenty of ideas on improvements to
Wavy Davy wrote:
Yeah, I tried that, but it didn't work. A according to to the
easy_install help it only deletes conflicting packages. The old ones
are still there. Sounds like functionality yet to be implemented...
Correct; I'll be adding a 'nest' tool for package management during the
0.7
On 12/8/05, Jonathan LaCour [EMAIL PROTECTED] wrote:
The images you sent are certainly an improvement, but I share the
sentiment with several others that I have heard that think
TurboGears's branding isn't very good. I think Django and Rails both
have better logos, color schemes, websites,
Stepping up a level: if we had unlimited resources here, who would you
go to for logo and site design? I'm fond of the work done for
Firefox/Thunderbird for the Mozilla Foundation, but I don't know who
did that. (I'm sure I can find out...) Does anyone else have some
particularly inspiring
(TurboGears 0.8a5)
given the following model (using sqlite):
class Task(SQLObject):
name = StringCol(length=50, notNull=True)
category = ForeignKey('TaskCategory')
class TaskCategory(SQLObject):
name = StringCol(length=50, notNull=True)
tasks = MultipleJoin('Task')
this gives
Here's the code for my download method which streams from the DB:
[code]
@turbogears.expose()
def download(self, id, **kw):
article = NewsPost.get(id)
if article.mimetype:
cherrypy.response.headerMap[Content-Type] = article.mimetype
else:
The decorator only allows you to set a single content type for the
method. However, you can use the standard CP mechanism
cherrypy.response.headerMap[Content-Type] = whatever/whatever
Kevin
On 12/8/05, Static.Reality [EMAIL PROTECTED] wrote:
In my web app that I am writing, I want to store
Oh, and as a side note, you must set logDebugInfoFilter.on = False in
your dev.cfg, otherwise the page generation stats get appended to the
end of your file. Not very productive :)
On 12/8/05, Lee McFadden [EMAIL PROTECTED] wrote:
Here's the code for my download method which streams from the
Either rename 'category' to 'task_category' in class Task or set
tasks in TaskCategory using:
tasks = MultipleJoin('Task', joinColumn='task_category_id')
Lee
On 12/8/05, DaveS [EMAIL PROTECTED] wrote:
(TurboGears 0.8a5)
given the following model (using sqlite):
class Task(SQLObject):
That looks quite nice!
Cheers
Ronald
On Dec 8, 2005, at 6:56 PM, Jared Kuolt wrote:
Stepping up a level: if we had unlimited resources here, who would
you
go to for logo and site design? I'm fond of the work done for
Firefox/Thunderbird for the Mozilla Foundation, but I don't know who
did
If I remember right, to install TG of my fresh Ubuntu, I need to
install the following package :
* libexpat1-dev
* gcc
required to compile cElementTree.
Well, now that we are on the topic, I think that something that would
make a big difference is making the front page more accesible. In fact,
those are not the correct words, what I mean is make the content more
accesible to the user. For example, the trac page can only be found
after you
On Dec 8, 2005, at 5:27 AM, Kevin Dangoor wrote:
Interesting article over at Tim O'Reilly's site:
http://radar.oreilly.com/archives/2005/12/
ruby_book_sales_surpass_python.html
There's a fair bit of discussion about Rails and the Python web
frameworks (including our own).
I'll have more
On 12/8/05, David Guaraglia [EMAIL PROTECTED] wrote:
Well, now that we are on the topic, I think that something that would
make a big difference is making the front page more accesible. In fact,
those are not the correct words, what I mean is make the content more
accesible to the user. For
On 12/7/05, Mike [EMAIL PROTECTED] wrote:
@turbogears.expose(html=gallerytest.templates.edit)
def edit(self, alt_ID,search_terms):
imagelist = [{
'disk_loc':s.disk_loc,
'name':s.name,
On 12/7/05, qvx [EMAIL PROTECTED] wrote:
I noticed that widget's CSS links are injected only in the case when
you return widgets inside the dict in your exposed method (isinstance
checks inside _process_output). At least that's how I read it. You see,
I was trying to incorporate some of my
What about financing the designers wage by asking him to do artwork
for a t-shirt as part of the assigment?
I for one will love to buy a nice t-shirt to support the project!
Ronald
On Dec 8, 2005, at 7:13 PM, Kevin Dangoor wrote:
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote:
On
On 12/8/05, Ronald Jaramillo [EMAIL PROTECTED] wrote:
What about financing the designers wage by asking him to do artwork
for a t-shirt as part of the assigment?
I for one will love to buy a nice t-shirt to support the project!
Ronald
Jared looks left, turns right.
Kevin,
That got it. I realized that it was coming back in as ['test'], but
had only written in code to remove the brackets from the string, not
the single quotes.
Thanks for your help!
Mike
Yes, that's what I meant...
/me slaps himself
I need some more coffee ;)
On 12/8/05, DaveS [EMAIL PROTECTED] wrote:
I think you mean:
tasks = MultipleJoin('Task', joinColumn='category_id')
which worked :-) Thanks.
--
DaveS
I agree with that. I have been thinking about getting the book
Beginning Python: From Novice to Professional from APRESS though.
Mostly though I haven't been too impressed with Python books. I have
only one book I like Python and Tkinter programming from Manning.
Other than that I go with the
The Rails Book is a very good read. I would highly recommend reading
it, even if you develop with Turbogears. Dave Thomas (author of
Pragmatic Programmer) has put
together a great selection of books I have not read a bad one yet.
Python Books Bought in 2005:
-- python network programming
How does one get on the meetup list? Just saw this today (too late to
come), and I sure would like to get involved.
John
Kevin Dangoor wrote:
div py:offtopic=true
This is not normally something I would post here... but I'm interested
to meet more of you face-to-face, if you happen to be here
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote:
On 12/7/05, Don Hopkins [EMAIL PROTECTED] wrote:
In 0.9, will KitchenSink support KitchenSource plug-ins?
And do circular references still confuse the GarbageDisposal?
I call Not-Invented-Here on that one! Why would we need our own
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)
When I try and use Testgears, it won't connect. I get this error:
Traceback (most recent call last):
File
On 12/8/05, Wavy Davy [EMAIL PROTECTED] wrote:
On 08/12/05, coriolinus [EMAIL PROTECTED] wrote:
I just created a fresh Ubuntu install (v5.10), and attempted to install
TurboGears. I did previously install both the gcc compiler packages and
the python-dev package. Unfortunately, the install
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 specially rendered kid template and you can eval it and
p a écrit :
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)
When I try and use Testgears, it won't connect. I get this error:
Traceback (most recent call last):
You can just sign up, but be warned that I'm looking for an alternative
to Meetup.com for Atlanta since they've begun charging an outrageous
monthly fee for their services.
- jmj
JohnCooper wrote:
How does one get on the meetup list? Just saw this today (too late to
come), and I sure
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote:
Interesting article over at Tim O'Reilly's site:http://radar.oreilly.com/archives/2005/12/ruby_book_sales_surpass_python.html
There's a fair bit of discussion about Rails and the Python webframeworks (including our own).I'll have more to say on
I don't know enough about PHP to be really helpful here.. What value
would you expect $record.$fieldname to return??
say the author object holds
name = Alvin
Description = A book
I would expect $record.$fieldname
to return Alvin
Thanks
Alvin
Jason Chu [EMAIL PROTECTED] writes:
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 specially
Hi!
I'm facing a problem where I want to offer the client the possibility to
save time submitting lots of information. Imagine that there are X samples
of something, and all should pass through the same process, but there are a
few fields that differ from each other.
My idea is to provide a
On 12/8/05, Jonathan LaCour [EMAIL PROTECTED] wrote:
the push towards 1.0.Pay a really, genuinely good designer (likeJon Hicks, in the case of Rails) to help us lowly programmers brandTurboGears.This is an investment in the future of the project andwould draw in more users, and contributers.
I
On 12/8/05, aw [EMAIL PROTECTED] wrote:
dataset = Author.select()
record=get(1)
fieldname = name
How do I access the name field in author using fieldname?
In PHP
$record.$fieldname
getattr(record,fieldname)
On Fri, 2005-12-09 at 00:19 +, aw wrote:
How do I access the name field in author using fieldname?
In PHP
$record.$fieldname
is getattr(record, fieldname) what you're looking for?
-andy
--
Andy Kilner [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part
That's the answer.
Thanks
Alvin
In systems that don't have structured field names (Python (by default)
and Perl), I've:
* kept track of the identifier in a hidden, repeated form element
(e.g. active_ids)
* then prefixed the actual field names with that id, e.g. 001:name,
001:title
When you get the form back, you'd loop
Roger Espinosa [EMAIL PROTECTED] writes:
In systems that don't have structured field names (Python (by default)
and Perl), I've:
* kept track of the identifier in a hidden, repeated form element
(e.g. active_ids)
* then prefixed the actual field names with that id, e.g. 001:name,
Hi,
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 and clean but it would be
good to get some
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 ...)
koorb [EMAIL PROTECTED] writes:
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 liked your brown logo
(http://koorb.co.uk/static/images/tglogos/big/tglogo-brown.jpg) and the
buttons
Have you tried http://upcoming.org/ ?
I'm using turbogears as a front-end to an XML db. I want to be able to
allow users to submit a query to my DB with the results of the XPath
query transformed by an XSLT template of their choosing and have the
results displayed to them. The problem is that the XSLT templates that
I allow can
I believe its something like
cherrypy.response.headerMap['Content-Type'] that you can set.
On 12/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm using turbogears as a front-end to an XML db. I want to be able to
allow users to submit a query to my DB with the results of the XPath
I personally prefer the original 'G' shape... TurboGears will likely be
often written as TG for short, why not put a T with the G. Say, a T
hanging on a G or something. (pretty font please...)
Having checked after dinner I've found that I'm right! That's a
surprise for me ;)
Here's the doc on it:
http://www.cherrypy.org/cherrypy-2.1.0/docs/book/html/index.html#id3478303
On 12/8/05, Jared Kuolt [EMAIL PROTECTED] wrote:
I believe its something like
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 for help on getattr.
I started with this
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.
Alvin
75 matches
Mail list logo