On Friday, 19 July 2019 15:26:05 UTC+1, Leonel Câmara wrote:
>
> You need another table which is an answer table, the answers will have a
> reference to the question and the team that answered.
>
Thank you,
So to check my understanding, the Answer Table would have 3 fields, an
answer field
Hi,
This is a bit of a noob question. I run a club for children, where we have
a quiz night and I would like to develop a web2py app to speed up the
scoring and create a leaderboard. I would like to use web2py as I love the
elegant design, the portability and the focus on security, but I am
>
> Is that what you meant?
> Adam
>
> W dniu niedziela, 8 maja 2016 15:48:23 UTC+2 użytkownik Gavin Kenny
> napisał:
>>
>> Hi,
>>
>> I have been watching web2py for some time and really like it. I have
>> worked through a few basic examples but t
Hi,
I have been watching web2py for some time and really like it. I have worked
through a few basic examples but this is my first "real" project. I am
looking at making a simple Log manager, where I have a python listener that
parses incoming logs and then loads them into the database and then
Looks interesting. How is your development going with f7 and web2py?
--
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
I would love to try this! Thanks for the link
--
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
was nignx faster than running on Apache as default setting?
--
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
interesting. How did you run the test on Apache and share us how you did tweak
apache setting to boost the performance?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
thank you Leonel and Niphlod!
--
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
great tip!
i have a question on passing form variables through ajax, can i pass form.vars
if i want to pass all variables including 'q' inbox?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I think it has to do with csvkit since loading big file creates this issue.
Thank you as always! Let's go! Web2PY!
On Monday, December 14, 2015 at 1:45:25 PM UTC-5, kenny c wrote:
>
> Sorry for late reply and thank you so much, Niphlod!
>
> I am still playing with Scheduler, so I
inside the function ?
>
> On Tuesday, November 24, 2015 at 1:15:15 PM UTC+1, kenny c wrote:
>>
>> Just tested with psycopg and same error.
>> =
>> ERROR:web2py.scheduler.postit#20382:Error retrieving status
>> Exception in thread Thread-1:
>> Traceback (most
bugs: pscopg2 is
> certainly more solid. If the same happens with psycopg2, can we see the
> actual function queued (or a function that replicates this behaviour) ?
>
>
> BTW: send_heartbeat() shouldn't timeout that easily: it's called every 3
> seconds so AT LEAST THAT connecti
HI, I am not sure what causes this issue..
I am running Web2py with Postgresql, I am getting this exception in thread
while running a scheduler. and I get InterfaceError("Connection is closed")
.
I am wondering if Postgresql has timeout setting or scheduler timeout? (I
made sure that timeout
I think there is timeout issue on the scheduler and I am not sure which one
it is..
Seems to me that the Scheduler stops if it takes longer than 5 minutes in
regardless of the value of timeout saved in the task row.
On Saturday, November 21, 2015 at 8:12:05 PM UTC-5, kenny c wrote:
>
>
Hi Niphlod,
Thank you for this information.
Could you tell me how you manage to copy new data into db from db2 after
finishing the scheduler job?
Thank you.
On Friday, November 9, 2012 at 10:31:03 AM UTC-5, Niphlod wrote:
>
> if you can, use a separate db for the scheduler. SQLite doesn't
I guess if SQLite cannot handle many concurrent users while
writing/reading, should I move to postgres or mongoDB? There will be over
10k rows added every 10mins.
Thanks.
On Wednesday, October 14, 2015 at 10:03:30 PM UTC-4, kenny c wrote:
>
> Hi Niphlod,
>
> Thank you for this
Thank you for your reply as always, Niphlod!
On Tuesday, May 12, 2015 at 3:55:20 PM UTC-4, Niphlod wrote:
takend straight from the book at
http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-grid-and-SQLFORM-smartgrid
*buttons_placement and links_placement both take
Thank you! your customer search function example answers my question.
just curious, does SQL grid search function work same way as your search
function example?
On Sun, May 10, 2015 at 11:47 PM, Anthony abasta...@gmail.com wrote:
Basically I have 5 fields (last_name, middle_name, first_name,
Thank you. Hope web2pyslices finds new home soon.
On Saturday, May 9, 2015 at 9:33:36 AM UTC-4, Michael Beller wrote:
In the meantime ... http://web2pyslices.pythonanywhere.com/
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Hello Web2py users,
My site requires a JS script library that requires a PHP file and I just
don't have any idea how I should enable PHP on my Web2py site.
Is there any way to host PHP w/ Web2py on Nginx environment Ubuntu?
Thank you.
--
Resources:
- http://web2py.com
-
I've been trying to import big csv file into the database by running the
private script, but the system kills it for running too long..
I am running postgresql and I have also tried COPY query. However, I don't
have id column for over 10million rows and Excel just dies on me if I try
to input
I am currently working on generating a jpg file and the filename contains
special characters in it.
when the link to image file is www.somedomain.com/abcd%2Bfdf.jpg It gives
invalid request error.
I am currently using request.args to read the filename.
I tried to understand routes.py but I
I have a website link that has special characters in it, e.g)
www.asdfasdf.com/5%pic.jpg If I try to open this link, I get invalid
request error.
The reason that the link ends with jpg extension is that I am creating a
jpg file with a Python library.
Any help would be great. I tried to play
Great to know! Thank you
On Fri, May 3, 2013 at 1:31 PM, Niphlod niph...@gmail.com wrote:
a little correction. serializers.py in trunk now inverts the order
of imports
it tries simplejson (cause newer versions of simplejson as an external
module are always faster than the standard json
Hi Anthony,
So, should I just import contrib.simplejson? Is this recently changed?
Ken
On Thu, May 2, 2013 at 8:26 PM, Anthony abasta...@gmail.com wrote:
It's contrib.simplejson.
On Thursday, May 2, 2013 9:08:31 PM UTC-4, Kenneth wrote:
This seems odd to me.
I just moved my server and
Ouch. I must have used old version of web2py than.
I always imported simplejson as import simplejson as json
I totally forgot to replicate my setup before terminating my linode server.
Ken
On Thu, May 2, 2013 at 8:36 PM, Anthony abasta...@gmail.com wrote:
I think that's where it has always
Thank you as always, Anthony. Working great. ;)
On Wed, May 1, 2013 at 2:29 PM, Anthony abasta...@gmail.com wrote:
What if you add exclusive_domain=True to the BASE dict? I believe that
prevents creating outgoing URLs like that, but not sure if it affects
incoming requests.
Anthony
On
Yesterday, I wanted to get the tokens from Facebook and Twitter for users
and using the Web2py normal login system at same time. I only wanted to use
their APIs not for implementing oauth login into my website.
I was able to get tokens from Facebook API by using Facebook JavaScript
SDK. I chose
I was able to manage this issue. Tweepy was the one I used and used
redirect to get tokens from callback. I guess it's better to leave
login_form function as is. :) Have a nice day!
On Tuesday, March 26, 2013 8:51:09 AM UTC-5, Kenny wrote:
Yesterday, I wanted to get the tokens from Facebook
is pretty specific to
our
needs and so i don't think it's a candidate for us to open source.
i'll
take a look into what we are doing though to see if any of it
can/should be
open sourced.
cfh
On Saturday, February 9, 2013 11:40:50 AM UTC-8, Kenny wrote:
Howesc,
Thanks for great
Howesc,
Thanks for great info. So, does mobile app user have to register web2py via
access token provided by their hardware in mobile application? May you
explain how you built the login/registration module for mobile app users
along with web2py?
Do you code in html5 with native code for
I am testing out to store Python code and run it by extracting it from the
database.
It looks simple but it's giving me a weird error.
*//Code*
{{a=row.temp}} //question.temp is def f(x):\nx = x + 1\ny = 10\n
return x + y same as below
{{b=def f(x):\nx = x + 1\ny = 10\nreturn
Thank you for the link, Bruno!
On Mon, Jan 7, 2013 at 9:36 PM, Bruno Rocha rochacbr...@gmail.com wrote:
An interesting set of Jquery plugins..
http://jquery-jkit.com/
Bruno
--
--
Thank you for sharing. I am getting IOerror from this. It seems to me that
it's working on your server and not on mine. very weird.
On Wednesday, July 4, 2012 3:29:11 PM UTC-5, Relsi Hur wrote:
here a very fast example.
Em quarta-feira, 4 de julho de 2012 16h40min45s UTC-3, cheer10s
I changed the routes_in to redirect one of my domains to some application,
it sometimes redirects to welcome.
Anyone knows why it does this?
--
Basically, I get the place data with longitude and latitude, calculate it
if it's more than 3000 miles, remove that row from Rows.
I am sure that this is wrong. If I can remove the row from fetch rows, how
can I add extra columns to the rows for distance between two points?
P.S the result has
= Rows if they
are scheme identically.
Take a look at row.exclude() on dal chapter of the book
On Mon, Sep 17, 2012 at 4:51 PM, Kenny nis...@gmail.com wrote:
Basically, I get the place data with longitude and latitude, calculate it
if it's more than 3000 miles, remove that row from Rows
Thank you, Bruno. Do they also offer Web2py hosting as well? I am not
familiar with their service. By the way, thanks for another reply for my
post couple days ago! ;)
On Sat, Sep 15, 2012 at 8:36 PM, Bruno Rocha rochacbr...@gmail.com wrote:
And data-clips are amazing feature!
login_bare is so useful for accessing the database manually in mobile
application, is there anyway to let the users to register the website via
mobile application?
ex) register_bare(id,password) - Save it in the database - user is registered.
I wasn't able to find how I should make this
When I used customform for login, it won't give me any errors to be shown
whenever the password was invalid or email is not existing. I put it on
jquery mobile website. Any idea?
On Jul 4, 2012 4:25 PM, Anthony abasta...@gmail.com wrote:
If you refuse to use web2py's css and js files, remember
beautiful. looking great!
On Thu, May 3, 2012 at 9:12 PM, José Ricardo Borba jrborba...@gmail.comwrote:
Very impressive. Very good job. I will be glad if you share with us.
José Ricardo Borba
Porto Alegre - RS
2012/5/3 Ricardo Pedroso rmdpedr...@gmail.com
As requested by Massimo, I've
So I think I successfully implemented Facebook login. However, I have a
problem combining with regular login.
Because as the book stated, I did
auth.settings.actions_disabled=['register','change_password','request_reset_password','profile']
so I can't use regular register/login
How can I
Nice. Is this website urs? How can I open modal window like tos on this
website?
On Apr 21, 2012 6:20 PM, Bruce Wade bruce.w...@gmail.com wrote:
http://96.126.99.73/ register use sponsor id 12. Under products is a kind
of shopping card that allows you to buy projects using paypal, alipay or
I am trying to change the time on Ubuntu. It kept showing me UTC time. I
tried all the method.
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
and
dpkg-reconfigure tzdata
but no luck
I even changed rcS to UTC=no but no goal
Any Idea? I am using linode.
I am sorry for unrelated topic. but
ignore this post. My letc/localtime was corrupted. Just deleted and
resymbolinked it.
On Friday, April 13, 2012 9:39:02 PM UTC-7, Kenny wrote:
I am trying to change the time on Ubuntu. It kept showing me UTC time. I
tried all the method.
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
I just did it. :) thank you.
On Fri, Apr 6, 2012 at 12:10 AM, pbreit pbreitenb...@gmail.com wrote:
I don't think so. Try: apt-get install python-imaging
I just registered for Linode to host web2py. after playing it for few
hours, It doesnt seem too easy to deploy..
I followed
https://groups.google.com/forum/?fromgroups#!topic/web2py/kd_A86Qwz6w
by creating a script and run it. (init.deb.sh files are relocated)
I think everything's followed
By the way, the setup I was looking at was wsgi+ nginx
On Thursday, April 5, 2012 9:14:07 PM UTC-7, Kenny wrote:
I just registered for Linode to host web2py. after playing it for few
hours, It doesnt seem too easy to deploy..
I followed
https://groups.google.com/forum/?fromgroups#!topic
i am following their tut right now. It caused 502 Bad Gateway
any idea?
On Thursday, April 5, 2012 9:39:13 PM UTC-7, rochacbruno wrote:
I use Linode and I just run web2py/scripts/nginx+uwsgi and t works like a
charm!
On Fri, Apr 6, 2012 at 1:14 AM, Kenny nis...@gmail.com wrote:
I just
-nginx-uwsgi-ubuntu.sh
~/web2py/scripts $ ./setup-web2py-nginx-uwsgi-ubuntu.sh
just follow the steps in script
On Fri, Apr 6, 2012 at 2:06 AM, Kenny nis...@gmail.com wrote:
i am following their tut right now. It caused 502 Bad Gateway
any idea?
On Thursday, April 5, 2012 9:39:13 PM UTC
@Bruce,
I see. I will keep that in mind. Glad that I ran it on 10.04.
On Tuesday, 3 April 2012 23:45:46 UTC-5, Kenny wrote:
I have some python fetching rows and calculating distances on views. Do u
guys think that it delays loading time? Thank you.
I inserted databases on Fluexflex's MySql. However, I had an error while
inserting them.
The question is how can I delete SQL file in web2py application and insert
dbs all over again?
I dropped all the tables in mysql server. However web2py application has
sql file that I cannot have an
, Kenny nis...@gmail.com wrote:
I inserted databases on Fluexflex's MySql. However, I had an error while
inserting them.
The question is how can I delete SQL file in web2py application and
insert dbs all over again?
I dropped all the tables in mysql server. However web2py application has
I have some python fetching rows and calculating distances on views. Do u
guys think that it delays loading time? Thank you.
Im curious on this as well. Also, is list:reference valid for mysql?
On Apr 1, 2012 2:23 PM, bussiere adrien bussi...@gmail.com wrote:
ok i see the example :
db.define_table('tag',Field('name'),format='%(name)s')
db.define_table('product',
Field('name'),
I tried to compare by doing
{{=row.start_hour request.now.time()}}br/
start_hour is defined as 'time'
error :
TypeError: can't compare datetime.time to NoneType
How can I convert time field to be time type? so I can compare them.
Also, one last question is how can I show times in
Wonderful! Thank you!
On Thu, Mar 29, 2012 at 9:05 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
default_time = datetime.time(12,00)
(row.start_hour or default_time) request.now.time()
On Thursday, 29 March 2012 02:50:12 UTC-5, Kenny wrote:
I tried to compare by doing
I am just trying to make pizza order page with web2py.
I usually store quantity of pizza and id number in session.
But how can I store pizza topping info that user ordered in session?
I am not too familiar with python, so I don't know what would be the
best way to store it.
So session will have
))
On Mon, Mar 26, 2012 at 4:02 PM, Kenny nis...@gmail.com wrote:
I am just trying to make pizza order page with web2py.
I usually store quantity of pizza and id number in session.
But how can I store pizza topping info that user ordered in session?
I am not too familiar with python, so I don't
Thank you. the answer was very clear for me to solve it.
one another question is about Bruno's answer about storing data in session
using dictionary.
I see that appending works for adding new orders but what if you place an
order that's already placed in session? I know how to compare one word at
I looked up the documentary and example, I wasn't able to find one.
How can I convert this to Web2py format?
a href=index.htmlWish List b(3)/b/a
Thank you.
Never Mind. It was easier than I really thought of.
{{=A('Wish List',B('(3)'),_href=URL('index'))}}
Awesome :)
On Mon, Mar 19, 2012 at 12:22 PM, Kenny nis...@gmail.com wrote:
I looked up the documentary and example, I wasn't able to find one.
How can I convert this to Web2py format?
a href
I have
city_list = [('Huntsville', 'AL'), ('Decatur', 'AL'),
('Anchorage', 'NV'), ('Nome', 'AK'),('Selma', 'AL'),
('Flagstaff', 'AZ'), ('Phoenix', 'AZ'), ('Tucson', 'AZ')]
And I want to list it in HTML.
I don't know what would be the best solution for this.
so Html
I think I will just do it with this way..
I created two lists (one is for states,one is for city and state)
And I just compared them by for loops. sorry for newb question as I am
new to python.
On 3월18일, 오전12시21분, Kenny nis...@gmail.com wrote:
I have
city_list = [('Huntsville', 'AL
I just started programming in web2py from php.
I know how to do it on Mysql and GAE(geohash or I forgot but there's
another one)
But it seems that SQLite doesn't support acos and asin. Is it true?
Is there any other way around to calculate inside of Sqlite query?
What would be the best way to
Thank you for reply Wikus. I know I can use mysql. But I am trying to stick
with Sqlite. hehe Does DAL queries support MySql just like Sqlite?
On Wed, Mar 14, 2012 at 4:18 AM, Wikus van de Merwe
dupakrop...@googlemail.com wrote:
You can use mysql with web2py:
for your code to do calculations in the controller
code before storing/updating data?
On 14 mar, 05:19, Kenny nis...@gmail.com wrote:
I just started programming in web2py from php.
I know how to do it on Mysql and GAE(geohash or I forgot but there's
another one)
But it seems that SQLite
Date and datetime pickers are working fine except time picker
Field('start_time', 'time',notnull=True), is what I put.
It doesn't give me any js calendar popup.
Any help? thank you.
Thanks Anthony. You should add the lambda hint should be added to your
StackOverflow answer.
The question is here:
http://stackoverflow.com/questions/8668379/asynchronous-background-processes-with-web2py
Please, consider answering on StackOverflow so the community can value your
answers.
http://stackoverflow.com/questions/8661166/custom-css-classes-for-sqlform-widget-input-in-web2py
73 matches
Mail list logo