[TurboGears] Re: disable visit/identity completely in tg 1.5
On 5/3/16, Fetchinson . <fetchin...@googlemail.com> wrote: > Hi folks, > > I'm trying to disable all visit and identity features for a tg 1.5 app > so I'm setting > > visit.on = False > identity.on = False > > in config/app.cfg but somehow when I start the app I still see > > 2016-05-03 14:34:47,170 turbogears.startup INFO Starting TurboGears > extension visit = turbogears.visit... > 2016-05-03 14:34:47,171 turbogears.startup INFO Starting TurboGears > extension identity = turbogears.identity.visitor... > > and also the server still sends a tg_visit cookie. > > What am I doing wrong? It looks like the cookie was left from some time ago, if I delete it, it doesn't get recreated so actually it looks like everything is fine. Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscr...@googlegroups.com. To post to this group, send email to turbogears@googlegroups.com. Visit this group at https://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.
[TurboGears] disable visit/identity completely in tg 1.5
Hi folks, I'm trying to disable all visit and identity features for a tg 1.5 app so I'm setting visit.on = False identity.on = False in config/app.cfg but somehow when I start the app I still see 2016-05-03 14:34:47,170 turbogears.startup INFO Starting TurboGears extension visit = turbogears.visit... 2016-05-03 14:34:47,171 turbogears.startup INFO Starting TurboGears extension identity = turbogears.identity.visitor... and also the server still sends a tg_visit cookie. What am I doing wrong? Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscr...@googlegroups.com. To post to this group, send email to turbogears@googlegroups.com. Visit this group at https://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.
Re: [TurboGears] gearbox --reload function not working
On Tue, Jul 01, 2014 at 12:48:41AM -0700, diana wrote: I make an edit in one of the python scripts I have, the application automatically restarts itself to show the edits and the errors). For some reason, that no longer works. Do you get a line like: 22:06:23,128 INFO [gearbox] Starting subprocess with file monitor 1) Restarted apache2 Gearbox is the webserver, not apache. Why were you starting it? It sounds like you have two environments, the gearbox one and the apache deployed one. You're editing your devel one and not seeing it in production site. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google Groups TurboGears group. To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscr...@googlegroups.com. To post to this group, send email to turbogears@googlegroups.com. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.
Re: [TurboGears] custom searching
On Mon, Jun 30, 2014 at 01:55:29PM -0700, Joshua Byrne wrote: I have just been wondering where to start so I can set up my template and controllers to handle the situation. The controller would have to accept parameters and then you'd use them to create a filter to present the data. Something like def index(self, status=None): conditions = [] if status is not None: conditions.append(model.Thing.status == status) then do the query here... There might be a more elegant way of doing it. -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google Groups TurboGears group. To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscr...@googlegroups.com. To post to this group, send email to turbogears@googlegroups.com. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.
Re: [TurboGears] Re: How to import jquery
On Tue, Apr 29, 2014 at 06:40:41PM +0200, Alessandro Molina wrote: That will always ensure that you have jQuery available in your templates and will let TW aware of the fact that it is already available. Yes, that is exactly what I'm looking for. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google Groups TurboGears group. To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscr...@googlegroups.com. To post to this group, send email to turbogears@googlegroups.com. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.
Re: [TurboGears] Re: How to import jquery
On Tue, Apr 22, 2014 at 10:11:22PM +1000, 'Craig Small csm...@enc.com.au' via TurboGears wrote: script src=http://code.jquery.com/jquery.js;/script Now I know what Alessandro was going on about about resource loading and what a pain it is. You don't load jquery, menus don't work. You unconditionally load jquery, jqgrid doesn't work. I had to put this sort of evilness in to get both happy: scriptwindow.jQuery || document.write(script src=\${tg.url('/javascript/jquery.min.js')}\\x3C/script);/script It might be a ToscaWidgets bug tripping up jqgrid, not sure. -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google Groups TurboGears group. To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscr...@googlegroups.com. To post to this group, send email to turbogears@googlegroups.com. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.
[TurboGears] Re: How to import jquery
On Mon, Apr 21, 2014 at 03:30:55PM -0700, Mengu wrote: yes you can but there's another way. http://tw2core.readthedocs.org/en/latest/design/ see the section using your own resources. you can have a jquery file under public/js and make toscawidgets use it. That's good doco, I was after the TG2 way not the TW2 but I'll file that away for future reference. Actually TG2 does some sort of jquery thing, but I think this is wrong. Have a look at: https://github.com/TurboGears/tg2devtools/blob/master/devtools/commands/quickstart_mako/master.mak script src=http://code.jquery.com/jquery.js;/script line 16 I would of thought external resources were, by default, not a good idea? An option, sure, but not the default. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google Groups TurboGears group. To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscr...@googlegroups.com. To post to this group, send email to turbogears@googlegroups.com. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.
[tg-tickets] Re: [TurboGears] #2475: Activate session_filter makes the quickstarted test_controllers tests fails
#2475: Activate session_filter makes the quickstarted test_controllers tests fails +--- Reporter: cdevienne |Owner: Type: defect | Status: new Priority: normal |Milestone: 1.1.1 Component: TurboGears | Version: 1.1 HEAD Severity: normal | Resolution: Keywords: | +--- Comment (by cdevienne): Another way to fix the problem, still in cherrypy/_cphttptools.py. Replace : {{{ #!python 431 cookie = self.simple_cookie.output() }}} with : {{{ #!python 431 cookie = self.simple_cookie.output(sep='\n') }}} -- Ticket URL: http://trac.turbogears.org/ticket/2475#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2473: fresh tg2 installation and using tw.dojo is not possible
#2473: fresh tg2 installation and using tw.dojo is not possible -+-- Reporter: diefans |Owner: mbertoldi Type: defect | Status: new Priority: normal |Milestone: __unclassified__ Component: tgDojo | Version: 2.0.3 Severity: normal | Resolution: Keywords: | -+-- Comment (by diefans): for the 2.1 installation I can fix the invisible dojo grid by adding the following to style.css: {{{ .dojoxGrid { height: 100%; } }}} -- Ticket URL: http://trac.turbogears.org/ticket/2473#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2475: Activate session_filter makes the quickstarted test_controllers tests fails
#2475: Activate session_filter makes the quickstarted test_controllers tests fails +--- Reporter: cdevienne | Owner: Type: defect | Status: new Priority: normal | Milestone: __unclassified__ Component: TurboGears | Version: 1.1 HEAD Severity: normal |Keywords: +--- On a quickstarted TG 1.1 project with identity: * adding session_filter.on = True in app.cfg * run the test_controllers.py tests - AssertionError: Bad header value: 'session_id=bb5e49bea3dd167a819cc3463d7b8182f2734d99; expires=Tue, 09 Mar 2010 18:06:48 GMT; Path=/\r' (bad char: '\r') The problems occurs when multiple cookies (in that case : session_id an tg-visit) are in the response : a \r seems to be added between the two cookies. I could not find a workaround. It may be related to #2446. -- Ticket URL: http://trac.turbogears.org/ticket/2475 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2474: Cron-like way of scheduling tasks in TGScheduler
#2474: Cron-like way of scheduling tasks in TGScheduler -+-- Reporter: bochecha | Owner: faide Type: enhancement | Status: new Priority: normal | Milestone: __unclassified__ Component: Scheduler| Version: trunk Severity: normal |Keywords: -+-- Attached is a patch to add a new way of creating a task in the TGScheduler : a cron-like task. This new Task class takes one parameter different from other Task classes: a string written in cron-like syntax. This allows to schedule jobs with complex scheduling. For example, one might want to run a job every 15 minutes on business days during the working hours: {{{ def hello(): print Hello World! cron_str = */15 8-12,14-18 * * MON-FRI task = add_cron_like_task(hello, cron_str, taskname=hello) }}} If this patch is accepted, I'll also update the documentation at http://docs.turbogears.org/TGScheduler '''Note:''' this patch introduces a new dependency on {{{python- dateutil}}} for TGScheduler. -- Ticket URL: http://trac.turbogears.org/ticket/2474 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2475: Activate session_filter makes the quickstarted test_controllers tests fails
#2475: Activate session_filter makes the quickstarted test_controllers tests fails +--- Reporter: cdevienne |Owner: Type: defect | Status: new Priority: normal |Milestone: __unclassified__ Component: TurboGears | Version: 1.1 HEAD Severity: normal | Resolution: Keywords: | +--- Comment (by cdevienne): Same one with correct formatting. {{{ #!python 432 if cookie: 433 for line in cookie.split(\n): 434 name, value = line.split(: , 1) 435 self.header_list.append((name, value)) }}} with : {{{ #!python 432 if cookie: 433 for line in cookie.split(\n): 434 name, value = line.strip('\r').split(: , 1) 435 self.header_list.append((name, value)) }}} -- Ticket URL: http://trac.turbogears.org/ticket/2475#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2472: TGScheduler should use the logging API instead of print
#2472: TGScheduler should use the logging API instead of print ---+ Reporter: bochecha |Owner: vinces1979 Type: defect | Status: new Priority: normal |Milestone: __unclassified__ Component: Scheduler | Version: trunk Severity: normal | Resolution: Keywords: | ---+ Changes (by Chris Arndt): * owner: faide = vinces1979 -- Ticket URL: http://trac.turbogears.org/ticket/2472#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2472: TGScheduler should use the logging API instead of print
#2472: TGScheduler should use the logging API instead of print -+-- Reporter: bochecha |Owner: vinces1979 Type: enhancement | Status: closed Priority: normal |Milestone: 1.5 Component: Scheduler| Version: trunk Severity: normal | Resolution: fixed Keywords: | -+-- Comment (by vinces1979): Replying to [comment:5 vinces1979]: Yeah I just finished checking in and testing Implemented in r7032 noticed a few changes got back out, put those back in r7033 -- Ticket URL: http://trac.turbogears.org/ticket/2472#comment:6 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2472: TGScheduler should use the logging API instead of print
#2472: TGScheduler should use the logging API instead of print -+-- Reporter: bochecha |Owner: vinces1979 Type: enhancement | Status: closed Priority: normal |Milestone: 1.5 Component: Scheduler| Version: trunk Severity: normal | Resolution: fixed Keywords: | -+-- Changes (by vinces1979): * status: assigned = closed * resolution: = fixed Comment: Yeah I just finished checking in and testing Implemented in r7032 -- Ticket URL: http://trac.turbogears.org/ticket/2472#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2472: TGScheduler should use the logging API instead of print
#2472: TGScheduler should use the logging API instead of print -+-- Reporter: bochecha |Owner: vinces1979 Type: enhancement | Status: assigned Priority: normal |Milestone: 1.5 Component: Scheduler| Version: trunk Severity: normal | Resolution: Keywords: | -+-- Comment (by Chris Arndt): So can this ticket be closed, Vince?. If yes, just close it yourself, please, and specify the revision number where you implemented this, if applicable. -- Ticket URL: http://trac.turbogears.org/ticket/2472#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2475: Activate session_filter makes the quickstarted test_controllers tests fails
#2475: Activate session_filter makes the quickstarted test_controllers tests fails +--- Reporter: cdevienne |Owner: Type: defect | Status: new Priority: normal |Milestone: 1.1.1 Component: TurboGears | Version: 1.1 HEAD Severity: normal | Resolution: Keywords: | +--- Changes (by chrisz): * milestone: __unclassified__ = 1.1.1 -- Ticket URL: http://trac.turbogears.org/ticket/2475#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2474: Cron-like way of scheduling tasks in TGScheduler
#2474: Cron-like way of scheduling tasks in TGScheduler -+-- Reporter: bochecha |Owner: vinces1979 Type: enhancement | Status: new Priority: normal |Milestone: __unclassified__ Component: Scheduler| Version: trunk Severity: normal | Resolution: Keywords: | -+-- Changes (by Chris Arndt): * owner: faide = vinces1979 -- Ticket URL: http://trac.turbogears.org/ticket/2474#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2471: Default templates in tg.devtools generate invalid redirects.
#2471: Default templates in tg.devtools generate invalid redirects. +--- Reporter: Clicky |Owner: Type: defect | Status: closed Priority: normal |Milestone: __unclassified__ Component: unassigned | Version: 2.0.3 Severity: normal | Resolution: duplicate Keywords: | +--- Changes (by Clicky): * status: new = closed * resolution: = duplicate Comment: Hmm, so I guess this bug can be closed as a duplicate of #2371 then. Thanks for the heads up on the repository's new location. Please keep up the good work. -- Ticket URL: http://trac.turbogears.org/ticket/2471#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2395: Mako bytecode caching only works when use_dotted_templatenames = False
#2395: Mako bytecode caching only works when use_dotted_templatenames = False +--- Reporter: seedifferently |Owner: lmacken Type: defect | Status: reopened Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Comment (by lambacck): Would you like me to submit patches for what is discussed above? -- Ticket URL: http://trac.turbogears.org/ticket/2395#comment:9 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2395: Mako bytecode caching only works when use_dotted_templatenames = False
#2395: Mako bytecode caching only works when use_dotted_templatenames = False +--- Reporter: seedifferently |Owner: lmacken Type: defect | Status: reopened Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Comment (by lmacken): Replying to [comment:9 lambacck]: Would you like me to submit patches for what is discussed above? Sure. Sorry, I meant to get this done before the weekend, but but caught up with other things. If you're willing and able to throw this patch together, please do so. If not, I can hack it together later this week. Cheers. -- Ticket URL: http://trac.turbogears.org/ticket/2395#comment:10 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2475: Activate session_filter makes the quickstarted test_controllers tests fails
#2475: Activate session_filter makes the quickstarted test_controllers tests fails +--- Reporter: cdevienne |Owner: Type: defect | Status: new Priority: normal |Milestone: __unclassified__ Component: TurboGears | Version: 1.1 HEAD Severity: normal | Resolution: Keywords: | +--- Comment (by cdevienne): Sorry for answering myself, but I found a way to fix the problem, by patching cherrypy... in cherrypy/_cphttptools.py, around at line 434 : 432 if cookie: 433 for line in cookie.split(\n): 434 name, value = line.split(: , 1) 435 self.header_list.append((name, value)) with : 432 if cookie: 433 for line in cookie.split(\n): 434 name, value = line.strip('\r').split(: , 1) 435 self.header_list.append((name, value)) solved the issue. Now I am not sure it is ideal, nor if we could make this go into a bugfix release of CherryPy. -- Ticket URL: http://trac.turbogears.org/ticket/2475#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2475: Activate session_filter makes the quickstarted test_controllers tests fails
#2475: Activate session_filter makes the quickstarted test_controllers tests fails +--- Reporter: cdevienne |Owner: Type: defect | Status: new Priority: normal |Milestone: 1.1.1 Component: TurboGears | Version: 1.1 HEAD Severity: normal | Resolution: Keywords: | +--- Comment (by cdevienne): The original problem probably comes from the !BaseCookie.output function which changed its default separator in python 2.5 : http://docs.python.org/library/cookie.html#Cookie.BaseCookie.output I guess we should do a bug report to !CherryPy since it can be considered as a python 2.5 regression, but can we really expect a bugfix release ? In addition, here is a dirty monkey path that workaround this issue by reverting !SimpleCookie.output to the python2.5 behavior : {{{ #!python import Cookie def output(self, attrs=None, header='Set-Cookie:', sep='\n'): return self._orig_output(attrs, header, sep) Cookie.SimpleCookie._orig_output = Cookie.SimpleCookie.output Cookie.SimpleCookie.output = output }}} -- Ticket URL: http://trac.turbogears.org/ticket/2475#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2473: fresh tg2 installation and using tw.dojo is not possible
#2473: fresh tg2 installation and using tw.dojo is not possible -+-- Reporter: diefans | Owner: mbertoldi Type: defect | Status: new Priority: normal | Milestone: __unclassified__ Component: tgDojo | Version: 2.0.3 Severity: normal |Keywords: -+-- I am trying to run Turbogears 2 together with tw.dojo without success. I am getting different errors on different toscawidget versions. '''for toscawidgets 0.9.7.1''' {{{ URL: http://dev/admin/users/ File '/home/olli/tests/tg2env/lib/python2.5/site- packages/WebError-0.10.1-py2.5.egg/weberror/evalexception.py', line 431 in respond app_iter = self.application(environ, detect_start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/TurboGears2-2.0.3-py2.5.egg/tg/configuration.py', line 655 in wrapper return app(environ, start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/TurboGears2-2.0.3-py2.5.egg/tg/configuration.py', line 555 in remover return app(environ, start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/repoze.tm2-1.0a4-py2.5.egg/repoze/tm/__init__.py', line 19 in __call__ result = self.application(environ, save_status_and_headers) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/repoze.who-1.0.15-py2.5.egg/repoze/who/middleware.py', line 107 in __call__ app_iter = app(environ, wrapper.wrap_start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/ToscaWidgets-0.9.7.1-py2.5.egg/tw/core/middleware.py', line 36 in __call__ return self.wsgi_app(environ, start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/ToscaWidgets-0.9.7.1-py2.5.egg/tw/core/middleware.py', line 59 in wsgi_app resp = req.get_response(self.application) File 'build/bdist.linux-x86_64/egg/webob/__init__.py', line 1325 in get_response File 'build/bdist.linux-x86_64/egg/webob/__init__.py', line 1293 in call_application File '/home/olli/tests/tg2env/lib/python2.5/site- packages/ToscaWidgets-0.9.7.1-py2.5.egg/tw/core/resource_injector.py', line 67 in _injector resp = req.get_response(app) File 'build/bdist.linux-x86_64/egg/webob/__init__.py', line 1325 in get_response File 'build/bdist.linux-x86_64/egg/webob/__init__.py', line 1293 in call_application File '/home/olli/tests/tg2env/lib/python2.5/site- packages/Beaker-1.3-py2.5.egg/beaker/middleware.py', line 81 in __call__ return self.app(environ, start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/Beaker-1.3-py2.5.egg/beaker/middleware.py', line 160 in __call__ return self.wrap_app(environ, session_start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/Routes-1.10.3-py2.5.egg/routes/middleware.py', line 130 in __call__ response = self.app(environ, start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/Pylons-0.9.7-py2.5.egg/pylons/wsgiapp.py', line 124 in __call__ controller = self.resolve(environ, start_response) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/Pylons-0.9.7-py2.5.egg/pylons/wsgiapp.py', line 263 in resolve return self.find_controller(controller) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/TurboGears2-2.0.3-py2.5.egg/tg/wsgiapp.py', line 38 in find_controller __import__(full_module_name) File '/home/olli/tests/tg2env/tgtest/tgtest/controllers/root.py', line 6 in module from catwalk.tg2 import Catwalk File '/home/olli/tests/tg2env/lib/python2.5/site- packages/Catwalk-2.0.2-py2.5.egg/catwalk/tg2/__init__.py', line 1 in module from controller import Catwalk File '/home/olli/tests/tg2env/lib/python2.5/site- packages/Catwalk-2.0.2-py2.5.egg/catwalk/tg2/controller.py', line 13 in module from tgext.admin import AdminController File 'build/bdist.linux-x86_64/egg/tgext/admin/__init__.py', line 1 in module File 'build/bdist.linux-x86_64/egg/tgext/admin/controller.py', line 10 in module File 'build/bdist.linux-x86_64/egg/tgext/crud/__init__.py', line 1 in module File 'build/bdist.linux-x86_64/egg/tgext/crud/controller.py', line 19 in module File '/home/olli/tests/tg2env/lib/python2.5/site- packages/tw.dojo-0.9.8.1-py2.5.egg/tw/dojo/__init__.py', line 1 in module from core import * File '/home/olli/tests/tg2env/lib/python2.5/site- packages/tw.dojo-0.9.8.1-py2.5.egg/tw/dojo/core.py', line 105 in module dojo_js = DojoLink(basename='dojo/dojo') File '/home/olli/tests/tg2env/lib/python2.5/site- packages/ToscaWidgets-0.9.7.1-py2.5.egg/tw/core/util.py', line 133 in wrapper output = func(self, *args, **kw) File '/home/olli/tests/tg2env/lib/python2.5/site- packages/tw.dojo-0.9.8.1-py2.5.egg/tw/dojo/core.py', line 39 in __init__ self, modname, self.filename TypeError: register
[tg-tickets] [TurboGears] #2471: Default templates in tg.devtools generate invalid redirects.
#2471: Default templates in tg.devtools generate invalid redirects. +--- Reporter: Clicky | Owner: Type: defect | Status: new Priority: normal | Milestone: __unclassified__ Component: unassigned | Version: 2.0.3 Severity: normal |Keywords: +--- While deploying a Turbogears application, we noticed sometimes users sometime had issues going through the login form and got 404 error pages as a result. In our environment, the app is served using Apache from a sub-directory of the DocumentRoot, but I also managed to reproduce this with Paste and a composite application setup. Steps to reproduce : 1. Quickstart a new project with auth enabled. 2. Change the settings in development.ini so that the application is NOT mounted at the root. eg. replace `[app:main]` with : {{{ [composite:main] use = egg:Paste#urlmap /yourapp = yourapp [app:yourapp] }}} 3. Start the webserver. 4. In your browser, go to a page which requires authentication (eg. http://localhost:8080/yourapp/manage_permission_only). 5. Enter a bad username/password 6. At this point, your browser may indicate that a circular redirection is taking place, or, the login form may show up again, or you may be presented with a 404 error page (see notes below). 7. If the login form showed up, try authenticating with a valid username/password (in my case, I used manager/managepass), you should end up on a 404 error page. I noticed some variations of the problem: * when the application is served with Paste, my browser either detected a circular redirect (step !#6) or ended up on a non-existing page (/yourapp/yourapp/login) * when the application is served with Apache, the redirect works correctly, but after the first authentication attempt (with an invalid username/password), the came_from parameter is incorrect (/yourapp/yourapp/manage_permission_only), so that when you successfully authenticate, your browser is redirected to a non-existing page (step !#7). This seems to be the result of a few extraneous url() in tg.devtools' default templates. AFAICT, redirect() already applies url() to its input. Therefore, the URL gets rewritten twice (which gives a double /yourapp prefix in my case) at the time the redirect occurs. Getting rid of a few url() in http://svn.turbogears.org/projects/tg.devtools/trunk/devtools/templates/turbogears/+package+/controllers/root.py_tmpl seems to do the trick. I'll try to attach a patch sometime this week. -- Ticket URL: http://trac.turbogears.org/ticket/2471 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2459: Crash when user agent doesn't specify the HTTP_ACCEPT header accessing a controller method with repoze restrictions
#2459: Crash when user agent doesn't specify the HTTP_ACCEPT header accessing a controller method with repoze restrictions +--- Reporter: amol|Owner: Type: defect | Status: new Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0.3 Severity: blocker | Resolution: Keywords: | +--- Changes (by percious): * severity: normal = blocker -- Ticket URL: http://trac.turbogears.org/ticket/2459#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2468: Post Traceback is no longer working
#2468: Post Traceback is no longer working +--- Reporter: percious|Owner: Type: defect | Status: new Priority: highest |Milestone: 2.1b2 Component: TurboGears | Version: 2.1 Severity: normal | Resolution: Keywords: | +--- Changes (by percious): * severity: critical = normal -- Ticket URL: http://trac.turbogears.org/ticket/2468#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2395: Mako bytecode caching only works when use_dotted_templatenames = False
#2395: Mako bytecode caching only works when use_dotted_templatenames = False +--- Reporter: seedifferently |Owner: lmacken Type: defect | Status: reopened Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by lmacken): * cc: percious (added) * status: closed = reopened * resolution: fixed = Comment: Reopening, since I'm not 100% satisfied with how this works by default. Right now out of the box (with this patch) `use_dotted_templatenames` is enabled and Mako stores your compiled bytecode in `myproject/templates/the/full/path/to/myproject/templates/index.pyc`. This behavior is documented by Mako (http://www.makotemplates.org/docs/usage.html#usage_file). `templating.mako.compiled_templates_dir` defaults to your templates directory, and when `use_dotted_templatenames` is disabled Mako compiles and stores templates alongside the existing templates. I don't know if we can easily have the same behavior with and without dotted templatenames, but I think we could do a better job of docmenting this and making it easy to change, without polluting the project's templates directory. So, how about we add something like this in the default ini? {{{ {{if mako}} # The location to store your compiled templates templating.mako.compiled_templates_dir = %(here)/data/templates {{endif}} }}} This way, we're sharing %(here)/data with Beaker sessions and we're not touching the projects templates directory. -- Ticket URL: http://trac.turbogears.org/ticket/2395#comment:7 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2453: Error when logging out with non-ascii user name
#2453: Error when logging out with non-ascii user name +--- Reporter: chrisz |Owner: Type: defect | Status: reopened Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: blocker | Resolution: Keywords: | +--- Changes (by percious): * severity: normal = blocker -- Ticket URL: http://trac.turbogears.org/ticket/2453#comment:7 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2453: Error when logging out with non-ascii user name
#2453: Error when logging out with non-ascii user name +--- Reporter: chrisz |Owner: Type: defect | Status: closed Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: fixed Keywords: | +--- Changes (by percious): * status: new = closed * resolution: = fixed -- Ticket URL: http://trac.turbogears.org/ticket/2453#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2453: Error when logging out with non-ascii user name
#2453: Error when logging out with non-ascii user name +--- Reporter: chrisz |Owner: Type: defect | Status: reopened Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Comment (by chrisz): Sorry, I overlooked that you reopened this again, so I guess this was only a mistake. -- Ticket URL: http://trac.turbogears.org/ticket/2453#comment:6 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2455: Admin list view fails with more than 8 records
#2455: Admin list view fails with more than 8 records +--- Reporter: chrisz |Owner: percious Type: defect | Status: assigned Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: major | Resolution: Keywords: admin paginate | +--- Changes (by percious): * owner: = percious * status: new = assigned -- Ticket URL: http://trac.turbogears.org/ticket/2455#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2468: Post Traceback is no longer working
#2468: Post Traceback is no longer working +--- Reporter: percious| Owner: Type: defect | Status: new Priority: highest | Milestone: 2.1b2 Component: TurboGears | Version: 2.1 Severity: critical|Keywords: +--- Put an assert 0 in your controller, cause a traceback. Try to post the traceback to Pylons, it never completes. -- Ticket URL: http://trac.turbogears.org/ticket/2468 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2437: tg.url() docstring does not match behavior, pagination problem
#2437: tg.url() docstring does not match behavior, pagination problem ---+ Reporter: chrisz |Owner: Type: defect | Status: closed Priority: high |Milestone: 2.1b2 Component: TurboGears | Version: 2.1a3 Severity: normal | Resolution: fixed Keywords: tg.url pagination | ---+ Comment (by chrisz): Thanks. For the records and better traceability of fixes you should also link to the changeset of your fixes (in this case, [http://bitbucket.org/turbogears/tg-dev/changeset/c345086f9280/ c345086f9280] and [http://bitbucket.org/turbogears/tgdevtools- dev/changeset/78d3869f7deb/ 78d3869f7deb]). Also, I'm missing a motivation ''why'' passing keyword parameters was discarded, since I think it was a handy and intuitive feature. I'm sure there is a reason, but I currently don't see it. -- Ticket URL: http://trac.turbogears.org/ticket/2437#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2413: Installing tw.dojo breaks CrudRestController from tgext.crud
#2413: Installing tw.dojo breaks CrudRestController from tgext.crud +--- Reporter: boulon |Owner: percious Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.1a1 Severity: normal | Resolution: fixed Keywords: | +--- Changes (by percious): * status: assigned = closed * resolution: = fixed -- Ticket URL: http://trac.turbogears.org/ticket/2413#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2453: Error when logging out with non-ascii user name
#2453: Error when logging out with non-ascii user name +--- Reporter: chrisz |Owner: Type: defect | Status: reopened Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by percious): * status: closed = reopened * resolution: fixed = -- Ticket URL: http://trac.turbogears.org/ticket/2453#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2323: Make .mako the default for Mako templates (instead of .mak)
#2323: Make .mako the default for Mako templates (instead of .mak) --+- Reporter: jorge.vargas |Owner: Type: task | Status: new Priority: normal|Milestone: 2.2 Component: TurboGears| Version: Severity: normal| Resolution: Keywords:| --+- Changes (by percious): * milestone: 2.1b2 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2323#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2403: Provide a TGCommand base class within TurboGears 2.x core
#2403: Provide a TGCommand base class within TurboGears 2.x core +--- Reporter: mcfletch|Owner: Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0.3 Severity: normal | Resolution: fixed Keywords: | +--- Changes (by mcfletch): * status: new = closed * resolution: = fixed Comment: Okay, there is now a tgext.command extension which can be installed. The README.txt in this package is basically the original blog post updated for the new packaging. Still needs tests and the like. -- Ticket URL: http://trac.turbogears.org/ticket/2403#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2403: Provide a TGCommand base class within TurboGears 2.x core
#2403: Provide a TGCommand base class within TurboGears 2.x core +--- Reporter: mcfletch|Owner: Type: defect | Status: new Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0.3 Severity: normal | Resolution: Keywords: | +--- Comment (by mcfletch): There is a documented (short) description in the 2.1 documentation which describes a much smaller approach to this. The TGCommand module doesn't currently have any test-cases. Percious suggests that we not include TGCommand without tests. TGCommand is basically a real-world example of what is needed to prevent cron-bombing and otherwise creating an official command, but there's some question as to whether people really *want* that, or just want a simple couple-of-line script to integrate into their general code-bases. Suggestion is to make tgcommand into tgext.tgcommand (i.e. an extension module). -- Ticket URL: http://trac.turbogears.org/ticket/2403#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2437: tg.url() docstring does not match behavior, pagination problem
#2437: tg.url() docstring does not match behavior, pagination problem ---+ Reporter: chrisz |Owner: Type: defect | Status: closed Priority: high |Milestone: 2.1b2 Component: TurboGears | Version: 2.1a3 Severity: normal | Resolution: fixed Keywords: tg.url pagination | ---+ Changes (by percious): * status: new = closed * resolution: = fixed -- Ticket URL: http://trac.turbogears.org/ticket/2437#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2457: [PATCH] Make override_template work for all content types
#2457: [PATCH] Make override_template work for all content types -+-- Reporter: lento|Owner: Type: enhancement | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.1 Severity: normal | Resolution: fixed Keywords: override_template, content_type | -+-- Changes (by percious): * status: new = closed * resolution: = fixed -- Ticket URL: http://trac.turbogears.org/ticket/2457#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2225: Write a testing a turbogears application tutorial
#2225: Write a testing a turbogears application tutorial ---+ Reporter: jorge.vargas |Owner: Type: documentation | Status: new Priority: normal |Milestone: 2.1 docs Component: TurboGears | Version: 2.0b5 Severity: normal | Resolution: Keywords: | ---+ Comment (by chrisz): I have already added something during the last doc sprint: http://turbogears.org/2.1/docs/main/Testing/ Is this enough? If not, which aspects need more elaboration? -- Ticket URL: http://trac.turbogears.org/ticket/2225#comment:6 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2337: RestController cannot handle non-ascii URLs
#2337: RestController cannot handle non-ascii URLs +--- Reporter: guest |Owner: Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0.1 Severity: normal | Resolution: fixed Keywords: | +--- Changes (by percious): * status: new = closed * resolution: = fixed Comment: I tested this in 2.1 on FFx, Safari, curl, and wget and found it to work (aside from unittesting) Closing -- Ticket URL: http://trac.turbogears.org/ticket/2337#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2455: Admin list view fails with more than 8 records
#2455: Admin list view fails with more than 8 records +--- Reporter: chrisz |Owner: percious Type: defect | Status: closed Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: major | Resolution: fixed Keywords: admin paginate | +--- Changes (by percious): * status: assigned = closed * resolution: = fixed -- Ticket URL: http://trac.turbogears.org/ticket/2455#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2469: Python2.4 issue when the uuid package is not installed
#2469: Python2.4 issue when the uuid package is not installed +--- Reporter: lmacken | Owner: Type: defect | Status: new Priority: normal | Milestone: __unclassified__ Component: TurboGears | Version: trunk Severity: normal |Keywords: +--- On python2.4 setups, without the uuid module, we resort to trying to base64 encode the secret cookie, which fails: {{{ Traceback (most recent call last): File /home/lmacken/geo/tg2env/bin/paster, line 7, in ? sys.exit( File /home/lmacken/geo/tg2env/lib/python2.4/site- packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py, line 84, in run invoke(command, command_name, options, args[1:]) File /home/lmacken/geo/tg2env/lib/python2.4/site- packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py, line 123, in invoke exit_code = runner.run(args) File /home/lmacken/geo/tg2env/lib/python2.4/site- packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py, line 218, in run result = self.command() File /home/lmacken/geo/tgdevtools-dev/devtools/commands/quickstart.py, line 212, in command self.cookiesecret = base64.b64encode(base64(random.randrange(2**32))).strip() TypeError: 'module' object is not callable }}} -- Ticket URL: http://trac.turbogears.org/ticket/2469 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2394: Configuration value base_config.serve_static sthould be set in *.ini files rather than in app_cfg.py file
#2394: Configuration value base_config.serve_static sthould be set in *.ini files rather than in app_cfg.py file -+-- Reporter: martin.vejmelka |Owner: Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0.3 Severity: normal | Resolution: fixed Keywords: | -+-- Changes (by percious): * status: new = closed * resolution: = fixed -- Ticket URL: http://trac.turbogears.org/ticket/2394#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2453: Error when logging out with non-ascii user name
#2453: Error when logging out with non-ascii user name +--- Reporter: chrisz |Owner: Type: defect | Status: reopened Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Comment (by chrisz): Where and how has this been solved? Please always record a hint for us when closing a ticket. -- Ticket URL: http://trac.turbogears.org/ticket/2453#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2470: SQLAlchemy is still required in 2.1
#2470: SQLAlchemy is still required in 2.1 --+- Reporter: jorge.vargas | Owner: Type: defect| Status: new Priority: normal| Milestone: 2.1b2 Component: TurboGears| Version: trunk Severity: normal|Keywords: --+- WebError still requires sqlalchemy, this is set way down in pylons. At ErrorHandler in middleware.py This is causing a 500 error for EvalException when sqlalchemy is not installed. The way to fix this is to set a proper value to report_libs -- Ticket URL: http://trac.turbogears.org/ticket/2470 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2437: tg.url() docstring does not match behavior, pagination problem
#2437: tg.url() docstring does not match behavior, pagination problem ---+ Reporter: chrisz |Owner: Type: defect | Status: new Priority: high |Milestone: 2.1b2 Component: TurboGears | Version: 2.1a3 Severity: normal | Resolution: Keywords: tg.url pagination | ---+ Changes (by mramm): * milestone: 2.1 = 2.1b2 -- Ticket URL: http://trac.turbogears.org/ticket/2437#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #1655: Create some kind of component architecture for TG2
#1655: Create some kind of component architecture for TG2 +--- Reporter: mramm |Owner: plewis Type: defect | Status: assigned Priority: normal |Milestone: 2.2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/1655#comment:18 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2164: add the toolbox back to turbogears 2?
#2164: add the toolbox back to turbogears 2? --+- Reporter: jorge.vargas |Owner: faide Type: task | Status: new Priority: normal|Milestone: 2.2 Component: TurboGears| Version: trunk Severity: normal| Resolution: Keywords:| --+- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2164#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #1905: use variable_decode to add automagical formparsing like tg1
#1905: use variable_decode to add automagical formparsing like tg1 +--- Reporter: mramm |Owner: rick446 Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: fixed Keywords: | +--- Changes (by rick446): * status: assigned = closed * resolution: = fixed Comment: Fixed in d1bb21aa4f1b by creating a @variable_decode decorator -- Ticket URL: http://trac.turbogears.org/ticket/1905#comment:9 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2163: Build a New www.turbogears.org
#2163: Build a New www.turbogears.org --+- Reporter: jorge.vargas |Owner: Chris Arndt Type: task | Status: new Priority: normal|Milestone: 2.2 Component: Web site | Version: Severity: normal| Resolution: Keywords:| --+- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2163#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2465: [PATCH] tg.util get_partial_dict() doesn't work correctly.
#2465: [PATCH] tg.util get_partial_dict() doesn't work correctly. ---+ Reporter: Tomoyuki Kano |Owner: Type: defect | Status: closed Priority: high |Milestone: __unclassified__ Component: TurboGears | Version: 2.1 Severity: critical | Resolution: fixed Keywords: | ---+ Changes (by lmacken): * status: new = closed * resolution: = fixed Comment: I added a unit test that reproduces the bug: http://bitbucket.org/turbogears/tg-dev/changeset/ebea49e8818a and I applied your fix in: http://bitbucket.org/turbogears/tg- dev/changeset/d682e882969c Thanks for the patch, Tomoyuki! -- Ticket URL: http://trac.turbogears.org/ticket/2465#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2272: tg.url() is too laxist with argument types
#2272: tg.url() is too laxist with argument types -+-- Reporter: pitrou |Owner: rick446 Type: enhancement | Status: assigned Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0b7 Severity: normal | Resolution: Keywords: | -+-- Changes (by rick446): * owner: = rick446 * status: new = assigned -- Ticket URL: http://trac.turbogears.org/ticket/2272#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2130: routes is asserting that the application is deployed in zip-unsafe way
#2130: routes is asserting that the application is deployed in zip-unsafe way +--- Reporter: faide |Owner: faide Type: defect | Status: closed Priority: high|Milestone: 2.1 Component: TurboGears | Version: trunk Severity: normal | Resolution: wontfix Keywords: | +--- Changes (by mramm): * status: new = closed * resolution: = wontfix Comment: Waiting on distribute and the next gen of packaging to determine how this should work. -- Ticket URL: http://trac.turbogears.org/ticket/2130#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2337: RestController cannot handle non-ascii URLs
#2337: RestController cannot handle non-ascii URLs +--- Reporter: guest |Owner: Type: defect | Status: new Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0.1 Severity: normal | Resolution: Keywords: | +--- Comment (by rick446): I've had some trouble reproducing this problem using WebTest -- it seems that WebTest converts everything (including URLs) to str() when creating the request. I tried reproducing by encoding the URL as UTF-8, but this appears to work just fine. So without a failing test case, I'm not sure what we can do here. -- Ticket URL: http://trac.turbogears.org/ticket/2337#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2081: Model Package import issues
#2081: Model Package import issues --+- Reporter: jorge.vargas |Owner: anonymous Type: task | Status: closed Priority: high |Milestone: 2.1 Component: SQLAlchemy| Version: trunk Severity: normal| Resolution: wontfix Keywords:| --+- Changes (by mramm): * status: new = closed * resolution: = wontfix Comment: Feel free to open a ticket to make some specific change. But as is this ticket is not actionable. -- Ticket URL: http://trac.turbogears.org/ticket/2081#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2395: Mako bytecode caching only works when use_dotted_templatenames = False
#2395: Mako bytecode caching only works when use_dotted_templatenames = False +--- Reporter: seedifferently |Owner: Type: defect | Status: new Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Comment (by lambacck): I assume you are actually referring to Mako's creation of .py (and .pyc) files from .mak files. If so, this is caused by not letting the Mako template loader actually load the file and reading the file and passing a string instead. If you are referring to something else, let me know. Also there is a bug in Mako that is related to this: http://www.makotemplates.org/trac/ticket/128 which I have also provided a patch for. -- Ticket URL: http://trac.turbogears.org/ticket/2395#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2395: Mako bytecode caching only works when use_dotted_templatenames = False
#2395: Mako bytecode caching only works when use_dotted_templatenames = False +--- Reporter: seedifferently |Owner: lmacken Type: defect | Status: assigned Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Comment (by lmacken): Ok, so my patch breaks custom `templating.mako.compiled_templates_dir` when used in conjunction with 'use_dotted_templatenames', since passing an absolute path to the mako Template(module_directory=) will still put them in myproject/templates/ -- Ticket URL: http://trac.turbogears.org/ticket/2395#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2451: [PATCH] Override template failing in 2.1
#2451: [PATCH] Override template failing in 2.1 +--- Reporter: vinces1979 |Owner: Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.1a3 Severity: normal | Resolution: fixed Keywords: | +--- Changes (by lmacken): * status: new = closed * resolution: = fixed Comment: Applied in http://bitbucket.org/turbogears/tg-dev/changeset/898cde174975 -- test suite passes. Thanks for the patch, vinces1979! -- Ticket URL: http://trac.turbogears.org/ticket/2451#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2377: Dispatcher regression in TG2.1:
#2377: Dispatcher regression in TG2.1: +--- Reporter: lmacken |Owner: percious Type: defect | Status: closed Priority: normal |Milestone: 2.1 Component: TurboGears | Version: 2.1 Severity: critical| Resolution: fixed Keywords: | +--- Changes (by lmacken): * status: reopened = closed * resolution: = fixed Comment: This seems to be fixed with the latest 2.1 code! Percious is my hero. -- Ticket URL: http://trac.turbogears.org/ticket/2377#comment:8 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2272: tg.url() is too laxist with argument types
#2272: tg.url() is too laxist with argument types -+-- Reporter: pitrou |Owner: rick446 Type: enhancement | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0b7 Severity: normal | Resolution: fixed Keywords: | -+-- Changes (by rick446): * status: assigned = closed * resolution: = fixed Comment: Fixed in 1fe79de30eca -- Ticket URL: http://trac.turbogears.org/ticket/2272#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2299: flash() doesn't display anything when message is too long
#2299: flash() doesn't display anything when message is too long --+- Reporter: pitrou|Owner: Type: defect| Status: closed Priority: normal|Milestone: 2.1b2 Component: webflash | Version: 2.0b7 Severity: normal| Resolution: fixed Keywords:| --+- Changes (by rick446): * status: new = closed * resolution: = fixed Comment: Fixed in 8a47559e66e9 -- Ticket URL: http://trac.turbogears.org/ticket/2299#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2395: Mako bytecode caching only works when use_dotted_templatenames = False
#2395: Mako bytecode caching only works when use_dotted_templatenames = False +--- Reporter: seedifferently |Owner: lmacken Type: defect | Status: assigned Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by lmacken): * owner: = lmacken * status: new = assigned Comment: I just committed pushed this patch, which is similar to yours: http://bitbucket.org/turbogears/tg-dev/changeset/020db0b5043e/ All of the test suite passes, and this doesn't require any Mako changes. Can you please test and verify that it still works for you in windows? Thanks! -- Ticket URL: http://trac.turbogears.org/ticket/2395#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2411: @https decorator crashes outside of root
#2411: @https decorator crashes outside of root +--- Reporter: seedifferently |Owner: Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: fixed Keywords: | +--- Comment (by rick446): I should mention that this is fixed by adding our own @https decorator in tg.decorators that works with TurboGears decorators, not by fixing pylons. -- Ticket URL: http://trac.turbogears.org/ticket/2411#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2467: Unable to Disable Unneeded Dependencies (Genshi ToscaWidgets)
#2467: Unable to Disable Unneeded Dependencies (Genshi ToscaWidgets) -+-- Reporter: lambacck |Owner: Type: defect | Status: closed Priority: normal |Milestone: __unclassified__ Component: TurboGears | Version: trunk Severity: normal | Resolution: fixed Keywords: toscawidgets genshi | -+-- Changes (by lmacken): * status: new = closed * resolution: = fixed Comment: Committed, tweaked (http://bitbucket.org/turbogears/tg- dev/changeset/2ec592fe10dd/) and pushed. Works with the tg test suite, along with mako genshi quickstart test suites. Thanks for the patch! -- Ticket URL: http://trac.turbogears.org/ticket/2467#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2411: @https decorator crashes outside of root
#2411: @https decorator crashes outside of root +--- Reporter: seedifferently |Owner: Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: fixed Keywords: | +--- Changes (by rick446): * status: new = closed * resolution: = fixed Comment: Fixed in fb9d42127209 -- Ticket URL: http://trac.turbogears.org/ticket/2411#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2467: Unable to Disable Unneeded Dependencies (Genshi ToscaWidgets)
#2467: Unable to Disable Unneeded Dependencies (Genshi ToscaWidgets) +--- Reporter: lambacck| Owner: Type: defect | Status: new Priority: normal | Milestone: __unclassified__ Component: TurboGears | Version: trunk Severity: normal |Keywords: toscawidgets genshi +--- It is possible to disable both ToscaWidgets and Genshi, but it is not possible to get rid of the dependency because they are always imported. Genshi is imported in tg/render.py but not used unless a Genshi template is used. ToscaWidgets is imported in tg/controllers/decoratedcontroller.py but not used unless use_toscawidgets config variable is set to true. ToscaWidgets2 is conditionally imported. I'll provide a patch before the PyCon sprint on Monday. I'm not in Atlanta, but I'll show up on IRC to discuss. -- Ticket URL: http://trac.turbogears.org/ticket/2467 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2461: TG2.1b1 Python 2.4 issues
#2461: TG2.1b1 Python 2.4 issues +--- Reporter: lmacken |Owner: Type: defect | Status: closed Priority: normal |Milestone: __unclassified__ Component: TurboGears | Version: 2.1 Severity: normal | Resolution: fixed Keywords: | +--- Changes (by lmacken): * status: new = closed * resolution: = fixed Comment: Applied in r971 -- Ticket URL: http://trac.turbogears.org/ticket/2461#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2225: Write a testing a turbogears application tutorial
#2225: Write a testing a turbogears application tutorial ---+ Reporter: jorge.vargas |Owner: Type: documentation | Status: new Priority: normal |Milestone: 2.1 docs Component: TurboGears | Version: 2.0b5 Severity: normal | Resolution: Keywords: | ---+ Comment (by rwilcox): I have a turbogears 2.0 sample app that does part of this, doing functional tests via scrape.py (http://zesty.ca/scrape/). Maybe we can use this sample project as the basis for a more complete testing application tutorial? See: [http://github.com/rwilcox/turbogears2_setup_and_testing github.com/rwilcox/turbogears2_setup_and_testing] -- Ticket URL: http://trac.turbogears.org/ticket/2225#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2159: add a --clean option to quickstart
#2159: add a --clean option to quickstart +--- Reporter: mramm |Owner: faide Type: defect | Status: new Priority: normal |Milestone: 2.2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2159#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2358: override_template does not work if @without_trailing_slash placed before @expose)
#2358: override_template does not work if @without_trailing_slash placed before @expose) +--- Reporter: sbeilin |Owner: rick446 Type: defect | Status: assigned Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0.1 Severity: minor | Resolution: Keywords: | +--- Changes (by rick446): * owner: = rick446 * status: new = assigned -- Ticket URL: http://trac.turbogears.org/ticket/2358#comment:6 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2450: TG 2.1 tests failing with recent WebOb version
#2450: TG 2.1 tests failing with recent WebOb version -+-- Reporter: chrisz |Owner: Type: task | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: fixed Keywords: tests webob | -+-- Changes (by rick446): * status: new = closed * resolution: = fixed Comment: percious says this is now fixed -- Ticket URL: http://trac.turbogears.org/ticket/2450#comment:4 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #1905: use variable_decode to add automagical formparsing like tg1
#1905: use variable_decode to add automagical formparsing like tg1 +--- Reporter: mramm |Owner: anonymous Type: defect | Status: new Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by mramm): * milestone: 2.1 = 2.1b2 -- Ticket URL: http://trac.turbogears.org/ticket/1905#comment:7 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2395: Mako bytecode caching only works when use_dotted_templatenames = False
#2395: Mako bytecode caching only works when use_dotted_templatenames = False +--- Reporter: seedifferently |Owner: lmacken Type: defect | Status: closed Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: fixed Keywords: | +--- Changes (by lmacken): * status: assigned = closed * resolution: = fixed Comment: Ok, I pushed out a couple of small tweaks, and everything seems to be working fine (aside from lambacck's windows-specific mako issue mentioned above). Closing... -- Ticket URL: http://trac.turbogears.org/ticket/2395#comment:6 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2453: Error when logging out with non-ascii user name
#2453: Error when logging out with non-ascii user name +--- Reporter: chrisz |Owner: Type: defect | Status: new Priority: high|Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by mramm): * milestone: 2.1 = 2.1b2 -- Ticket URL: http://trac.turbogears.org/ticket/2453#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2126: Write tests for DecoratedController
#2126: Write tests for DecoratedController +--- Reporter: mramm |Owner: faide Type: defect | Status: new Priority: normal |Milestone: 2.2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2126#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2206: Query setuptools entry points for plugins
#2206: Query setuptools entry points for plugins ---+ Reporter: Felix.Schwarz |Owner: faide Type: enhancement| Status: new Priority: normal |Milestone: 2.2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | ---+ Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2206#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2397: TG2 Google App Engine compatibility.
#2397: TG2 Google App Engine compatibility. -+-- Reporter: splee|Owner: splee Type: enhancement | Status: assigned Priority: normal |Milestone: 2.2 Component: TurboGears | Version: 2.1 Severity: normal | Resolution: Keywords: | -+-- Changes (by mramm): * summary: TG 2.1 Google App Engine compatibility. = TG2 Google App Engine compatibility. * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2397#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2377: Dispatcher regression in TG2.1:
#2377: Dispatcher regression in TG2.1: +--- Reporter: lmacken |Owner: percious Type: defect | Status: reopened Priority: normal |Milestone: 2.1 Component: TurboGears | Version: 2.1 Severity: critical| Resolution: Keywords: | +--- Changes (by lmacken): * status: closed = reopened * resolution: wontfix = -- Ticket URL: http://trac.turbogears.org/ticket/2377#comment:7 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #1905: use variable_decode to add automagical formparsing like tg1
#1905: use variable_decode to add automagical formparsing like tg1 +--- Reporter: mramm |Owner: rick446 Type: defect | Status: assigned Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: | +--- Changes (by rick446): * owner: anonymous = rick446 * status: new = assigned -- Ticket URL: http://trac.turbogears.org/ticket/1905#comment:8 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2238: Server error instead of stack trace when code contains non-ascii chars
#2238: Server error instead of stack trace when code contains non-ascii chars +--- Reporter: chrisz |Owner: Type: defect | Status: new Priority: normal |Milestone: 2.2 Component: TurboGears | Version: 2.0b5 Severity: major | Resolution: Keywords: weberror| +--- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2238#comment:9 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2459: Crash when user agent doesn't specify the HTTP_ACCEPT header accessing a controller method with repoze restrictions
#2459: Crash when user agent doesn't specify the HTTP_ACCEPT header accessing a controller method with repoze restrictions +--- Reporter: amol|Owner: Type: defect | Status: new Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.0.3 Severity: normal | Resolution: Keywords: | +--- Changes (by jorge.vargas): * milestone: __unclassified__ = 2.1b2 Comment: I can confirm this is happening. -- Ticket URL: http://trac.turbogears.org/ticket/2459#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2456: TurboJson dependency causing RuntimeWarning
#2456: TurboJson dependency causing RuntimeWarning +--- Reporter: percious|Owner: mramm Type: defect | Status: closed Priority: highest |Milestone: 2.1b2 Component: TurboGears | Version: 2.1 Severity: normal | Resolution: worksforme Keywords: | +--- Changes (by mramm): * status: new = closed * resolution: = worksforme -- Ticket URL: http://trac.turbogears.org/ticket/2456#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2240: Improve the config system of TG2
#2240: Improve the config system of TG2 -+-- Reporter: chrisz |Owner: Type: enhancement | Status: new Priority: high |Milestone: 2.2 Component: TurboGears | Version: trunk Severity: major| Resolution: Keywords: config | -+-- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2240#comment:8 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2463: Failing Tests On Python 2.4
#2463: Failing Tests On Python 2.4 +--- Reporter: pedersen|Owner: Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.1a3 Severity: normal | Resolution: fixed Keywords: | +--- Changes (by lmacken): * status: new = closed * resolution: = fixed Comment: Partially applied in http://bitbucket.org/turbogears/tg- dev/changeset/2b1d48f1ffa5/ (I fixed the second issue a little bit differently earlier today). Thanks for the patch! -- Ticket URL: http://trac.turbogears.org/ticket/2463#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2457: [PATCH] Make override_template work for all content types
#2457: [PATCH] Make override_template work for all content types -+-- Reporter: lento|Owner: Type: enhancement | Status: new Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.1 Severity: normal | Resolution: Keywords: override_template, content_type | -+-- Changes (by jorge.vargas): * version: trunk = 2.1 * milestone: __unclassified__ = 2.1b2 Comment: Use case looks weird but the patch is ok. -- Ticket URL: http://trac.turbogears.org/ticket/2457#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2283: In model.auth.User, expose password-hashing mechanism
#2283: In model.auth.User, expose password-hashing mechanism ---+ Reporter: pitrou |Owner: Gustavo Type: enhancement| Status: assigned Priority: normal |Milestone: 2.2 Component: TurboGears | Version: 2.0b7 Severity: normal | Resolution: Keywords: authentication, model | ---+ Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2283#comment:5 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2458: [PATCH] Allow custom REST-like methods in RestController
#2458: [PATCH] Allow custom REST-like methods in RestController -+-- Reporter: lento|Owner: Type: enhancement | Status: new Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.1 Severity: normal | Resolution: Keywords: | -+-- Changes (by jorge.vargas): * version: trunk = 2.1 * milestone: __unclassified__ = 2.1b2 Comment: This patch looks good. -- Ticket URL: http://trac.turbogears.org/ticket/2458#comment:2 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2239: Simplify database migration in TG2
#2239: Simplify database migration in TG2 +--- Reporter: chrisz |Owner: Type: enhancement | Status: new Priority: normal |Milestone: 2.2 Component: SQLAlchemy | Version: 2.0b6 Severity: normal | Resolution: Keywords: sqlalchemy migrate | +--- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2239#comment:7 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2169: Migrating turbogears to pip
#2169: Migrating turbogears to pip --+- Reporter: jorge.vargas |Owner: jorge.vargas Type: task | Status: new Priority: normal|Milestone: 2.2 Component: TurboGears| Version: trunk Severity: normal| Resolution: Keywords: needs tests | --+- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2169#comment:18 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2467: Unable to Disable Unneeded Dependencies (Genshi ToscaWidgets)
#2467: Unable to Disable Unneeded Dependencies (Genshi ToscaWidgets) -+-- Reporter: lambacck |Owner: Type: defect | Status: new Priority: normal |Milestone: __unclassified__ Component: TurboGears | Version: trunk Severity: normal | Resolution: Keywords: toscawidgets genshi | -+-- Comment (by lambacck): I added a patch. After this patch is applied, ToscaWidgets and Genshi should only be required if they are being used. I did not change the install_requires in setup.py because I was not sure how this should be handled. I also made it so that Mako is not required when dotted names support is used. -- Ticket URL: http://trac.turbogears.org/ticket/2467#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2231: Add http verb based predicates
#2231: Add http verb based predicates --+- Reporter: jorge.vargas |Owner: Type: enhancement | Status: new Priority: normal|Milestone: 2.2 Component: TurboGears| Version: Severity: normal| Resolution: Keywords:| --+- Changes (by mramm): * milestone: 2.1 = 2.2 -- Ticket URL: http://trac.turbogears.org/ticket/2231#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2464: Missing changes.txt file
#2464: Missing changes.txt file +--- Reporter: pedersen|Owner: Type: defect | Status: closed Priority: normal |Milestone: 2.1b2 Component: TurboGears | Version: 2.1a3 Severity: normal | Resolution: fixed Keywords: | +--- Changes (by percious): * status: new = closed * resolution: = fixed -- Ticket URL: http://trac.turbogears.org/ticket/2464#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2466: [PATCH] Overlapping 'Content-Type' is set to pylons.resonse.headers
#2466: [PATCH] Overlapping 'Content-Type' is set to pylons.resonse.headers ---+ Reporter: Tomoyuki Kano |Owner: Type: defect | Status: new Priority: high |Milestone: __unclassified__ Component: TurboGears | Version: trunk Severity: major | Resolution: Keywords: | ---+ Changes (by Tomoyuki Kano): * summary: pylons.resonse.headers contains duplicated 'Content-Type' = [PATCH] Overlapping 'Content-Type' is set to pylons.resonse.headers -- Ticket URL: http://trac.turbogears.org/ticket/2466#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2462: member variable in Form called 'method', causing exception
#2462: member variable in Form called 'method', causing exception +--- Reporter: rmancy |Owner: Type: defect | Status: closed Priority: normal |Milestone: __unclassified__ Component: TG Widgets | Version: 1.0.8 Severity: normal | Resolution: invalid Keywords: | +--- Changes (by Chris Arndt): * status: new = closed * resolution: = invalid * component: TurboGears = TG Widgets -- Ticket URL: http://trac.turbogears.org/ticket/2462#comment:3 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] Re: [TurboGears] #2462: member variable in Form called 'method', causing exception
#2462: member variable in Form called 'method', causing exception +--- Reporter: rmancy |Owner: Type: defect | Status: new Priority: normal |Milestone: __unclassified__ Component: TurboGears | Version: 1.0.8 Severity: normal | Resolution: Keywords: | +--- Comment (by xaka): If you take a look on Form's class definition: {{{ class Form(FormFieldsContainer): form = True name = form member_widgets = [submit] params = [action, method, form_attrs, use_name, submit_text] }}} You can see that '''method''' already defined as widget's parameter. Parameters can be not just a value, but a callable object. If parameter is callable it will be called _before_ passing to widget's template. Also it will be called when you'll try to access to that parameter via dot- notation (my_widget.method). What did you? In your class you assign instance of SingleSelectField to '''method''' variable. SingleSelectField is the widget. Every widget is callable object. At call time it returns ElementStream/Element instance. Also you define '''method''' as member widget which already defined as widget's parameter. At the render time TG's internal code tried to access to your member widget '''method''', which is parameter too, and expected to get Widget- base instance, but got Element instance. Why? Because '''method''' is the parameter, it has instance of some widget and as we know - every widget is the callable object. -- Ticket URL: http://trac.turbogears.org/ticket/2462#comment:1 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2463: Failing Tests On Python 2.4
#2463: Failing Tests On Python 2.4 +--- Reporter: pedersen| Owner: Type: defect | Status: new Priority: normal | Milestone: 2.1b2 Component: TurboGears | Version: 2.1a3 Severity: normal |Keywords: +--- TG2.1a3 fails to run on Python 2.4 due to a ternary operator. Patch at http://bitbucket.org/pedersen/tg-dev/changeset/e255e7a4a99e/ gets the tests passing for 2.4. The second part of that patch fixes an issue with the super operator in 2.4. In 2.4, Exception is an old style class. super requires new style classes to work. The only real fix was to remove the call to super. -- Ticket URL: http://trac.turbogears.org/ticket/2463 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
[tg-tickets] [TurboGears] #2462: member variable in Form called 'method', causing exception
#2462: member variable in Form called 'method', causing exception +--- Reporter: rmancy | Owner: Type: defect | Status: new Priority: normal | Milestone: __unclassified__ Component: TurboGears | Version: 1.0.8 Severity: normal |Keywords: +--- TurboGears 1.0.8 Python 2.4.3 I have this widget. It does not seem to work because of the 'self.method' member variable. I get the stacktrace below {{{ class ReserveWorkflow(Form): member_widgets = ['method'] params = [] template=beaker.server.templates.reserve_workflow def __init__(self,*args,**kw): super(ReserveWorkflow,self).__init__(*args, **kw) self.method = SingleSelectField(name='method', label='Method', options=[(-1,'None')] + [(elem,elem) for elem in model.Distro.all_methods()]) }}} {{{ raceback (most recent call last): File /usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py, line 121, in _run self.main() File /usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py, line 264, in main body = page_handler(*virtual_path, **self.params) File string, line 3, in index File /usr/lib/python2.4/site-packages/turbogears/controllers.py, line 358, in expose output = database.run_with_transaction( File string, line 5, in run_with_transaction File /usr/lib/python2.4/site-packages/turbogears/database.py, line 410, in sa_rwt retval = func(*args, **kw) File string, line 5, in _expose File /usr/lib/python2.4/site-packages/turbogears/controllers.py, line 373, in lambda mapping, fragment, args, kw))) File /usr/lib/python2.4/site-packages/turbogears/controllers.py, line 410, in _execute_func output = errorhandling.try_call(func, *args, **kw) File /usr/lib/python2.4/site-packages/turbogears/errorhandling.py, line 77, in try_call return func(self, *args, **kw) File /home/raymond/dev/Beaker/test3/Server/beaker/server/reserve_workflow.py, line 13, in index widget = ReserveWorkflowWidget() File /usr/lib/python2.4/site-packages/turbogears/widgets/meta.py, line 175, in widget_init validator = generate_schema(self.validator, widgets) File /usr/lib/python2.4/site-packages/turbogears/widgets/meta.py, line 283, in generate_schema if widget.is_named: AttributeError: 'Element' object has no attribute 'is_named' }}} Now if I change it to 'self.method_' (notice the trailing underscore) and obviously change the corersponding entry in member_widgets and in the template, then it works fine. Not sure what the problem is. Maybe something to do with the iter_member_widgets generator object ?? -- Ticket URL: http://trac.turbogears.org/ticket/2462 TurboGears http://www.turbogears.org/ TurboGears front-to-back web development -- You received this message because you are subscribed to the Google Groups TurboGears Tickets group. This group is read-only. No posting by normal members allowed. To unsubscribe from this group, send email to turbogears-tickets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-tickets?hl=en?hl=en