Hi,
I'm not sure if this question belongs here because it touches Pyramid as
well as Nginx.
I have two web applications, one called rhino another called mantis
(rhino.abc.com & mantis.abc.com). Mantis is some sort of web service
without any page templates; it converts data sent from Rhino in
Thanks everyone. I finally decided to re-do my setup and it worked.
On Wednesday, 13 June 2012 16:04:35 UTC-5, Mike Orr wrote:
>
> On Wed, Jun 13, 2012 at 10:36 AM, Mark Huang
> wrote:
> > Hi all,
> >
> > I recently transferred all my code to a production server and was trying
> to start my
On Wed, Jun 13, 2012 at 10:36 AM, Mark Huang wrote:
> Hi all,
>
> I recently transferred all my code to a production server and was trying to
> start my application as another user. I am using Debian and running as root.
> I entered the following command:
>
> pserve production.ini --user=www-d
On 06/13/2012 10:52 PM, Mike Orr wrote:
> On Wed, Jun 13, 2012 at 12:32 AM, Marius Gedminas wrote:
>
>> libreadline-dev is also something I would want to have if I ever had to
>> build my own Python. apt-get build-dep is a very good idea on Ubuntu.
> My Ubuntu 12.04 says there's no such package w
On Wed, Jun 13, 2012 at 12:32 AM, Marius Gedminas wrote:
>> Just a little recommendation that I can _barely_ recall it gave me trouble in
>> the past: verify that you have the developer headers for sqlite3 and zlib,
>> otherwise you won't have access to sqlite and, regarding zlib, some third
>> p
Thanks Randall. Your explanation really helped!
On Tuesday, 12 June 2012 14:31:05 UTC+8, Mark Huang wrote:
>
> Hi Pyramid experts,
>
> I am about to launch a web application soon and I realized I had some
> problems with js and css assets (minimizing and which one to use for
> production and
Awesome job Mike, thank you.
On 4 June 2012 02:06, Mike Orr wrote:
> The "Pyramid for Pylons Users" guide is finally finished. It's in the
> Pyramid Cookbook:
>
> http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/pylons/index.html
>
> Yaay, now I can finally start working on oth
On Wed, Jun 13, 2012 at 10:27 AM, Mark Huang wrote:
> Hi everyone,
>
> Thanks to everyone that contributed to this thread, I really appreciate it. I
> have one more question that's been bothering me though:
>
> Managing assets in you python code, be it writing a bundle/library OR calling
> a jqu
I'm just wondering -- do you get the same errors with --user or --
group as you do with both --user & --group ?
i typically deploy like this:
$ sudo bash
$ su www-data
$ cd /var/www/virtual_envs
$ virtualenv maypp-2.7 ## or whatever python version
$ source /var/www/virt
On 06/13/2012 03:21 PM, Chris McDonough wrote:
On 06/12/2012 06:36 PM, Wade Leftwich wrote:
With the Pyramid docs in ebook form on my phone I tend to browse them
at odd times. Today, standing in line at the post office, I stopped at
this paragraph right near the beginning:
"""
It’s useful to use
This is awesome! I wish this was available when I was learning authentication
for pyramids. In the original documentation it wasn't very clear that making a
call to remember would trigger the group finder callback function. This doc is
very good and I highly recommend reading this over the main
Hi all,
I recently transferred all my code to a production server and was trying to
start my application as another user. I am using Debian and running as root.
I entered the following command:
pserve production.ini --user=www-data --group=www-data start
This caused an import error: "No modu
Hi everyone,
Thanks to everyone that contributed to this thread, I really appreciate it. I
have one more question that's been bothering me though:
Managing assets in you python code, be it writing a bundle/library OR calling a
jquery.need() while writing your pyramid view, this just feels a bit
Hi Randall,
I really like your solution and I think I'll try it out. Thanks for the code
snippet, although I use Mako and I'm not too sure when environment["urls"]
resolves to many urls when debug=True, whether mako has the ability to turn
that into multiple link tags
Does environment["url
On Jun 13, 9:21 am, Chris McDonough wrote:
> That wording should probably be revisited because you're not the first
> to ask. More accurate is the statement "it's a real pain in the ass
> when someone walks into IRC and gives us a Python compilation scenario
> that can only be replicated with
Hi,
I'm an Ubuntu user (well, I'm a Linux Mint user actually) but I work with
Ubuntu servers and at the time of Ubuntu 8 I wanted to have Python2.6
instead of the standard Python2.5 of the system. I used to compile it to
get "my" version but this got me in problems with Apache+mod_python because
I
On 06/12/2012 06:36 PM, Wade Leftwich wrote:
With the Pyramid docs in ebook form on my phone I tend to browse them
at odd times. Today, standing in line at the post office, I stopped at
this paragraph right near the beginning:
"""
It’s useful to use a Python interpreter that isn’t the “system” Py
FTR, there is also https://github.com/FormAlchemy/pyramid_fanstatic
On Wed, Jun 13, 2012 at 3:17 PM, Kai Groner wrote:
> I created patch for pyramid_webassets that adds support for asset specs.
> I'm hoping maybe it will be in a future release.
>
> https://github.com/sontek/pyramid_webassets/pul
I created patch for pyramid_webassets that adds support for asset specs.
I'm hoping maybe it will be in a future release.
https://github.com/sontek/pyramid_webassets/pull/4
Kai
On Wed, Jun 13, 2012 at 3:00 AM, Robert Forkel wrote:
> I just started using webassets with mako templates for an ex
I've had to build my own before on servers which had old versions as
default (*cough* Red Hat *cough*) and it comes in very handy as long as you
combine with virtualenv to avoid confusion. You might find that certain
libs are missing and you have to do it (as Mariano mentions) - I think I
had to do
On Wed, Jun 13, 2012 at 12:09:23AM -0300, Mariano Mara wrote:
> Quoting Mike Orr (2012-06-12 22:49:36)
> > On Tue, Jun 12, 2012 at 3:36 PM, Wade Leftwich wrote:
> > > With the Pyramid docs in ebook form on my phone I tend to browse them
> > > at odd times. Today, standing in line at the post offic
Il giorno 12/giu/2012, alle ore 21:54, Jonathan Vanasco ha scritto:
> wondering if anyone else has run into this.
>
> this will cause uWSGI to die ( DAMN ! worker 1 (pid: 6809) died,
> killed by signal 10 :( trying respawn ... ):
>
>import urllib2
>result = urllib2.urlopen( 'http://cnn.
I just started using webassets with mako templates for an existing
project. All assets are included in a site template (site.mako).
Assets come from various sources, e.g. the deform package. So what I
do (which may be crazy): Have my build script parse site.mako to
assemble the bundles (resolving r
23 matches
Mail list logo