tter seem more suited for the queueing of "short-term" tasks.
What I require seems simple, just run the requested process in the
background. The terminal equivalent would be:
"nohup &" and return control to the view.
Any ideas on how to achieve this?
Many thanks,
-heath
orker available. But, in
my case, the processes are not doing much until there is folder
activity, and I need to add worker instances dynamically.
I feel like I'm just missing something.. Launching system processes
must be a common idiom for a web app, no?
I do appreciate the response,
-heat
/23/large-problems-django-mostly...
>
> /kmpm
>
> On Sep 6, 7:20 pm, Heath wrote:
>
> > Thanks! yes,
>
> > os.system() will launch the process and return control, but then I'd
> > have to write a utility to get the PID and other data about the
> > proc
Hello, I am using sorl thumbnail generation and all works well under
the Django development server.
On the production server (Apache:81-django; Lighttpd:80- static),
there is no key/value created in response to the template tag request,
and hence, no thumbnail generated.
If the same view is then
ny thoughts on this? They would be most welcome.
cheers,
-h
On Dec 21, 3:51 pm, Heath wrote:
> Hello, I am using sorl thumbnail generation and all works well under
> the Django development server.
>
> On the production server (Apache:81-django; Lighttpd:80- static),
> there is
Solved by setting the /cache/ directory to be owned by (on
Ubuntu) www-data:www-data
and to correct my earlier guess, /cache/... is the location
of the generated thumbnails, not temp storage.
-h
On Dec 23, 11:52 am, Heath wrote:
> By enabling sorl's error - reporting I get th
I believe I have done my due diligence, but point me in the right direction if
I am missing something.
I am working on a generic importing engine to import various file formats(csv,
fixed length, etc) into django models based on json formatted file definitions.
It needs to do something like th
I am getting the following error when the queryset tries to generate the SQL:
"'str' object has no attribute 'ewkb'"
Here is what I am doing that causes the problem:
shapes = Shape.objects.filter(geom__bboverlaps=bbx)
shape_info = shape_info.filter(shape__in=shapes)
Models are:
It has been a couple of weeks without a reply. Is there somewhere else I
should post this or am I on my own?
Begin forwarded message:
> From: "Robinson B. Heath"
> Date: January 4, 2011 11:41:48 PM CST
> To: django-users@googlegroups.com
> Subject: PostGISAdapter error
I am getting the following error when I try a complicated filter with a join
involving bboverlaps.
Join on field 'shape' not permitted. Did you misspell 'bboverlaps' for
the lookup type?
Here is the line that causes the problem.
saved_properties =
saved_properties.filter(property__parcel__shape
10 matches
Mail list logo