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 reg
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 to
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 nice
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
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,
y/scripts
> ~/web2py/scripts$ chmod +x setup-web2py-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 wrote:
>
>> i am following their tut right now. It caused "50
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 afte
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 /e
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 combin
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 fr
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 escr
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?
--
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.
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 d
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 will
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 wrote:
> I have
> city_list = [('Huntsville', '
I looked up the documentary and example, I wasn't able to find one.
How can I convert this to Web2py format?
Wish List (3)
Thank you.
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
I tried to compare by doing
{{=row.start_hour > request.now.time()}}
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 different
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 acces
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 wrote:
>
> And data-clips are amazing feature!
>
> https://postgres.heroku.com/data
combine rows with Rows += Rows/ or Rows &= 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 wrote:
>
>> Basically, I get the place data with longitude and latitude, calcula
I have some python fetching rows and calculating distances on views. Do u
guys think that it delays loading time? Thank you.
each request
>
> 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.
>>
>
@Bruce,
I see. I will keep that in mind. Glad that I ran it on 10.04.
I just did it. :) thank you.
On Fri, Apr 6, 2012 at 12:10 AM, pbreit wrote:
> I don't think so. Try: apt-get install python-imaging
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" 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
> ucash. You can als
beautiful. looking great!
On Thu, May 3, 2012 at 9:12 PM, José Ricardo Borba wrote:
> 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
>
>> As requested by Massimo, I've upload some screenshots:
>>
>> h
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" wrote:
> If you refuse to use web2py's css and js files, remember that
>> response.f
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\nretu
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 developing
gt; unfortunately our modified OAuth implementation 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
>>
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 thi
Thank you for the link, Bruno!
On Mon, Jan 7, 2013 at 9:36 PM, Bruno Rocha wrote:
> An interesting set of Jquery plugins..
>
> http://jquery-jkit.com/
>
> Bruno
>
> --
>
>
>
>
--
http://stackoverflow.com/questions/8661166/custom-css-classes-for-sqlform-widget-input-in-web2py
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.
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:
> http://web2py.com/books/defaul
ble for your code to do calculations in the controller
> code before storing/updating data?
>
> On 14 mar, 05:19, Kenny 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
> >
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 wrote:
> I looked up the documentary and example, I wasn't able to find one.
> How can I conver
: 1234, "quantity": 2, "toppings": ["tomatoes", "pepper",
> "zuchini"]}
>
> session.order.append(dict(pizza))
>
>
> On Mon, Mar 26, 2012 at 4:02 PM, Kenny wrote:
>
>> I am just trying to make pizza order page with web2py.
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
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:
>
Im curious on this as well. Also, is list:reference valid for mysql?
On Apr 1, 2012 2:23 PM, "bussiere adrien" wrote:
> ok i see the example :
>
> >>> db.define_table('tag',Field('name'),format='%(name)s')
> >>> db.define_table('product',
> Field('name'),
> Field('tags','list:refe
x27; at line 16")
On Tue, Apr 3, 2012 at 1:34 PM, Richard Vézina
wrote:
> Change your db connection string to the mysql server then
>
> fake_migrate=True
>
> And
>
> get back with migrate=True.
>
> Search the book with fake_migrate for more explanation.
>
>
Thank you as always, Anthony. Working great. ;)
On Wed, May 1, 2013 at 2:29 PM, Anthony 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 Wednesday, Ma
Hi Anthony,
So, should I just import "contrib.simplejson"? Is this recently changed?
Ken
On Thu, May 2, 2013 at 8:26 PM, Anthony 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 ran the
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 wrote:
> I think that's where it has always been.
>
>
> On Thurs
Great to know! Thank you
On Fri, May 3, 2013 at 1:31 PM, Niphlod 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 shipped with
.commit()
>
> 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 exam
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
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:
>
>
de pg8000 that showed here and there some obscure 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&
r 24, 2015 at 9:52:30 AM UTC-5, Niphlod wrote:
>
> please remove any print statement and why are you importing
> modules 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
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,
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)
- https://code.google.com/p/
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
"
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 (Repor
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 sub
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
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 you
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
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 bu
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
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
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
- http://web2py.com/book
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 (Sour
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 wrote:
> Basically I have 5 fields (last_name, middle_name, first_name,
>> mother_full_nam
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
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 han
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
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 not
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 an
73 matches
Mail list logo