Thanks for that.
i will use a module.
Stefan
On Feb 28, 4:45 pm, mdipierro wrote:
> redirect(URL()) does not call another controller. sends
> instructions to the client to call another controller action.
>
> If you really need to call another controller you can do what
> described here:http:
Probably just "applications/%s/init/languages/%s" repository?
I guess that the best way for evaluation of the translation is a
rating, based on many reviews.
(However the rating won't work for small countries which contain less
than 100 professional Python developers.)
On Feb 28, 5:47 pm, mdipie
It's awesome. Thanks. Only criticism is that slice is so sparse in
terms of toppings. A few more details might be needed for the real
newbies out there. Adding a controller and view would make it
complete. I could say the same about some other slices, I imagine.
Anyway, I managed to plow through it
I think adding a monitor to HTTP port of web2py.com's server (using a
free service like Hyperspgin[1]) could help.
[1] http://www.hyperspin.com/en/
On Sun, Feb 28, 2010 at 10:01, mdipierro wrote:
> This is what the vps.ner logs show:
>
> http://groups.google.com/group/web2py/web/network_graph.pn
follow up...
one thing is not clear to me. Say a cron job should start every 10
minutes. If the actual execution of the job takes longer (say 15
minutes) what is the right thing to do?
1) Queue them (thus running every 15 minutes but the size of the queue
gets longer and longer)?
2) Skip an extra
I discovered a race condition problem in web2py cron. This may cause
spikes in the number of web2py processes and eat lots of memory on
your system when running multiple processes. Some of you have reported
the problem.
I changed wsgihandler in trunk and replaced
from gluon.contrib.wsgihooks i
Here's a slice that may work for you (this isn't the pengoworks
plugin):
http://www.web2pyslices.com/main/slices/take_slice/66
On Feb 28, 8:47 pm, weheh wrote:
> Anybody used jQuery autocomplete plugin with web2py? I am trying to
> get it to work with a url (localhost first, then my server), but
Anybody used jQuery autocomplete plugin with web2py? I am trying to
get it to work with a url (localhost first, then my server), but can't
seem to get it to run. If you wouldn't mind sharing a simple example
it would be appreciated. Thanks.
--
You received this message because you are subscribed
hi,
I am trying to install web2py on hostmonster (fcgid) using this (how
to install django)
http://www.hostmonsterforum.com/showthread.php?t=3100
but ... :(
fcgi scripts are running only from cgi-bin/ directory,
tried to install just cherrypy and it seems not finding a free port,
logs says that
Patch submitted. It adds crud.settings.create_captcha and
crud.settings.update_captcha.
On Feb 27, 12:50 am, "hamdy.a.farag" wrote:
> Hi
>
> The reason for this is that any field added to a form needs to be
> added b4 if form.accepts() so that validation can work , otherwise
> validation will no
On Sun, Feb 28, 2010 at 11:54, Thadeus Burgess wrote:
> Most have no use for emacs its not necessary to having a running
> web2py server. Emacs is a preference, just as others prefer VIM, and
> other prefer simple nano.
+1
As emcas is not a dependency for web2py I think the script don't need
Hi Massimo,
Probably (and probably not) because I manually delete applications/
myapp/uploads/*.jpg, somehow I encounter an exception when gonna
display a crud.update(...) form.
The error traceback:
..
File "C:\DOWNLOAD\google_appengine\web2py\gluon\html.py", line 452,
in _traverse
ne
About CodeMirror I am told by one of the authors that:
- lines that are not militantly aligned to 4-space increments are
flagged as errors.
- Codemirror has no regexp searching
- Codemirror is slower than Editarea
Bespin requires HTML5 and therefore is not really compatible with many
browser.
I'
Hello (I'm new here :),
the code-editor of web2py often has display errors (on SRWare Iron (a
better Chrome) even more) and is sometimes slow. There are also some
good alternatives to the actually used "EditArea":
http://stackoverflow.com/questions/198271/is-there-a-good-in-browser-code-editor
C
I need to run some tests about this... will let you know soon.
On Feb 28, 12:34 pm, szimszon wrote:
> What does it mean? Is there a thread about it somewhere?
>
> Sorry I don't understand this session thing :( I already use
> cache.disk instead cache.ram...
>
> http://groups.google.com/group/web2
I moved because vps.net was cheaper and had automatic daily weakly
and monthly backup.
Except for the fact that vps.net seems to be down on Saturdays I am
very happy with their support. They answer emails immediately and are
helpful. They also provide ready made VMs from TurnKey Linux and was
wor
On Feb 28, 2010, at 11:53 AM, Kevin Bowling wrote:
> Linode is faster and more friendly. They aren't owned by a big
> conglomerate like rackspace so you will get personal support and they
> will take a vested interest in keeping the web2py site up. You should
> consider emailing them, they may e
Linode is faster and more friendly. They aren't owned by a big
conglomerate like rackspace so you will get personal support and they
will take a vested interest in keeping the web2py site up. You should
consider emailing them, they may even give you a free instance if you
recommend Linode for web
Here's an even better solution :)
if 'MSIE' in request.env.http_user_agent:
redirect('http:/getfirefox.com/')
But seriously, I see your point. It's a bit of a catch 22 as you are
either coding around browser quirks or relying on javascript.
On Feb 27, 8:42 pm, Jonathan Lundell wrote:
> On
This is obvious but also don't turn the old server off until dns has
fully propagated and users shouldn't notice the transition. 48hrs
usually but 72 to be sure.
On Feb 28, 11:29 am, Jonathan Lundell wrote:
> On Feb 28, 2010, at 7:18 AM, mr.freeze wrote:
>
> > +1 for slicehost and +1 for putting
What does it mean? Is there a thread about it somewhere?
Sorry I don't understand this session thing :( I already use
cache.disk instead cache.ram...
http://groups.google.com/group/web2py/browse_frm/thread/9993d61782c9b11d/489ca6f2b2b018e0?lnk=gst&q=cache.ram+clear#489ca6f2b2b018e0
What is that
On Feb 28, 2010, at 7:18 AM, mr.freeze wrote:
> +1 for slicehost and +1 for putting a message on web2py.com. Something
> like: "We've been growing! As a result, we have had to move this site
> to another host. Please excuse any recent downtime."
I don't have a useful opinion on hosting (I can't r
On Feb 28, 2010, at 4:45 AM, mdipierro wrote:
> You cannot store in a session the result of a select().
This seems to come up a lot. Would it be practical to have Session catch the
exception and raise a more helpful (higher-level) one?
>
> On Feb 26, 2:39 pm, szimszon wrote:
>> The table has
Whoops, that's response.flash :)
On Feb 28, 12:39 am, "mr.freeze" wrote:
> Try this. It builds the form dynamically on the client and server so
> you get to keep the benefits of SQLFORM (validation, etc):
>
> def invite():
> fields = [Field('email',requires=IS_EMAIL())]
> for r in range(1
Sorry my English isn't the best :-o
You mean that I can't cache select with uploaded files?
And it seems to me that the trouble is only with one particular select
result...
This is my actual code:
cut ---
db.define_table( 'invoice',
Field( 'seller_id'
We already have revision built into the system but each page has its
own revision history, not the entire document.
On Feb 28, 8:37 am, Mengu wrote:
> revisions?
>
> On 28 Şubat, 15:07, mdipierro wrote:
>
> > I am thinking about adding miltilingual support directly into the book
> > app. The pro
redirect(URL()) does not call another controller. sends
instructions to the client to call another controller action.
If you really need to call another controller you can do what
described here:
http://web2py.com/book/default/section/4/19
But I'd recommend do not do it. Instead, encapsulate
I followed your advice and for now I a message.
I could move to slice host but not today. I will try later tonight or
tomorrow.
I just landed from India and still need some time to shower, unpack,
rest.
Massimo
On Feb 28, 9:18 am, "mr.freeze" wrote:
> +1 for slicehost and +1 for putting a messag
Hi
Looking into this thread
http://groups.google.com/group/web2py/browse_thread/thread/8c0479e1df9df3e3/be160c757aa666b8?lnk=gst&q=code+against+existing+form#be160c757aa666b8
I had the same problem:
I had in my view a form :
-
f
Hello,
what's the best/easiest way to call a existing controller function
from another controller in the same app?
Until now i used:
redirect(URL(r=request,c=..,f=...,args=.))
In this particular case, the calling controller function is not
associated with a form, i just like to get the return
+1 for slicehost and +1 for putting a message on web2py.com. Something
like: "We've been growing! As a result, we have had to move this site
to another host. Please excuse any recent downtime."
On Feb 28, 9:03 am, Thadeus Burgess wrote:
> Massimo, you should consider moving to slicehost, I have b
"First they ignore you, then they laugh at you, then they fight you,
then you win"
--
Kuba
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email
If I were you, I'd run a benchmark test with the current system and
the same application with web2py. But of course this means time. :)
On 26 Şubat, 04:42, Alfonso de la Guarda wrote:
> Hello,
>
> Right now, i have a costumer in the news business in my country which
> expect, at least, 50 hit
Massimo, you should consider moving to slicehost, I have been running
3 separate slicehost servers for web2py, none of them have ever been
down since I purchased the services.
Alternatively, if you want cloud hosting, rackspace provides excellent
cloud servers in the same datacenters as slicehost.
You are right. We may need a community solution.
I could give root privileges to a couple of people on this list
although the problem is never with the server itself. We have had
problems with the DNS when we migrated and we have had problems with
the hosting provider. In all of these cases there
I do
A_settings.py # global settings and flags
B_w2p.py # web2py related things, auth/crud/service declarations
C_modelA.py
D_modelB.py #relies on model a so it executes after
-Thadeus
On Sun, Feb 28, 2010 at 5:19 AM, Guido Kollerie wrote:
> I'd like to have one file with configurable setti
Most have no use for emacs its not necessary to having a running
web2py server. Emacs is a preference, just as others prefer VIM, and
other prefer simple nano.
Of course, we should all read the script, and comment out anything we
don't like before execution :)
-Thadeus
On Sun, Feb 28, 20
trolls are everywhere and yes, this is unfair because this is not
web2py's fault. however web2py.com being down for hours? this is not
fair too. i remember someone suggesting the community should also run
the web site. i suggest instead of the community you can also share
the information with one o
revisions?
On 28 Şubat, 15:07, mdipierro wrote:
> I am thinking about adding miltilingual support directly into the book
> app. The problem is that adding pages is easy, keeping track of what
> has been translated and what no may be a mess. Any advice?
>
> On Feb 27, 7:50 pm, Vidul Petrov wrote:
they should be quivalent
On Feb 23, 10:11 pm, Richard wrote:
> I sometimes get that ID error on both GAE and the development server,
> and for non-delete operations such as:
>
> db(db.client.id > 0).select()
>
> so to be more robust I have replaced ID calls with:
>
> db().select(db.client.ALL)
>
I am thinking about adding miltilingual support directly into the book
app. The problem is that adding pages is easy, keeping track of what
has been translated and what no may be a mess. Any advice?
On Feb 27, 7:50 pm, Vidul Petrov wrote:
> Hi all,
>
> Some days ago I was happy to found out the o
I do not know. People do not tell me how big theirs sites are. Perhaps
people could give us more information in this thread.
My site gets about 4requests/day.
Massimo
On Feb 26, 5:10 pm, Alfonso de la Guarda wrote:
> Massimo,
>
> I will try to make some tests about performance, however: what
No limitby is not working on Oracle with Joins. This is because Oracle
does not support pagination. We do it anyway using a trick (three
nested select as suggested by the oracle docs) but the trick breaks
down with joins.
On Feb 27, 11:50 am, SergeyPo wrote:
> If you remove limitby it works. I re
This is what the vps.ner logs show:
http://groups.google.com/group/web2py/web/network_graph.png
The vps received no requests in between 6am and 12pm. vps.net had
problems last saturday as well.
Time to switch again? I hate this.
Massimo
On Feb 27, 11:00 am, Brian M wrote:
> Yep, down - notice
sorry. The postfix daemon was down. Now sure why.
Massimo
On Feb 27, 5:58 am, mdmcginn wrote:
> When I try to register, I get a flash "Unable to send email"
>
> On Feb 15, 9:20 am, mdipierro wrote:
>
> > Create a wiki page under preface callederrata. It would be nice if
> > somebody where to mo
http://www.reddit.com/r/Python/comments/b792t/why_is_web2pycom_often_down/
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubs
I'll remove upgrade but not emacs. ;-)
On Feb 26, 2:57 pm, Thadeus Burgess wrote:
> Agreed, this is why I do not recommend the script, it does alot of
> things that don't seem necessary to me.
>
> -Thadeus
>
> On Fri, Feb 26, 2010 at 2:14 PM, Kuba Kucharski
>
> wrote:
> > although the script sho
You cannot store in a session the result of a select().
On Feb 26, 2:39 pm, szimszon wrote:
> The table has upload field and blob to hold file. Can it cause the
> problem?
>
> On febr. 26, 21:22, szimszon wrote:
>
> > This is the cached select which caused the trouble:
>
> > SELECT invoice.id, i
Can you explain a little bit about what this does?
On Feb 26, 10:27 am, Dragonfyre13 wrote:
> Even better!
>
> http://zen-coding.ru/demo/
>
> That is a demo of zenhtml running against editarea, the default editor
> in web2py. Putting zenhtml with our editarea would be pure awesome.
>
> I'd love t
I did not express myself properly.
They could be added but, in import, python would search the paths in
the order they where appended in sys.path. Therefore you may be
importing a module from a different app instead of the one you want.
It would cause confusion.
On Feb 26, 10:32 am, Jonathan Lund
On Sat, 2010-02-27 at 19:13 -0800, mr.freeze wrote:
> def datesearch():
> matches=None
> form =
> SQLFORM.factory(Field('start_date','date',requires=IS_NOT_EMPTY()),
>
> Field('end_date','date',requires=IS_NOT_EMPTY()))
> if form.accepts(request.vars,session):
> (sy,sm,sd) = (
I'd like to have one file with configurable settings instead of having
these settings spread out over mulitple models and controllers. What's
the best practise for this?
My solution is to create a '_settings.py' model. I prepended it with an
underscore to ensure it is the first excuted model file
52 matches
Mail list logo