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 "bob
Am 02.09.2010 19:40 schrieb cd34:
On Sep 2, 1:34 pm, Mike Orr 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 could be
Remember tha
Am 02.11.2010 02:16 schrieb Marius Gedminas:
Incidentally, that strange'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 s
Creating a JSONRPC extension, paster templates and a chapter in the docs
for using Pyramid with Pyjamas would be great. It's already on my
todolist, but not so high. I hope that somebody can beat me to it.
-- Christoph
--
You received this message because you are subscribed to the Google Group
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
c
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 th
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 probab
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 Jav
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 I
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 tri
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
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 de
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 sy
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 you
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 usin
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 sett
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:
http://docs.pylonsproject.org/projects/pyramid/1.0/narr/assets.html#registering-a-vie
Am 09.08.2011 18:24, schrieb Malthe Borch:
> Traditionally, this is done like this:
>
>
> Some 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 received this message because you a
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):
>
>
Is Genshi really behaving like that? Kid-Templates do it the other way
around, the above would be excluded from output, whereas
Am 10.08.2011 12:35, schrieb Malthe Borch:
> The syntax to drop a comment was always:
>
>
>
> 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:
>
>
Why don't you do it the same way as in Kid and Genshi? Just looked it up
a
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 pla
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
Am 08.11.2011 19:21, schrieb Eric Rasmussen:
Hope this gives you some ideas!
Yes, thanks for these hints by you and others.
-- Christoph
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@go
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
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 becaus
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 get
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 brows
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 m
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. instea
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 generat
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 pylons-discuss@googlegroups.
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 i
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 project
The docs say at
https://pyramid.readthedocs.org/en/latest/api/authentication.html "if
you don’t specify md5 as the hashalg explicitly, a warning is issued at
application startup time."
This is true, however this is implemented as a deprecation warnings, and
since Python 2.7 such warnings are
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
Am 12.06.2013 10:24, schrieb Paweł Dobrowolski:
I used to do things like that using wrapped view_config decorator.
https://gist.github.com/pmdz/5763651
Nice, should be added to
http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/views/index.html
-- Christoph
--
You received t
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 l
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
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 thwa
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
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 again
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
"pylons-discu
Am 26.02.2014 21:14, schrieb Christoph Zwerschke:
I'm now discussing with the python3-ldap author on getting the pooling
functionality into python3-ldap and then modify pyramid_ldap to be based
on that so that it will run everywhere and without C extension. Will
report back to the mailing
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" s
Am 03.05.2014 00:00, schrieb Michael Merickel:
Did we skip past attempting to merge this with pyramid_ldap? Not feasible?
I would not merge them since they are based on very different LDAP
libraries (a mature one based on OpenLDAP and new one in pure Python)
and therefore there are minor comp
Am 05.09.2014 um 07:22 schrieb Bert JW Regeer:
On Sep 4, 2014, at 22:51 , Steve Piercy 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 think they can add value in
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 tr
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
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
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 in
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 i
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
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 projects
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 ea
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 hybrid
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
need
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 ye
57 matches
Mail list logo