[turbogears-commits] r5341 - trunk/tg

2008-09-02 Thread svn-commits
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

[turbogears-commits] r5342 - in branches: 1.0/turbogears/visit 1.1/turbogears/visit 1.5/turbogears/visit

2008-09-02 Thread svn-commits
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

[tg-trunk] Re: A few quick development questions from TG2 (1.9.7a4)

2008-09-02 Thread Alberto Valverde
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

[tg-trunk] Re: Little tweak needed in your apps if you upgrade to TG2 trunk

2008-09-02 Thread Alberto Valverde
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

[tg-trunk] Re: Mercurial for TG2 discussion

2008-09-02 Thread Alberto Valverde
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

[tg-trunk] Re: Mercurial for TG2 discussion

2008-09-02 Thread Florent Aide
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

[tg-trunk] How can I invalidate a form?

2008-09-02 Thread Gustavo Narea
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:

[tg-trunk] Re: How can I invalidate a form?

2008-09-02 Thread Alberto Valverde
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:

[tg-trunk] Re: How can I invalidate a form?

2008-09-02 Thread Gustavo Narea
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

[tg-trunk] Re: A few quick development questions from TG2 (1.9.7a4)

2008-09-02 Thread cd34
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,

[tg-trunk] TG2 1.9.7a4 release only supported on Python 2.5 and above?

2008-09-02 Thread AaronL
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

[tg-trunk] Re: TG2 1.9.7a4 release only supported on Python 2.5 and above?

2008-09-02 Thread Diez B. Roggisch
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

[tg-trunk] Re: TG2 1.9.7a4 release only supported on Python 2.5 and above?

2008-09-02 Thread Diez B. Roggisch
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

[tg-trunk] Re: TG2 1.9.7a4 release only supported on Python 2.5 and above?

2008-09-02 Thread AaronL
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:

[tg-trunk] Re: Getting a TG2 Development Environment

2008-09-02 Thread [EMAIL PROTECTED]
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

[tg-trunk] Re: ToscaWidgets Tutorial Project Code

2008-09-02 Thread Mark Ramm
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

[TurboGears] wiki2

2008-09-02 Thread kalin m
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

[TurboGears] Re: 'module' object has no attribute 'get_failure_url'

2008-09-02 Thread Florent Aide
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

[TurboGears] Re: wiki2

2008-09-02 Thread Jorge Vargas
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

[TurboGears] Re: java applet

2008-09-02 Thread luca72
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

[TurboGears] Re: java applet

2008-09-02 Thread Diez B. Roggisch
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

[TurboGears] Re: java applet

2008-09-02 Thread Remi Jolin - SysGroup
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

[TurboGears] Re: TG1 to TG2 migration docs - particularly identity and registration anywhere?

2008-09-02 Thread Lee McFadden
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

[TurboGears] Re: java applet

2008-09-02 Thread luca72
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

[TurboGears] Re: wiki2

2008-09-02 Thread Mark Ramm
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

[TurboGears] Re: java applet

2008-09-02 Thread Remi Jolin - SysGroup
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)

[TurboGears] Re: java applet

2008-09-02 Thread luca72
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

[TurboGears] Re: java applet

2008-09-02 Thread Remi Jolin - SysGroup
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

[TurboGears] Re: java applet

2008-09-02 Thread Christopher Arndt
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

[TurboGears] tg.ext import problem

2008-09-02 Thread Diez B. Roggisch
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

[TurboGears] 1.0.x bugfix release (Was: 'module' object has no attribute 'get_failure_url')

2008-09-02 Thread Christopher Arndt
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

[TurboGears] quick rss from sa in tg2?

2008-09-02 Thread Lukasz Szybalski
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

[TurboGears] Re: quick rss from sa in tg2?

2008-09-02 Thread Mark Ramm
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

[TurboGears] automatically set a list with the correct option on template loading

2008-09-02 Thread Loic
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

[TurboGears] Re: automatically set a list with the correct option on template loading

2008-09-02 Thread Remi Jolin - SysGroup
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

[TurboGears] Re: TG1 to TG2 migration docs - particularly identity and registration anywhere?

2008-09-02 Thread Jorge Vargas
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

[TurboGears] Re: automatically set a list with the correct option on template loading

2008-09-02 Thread Loic
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

[TurboGears] Re: Install Problem with 1.9.7a4

2008-09-02 Thread Chris B - JK at asciiking dot com
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