Hi Lee
On 1/4/07, Lee McFadden [EMAIL PROTECTED] wrote:
Roger, I've now tested the mail sending functionality of both trac and
moinmoin and they're working nicely. If you have any more problems
with it, please let me know.
Now I was able to login with my old password. I've tested the
The subject pretty much says it all.
I want to run jslint over my pages - and this has become a problem for me.
Any suggestions?
--
Diez B. Roggisch
Developer
T +49 (30) 443 50 99 - 27
F +49 (30) 443 50 99 - 99
M +49 (179) 11 75 303
E [EMAIL PROTECTED]
artnology GmbH
A
Hmm, sorry to hear that. Is there any plans of Genshi being the default
template engine?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
Hi Together
Is it possible to add a normal widget to a CompoundFormField?
Thanks in Advance.
Ivo Looser
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
A little on sessions is covered on pages (the SessionFilter) is covered
on page 341.
There is also a bit online:
http://www.turbogears.org/docs/sessions.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Diez B. Roggisch schrieb:
The subject pretty much says it all.
I want to run jslint over my pages - and this has become a problem for me.
In Kid 0.9.3, the output format 'html' renders upper case tags only. You
have to use a custom HTMLSerializer where you set the transpose
attribute to
On Friday 05 January 2007 13:52, Christoph Zwerschke wrote:
Diez B. Roggisch schrieb:
The subject pretty much says it all.
I want to run jslint over my pages - and this has become a problem for
me.
In Kid 0.9.3, the output format 'html' renders upper case tags only. You
have to use a custom
FYI.. I was getting this dictionary changed size during iteration
error after upgrading from 1.0b2 to 1.0, running under windows with an
existing project.
At first it was just happening when a source file changed the
reloader fired, but after I added tg.mochikit_all = True to my
dev.cfg, the
Yattom wrote:
The problem is in remoteFormRequest() in ajax.js. The query string is
built by first,
ajax.js:
2var query = Array();
3var contents = formContents(form);
4for (var j=0; jcontents[0].length; j++)
5query[contents[0][j]] = contents[1][j];
Then use
Greetings,
I just started to work with TurboGears (the book brought me in, you
know), and I started by writing my own test cases to the identity
classes that 'tg-admin quickstart -i' wrote into my model.py. Now one
of these tests is failing, and I just cant understand why.
Take this case
Forgot to mention that I use the latest turbogears as found in the
ubuntu feist fawn repositories:
[EMAIL PROTECTED]:~ $ dpkg -l python-turbogears python-sqlobject
ii python-sqlobject0.7.1-1 python
module for SQLObject
ii python-turbogears 1.0~b1-3
Great! it works!
Thank you very much, Florent. :-)
jo
Florent Aide wrote:
Jose,
sorry for the delay but I just came home a few hours ago actually 23h
but here is your long answer ;)
-- just add this line in your search() method returned dict:
actions = {'select': {'function':
Can I take the lack of response on this to mean that no one would have
any objections to my submitting a patch?
Actually, it seems to me that there are more places that classes and
ids need to be applied wrt widgets. e.g. label fields don't get an id.
What if I want to hide a text field and
I would advice to manualy define the intermediate table and set the
cascade keyword argument on its foreignkeys.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email
goff [EMAIL PROTECTED] writes:
Greetings,
I just started to work with TurboGears (the book brought me in, you
know), and I started by writing my own test cases to the identity
classes that 'tg-admin quickstart -i' wrote into my model.py. Now one
of these tests is failing, and I just cant
Steve Bergman [EMAIL PROTECTED] writes:
Can I take the lack of response on this to mean that no one would have
any objections to my submitting a patch?
I was waiting for someone else to answer, but I don't see a need for that.
And in fact, I'm a bit against that.
For small datagrids it
I would say go ahead and submit a patch, worst thing that will happen
is it will get rejected ... but I doubt that. If you would like to see
more of these changes start a thread on turbogears-trunk and discuss it
with the devs there. Most likely this post got missed in the ever
increasing level
Hi,
today I stumbled over the fact that my SQLObject columns of type CurrencyCol
don't return decimal-Objects - which is crucial for my application.
Now the SO-docs state that it works when first importing module decimal, and
then the DB-adapter. I certainly did the former in my model.py,
Thanks. Perhaps part of the problem is my tenuous grasp of Javascript
and MochiKit. (I'm working on it, but finding it to be... involved.)
Still, it seems more straightforward to have ids and classes to grab
onto. Sometimes it seems to me that, compared to Rails, TG tends to
over-complicate
I am having problems/am stumped on how to install database packages
such as pysqlite.
using:
(foo)[EMAIL PROTECTED]:~/Projects/sa$ easy_install pysqlite
I get the error:
No local packages or download links found for pysqlite error:
Could not find suitable distribution for
I am having problems/am stumped on how to install database packages
such as pysqlite.
using:
(foo)[EMAIL PROTECTED]:~/Projects/sa$ easy_install pysqlite
I get the error:
No local packages or download links found for pysqlite error:
Could not find suitable distribution for
Steve Bergman [EMAIL PROTECTED] writes:
Thanks. Perhaps part of the problem is my tenuous grasp of Javascript
and MochiKit. (I'm working on it, but finding it to be... involved.)
:-) I'm learning JavaScript as well... And I'm really amazed about how
MochiKit makes life easier!
Still,
Diez B. Roggisch [EMAIL PROTECTED] writes:
today I stumbled over the fact that my SQLObject columns of type CurrencyCol
don't return decimal-Objects - which is crucial for my application.
Now the SO-docs state that it works when first importing module decimal, and
then the DB-adapter. I
Christopher Arndt schrieb:
Lee McFadden schrieb:
Thanks for bringing all the bits and pieces above to my attention.
After quite a few tweaks everything should now be working correctly.
I get a 500 HTTP error when I try to attach a file to a ticket (#910 - I'm
logged in as Chris Arndt) when I
On 5 Jan 2007, at 18:20, dundeemt wrote:
No local packages or download links found for pysqlite error:
Could not find suitable distribution for Requirement.parse
('pysqlite')
This actually seems broken in the cheese shop. I'm just reporting it as
a bug now.
$ sudo easy_install
Ok,
do I get this right: SQLObject makes it dead easy to create join
tables and to add entries to them, but as soon as I want to remove
entries implictly by removing one of the referenced rows I am on my
own?
I gather that instead of
Group.delete(group1.id)
I should rather write something
Hi everyone,
Just a quick message to announce that TurboGears-1.0 is now in the
WebFaction one-click installer.
As a bonus, here is a quick tip for anyone who needs to install
TurboGears multiple times and doesn't want to have to download the eggs
from a zillion sites every time (with high
I'll look into it ASAP
On 1/5/07, Christopher Arndt [EMAIL PROTECTED] wrote:
Christopher Arndt schrieb:
Lee McFadden schrieb:
Thanks for bringing all the bits and pieces above to my attention.
After quite a few tweaks everything should now be working correctly.
I get a 500 HTTP error
It looks like your RewriteRule contains a redundant trailing slash:
RewriteRule ^/proxy:(.*)http://localhost:8080/tg/$1/[P,L]
(the one after $1 seems redundant). On
http://www.cherrypy.org/wiki/BehindApache there is a detailed
explanation on how to set up cherrypy behind apache using
On 2007-01-05 18:20:39 -, dundeemt wrote:
I am having problems/am stumped on how to install database packages
such as pysqlite.
You might need to install it via your OS's native package manager
(apt, portage, yum, etc.) Once it's in your system's site-packages,
easy_installing into a
Remi schrieb:
As a bonus, here is a quick tip for anyone who needs to install
TurboGears multiple times and doesn't want to have to download the eggs
from a zillion sites every time (with high chances that one of these
sites will be down):
The trick is to use the un-networked machines feature
I am trying to do a left outer join in SO and not quite sure how i can
add an AND into the mix.
here is the revelant sections of my model
class Constant(SQLObject):
constant = StringCol(alternateID=True, length=100)
section = ForeignKey(Section)
text = UnicodeCol()
translations
On 12/29/06, Felix Schwarz [EMAIL PROTECTED] wrote:
I have a function which creates a new user account. Of course, I do some input
validation
in a validation schema. If there are any errors, my error_handler will be
called.
But there is a possibility that an error occurs in the message
goff [EMAIL PROTECTED] writes:
Ok,
do I get this right: SQLObject makes it dead easy to create join
tables and to add entries to them, but as soon as I want to remove
entries implictly by removing one of the referenced rows I am on my
own?
I gather that instead of
Just a couple of comments.
After typing:
TableForm(fields=fields(), ids=True)
I decided that the all or nothing might approach might not be fine
grained enough. Typically, it is only one little element that I need
to tweak in a whole TableForm that causes me grief, and a few hours
trying to
Yeah but additionally it wraps the given url with the turbogears url
function and I thought that might change something.
Are you running turbogears using the start script or are you running
it behind apache?
On 1/2/07, Bogdan Hlevca [EMAIL PROTECTED] wrote:
I tried with redirect from
Hi,
but how I do that from inside my SQLObject classes? If I would create
the tables with a stand-alone script I would lose the
one-ring-to-rule-them-all feature set that SQLObject provides ...
Best regards,
mfg
--~--~-~--~~~---~--~~
You received this message
Wow, thanks so much for this fantastic step-by-step description! I
must confess that I still got the same error when I tried it initially
but I will try it with a clean reinstall of ubuntu and see if that will
help any.
I will post any results that I find.
Thanks again,
Frank
On 1/4/07, Rob Cakebread [EMAIL PROTECTED] wrote:
Hello,
HI Rob, this is elpargo from IRC
I see there are some packages that have tarballs. Are these usable with
TurboGears or must we use the egg versions only?
For the packages that have been converted to eggs, have they been
patched in
On 1/5/07, Jorge Godoy [EMAIL PROTECTED] wrote:
Steve Bergman [EMAIL PROTECTED] writes:
Can I take the lack of response on this to mean that no one would have
any objections to my submitting a patch?
I was waiting for someone else to answer, but I don't see a need for that.
And in fact,
On 1/5/07, Remi [EMAIL PROTECTED] wrote:
Hopefully this can help anyone who's ever been frustrated by
easy_install stopping halfway through the installation because some
site was down :)
yea that is why we keep a copy of all the eggs on the TG site so if
some site goes down you get none :)
goff [EMAIL PROTECTED] writes:
but how I do that from inside my SQLObject classes? If I would create
the tables with a stand-alone script I would lose the
one-ring-to-rule-them-all feature set that SQLObject provides ...
One alternative is defining the mappings yourself instead of letting
Greetings,
I have to classes (User Group), glued together with a RelatedJoin.
I also got the intermidateTable 'user_group' as a separate class to
have DELETE ON CASCADE. Now I want to restrict the user.addGroup and
group.addUser functions so that certain checks are applied to one both
objects.
goff [EMAIL PROTECTED] writes:
Greetings,
I have to classes (User Group), glued together with a RelatedJoin.
I also got the intermidateTable 'user_group' as a separate class to
have DELETE ON CASCADE. Now I want to restrict the user.addGroup and
group.addUser functions so that certain checks
You closed the LEFTOUTERJOINOn by the parenthese prior to the ''.
http://paste.turbogears.org/paste/778
Any pointers, or am i just going at this all wrong? I want to pump the
selectresult data into a DataGrid widget.
Plain SQLBuilder might be faster when you need to display a high number
of
Hello,
I receive this error:
500 Internal Server Error
when trying to attach a patch to a ticket in trac:
http://trac.turbogears.org/ticket/1229
incidentally I wanted to paste the patch in a comment just to make
sure I did not loose it and... trac mangled everything because of the
Florent Aide schrieb:
I receive this error:
500 Internal Server Error
when trying to attach a patch to a ticket in trac:
Yep, I already reported this and Lee is looking after it ASAP:
http://groups.google.com/group/turbogears/msg/9e875f20438f744e
incidentally I wanted to paste the patch
Hi,
this is not always correct. The modul classes (SQLObject in this
case) are responsible for keeping the database in a consistent state,
and consistency can include certain value checks. SQL itself supports
constraints which do nothing else. So, how do I check constraints on 2
tables
If there is enough interest and people to sprint I may end up
organizing one after Pycon. If anyone is going to Pycon and would like
to be involved let me know. I'll post *most* announcements on the
turbogears-sprint Google Group.
Thanks for listening :-)
--
David
http://www.traceback.org
Jorge Godoy wrote:
One alternative is defining the mappings yourself instead of letting SO create
them. This is a common approach when you want to add extra data to this
pair.
That's what I did in the end. It's just that I think that having a
cascading delete on a related join is so
The tarballs are great for packaging. If you're missing some tarballs,
I have a few at http://people.rpath.com/~jtate/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group,
I started running into the same issues again as reported in separate
emails, which I thought I had resolved (by wiping clean site-packages
and reinstalling TG 1.0 from scratch). After a day of working OK,
same error message chain again, ending with:
File
On 1/5/07, David Stanek [EMAIL PROTECTED] wrote:
If there is enough interest and people to sprint I may end up
organizing one after Pycon. If anyone is going to Pycon and would like
to be involved let me know. I'll post *most* announcements on the
turbogears-sprint Google Group.
I always
I looked at changeset 2256 at http://trac.turbogears.org/changeset/2256
and reverted the affected modlist assignment in startup.py to the
original code, sort of:
modnames = filter(lambda modname: modname.startswith(package),
sys.modules.keys())
On 1/5/07, Karl Guertin [EMAIL PROTECTED] wrote:
On 1/5/07, David Stanek [EMAIL PROTECTED] wrote:
If there is enough interest and people to sprint I may end up
organizing one after Pycon. If anyone is going to Pycon and would like
to be involved let me know. I'll post *most* announcements
Couldn't you just modify the login controller here?
@expose(template=acs.templates.login)
def login(self, forward_url=None, previous_url=None, *args, **kw):
if not identity.current.anonymous \
and identity.was_login_attempted() \
and not
On 1/5/07, Anderson Vitous [EMAIL PROTECTED] wrote:
I looked at changeset 2256 at http://trac.turbogears.org/changeset/2256
and reverted the affected modlist assignment in startup.py to the
original code, sort of:
modnames = filter(lambda modname: modname.startswith(package),
I want to look at turbogears.identity.current to figure out what is
available to me, I see the API is incomplete on the tg site, where do I look
this up? Help in the python shell on this class does not give me anything
useful.
Thanks.
--
No virus found in this outgoing message.
Checked by
goff [EMAIL PROTECTED] writes:
this is not always correct. The modul classes (SQLObject in this
case) are responsible for keeping the database in a consistent state,
and consistency can include certain value checks. SQL itself supports
constraints which do nothing else. So, how do I check
goff [EMAIL PROTECTED] writes:
That's what I did in the end. It's just that I think that having a
cascading delete on a related join is so commonplace (actually, I cant
think of a situation where I didnt want a cascade - who would want to
have user.groups throw an exception just because i
I am calling this in one of my controllers and it is giving me this error:
id = identity.current.user.user_name
AttributeError: 'NoneType' object has no attribute 'user_name'
Why would this be happening?
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version:
Lee Connell [EMAIL PROTECTED] writes:
�id = identity.current.user.user_name
AttributeError: 'NoneType' object has no attribute 'user_name'
Why would this be happening?
Are you really authenticated? Are you sure your session haven't expired?
--
Jorge Godoy [EMAIL PROTECTED]
Lee Connell schrieb:
I am calling this in one of my controllers and it is giving me this error:
id = identity.current.user.user_name
AttributeError: 'NoneType' object has no attribute 'user_name'
Maybe identity.current.anonymous == True?
Chris
Just figured out that user was None, it wasn't authenticated, I had the code
in the login controller, that doesn't work while in that controller, I
followed Patrick's advice:
http://docs.turbogears.org/1.0/IdentityRecipies#pagecomment1
And put the code in the verify_login controller and it now
On 1/5/07, anders pearson [EMAIL PROTECTED] wrote:
On 2007-01-05 18:20:39 -, dundeemt wrote:
I am having problems/am stumped on how to install database packages
such as pysqlite.
You might need to install it via your OS's native package manager
(apt, portage, yum, etc.) Once it's in
David Stanek wrote:
If there is enough interest and people to sprint I may end up
organizing one after Pycon. If anyone is going to Pycon and would like
to be involved let me know. I'll post *most* announcements on the
turbogears-sprint Google Group.
I'll be attending the PyCon Sprints and
Dear TG friends,
I tried to install TG 1.0, and I already download tgsetup.py and all
dependencies file as mention on TG download file list. All these file I
put on a single directory and try to run the tgsetup.py.
Its not run well, its only install the setuptools and then stop ...
here are the
On Jan 5, 2007, at 8:07 PM, Karl Guertin wrote:
On 1/5/07, David Stanek [EMAIL PROTECTED] wrote:
If there is enough interest and people to sprint I may end up
organizing one after Pycon. If anyone is going to Pycon and would
like
to be involved let me know. I'll post *most* announcements
Kevin Dangoor wrote:
Given that TurboGears is much bigger than it was a year ago, I'd
imagine there won't be trouble finding people to join in a sprint. I
won't be able to attend the sprint this year. It's also a rather long
drive for Alberto to come all the way from Madrid :)
If Alberto
Lee McFadden [EMAIL PROTECTED] writes:
I don't think the 1.0 branch needs renaming. It's still the 1.0
branch and 1.0.1 (or 1.1 - however we name it) will just be tagged
from that branch.
Agreed. It is bad to rename / move branches because you loose track of
things.
--
Jorge Godoy
Alberto Valverde wrote:
A place in environ where controllers could dump their genshi
unserialized stream so upper layers have a chance to filter it and
finally serialize it sounds like a possible way to implement it...
I *believe* Elvelind is interested is interested in this part of TG...
Hi Robert,
fumanchu wrote:
More discussion to follow. I just spent a man-year of work making CP 3
do all this and more and be beautiful at the same time, and I'll be
damned if I let TG devolve back to preferring the ugliness of bare
WSGI
and Paste.
First of all I'd like to say that CP3
Alberto Valverde wrote:
fumanchu wrote:
More discussion to follow. I just spent a man-year of work making CP 3
do all this and more and be beautiful at the same time, and I'll be
damned if I let TG devolve back to preferring the ugliness of bare
WSGI and Paste.
As I've mentioned, the only
73 matches
Mail list logo