Author: deets
Date: Tue Sep 2 16:07:31 2008
New Revision: 5341
URL: http://trac.turbogears.org/changeset/5341
Log:
removed python 2.5 functools dependency
Modified:
trunk/tg/decorators.py
trunk/tg/util.py
Modified: trunk/tg/decorators.py
Author: carndt
Date: Tue Sep 2 17:16:07 2008
New Revision: 5342
URL: http://trac.turbogears.org/changeset/5342
Log:
Fix #904 (VisitManager startup timing issue)
Modified:
branches/1.0/turbogears/visit/api.py
branches/1.0/turbogears/visit/savisit.py
i18n appears to work from the .py files, but, I am not able to
translate pages even though extract_messages does properly find them
in the templates. Known broken, possibly broken, or, am I doing
something wrong?
If there's a bug, and it's certainly possible, it's not yet known.
If
I'm having the same issue, I'll provide more debug info if needed, all
I did was install via setuptools in a virtual environment with the 4th
prerelease...
It seems this is not a TG issue since it has been reported a couple of
weeks ago in the dbsprockets list by someone using the sprockets
Hi,
Sorry for being late to the party, I was on vacations.
I'd also like seeing TG2 switching to mercurial. Most of the pro arguments
have been already mentioned in this thread but I'll briefly repeat those
that I find most valuable:
- Being able to work offline. I know most of us have a good
On 9/2/08, Alberto Valverde [EMAIL PROTECTED] wrote:
Hi,
Sorry for being late to the party, I was on vacations.
I'd also like seeing TG2 switching to mercurial. Most of the pro arguments
have been already mentioned in this thread but I'll briefly repeat those
that I find most
Hello,
I have a widget which already has its relevant validators, but in my
controller I'd like to invalidate it if it's trying to add an existing record.
The following code snipped partially works and seems like an ugly solution to
me:
Gustavo Narea wrote:
Hello,
I have a widget which already has its relevant validators, but in my
controller I'd like to invalidate it if it's trying to add an existing record.
The following code snipped partially works and seems like an ugly solution to
me:
On Tuesday September 2, 2008 18:30:02 Alberto Valverde wrote:
I would check if the website alias is unique in a custom validator
(inside the validate_python method) for the website alias filed, not the
controller. This way the error will be displayed beside the website
alias field and the
On Sep 2, 1:00 am, Mark Ramm [EMAIL PROTECTED] wrote:
i18n appears to work from the .py files, but, I am not able to
translate pages even though extract_messages does properly find them
in the templates. Known broken, possibly broken, or, am I doing
something wrong?
If there's a bug,
From http://www.turbogears.org/2.0/docs/main/DownloadInstall.html, it
indicates that Turbogears 2.0 has a prerequisite of Python 2.4 or 2.5,
but the latest version of 2.0 (1.9.7 a4) doesn't seem to support
Python 2.4 as a result of an import of functools in tg/decorators.py
(functools is only
AaronL schrieb:
From http://www.turbogears.org/2.0/docs/main/DownloadInstall.html, it
indicates that Turbogears 2.0 has a prerequisite of Python 2.4 or 2.5,
but the latest version of 2.0 (1.9.7 a4) doesn't seem to support
Python 2.4 as a result of an import of functools in tg/decorators.py
Diez B. Roggisch schrieb:
AaronL schrieb:
From http://www.turbogears.org/2.0/docs/main/DownloadInstall.html, it
indicates that Turbogears 2.0 has a prerequisite of Python 2.4 or 2.5,
but the latest version of 2.0 (1.9.7 a4) doesn't seem to support
Python 2.4 as a result of an import of
On Sep 2, 2:07 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Diez B. Roggisch schrieb:
It's fixed.
Thanks--just tested it, and it works fine now. For anyone affected by
this problem that got 1.9.7a4 via easy_install, it's necessary to
modify the following two files to get the fix:
My problem is I've found 3 different sets of instructions:
1)http://turbogears.org/2.0/docs/main/DownloadInstall.html#installing-t...
2)http://turbogears.org/2.0/docs/main/Contributing.html
3) The INSTALL.txt and README.txt files in trunk/
My feeling is that #1 is the most current/correct
Well, all the breaking changes since the tutorial was written can be found at:
http://trac.turbogears.org/wiki/2.0/changelog
But yea, I don't think you'll miss any changes if you quickstart a
new project and doing the same steps in the tutorial -- that should
fix everything.
--Mark Ramm
On
hi...
following:
http://www.turbogears.org/2.0/docs/main/Wiki20/wiki20.html
section: Initializing the Tables
i copied and using the *initializeDB*.py file.
executing: python initializeDB.py
(btw: somebody should mention there that in order to use the zope
modules you'd have to do: source
On 9/2/08, Christopher Arndt [EMAIL PROTECTED] wrote:
Christopher Arndt schrieb:
Loic schrieb:
AttributeError: 'module' object has no attribute 'get_failure_url'
It's a bug introduced by http://trac.turbogears.org/changeset/5187. It
only added the 'identity.get_failure_url' to
On Tue, Sep 2, 2008 at 12:10 AM, kalin m [EMAIL PROTECTED] wrote:
hi...
following:
http://www.turbogears.org/2.0/docs/main/Wiki20/wiki20.html
section: Initializing the Tables
i copied and using the initializeDB.py file.
executing: python initializeDB.py
(btw: somebody should mention
No one have this problem?
--~--~-~--~~~---~--~~
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
On Monday 01 September 2008 18:01:57 luca72 wrote:
Hello at all.
In my master.kid i had this:
div id=header#160;
applet archive=flame3.jar code=flame3.class width=777
height=100
This is invalid XML. Put around the width and height.
You need to make sure a base-template works, when you
le 02.09.2008 11:03 Christopher Arndt a écrit:
luca72 schrieb:
Hello at all.
In my master.kid i had this:
div id=header#160;
applet archive=flame3.jar code=flame3.class width=777
height=100
This is not valid XML. You need double quotes around attribute values.
Chrius
On Tue, Sep 2, 2008 at 3:36 AM, Mark Ramm [EMAIL PROTECTED] wrote:
Yea, there could be some more convenience functions put in there. We
also need to put the auth information and shortcut functions in the
template namespace by default.
There is still quite a bit of ongoing work with
hello i solve the problem but i find i nuw one:
if i open the kid file with firefox the applet start, but if i run the
proget with tg i get this:
Content-Type:
- - GET /flame3.class HTTP/1.1 404 1232 Mozilla/4.0 (Linux
2.6.22.18-0.2-default) Java/1.5.0_16
2008-09-02 13:33:45,205 cherrypy.msg
if i don;t change anything in that file the last command: DBSession.commit()
raises an error - short version: AssertionError: Transaction must be
committed by zope. the long version is bellow... if i comment that last
line it works fine and apparently does commit the table... it doesn't
le 02.09.2008 14:22 luca72 a écrit:
hello i solve the problem but i find i nuw one:
if i open the kid file with firefox the applet start, but if i run the
proget with tg i get this:
Content-Type:
- - GET /flame3.class HTTP/1.1 404 1232 Mozilla/4.0 (Linux
2.6.22.18-0.2-default)
Hello i have do this:
applet archive=/home/luca/Desktop/Turbogears/test/test/static/java/
flame3.jar code=flame3.class width=777 height=100
But nothing is changed
Luca
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
le 02.09.2008 14:53 luca72 a écrit:
Hello i have do this:
applet archive=/home/luca/Desktop/Turbogears/test/test/static/java/
flame3.jar code=flame3.class width=777 height=100
But nothing is changed
Well... You specified to location of your jar on the disk, not as it
should be seen by a
Remi Jolin - SysGroup schrieb:
le 02.09.2008 14:53 luca72 a écrit:
Hello i have do this:
applet archive=/home/luca/Desktop/Turbogears/test/test/static/java/
flame3.jar code=flame3.class width=777 height=100
But nothing is changed
Well... You specified to location of your jar on the
Hi,
with latest versions of TG2, tgdev tg.ext.repozewho I get this:
(TG2)192:GroupLearn deets$ python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type help, copyright, credits or license for more information.
import tg
Florent Aide schrieb:
On 9/2/08, Christopher Arndt [EMAIL PROTECTED] wrote:
Fixed in r5338.
Meaning we need some release then ...
Eventually yes, but I think we should get 1.1 beta out first. There are
also still a couple more tickets in the 1.0-bugfix milestone, where both
releases would
Hello,
Does anybody have an example on how to create rss feed out of
sqlalchemy database query?
I am looking for copy paste instructions I could use. I need to create
rss feed fast.
Is user authentication possible? I would like to allow more people to
use it but I need to control what they see
Well,I would grab an RSS feed and use it as a genshi template, that
should be flexible enough to let you show/not-show information based
on username/ info.
Unfortunately, I don't have a cut-and-paste example of how to do it.
There are also some helpers for rss and atom stuff in webhelpers which
Hi all !
i have a select in my kid file and i fill it with some option
added by values sent by my controllers.
A handle send to the controller the new value to be stored when the
item of the list is changed.
How i have to do to correctly put the good option for the select when
the user come
le 02.09.2008 23:13 Loic a écrit:
Hi all !
i have a select in my kid file and i fill it with some option
added by values sent by my controllers.
A handle send to the controller the new value to be stored when the
item of the list is changed.
How i have to do to correctly put the good
On Tue, Sep 2, 2008 at 5:31 AM, Lee McFadden [EMAIL PROTECTED] wrote:
On Tue, Sep 2, 2008 at 3:36 AM, Mark Ramm [EMAIL PROTECTED] wrote:
Yea, there could be some more convenience functions put in there. We
also need to put the auth information and shortcut functions in the
template
Thanks Remi for your answer
However i dont use widget in this case because of this two things :
- i dont want that the user push a valid button, only change the value
of the list should be sufficient
- i dont know how to pass argument to the eventual singleselectField
widget to fill it with the
I worked around this for my own purposes by fixing my virtual
environment and going with the bleeding edge.
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email
38 matches
Mail list logo