what web2py version are you on ?
On Friday, October 24, 2014 3:01:23 AM UTC+2, Henry Nguyen wrote:
>
> Niphlod,
>
> That does not appear to be the case, either for request.restful() requests
> or regular controller requests. For example, consider this controller
> method:
>
> def test():
> l
You can do in the head section of the view
history.forward();
I use it in my applications.
On Wednesday, August 27, 2014 3:06:45 AM UTC+5:30, Fotis Gioulekas wrote:
>
> Hello to everybody,
>
> I have built a quiz that randomlycreates questions.
> Each time a user submits it's answer
I am trying to scale up my application deployed on Heroku by increasing the
number of dynos and am currently confronted with the issue of handling
sessions in a distributed environment.
The regular solution (storing sessions in the database) does not seem to
work anymore when multiple dynos run
Hello to everybody,
I have a question, please answer for me!
In the model, I define a field:
*db.define_table('mytable',*
* Field('is_imported', 'boolean', default =
False), ...)*
*db.**mytable*
*.insert(is_imported = True,..)*
*db.**mytable**.insert(is_imported = False
Sorry, this issue just occur in *mssql2.*
Vào 17:36:52 UTC+7 Thứ sáu, ngày 24 tháng mười năm 2014, Gianganh Nguyen đã
viết:
>
>
> Hello to everybody,
> I have a question, please answer for me!
>
> In the model, I define a field:
>
> *db.define_table('mytable',*
> * Field
Looks like the MSSQL2 adapter stores booleans as "T" and "F" character
values, so you may need to convert your 1's and 0's to "T" and "F".
Anthony
On Friday, October 24, 2014 7:14:47 AM UTC-4, Gianganh Nguyen wrote:
>
> Sorry, this issue just occur in *mssql2.*
>
>
> Vào 17:36:52 UTC+7 Thứ sáu,
I gave this validator.
requires=(IS_EMPTY_OR(IS_UPLOAD_FILENAME(extension='pdf')))
But when I submit the form I still get the error Enter a valid file name.
Please help me.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
Hi,
Working with a team building a reasonably complex webapp for an investment
management system, and I'm trying to learn something of the system too.
I have a module that updates data from a file (simulating an FTP drop).
Once the module has been loaded the first time, it doesn't update for
try this one too...
http://www.corelangs.com/css/box/hover.html
Ling
On Friday, November 11, 2011 12:27:46 AM UTC+5:30, Massimo Di Pierro wrote:
> http://tympanus.net/Tutorials/OriginalHoverEffects/index.html
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- htt
Hi All,
This is my first time posting a question, so thanks to Massimo and they
whole community for making web2py. Its great!
I am trying to export results from a customized full-text search using
SQLFORM.grid. My backend is a Postgres db, and I successfully define
"search_widget" and "searc
Hello sir,
thank you for the hint I am working on this.
I hope it works also in my application.
BR
F
On Friday, October 24, 2014 10:54:54 AM UTC+3, T.R.Rajkumar wrote:
>
> You can do in the head section of the view
>
> history.forward();
>
> I use it in my applications.
>
> On Wed
from https://devcenter.heroku.com/articles/java-faq
The Heroku routing infrastructure does not support “sticky sessions”.
Requests from clients will be distributed randomly to all dynos running
your application.
On Friday, 24 October 2014 04:41:06 UTC-5, Louis Amon wrote:
>
> I am trying to
Thanks for the headsup Anthony!, luckly it's not my case.
Cheers!
On Thu, Oct 23, 2014 at 2:18 PM, Anthony wrote:
> On Thursday, October 23, 2014 12:52:33 PM UTC-4, Leonel Câmara wrote:
>>
>> Doesn't the database take care of that? I mean isn't db session handling
>> inside a transaction anyway
Hello all,
I am about ready to start deploying my site. It is a private site for about
8-10 users. I was wondering if, given the small size, whether it would be
safe to use the rocket web server, rather than apache or nginx?
Thanks
Rod
--
Resources:
- http://web2py.com
- http://web2py.com/boo
Any Idea?
Regards
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-user
I'm on the latest version from the repo,
2.10.0-beta+timestamp.2014.10.16.15.58.50,
though I had this issue on the mainline 2.9.11 as well.
Henry
On Friday, October 24, 2014 12:37:15 AM UTC-7, Niphlod wrote:
>
> what web2py version are you on ?
>
> On Friday, October 24, 2014 3:01:23 AM UTC+2,
On Thursday, October 23, 2014 7:11:19 AM UTC-7, Niphlod wrote:
>
> you can't reference fields from different databases.
>
>
To work around that, you'd do a select on db1 to get the data you want, and
then an update on db?
/dps
> On Thursday, October 23, 2014 3:07:50 PM UTC+2, Carl Petersen
This is a more general DB query, but I've learned to trust the web2py
community, and web2py is where the answer will do me the most good.
I'm looking at a table where I want to have a custom ordering on a field.
Standard ascending and descending don't quite work for me in the use I'm
intereste
if the cardinality of "owner" is not high, fetch them all and use "for row
in rows.sort(yourownfunction)". If the cardinality is high, either do two
queries, or add a "sort_index" integer column that you can use for large
sorts.
use for row in rows.sort()
--
Resources:
- http://web2py.co
ok. got it. usually in APIs you don't post an array, you post an object.
automatic parsing works only for objects, not for arrays.
On Friday, October 24, 2014 8:08:02 PM UTC+2, Henry Nguyen wrote:
>
> I'm on the latest version from the repo,
> 2.10.0-beta+timestamp.2014.10.16.15.58.50,
> though
rocket is perfectly fine.
On Friday, October 24, 2014 7:29:47 PM UTC+2, Rod Watkins wrote:
>
> Hello all,
>
> I am about ready to start deploying my site. It is a private site for
> about 8-10 users. I was wondering if, given the small size, whether it
> would be safe to use the rocket web serve
On Thursday, October 23, 2014 12:27:09 PM UTC-7, Niphlod wrote:
>
> if you're serving all assets from the same hostname, then "Chinese network
> restrictions" aren't the cause. Maybe a wrongly set proxy, but it's
> entirely not web2py's fault, nor your app's code.
>
Could the user's browser ha
Good. I like its simplicity.
Thanks!
On Friday, 24 October 2014 12:42:43 UTC-7, Niphlod wrote:
>
> rocket is perfectly fine.
>
> On Friday, October 24, 2014 7:29:47 PM UTC+2, Rod Watkins wrote:
>>
>> Hello all,
>>
>> I am about ready to start deploying my site. It is a private site for
>> about 8
Hi Rod,
I am interrested in the same kind of setup.
When you say Rocket, are you talking about : https://launchpad.net/rocket ?
Thanks!
Le vendredi 24 octobre 2014 22:03:12 UTC+2, Rod Watkins a écrit :
>
> Good. I like its simplicity.
> Thanks!
>
> On Friday, 24 October 2014 12:42:43 UTC-7, Niphl
Web2py is by default run on rocket.
But even small set of users , i recommend uWSGI , it greatly improve
perfornace and when doing big upload/download , it Shines! , ajax
responses much faster .
Plus very easy to install and setup uWSGI.
On Sat, Oct 25, 2014 at 3:33 AM, Bilal El wrote:
> Hi Rod,
Yes, though it's actually the web server included with web2py:
https://github.com/web2py/web2py/blob/master/gluon/rocket.py
Anthony
On Friday, October 24, 2014 5:03:36 PM UTC-4, Bilal El wrote:
>
> Hi Rod,
>
> I am interrested in the same kind of setup.
> When you say Rocket, are you talking abo
Thanks Phyo!
I didn't knew that web2py was built on Rocket for the developpement
environnement.
Thanks for the advice about uWSGI.
Le Fri Oct 24 2014 at 23:07:44, Phyo Arkar a
écrit :
> Web2py is by default run on rocket.
> But even small set of users , i recommend uWSGI , it greatly improve
>
Indeed the very structure of Heroku makes it difficult to retain session
coherence.
But is there a way to work around this ?
I mean if Heroku's structure makes it so that web2py gets completely confused
about which dyno is which, then any performance gain attained through a
distributed archite
With sessions in a shared database, you shouldn't need sticky sessions, as
the sessions are accessed in one central location. Not sure why it's not
working in this case, but it bears further investigation.
Anthony
On Friday, October 24, 2014 5:41:06 AM UTC-4, Louis Amon wrote:
>
> I am trying t
On Friday, October 24, 2014 12:34:41 PM UTC-7, Niphlod wrote:
>
>
> if the cardinality of "owner" is not high, fetch them all and use "for row
> in rows.sort(yourownfunction)". If the cardinality is high, either do two
> queries, or add a "sort_index" integer column that you can use for large
On Wednesday, October 8, 2014 1:00:56 PM UTC+2, Narūnas Krasauskas wrote:
>
>
> I have never said anything like you quoted, what I said though was: "users
> who can get to the search page ideally would be able to search/see all the
> records". Meaning, that users has access to the 1+m records, ho
+1 on anthony. Dynos are meant to scale as "serving frontends".
The data(base) that a dyno1 sees NEEDS to be the same data(base) dyno2
sees, or the whole concept of consistency is not assured (and there's
little point of being "distributed" when the only consistency is assured by
having a repli
CORRECTION: I got the boolean wrong below... In fact, I fixed it by
editing sqlhtml.py to force the exporter to condition on
(request.vars.keywords *and not callable(searchable)*) before setting up
the rows object to export. That is, if searchable is not defined,
then SQLFORM.build_query get
I couldn't find anyplace other than this group at http://web2py.com to
report this.
At http://web2py.com/layouts, Under About --> About plugins, the link is
http://web2py.com/book/default/chapter/13#Plugins. I think that the "13"
should probably be a "12".
--Tim
--
Resources:
- http://web2
I am on the same boat, any solutions?
Dana subota, 18. listopada 2014. 20:57:46 UTC+2, korisnik Alfonso de la
Guarda Reyes napisao je:
>
> Hi,
>
> Any change about this? or at lesat how to solve?
>
>
> El jueves, 8 de mayo de 2014 03:22:14 UTC-5, Paolo Valleri escribió:
>>
>> I opened an issue ht
Hello Dexter, I think your are right. I will review this asap. Meanwhile,
would you be able to open an issue with a link to this thread so we can
more easily keep track. Thanks!.
Massimo
On Thursday, 23 October 2014 13:23:16 UTC-5, Dexter Hadley wrote:
>
> Hi All,
>
> This is my first time post
Please open an issue. this should work.
On Friday, 24 October 2014 02:13:54 UTC-5, Nurendra Choudhary wrote:
>
> I gave this validator.
> requires=(IS_EMPTY_OR(IS_UPLOAD_FILENAME(extension='pdf')))
>
> But when I submit the form I still get the error Enter a valid file name.
> Please help me.
>
>
Normally modules are not reloaded because they are cached by python. web2py
can bypass this, depending on where the modules are located. If you kwwp in
your modules in the web2py app/modules folder then you can do in your
models/db.py
DEBUG=True
from gluon.custom_import import track_changes; tr
Thanks for reporting this.
On Friday, 24 October 2014 08:51:56 UTC-5, Tim Chase wrote:
>
> I couldn't find anyplace other than this group at http://web2py.com to
> report this.
>
> At http://web2py.com/layouts, Under About --> About plugins, the link is
> http://web2py.com/book/default/chapter/
Yes. I've printed it. It shows empty dict
On Oct 23, 2014 7:33 PM, "Massimo Di Pierro"
wrote:
> Yes it works for me. Can you help debug? Can you print d['response'] and
> try figure out where the response attributes are?
>
> On Friday, 17 October 2014 00:42:29 UTC-5, Prasad Muley wrote:
>>
>> Hi
I do not know what to say. It works with the provide I was using. Look into
the provider log. perhaps there is an error message there.
On Friday, 24 October 2014 19:30:24 UTC-5, Prasad Muley wrote:
>
> Yes. I've printed it. It shows empty dict
> On Oct 23, 2014 7:33 PM, "Massimo Di Pierro"
> wr
Ok, Simone is a legend. He found that a recent change in Microsoft's
wfastcgi.py was causing the problem. He suggested a fix requiring IIS's URL
rewrite module, which I have tested and it works. I've moved from apache to
IIS now and I'll see how it goes over the coming week.
--
Resources:
- h
42 matches
Mail list logo