On Jul 8, 2011, at 6:06 PM, Bruno Rocha wrote:
> On Fri, Jul 8, 2011 at 8:01 PM, Jonathan Lundell wrote:
> It depends on your configuration. If apache/nginx is handling static files
> directly, then web2py never sees it. Otherwise it does.
>
> question:
> i
> How is the be
On Jul 9, 2011, at 10:46 AM, Jim Karsten wrote:
> When controller2 is called it redirects to controller1. The session.flash
> message is lost. Any suggestions for how to prevent the response.flash from
> clobbering the session.flash?
>
> def controller1():
> form = SQLFORM.factory(Field('myf
On Jul 9, 2011, at 11:52 AM, Jim Karsten wrote:
> Yeah, I'm aware of that. However, what if I want that message when
> controller1 is called on its own, not as a redirect from controller2. In the
> example I provided the message isn't very useful, but in some case the
> message can be.
When woul
On Jul 9, 2011, at 1:50 PM, Jim Karsten wrote:
> "You could check whether there's something in response.flash and not clobber
> it, if you liked." Do this in a models file, for example?
No, it's done before the models. When the request comes in, the core logic does:
response.flash = session.flas
On Jul 9, 2011, at 2:01 PM, Jim Karsten wrote:
> Ah, I see. Ok, i'll give that some thought.
Also, ask: what are you really trying to do? In particular, in the case where
you've got incoming session.flash text, and you're also setting your own new
text into response.flash, what do you want to ha
On Jul 10, 2011, at 12:48 PM, Luis Goncalves wrote:
> more thoughts:
>
> could I do something like:
> define a shared global variable session.version
> = -1 initially, signifying no choice made
> ? use a callback that gets executed before the controller that responds to
> the request
> if sessi
On Jul 11, 2011, at 7:08 AM, Anthony wrote:
> All the model files in the root /models folder are run on every request to
> the application, so any object defined in one of those files will be
> available application wide. Is that what you're looking for?
>
> Note, as of version 1.96.1, there ar
On Jul 11, 2011, at 4:52 AM, Ross Peoples wrote:
> Oh, and looking at the code, it doesn't want to start a secured session
> unless mail.settings.login is set. Not sure why this is. Maybe because mail
> servers typically don't allow anonymous logins anymore.
I think that's right. It seems wrong
On Jul 11, 2011, at 7:54 AM, Anthony wrote:
> I'm not sure -- I think you just have to start the background process
> separately. You might consider having it start via cron @reboot. Maybe others
> have suggestions.
Massimo is promising Celery integration by mid-August. Would that work?
>
>
>
>
> On 7/11/11 11:05 AM, Jonathan Lundell wrote:
>>
>> On Jul 11, 2011, at 7:54 AM, Anthony wrote:
>>> I'm not sure -- I think you just have to start the background process
>>> separately. You might consider having it start via cron @reboot. Maybe
&g
On Jul 11, 2011, at 6:32 AM, Francisco Costa wrote:
>
> I read this on the announcement of the latest Python release:
> http://www.python.org/download/releases/3.2.1/
>
> "Since the final release of Python 2.7, the 2.x line will only receive
> bugfixes, and new features are developed for 3.x only
On Jul 11, 2011, at 1:38 PM, cjrh wrote:
> I just realized you asked about Python 3 not 3.2! The stuff I posted was the
> delta from 3.1 to 3.2 only. To see what changes from 2 to 3, read here
> (isn't too long, worth skimming at the very least):
> http://docs.python.org/py3k/whatsnew/3.0.ht
On Jul 12, 2011, at 11:40 PM, Massimo Di Pierro wrote:
>
> This is a GAE bug and we should open a ticket. GAE should not issue
> warning about libraries we do not use and we should not reference
> libraries we do not use to make the warnings go away. Do you want to
> file the bug report? I not, I
On Jul 12, 2011, at 10:45 PM, nic wrote:
>
> Things like:
>
> A Wiki / Blog / CMS / Forum
> An Online Store
> A Personal Accounting System
> A Media Center
> etc ...
>
> The focus would be on producing complete usable and beautiful
> applications.
That's a very ambitious goal. I use, for a coup
On Jul 14, 2011, at 5:17 AM, Anthony wrote:
> I cannot reproduce this problem. For me, 'laa%20poo' is converted to 'laa
> poo' (i.e., the '%20' is properly converted to a space, not an underscore).
> What version of web2py are you using? Are you using the built-in Rocket
> server?
Are you (Anth
I don't think that this is actually documented anywhere, so here's a crack at
it. Not authoritative. This doesn't document the routes.py-based rewriting,
just the "normal" handling of incoming URLs.
main.wsgibase:
web2py expects its incoming URL to be in environ['PATH_INFO'] and
environ['QUER
On Jul 18, 2011, at 9:29 AM, Ismael Serratos wrote:
> Hi!! How could I make custom fields for each record in a model, I mean:
Seems like the answer depends on knowing more than we do about the apps
requirements.
If you don't need direct SQL (eg search) access to the custom fields, you could
ser
On Jul 19, 2011, at 10:15 AM, António Ramos wrote:
> hello i have this in a view
>
> {{=A(amostra,_href=URL(r=request,c='amostra',f='get',vars={'amostra':amostra,'amostra_detalhe':Amostra[amostra]}))}}
>
>
> Amostra is a dictionary
> amostra is every element in Amostra
> every amostra of Amost
On Jul 19, 2011, at 10:37 AM, António Ramos wrote:
> So what is the best way to pass a dictionary from one page to the other?
> can i do session.dictvar=mydictvar?
Yes, as long as everything you put in there can be pickled.
>
> thank you
> António
>
> 2011/7/19 Jonathan
On Jul 19, 2011, at 1:05 AM, sabbir wrote:
>
> A Clickatell call back url can be like this:
>
> http://www.mysite.com/callback.php?api_id=xxx&apiMsgId=xxx&cliMsgId=xxx&status=xxx×tamp=xxx&to=xxx&from=xxx&charge=xxx
>
> where I provide the base url:
> http://www.mysite.com/callback.php
>
> and c
On Jul 20, 2011, at 7:05 PM, luckysmack wrote:
>
> oh yea? well thats handy. am i able to fork/clone a mercurial repo as
> a git repo?
Why git, btw? Seems like sticking with hg would be more straightforward.
>
> On Jul 20, 4:33 am, blackthorne wrote:
>> be aware that google code hosting now su
Ned Deily posted the following on Pythonmac-SIG just now. It's probably of
interest to many of us on this list. Note that Lion ships with *three* versions
of Python installed.
> Here's my take on things after installing and some quick testing with
> 10.7 Lion:
>
> - If you were satisfied with
On Jul 22, 2011, at 7:35 PM, Ross Peoples wrote:
> After some hacking on the welcome application, I have finally got this
> working! I attached a screenshot of a "/default/test" function I created.
> That URL uses the "test.html" view when viewed on the desktop browser, and
> the same URL uses
On Jul 23, 2011, at 12:30 AM, Eric Vicenti wrote:
> I was having difficulties sending from web2py, when I realized there
> is no SSL encryption support. Since this is already built into
> smtplib, it was a simple addition. I should mention this wont work on
> GAE, and I have not comprehensively te
On Jul 23, 2011, at 8:11 AM, Ross Peoples wrote:
> I had given that some thought, but went with '.mobile.html' for clarity. I
> suppose I could make it just '.m.html', but that might be hard to see in a
> list of files. I could have just made it '.mobile', or something, but then
> code editors
On Jul 23, 2011, at 9:19 AM, Ross Peoples wrote:
> In my welcome app's db.py file, this is what I use to switch to the mobile
> view:
>
> if request.is_mobile and request.extension == 'html':
> mobile_view = os.path.join(
> request.controller, request.function + '.mobile.html'
>
ou are configured with TLS or
>>> no security when you should be using SSL, web2py requests will take a
>>> few minutes and eventually the server will report a message send
>>> failure.
>>
>>> Further reading:
>>> http://en.wikipedia.org/wiki/SMTP
On Jul 23, 2011, at 12:36 PM, Ross Peoples wrote:
> That thought had occurred to me about mobile phones vs tablets, but I didn't
> want to get too complex with this right away. However, you are correct that
> many sites have an iPhone/mobile site, and iPad site, and a desktop site. I
> think I'
On Jul 23, 2011, at 3:20 PM, Anthony wrote:
> Developers will probably want to take a variety of approaches to handling
> mobile vs. desktop, so we should probably be careful about being too
> opinionated here and only offering one inflexible approach. For some of this
> stuff, it might make mo
On Jul 23, 2011, at 10:53 PM, Martin Weissenboeck wrote:
> I have written a text page "abc" with web2py wiki containing a label [[a]].
> There are two links in default/index.html:
> http://127.0.0.1:8000/test/plugin_wiki/page/abc#a";>Link 1
> {{=A('Link 2',_href=URL('test','plugin_wiki','page',
On Jul 26, 2011, at 11:57 AM, Wikus van de Merwe wrote:
> Thanks for the hint! It was the logging indeed. Apparently the logging.conf
> that comes with web2py was
> hiding the error:
> ERROR2011-07-26 18:44:54,452 restricted.py:156] Traceback (most recent
> call last):
> File "/home/momat/
On Jul 26, 2011, at 12:26 PM, Jonathan Lundell wrote:
> On Jul 26, 2011, at 11:57 AM, Wikus van de Merwe wrote:
>
>> Thanks for the hint! It was the logging indeed. Apparently the logging.conf
>> that comes with web2py was
>> hiding the error:
>> ERROR2011-07
On Jul 26, 2011, at 3:12 PM, Rufus wrote:
> (to tell the truth, the mobile-enabled websites really tick me off
> when there is no way for
> me to force it back to the "standard" page.)
It's a good point. I just visited a site that insisted that my iPad was an
iPhone. I've seen sites that allow
On Jul 27, 2011, at 10:36 AM, Wikus van de Merwe wrote:
> Yes. There is no call to session.connect(). As I'm running the app on GAE I
> wanted to avoid the
> default file system based session. If this is not default any more and there
> is no session at all
> until explicitly created I can safel
On Jul 28, 2011, at 7:03 AM, Wikus van de Merwe wrote:
> I think you mean the default logging level set to DEBUG as we once discussed
> here:
> https://groups.google.com/forum/#!msg/web2py/N2O7WrPJdAE/trGuTFU9cssJ
>
> But here we have quite opposite problem, it's not that too much goes to the
>
On Jul 28, 2011, at 9:30 AM, Wikus van de Merwe wrote:
> I want to use app-specific routes to make my application more portable. Let's
> assume that there
> is no "web2py/routes.py" file and my application name is "init". Now I
> created the "routes.py" file
> in "web2py/applications/init/" dire
On Jul 28, 2011, at 10:57 AM, Wikus van de Merwe wrote:
> Hmmm... So this means that app-specific routes are not so useful as I
> thought. I thought I would be able
> to get away without the "web2py/routes.py" having all rules defined per
> application. In other words, I was
> expecting the defa
On Aug 1, 2011, at 8:55 AM, agend wrote:
> hi, what do i have to do to make a request to this address :
> example.com/345 go to example.com/show_item/345 ???
>
> i've already set up the default application and controller
Is show_item intended to be the default function? Are you using the paramet
n (only the default function is omitted), and supply a list of functions
in the default controller. There's a note on it in the comments in the
routers.example file.
>
> Arek
>
> On Aug 1, 6:07 pm, Jonathan Lundell wrote:
>> On Aug 1, 2011, at 8:55 AM, agend wrote:
>
oller and find all the valid
function names (perhaps using web2py's dispatch code as a starting point), but
that hasn't been done.
Another possible extension is to accept dicts for default_function and
functions, where the keys would be controller names, so each controller could
have i
On Aug 1, 2011, at 3:59 PM, Bruno Rocha wrote:
> I guess you can't delete /admin if you are starting web2py with rocket and
> cron enabled.
How come?
[Isn't 'how come' an odd idiom?]
Most of gluon/contrib could probably go away, depending on the environment. And
gluon/tests.
>
> On Mon, Aug
On Aug 2, 2011, at 10:02 AM, pbreit wrote:
> Looks like it could be a bug that only happens when a certain Java version is
> not found:
>
> is_jython = settings.global_settings.is_jython = 'java' in
> sys.platform.lower() or hasattr(sys, 'JYTHON_JAR') or
> str(copyright).find('Jython') > 0
>
On Aug 3, 2011, at 3:48 AM, cjrh wrote:
> Here is a printout showing the general space consumption (attached). My
> web2py src, not including the .hg folder is about 14.3MB.
Hmm. I've got iPhone apps 20 times that size...
On Aug 8, 2011, at 9:23 AM, Anthony wrote:
> On Monday, August 8, 2011 11:59:34 AM UTC-4, Massimo Di Pierro wrote:
> because we work under the assumption that this is unsafe as args may
> be used to access the filesystem (for example by the download
> function). Few chacarters are allowed in the
On Aug 14, 2011, at 3:26 AM, fishwebby wrote:
> I'm struggling with the routing in web2py and I'm hoping someone can
> point me in the right direction (I'm a web2py newbie).
>
> I want to change this (which works):
>
> http://127.0.0.1:8000/init/admin_courses/index
>
> to this:
>
> http://127.
On Aug 15, 2011, at 11:38 AM, Anthony wrote:
> You should also be able to go to /admin/default/reload_routes to reload
> routes.py, but it looks like there is currently a bug that is causing that to
> fail.
>
Any idea why (or how)?
On Aug 15, 2011, at 1:20 PM, fishwebby wrote:
> I tried your suggestion, with routes.py in the web2py directory, but
> alas it didn't work. Not sure what I'm doing wrong (nice suggestion
> about the print statement though to make sure it's working).
You can also revise the doctests in routes.py t
On Aug 15, 2011, at 2:40 PM, Anthony wrote:
> On Monday, August 15, 2011 5:14:01 PM UTC-4, Jonathan Lundell wrote:
> On Aug 15, 2011, at 11:38 AM, Anthony wrote:
>
>> You should also be able to go to /admin/default/reload_routes to reload
>> routes.py, but it looks like the
On Aug 17, 2011, at 10:14 AM, Carlos wrote:
> What would be the best way to extend (add methods, not subclass) web2py
> classes?.
>
> For reference if I want to add the method 'test' to db (DAL class)?.
>
> I was doing something automated, but basically the following as a specific
> example:
>
Sounds like a bug in exclusive_domain. I'll look at it when I get home later.
On Aug 17, 2011, at 12:57 PM, vapirix wrote:
> OR can maybe somebody point me in a different direction to achieve the
> same thing without a hilariously complicated config process that I
> won't want to do every time?
on across completely separate app
installs, by creating a separate applications/ directory for each app, and
starting web2py with the --folder option, once for each app. I'm not sure how
you'd configure wsgi for this kind of thing, but it'd be easy enough (I think)
with mod_proxy.
>
&g
On Aug 18, 2011, at 12:23 AM, Massimo Di Pierro wrote:
> It is just that it is complex and Carlos is having problems. Let's
> wait we get to the bottom of those.
> The bigger question to me is why?
If you mean: why add all those methods, then yes.
If you mean why is it behaving that way, I think
On Aug 18, 2011, at 12:46 AM, Jonathan Lundell wrote:
> On Aug 18, 2011, at 12:23 AM, Massimo Di Pierro wrote:
>
>> It is just that it is complex and Carlos is having problems. Let's
>> wait we get to the bottom of those.
>> The bigger question to me is why?
>
On Aug 18, 2011, at 6:09 AM, peter wrote:
> If one enters a url for web2py
>
> .../welcome/default/index/a%20b
>
> then the URL works fine (%20 is an encoded space)
>
> If one puts
>
> .../welcome/default/index/a%27b
>
> then one gets an 'Invalid request'. The %27 is an encoded apostrophe.
>
On Aug 18, 2011, at 7:25 AM, Anthony wrote:
> On Thursday, August 18, 2011 10:09:26 AM UTC-4, Carlos wrote:
>
>now = request.now
>from gluon import current
># assign any object(s) to current to be shared/accessed via the extended
> methods.
>current.now = now
>
> Be careful ab
less good for SEO, or is this not the case?
>
> Peter
>
> On Aug 18, 11:06 am, Jonathan Lundell wrote:
>> On Aug 18, 2011, at 6:09 AM, peter wrote:
>>
>>> If one enters a url for web2py
>>
>>> .../welcome/default/index/a%20b
>>
>>> then
on directory idea. If anybody
> DOES know, I'm all ears. =)
>
> On Aug 17, 10:46 pm, Jonathan Lundell wrote:
>> On Aug 17, 2011, at 4:29 PM, vapirix wrote:
>>
>>> That would be truly excellent.
>>
>>> It would change the way I do a lot of stuff. Ri
On Aug 16, 2011, at 3:07 PM, vapirix wrote:
> So I'm attempting to set up the usage scenario of:
>
> domain1.com -> load app 1
> domain2.com -> load app 2
> etc. etc.
>
> I need domain1 to NOT have access to app 2, 3, 4, 5, etc.
>
> That all works using the router's "domain" settings. Obviously
On Aug 16, 2011, at 3:07 PM, vapirix wrote:
> So I'm attempting to set up the usage scenario of:
>
> domain1.com -> load app 1
> domain2.com -> load app 2
> etc. etc.
>
> I need domain1 to NOT have access to app 2, 3, 4, 5, etc.
>
> That all works using the router's "domain" settings. Obviously
On Aug 19, 2011, at 2:11 PM, nick name wrote:
> request.now is in local time, is that on purpose?
> I think a "request.utcnow" would also be useful (now can be derived from
> utcnow, but the other way around is not 1:1 on days when daylight saving time
> changes)
Yeah, it probably should have b
On Aug 20, 2011, at 10:04 AM, nick name wrote:
> On Saturday, August 20, 2011 11:19:07 AM UTC-4, Jonathan Lundell wrote:
> Yeah, it probably should have been utcnow. Nothing to stop you (or web2py,
> for that matter) from setting request.utcnow, though.
>
> Yep, I am already doi
On Aug 21, 2011, at 7:45 AM, apple wrote:
> On trunk the password has to be over a certain length. If I try to
> login to an existing application with an existing user then it says my
> password is not long enough. However there is no way of changing it
> without logging in!
I do something like t
On Aug 21, 2011, at 8:33 AM, Jonathan Lundell wrote:
> I do something like this. Your details might vary.
>
> # invoke IS_STRONG only for password creation, not password checking
> if "login" not in request.args:
>auth.settings.table_user.password.requires.insert(0
On Aug 21, 2011, at 9:27 AM, Jonathan Lundell wrote:
> On Aug 21, 2011, at 8:33 AM, Jonathan Lundell wrote:
>
>> I do something like this. Your details might vary.
>>
>> # invoke IS_STRONG only for password creation, not password checking
>>
On Aug 21, 2011, at 11:20 AM, Anthony wrote:
> On Sunday, August 21, 2011 1:56:00 PM UTC-4, Jonathan Lundell wrote:
> On Aug 21, 2011, at 9:27 AM, Jonathan Lundell wrote:
> > On Aug 21, 2011, at 8:33 AM, Jonathan Lundell wrote:
> >
> >> I do something like th
4 pm, Jonathan Lundell wrote:
>> On Aug 21, 2011, at 11:20 AM, Anthony wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> On Sunday, August 21, 2011 1:56:00 PM UTC-4, Jonathan Lundell wrote:
>>> On Aug 21, 2011, at 9:27 AM, Jona
On Aug 25, 2011, at 4:48 PM, Kenneth Lundström wrote:
> I'd like to have three types of routings:
>
> a) web2py.main_domain.comdefaults to init, but you can choose the
> application with web2py.main_domain.com
>
> b) testing.main_domain.com leads to application: testing
>
> c) developm
On Aug 25, 2011, at 9:28 PM, Kenneth Lundström wrote:
> On 26.8.2011 5:21, Jonathan Lundell wrote:
>> On Aug 25, 2011, at 4:48 PM, Kenneth Lundström wrote:
>>
>>> I'd like to have three types of routings:
>>>
>>> a) web2py.main_domain.
On Aug 26, 2011, at 9:51 AM, Sebastian E. Ovide wrote:
> what about "something" like this ?
>
> #!/bin/bash
> if test "/path/to/VERSION" -nt "/path/to/VERSION.track"
> then
> # touch VERSION.track
> # restart apache
> else
> nothing
> fi
>
>
> and run it in cron once every 5 minutes or so ..
On Aug 26, 2011, at 6:32 PM, Jarrod Cugley wrote:
> I'm kind of confused because I downloaded web2py on the mac and I have
> a web2py.app file that has the folder 'Contents' inside it which then
> has inside it: Frameworks, MacOS, Resources.
>
> I've been treating Resources as my top-level folder
(in the trunk, not the stable release, as of today)
Due to popular demand, there are a couple of enhancements to the parametric
("new") router.
One is the ability to specify a default function per controller. In the
configuration, default_function has been (and can still be) a string, which
sp
On Aug 28, 2011, at 10:44 AM, Bruno Rocha wrote:
> Lets say I have a dict of all my controlers/actions
>
> dict(default=['index','page'], account=['user','login','profile','logout'])
>
> when requests any that are in the dict should be executed, normal.. but
>
> if request anything that are not
On Aug 28, 2011, at 11:23 AM, Saurabh Sawant wrote:
> They seem fine. Although, having ready to use validators would save
> some time for those learning the framework. I personally expected
> those validators to be already there while I was learning.
Trouble is, there's an endless list of pattern
On Aug 28, 2011, at 2:26 PM, Bruno Rocha wrote:
> Proxy is a great idea, but I would like to keep the url as it is.
>
> I will make account the default controller, and in account I will create a
> proxy to redirect to the index page if passed /index, or something like this.
>
It'd be nice to h
we can use them to implement a redirect(URL(), local=True)
Yeah, I was thinking along those lines. Not sure if it's worth it, and it'd be
easy to misuse, but a full redirect is pretty expensive (time, not cycles).
>
>
> On Aug 28, 4:40 pm, Jonathan Lundell wrote:
>> On
On Aug 29, 2011, at 8:50 PM, Massimo Di Pierro wrote:
> The parametric router allows:
>
> routers = dict(
># base router
>BASE = dict(
>default_application = app,
>),
>app = dict(
>default_language = 'en',
>languages = ['en', 'it', 'pt', 'pt-br'],
>),
>
On Aug 29, 2011, at 9:26 PM, Jonathan Lundell wrote:
> On Aug 29, 2011, at 8:50 PM, Massimo Di Pierro wrote:
>
>> The parametric router allows:
>>
>> routers = dict(
>> # base router
>> BASE = dict(
>> default_application = app,
>> ),
On Aug 30, 2011, at 7:47 AM, Anthony wrote:
> I believe routes_onerror can be used with the parameter-based system as well
> as the pattern-based system. See
> http://web2py.com/book/default/chapter/04#Routes-on-Error.
Right. Error handling is identical under both routers.
On Aug 30, 2011, at 8:37 AM, Alan Etkin wrote:
> I am not sure, but it seems that another application is blocking the
> access to port 8000. Did you check if the windows firewall is not
> blocking the port?. Otherwise try specifying another port than 8000
> (higher) in the development server argum
On Aug 31, 2011, at 12:06 PM, Andrew Evans wrote:
> Hello I have the following in my routes.py file but its not mapping the
> second domain to the web2py project any ideas whats up?
>
> routers = dict(
>
> # base router
> BASE = dict(
> default_application = 'cheer10s',
>
ain ty for the advice
>
> This is a great forum :-)
>
> On Wed, Aug 31, 2011 at 1:36 PM, Jonathan Lundell wrote:
> On Aug 31, 2011, at 12:06 PM, Andrew Evans wrote:
>
>> Hello I have the following in my routes.py file but its not mapping the
>> second domain to the web2p
On Aug 31, 2011, at 5:50 PM, Noel Villamor wrote:
>
> By the way, the reason why I stumbled on this is because I wanted to
> add a fourth TD to my test case.
>
> {{=TABLE(TR(TD('first'),*[TD(x) for x in arr],TD('fourth')))}}
> or more simply
> {{=TABLE(TR(TD('first'),*arr,TD('fourth')))}}
>
> B
On Aug 31, 2011, at 4:33 AM, Henri Heinonen wrote:
> Is it possible to set priorities for web2py applications?
>
> I am running a web2py server with some simulation applications. When I
> run them, the welcome application works very sluggishly so it seems to
> a visitor of my web2py server that t
On Sep 1, 2011, at 11:25 AM, Joe Barnhart wrote:
> Update --
>
> This problem is variable. After logging into the admin session,
> logging out, closing the browser, and then opening it again the
> website seems to add sessions for me even as an unauthenticated user.
> Even after opening up a dif
The cookie name is 'session_id_%s' % appname, so you'd want that cookie from
the current document.
>
> -- Joe B.
>
> On Sep 1, 11:38 am, Jonathan Lundell wrote:
>> On Sep 1, 2011, at 11:25 AM, Joe Barnhart wrote:
>>
>>> Update --
>>
>&g
On Sep 1, 2011, at 5:47 PM, Joe Barnhart wrote:
> I'm having my share of session issues these days. This hour, my
> problem is that the variable "response.session_id" does not seem to be
> set at the point the model files are executed.
>
> I am storing sessions in the database (sqlite) to help w
On Sep 1, 2011, at 11:57 PM, Henri Heinonen wrote:
> 2011/9/1 Jonathan Lundell
> If it's convenient, you might experiment with calling time.sleep(0) fairly
> frequently in your CPU-bound simulation app, perhaps in some inner loop, to
> yield to other threads.
>
> I trie
On Sep 2, 2011, at 1:01 PM, Stefaan Himpe wrote:
> I seem to have hit an unexpected detail of the jsonrpc support in web2py:
> when I post a json request to my web2py application, I get a json reply with
> a content-type set to "text/html; charset=utf8" (whereas i had expected
> something like
Is this coming through generic.json?
On Sep 2, 2011, at 2:15 PM, Stefaan Himpe wrote:
>
>> There *is* a bug, but it should be generating text/x-json (and that should
>> be fixed). Are you sure you're getting text/html?
>
> I definitely received text/html.
> (web2py 1.98.2, running on rocket 1
On Sep 2, 2011, at 3:45 PM, Stefaan Himpe wrote:
>> Is this coming through generic.json?
>
> I created a simple web application from scratch, only added this code in the
> controller (I think web2py has support for both json and jsonrpc? i'm using
> jsonrpc here):
It looks to me as if Service.
On Sep 2, 2011, at 2:15 PM, Stefaan Himpe wrote:
>> There *is* a bug, but it should be generating text/x-json (and that should
>> be fixed). Are you sure you're getting text/html?
>
> I definitely received text/html.
> (web2py 1.98.2, running on rocket 1.2.2).
This should be fixed in the trunk.
On Sep 3, 2011, at 2:03 PM, Massimo Di Pierro wrote:
> Yes and no.
>
> The new scheduler uses multiprocessing to make sure each task is
> executed in its on process. This allows the main process to monitor
> the task and eventually terminate it. It also prevents a task from
> messing up the worke
On Sep 4, 2011, at 12:13 PM, weheh wrote:
> In the previous post, looks like our google groups app lost the
> improperly translated character. It should have read Espaol. The was a white question mark in a black diamond.
That's what I saw.
> With some further experimentation, doing something li
On Sep 4, 2011, at 3:25 PM, weheh wrote:
> Grrr, grrr, and triple grr. This encoding stuff can be so
> awfully painful (all the time, it seems).
>
> OK, Jonathan, I'm pretty sure you are right, it's an editor encoding
> problem, not a web2py problem.
>
> I swear to you that I have vi
On Sep 11, 2011, at 6:48 AM, Anthony wrote:
> I don't think there's any setting. You could strip them out of layout.html,
> or create your own layout.html.
I believe that certain aspects of the interface depend on JavaScript, like
anything requiring a second button (delete?), the delete confirm
On Sep 11, 2011, at 6:53 AM, Anthony wrote:
> I don't know how it works on the Mac, but on Windows, you start the binary
> version at the command line by entering 'web2py.exe' (can also pass command
> line options). Maybe it's the same on Mac -- i.e., just enter 'web2py.app'?
In OS X use the co
On Sep 11, 2011, at 10:38 AM, Phyo Arkar wrote:
> was it coz bossie award , too many hits flooded and downed?
I'd guess that it's up to us to make use of the Bossie to drive traffic to the
site. I wonder how many potential users read InfoWorld?
The biggest utility of the award is that it helps
On Sep 11, 2011, at 11:21 AM, António Ramos wrote:
> hello
>
> why not translate web2py to ruby?
>
> is this a good question or what?
>
Go for it.
On Sep 11, 2011, at 1:35 PM, Bruno Rocha wrote:
> I am more interested in some web2go http://golang.org/
You'd have to work the compiler into the app-development cycle. But I don't
think Go is sufficiently dynamic.
On Sep 11, 2011, at 7:57 PM, Noel Villamor wrote:
> I have a button which does the following callback:
>
> ajax('{{=URL('callback')}}',['btn1'],':eval');"
>
> Then I have the following callback function in my controller:
>
> def callback():
>db(db.tbl.id==100).update(data='sampledata')
>
1101 - 1200 of 1726 matches
Mail list logo