Re: [pylons-discuss] Waitress server does not stop after CTRL+C (port still listening)

2019-12-07 Thread Christoph Zwerschke
Am 07.12.2019 um 00:06 schrieb Eduardo Oliveira: I am running waitress + flask on windows. After I stop the waitress process by CTRL+C, the port keeps listening and I have to reset the server to get rid of that process. What should I do to fix that? I had a similar problem with waitress 7

Re: [pylons-discuss] Any guidance pylons and Angular2 combination

2017-10-27 Thread Christoph Zwerschke
Am 27.10.2017 um 11:18 schrieb Narendra Palavelli: > Is there any link or guide about Pylons and angularjs2 combination and configuration settings > I've application and tech stack is pylons and jinj2. we would like to introduce Angular2 in between, so Is there any guidance or link

Re: [pylons-discuss] pyramid and react working together?

2017-08-25 Thread Christoph Zwerschke
Am 25.08.2017 um 13:59 schrieb Paul Everitt: > Obviously I’m biased, but…PyCharm Professional (which embeds WebStorm) > does a really good job on this front. I do hybrid projects frequently. Yes, it works in principle. However, in PyCharm when you create a new project, you cannot create a

Re: [pylons-discuss] pyramid and react working together?

2017-08-25 Thread Christoph Zwerschke
Am 25.08.2017 um 09:35 schrieb Bert JW Regeer: ES7 with Babel and you get the same thing. Let the transpiler worry about converting it to something the browser is happy with. Right. With TypeScript you have the additional big advantage of types - the typescript compiler will show you errors

Re: [pylons-discuss] pyramid and react working together?

2017-08-25 Thread Christoph Zwerschke
Am 25.08.2017 um 09:00 schrieb Mikko Ohtamaa: > * Front end and back end codebases can live in separate repositories, > with some third repository for integration tests if needed It makes also sense to separate them as IDE projects, as most IDEs do not understand the concept of a hybrid

Re: [pylons-discuss] Book on Pyramid

2017-07-14 Thread Christoph Zwerschke
Am 14.07.2017 um 09:50 schrieb Steve Piercy: > * How do I use with Pyramid? The book should distinguish between JavaScript-enhanced server-side PYramid applications and use of Pyramid as the backend for single-page applications. In the latter case you would use Pyramid only as a GraphQL or

Re: [pylons-discuss] Re: Site https://docs.pylonsproject.org is not working

2017-06-29 Thread Christoph Zwerschke
Am 29.06.2017 um 15:07 schrieb Marcin Raczyński: It is working now. see also https://github.com/rtfd/readthedocs.org/issues/2981 -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from

Re: [pylons-discuss] [off-topic] The Case Against Python 3

2016-11-24 Thread Christoph Zwerschke
Has the same taste as the recent election campaign. Start with extraordinary and alarming, but totally false and uneducated claims ("Python 3 is not Turing complete", "you can't run Python 2 and Python 3 along with each other" etc.) and conclude that we should revert everything and do things

Re: [pylons-discuss] which renderer should I use for pdf?

2016-06-06 Thread Christoph Zwerschke
Am 06.06.2016 um 08:02 schrieb Krishnakant: Then I would want an ajax call to get the pdf from that view callable. So in the ajax call using jquery I can set application/pdf, but what should I write in the renderer in view_config is my question. And should I return the pdf as a value of a key in

Re: [pylons-discuss] Re: Recommendations regarding session factory?

2016-04-18 Thread Christoph Zwerschke
Am 18.04.2016 um 06:04 schrieb Jonathan Vanasco: I use a heavily forked version of pyramid_redis_sessions. the actual distribution hits redis way too much and caused bottlenecks for us. it uses multiple calls when only one is needed, and sets a new expire on every attribute access (only one is

[pylons-discuss] Recommendations regarding session factory?

2016-04-17 Thread Christoph Zwerschke
Am 16.04.2016 um 23:27 schrieb Michael Merickel: - You may also set "pyramid.require_default_csrf = yes" to globally enable CSRF on your entire application and turn it off on a per-view basis using "require_csrf=False" on individual views. This requires to enable a session factory, though. I

Re: [pylons-discuss] Issues of Pyramid

2014-09-05 Thread Christoph Zwerschke
Am 05.09.2014 um 07:22 schrieb Bert JW Regeer: On Sep 4, 2014, at 22:51 , Steve Piercy steve.piercy@gmail.com wrote: You can add comments to open issues. Comments should add value that lead toward a fix. +1's are noise and make us sad. While I tend to agree that +1's are noise, I do

Re: [pylons-discuss] pyramid_ldap and Python 3

2014-05-02 Thread Christoph Zwerschke
Am 02.05.2014 21:37, schrieb Steve Piercy: Would this be a Pyramid supported add-on, a cookbook recipe, or something else? http://docs.pylonsproject.org/en/latest/docs/pyramid.html#supported-add-ons http://docs.pylonsproject.org/projects/pyramid-cookbook/en/latest/ If there was an incubator

Re: [pylons-discuss] pyramid_ldap and Python 3

2014-02-28 Thread Christoph Zwerschke
Am 28.02.2014 04:03, schrieb Mike Orr: Is Django using python_ldap or something else? They are having the same problem: https://groups.google.com/forum/#!topic/django-auth-ldap/T80u61-ZM5k -- Christoph -- You received this message because you are subscribed to the Google Groups

Re: [pylons-discuss] pyramid_ldap and Python 3

2014-02-26 Thread Christoph Zwerschke
Am 25.02.2014 19:50, schrieb Jonathan Vanasco: ldap compatibility is by no means a measure of utility to web-applications. i've seen very few webapps need ldap, though many GUI and email systems often need it. Maybe true for public web apps, but according to my experience authentication

[pylons-discuss] pyramid_ldap and Python 3

2014-02-25 Thread Christoph Zwerschke
According to http://blog.jetbrains.com/blog/2013/10/21/webinar-recording-production-python-3-web-development-with-pyramid-and-pycharm/ Python 3 was considered ready to go for web development last year. With this expectation, I just started a Pyramid project with Python 3, but was already

Re: [pylons-discuss] pyramid_ldap and Python 3

2014-02-25 Thread Christoph Zwerschke
Am 25.02.2014 17:31, schrieb Whit Morriss: forking it, making it py3 compatible, and issuing a pull request In this case the show stopper is not pyramid_ldap which could easily be made Py 3 compatible, but the underlying libraries, particularly python-ldap which seems to be nontrival to port

Re: I look for a standalone hash and check password library which follow « Password Storage» of Mozilla Security Guilines

2013-09-17 Thread Christoph Zwerschke
Am 17.09.2013 14:48, schrieb ian marcinkowski: I use passlib for password hashing. http://pythonhosted.org/passlib/ Another vote for passlib. Code and docs are exemplary. -- Christoph -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To

Re: WebError: new release

2013-06-18 Thread Christoph Zwerschke
Am 18.06.2013 17:49, schrieb John Anderson: If you are using Pyramid, a lot of people have switched over to using https://github.com/Pylons/pyramid_exclog which is still getting updates and releases. Maybe you can also use https://github.com/TurboGears/backlash which replaces WebError in the

Is there a default setting for http_cache?

2013-06-11 Thread Christoph Zwerschke
Is it possible to set the http_cache parameter globally for all views in a Pyramid application? -- Christoph -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Issue with Pylons 1.0

2013-03-07 Thread Christoph Zwerschke
Am 07.03.2013 15:44, schrieb pina...@vvidiacom.com: If I need to install the module, I have following queries: 1. Why isn't it included as a dependency for pylons? Why do I need to explicitly install the module? Because it's not a dependency of Pylons, but a dependency of your example

No Pyramid-Debugtoolbar with Dojo

2012-11-09 Thread Christoph Zwerschke
Much to my regret I just found that the Pyramid debug toolbar does not work with applications that are using Dojo. This is because the debug toolbar uses require.js which does not work when Dojo has already defined its own require function. I think that's very unfortunate since Pyramid + Dojo

Re: pylonsproject.chipin.com set up for docs overhaul pledge collections

2012-02-17 Thread Christoph Zwerschke
Some people may not be aware of this. Maybe you should put a link to the contribution page on the Pylons homepage. -- Christoph -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: Turbogears to Pyramid

2012-02-01 Thread Christoph Zwerschke
Am 01.02.2012 20:36, schrieb sajuptpm: Reason to this change is, Pylons stopped further support for TG2. There may be reasons for switching from TG2 to Pyramid, but that is not a valid reason. Pylons will not be a requirement any more in TG 2.3. There had been plans to create a next

Re: Is there any case where chameleon is more preferred?

2011-12-18 Thread Christoph Zwerschke
Am 18.12.2011 01:26, schrieb jerry: Besides, when both the number and complexity of your templates grow, it'll be appreciated more and more that your final HTML will be well- formed (and free from XSS attack) so long as each individual template is validated. This is kind of like unit testing to

Re: Is there any case where chameleon is more preferred?

2011-12-18 Thread Christoph Zwerschke
Am 18.12.2011 12:49, schrieb Malthe Borch: That's not entirely true. Chameleon knows if its inside an attribute or outside. It also provides you the static attribute default (as the variable default). I was not talking about using ${...} in attributes, but virtually everywhere, i.e. instead

Re: Pyramid HTTP Redirect Usage

2011-11-23 Thread Christoph Zwerschke
Am 23.11.2011 06:55, schrieb Eric Rasmussen: I believe this pattern came about because browsers will resubmit POST data if you don't issue a redirect after a POST request. If I submit a form on your website and you render the response without redirecting, then when I click refresh in the

Re: Pyramid Debug Toolbar: Issue #44

2011-11-14 Thread Christoph Zwerschke
Am 14.11.2011 11:02, schrieb Simon Yarde: A temporary patch/workaround would be really useful, other than turn off debugging :) Here is a patch for this issue, let us know how it works: https://github.com/Pylons/pyramid_debugtoolbar/pull/43 -- Christoph -- You received this message

Re: Pyramid Debug Toolbar: Issue #44

2011-11-14 Thread Christoph Zwerschke
Am 14.11.2011 12:34, schrieb Simon Yarde: This may be a big ask... but could you briefly outline the steps I would need to take to download pyramid debug toolbar from github and apply the patch; and following this how I would update it for future tagged releases? Well, the easiest way is to

Re: any plugin for pylons or mako in eclipse?

2011-11-12 Thread Christoph Zwerschke
Am 12.11.2011 07:00, schrieb Krishnakant Mane: I am trying to search if there is a plugin for pylons or specifically mako? I don't know about Mako, but Aptana Studio 3 comes with an Django template editor which is also suited for Jinja2 templates. Like it. -- Christoph -- You received this

Building RIAs with Pyramid

2011-11-08 Thread Christoph Zwerschke
I’d like to learn some best practices for building RIAs with Pyramid. So far I have built more or less classical web apps, spiced up with some unobtrusive JavaScript. E.g. the user is presented a list of items on one page; when clicking on one, a new page is loaded with an edit form; when the

Re: Does Chameleon have a comment syntax?

2011-08-10 Thread Christoph Zwerschke
Am 10.08.2011 12:35, schrieb Malthe Borch: The syntax to drop a comment was always: !--! this comment is dropped -- That's from Genshi and it's been in there since 2.0-rc11. To add to the confusion, I've just added support for: !--? this comment is copied in verbatim (e.g. no

Re: Does Chameleon have a comment syntax?

2011-08-10 Thread Christoph Zwerschke
Am 10.08.2011 13:33, schrieb Malthe Borch: But this is exactly what's in Chameleon already. If you put a ! in the beginning of your comment, it will be dropped from output. Ok, then this was just a misunderstanding. The ? then probably only means that no string substitution should take place,

Re: Does Chameleon have a comment syntax?

2011-08-09 Thread Christoph Zwerschke
Am 09.08.2011 18:24, schrieb Malthe Borch: Traditionally, this is done like this: tal:comment replace=nothing Some comment /tal:comment It's a little crude. There could be an explicit syntax for it I suppose. Have you tried what happens to XML comments? -- Christoph -- You

Re: Does Chameleon have a comment syntax?

2011-08-09 Thread Christoph Zwerschke
Am 09.08.2011 21:04, schrieb Malthe Borch: It's kind of tricky this comment business, because we already have one syntax to include comments as is (verbatim): !--! even ${'expressions'} are ignored in here -- Is Genshi really behaving like that? Kid-Templates do it the other way around,

Re: config.add_static_view no longer capable of serving favicon.ico?

2011-06-03 Thread Christoph Zwerschke
Am 03.06.2011 12:01 schrieb Chris Withers: ...which worked fine, however, in Pyramid 1.0, while /static/favicon.ico is served fine, /favicon.ico is not. I'm not sure why, but it seems you need this workaround:

Re: the danger of debug on production server

2011-03-23 Thread Christoph Zwerschke
Am 23.03.2011 11:41, schrieb Adrien: Just a thought about security: with default pyramid templates, paster is listening on 0.0.0.0 and with debug mode activated. Wouldn't this be a security issue for newcomers if they are not behind a NAT or running a firewall ? Yes, I'd also suggest setting

Re: email?

2011-03-02 Thread Christoph Zwerschke
Am 02.03.2011 03:37, schrieb Alice Bevan–McGregor: The next major release will also be accompanied by a name change to distance the package from TurboGears. (There is nothing TurboGears-specific or -required by the TurboMail package.) But I hope the TG adapters will not be removed. I'm using

Re: some thoughts on pyramid

2011-02-23 Thread Christoph Zwerschke
Am 22.02.2011 21:30, schrieb Alice Bevan–McGregor: Being written in Python isn't technical merit for the use of the system, just an interesting fact about a system I would otherwise never use. Basically true, but if you're using a Python tool it is often easier to find bugs and fix them on your

Re: some thoughts on pyramid

2011-02-19 Thread Christoph Zwerschke
Am 18.02.2011 17:46 schrieb Chris McDonough: On Fri, 2011-02-18 at 06:46 -0800, Jonathan Vanasco wrote: 1. I think it would be better if everything related to Pyramid/Pylons were on a single system ( ie: GitHub or BitBucket ). I'd like that too, but not everyone is comfortable with a single

Re: logging in Pylons-1.0 virtualenv

2011-01-09 Thread Christoph Zwerschke
Am 09.01.2011 23:31 schrieb BrianTheLion: It seems that maybe --no-site-packages doesn't quite do what it's supposed to: It seems you're missing the fact that logging is in the standard lib since Py 2.3, it's not a maintained external package any more. The virtualenv intentionally uses the

Re: Small doc correction for windows

2011-01-04 Thread Christoph Zwerschke
Am 04.01.2011 15:07 schrieb Tony Theodore: the bin\activate.bat should be Scripts\activate.bat Also, the rest of the docs should assume the virtualenv has been activated, so that bin resp. Scripts is in the PATH and you can just call python, easy_install or paster instead of bin/python,

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Christoph Zwerschke
Am 16.12.2010 21:24 schrieb Bruce Wade: I agree with everything Jeremy says, plus using jQuery instead of pyjamas gives you 100% control over everything including your HTML. Maybe it is just a personal bias or because I come from a C/C++ programming world but I can't stand how some technology

Re: pylons.config and development.ini

2010-11-18 Thread Christoph Zwerschke
Am 18.11.2010 21:07 schrieb Tomasz Narloch: There exists some way to automatically convert or load variables from ini as unicode? You probably need to do that manually, just as you need to convert bools, ints or lists from paste ini-files. They are all read as strings only. That's one thing

Re: Notes on Pylons 1.x code-base and the Pylons Framework

2010-11-09 Thread Christoph Zwerschke
Am 08.11.2010 21:18 schrieb Tim Black: Get Pyramids| Need more? Get TurboGears The more/less dichotomy may be somewhat misleading, though. The top layers will certainly add features and functionality, but on the other hand they will also hide some of the lower-level features and

Re: Notes on Pylons 1.x code-base and the Pylons Framework

2010-11-09 Thread Christoph Zwerschke
Am 09.11.2010 20:03 schrieb Mike Orr: Still, the idea of the catchy links is good. We could have a What's the difference? link next to it. I think the barebone Pyramid should be labelled something like core or base. Most people would understand what that means. Not sure what would be the

Re: Notes on Pylons 1.x code-base and the Pylons Framework

2010-11-09 Thread Christoph Zwerschke
Am 09.11.2010 21:26 schrieb Tim Black: I agree fully on this, and I can see that if someone new to Pyramid comes along and sees the word more, they might think, well, I don't want more work, I want the easiest set of defaults to start with, and they would end up picking Pyramid when they

Re: Notes on Pylons 1.x code-base and the Pylons Framework

2010-11-09 Thread Christoph Zwerschke
Am 09.11.2010 21:38 schrieb Chris McDonough: Personally, I'm in the application features camp. I don't really want different defaults, or more frameworky bits for the sake of distinction I'm with you on that. And by application I don't mean bare html web forms, but attractive RIAs with

Re: accessing c or tmpl_context variables in javascript

2010-11-02 Thread Christoph Zwerschke
Am 02.11.2010 02:16 schrieb Marius Gedminas: Incidentally, that strange#39;s quoting could be a bug -- I'm surprised to see ' quoted while isn't. The outer is part of the JSON syntax, while the inner ' isn't. If you put a inside the string, it will be quoted, too. One solution is to use

Re: Formencode 1.2.2 UnicodeEncodeError

2010-09-02 Thread Christoph Zwerschke
Am 02.09.2010 13:02 schrieb mileako: I have a probleme with formencode, my app return always UnicodeEncodeError with Email input is not a valid. You should post a bug report here: http://trac.pythonpaste.org but without raw_input, since this is hard to reproduce. I'm sure you didn't input

Re: Formencode 1.2.2 UnicodeEncodeError

2010-09-02 Thread Christoph Zwerschke
Am 02.09.2010 19:40 schrieb cd34: On Sep 2, 1:34 pm, Mike Orrsluggos...@gmail.com wrote: maybe the console is set to ascii, and it found a non-ASCII character in the input. '\x39' is 'é' in Latin-1, which doesn't make sense in an email address. Of course, we don't know the character set, it