until tags are pushed to the main repo, tags are
herehttps://github.com/niphlod/web2py/tags... in the evening I'll add the
2.4.2 tag.
On Monday, March 4, 2013 8:50:31 AM UTC+1, Paolo valleri wrote:
Good works, I will try it later today.
I don't know if you have already discussed about that,
that it is pure-python indeed, and frankly reinventing the wheel with a
contrib module for every oauth service out there starts to be kinda hard to
maintain (talking about dropbox, linkedin, openid, etc in gluon/contrib).
On Sunday, March 3, 2013 9:52:57 PM UTC+1, Alan Etkin wrote:
It works!
Thank you, Denes!
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit
Hi All,
I'm developing an app on GAE which has suddenly stopped serving, and
just wanted to sanity check that other web2py users were not seeing the
same thing.
The app uses Python 2.7, HRD and CloudSQL. It's a relatively simple
transactional CRUD app - nothing clever at all from the GAE
Dear everyone,
I uploaded file about 100mb successfully but it got
Exceptions.MemoryError when I uploaded a file ~400mb.
I tried upload to ftp with pyfilesystem but got that error too
I saw in Windows Task Manager, the Python progress takes too much ram
and makes system be frozen.
This is
Never update to new version , ever , before you are about to show something
to your client, or Boss.
I had learnt several lessons , in hard ways..
Make sure everything is safe before you do.
On Monday, March 4, 2013 10:43:00 AM UTC+6:30, Alfonso de la Guarda Reyes
wrote:
Hi!
Great job!
How much Ram it takes.
Wont take alot more than 400mb i believe.
On Monday, March 4, 2013 2:40:12 PM UTC+6:30, Mạnh Trần Đức wrote:
Dear everyone,
I uploaded file about 100mb successfully but it got
Exceptions.MemoryError when I uploaded a file ~400mb.
I tried upload to ftp with
Hello friends!
When I try something like this
---
db.define_table('m_dsc_cards_copy',
Field('cardid','string',length=20,notnull=True,unique=True),
migrate=False,
using google for QR codes (although Graph API will be deprecated in 2015)
What to do then? Is there any other core feature that relies in Graph API?
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop
db.category.parent.requires = IS_EMPTY_OR(IS_IN_DB(db, 'category.category'))
On Sunday, March 3, 2013 9:34:59 PM UTC-5, 黄祥 wrote:
a, thank you so much for your detail explaination anthony. it's work fine
now by add :
db.category.parent.requires=IS_IN_DB(db, 'category.category')
btw, with
There is a issue open for this by me and Massimo try a couple of time to
solve it, but it seems it still there...
Richard
On Mon, Mar 4, 2013 at 8:34 AM, Anthony abasta...@gmail.com wrote:
db.category.parent.requires = IS_EMPTY_OR(IS_IN_DB(db, 'category.category'
))
On Sunday, March 3,
http://code.google.com/p/web2py/issues/detail?id=382q=self%20reference
On Mon, Mar 4, 2013 at 9:07 AM, Richard Vézina
ml.richard.vez...@gmail.comwrote:
There is a issue open for this by me and Massimo try a couple of time to
solve it, but it seems it still there...
Richard
On Mon, Mar 4,
First of al I like a library that claims web2py compatibility that's a
very good sign!
Does social-auth support a common API (aka janrain) to access social
info or it is just the auth part?
For the auth part we already cover already much of it, the dying
OAuth1.0a and the now stable OAuth2.0,we
It doesn't claim *web2py* compatibility it claims *webpy* compatibility
I'm guessing it means web.py
On Tue, Mar 5, 2013 at 1:10 AM, Michele Comitini
michele.comit...@gmail.com wrote:
First of al I like a library that claims web2py compatibility that's a
very good sign!
Does social-auth
On Monday, March 4, 2013 3:10:33 PM UTC+1, Michele Comitini wrote:
First of al I like a library that claims web2py compatibility that's a
very good sign!
? web2py is out (part of the reason why I asked if someone was
interested). There's webpy, flask and django.
Does social-auth
multiple options:
- someone will make available a service
- you make your own QRs (plenty of libs out there)
On Monday, March 4, 2013 2:10:17 PM UTC+1, Alan Etkin wrote:
using google for QR codes (although Graph API will be deprecated in 2015)
What to do then? Is there any other core
+10
good job.
El domingo, 3 de marzo de 2013 22:38:19 UTC-5, Massimo Di Pierro escribió:
The book will be out shortly describing this version.
I am sure there are some corners to iron but I could not wait any longer.
Changelog:
- 2D GEO API: geoPoint, getLine, geoPolygon
- support for
Hi,
I have a feeling this is quite easy to do but can't find an elegant way of
doing it.
I'm building a book application for an client, the book has chapters and
articels in it. Every book has an editor and every articel has a writer and
cowriter. There will be maybe 20 books. Every editor
Well, I get the same thing as the other poster:
Version 2.3.2 (2012-12-17 15:03:30) stable
Unable to check for upgrades http://web2py.com/
only I don't have 2.4.2. Same laptop, dual-booting Windows 7 Pro and
Ubuntu 12.10 desktop, python 2.7.3 on both... running web2py from a folder
in the
Hi,
more questions on my book application.
There is let's say 20 books, all containing about 10 chapters and then
maybe 5 articels per chapter.
Every article is its own item in a table. When everything is ready all
articles are looked and published. When it is time to upgrade the articles
Hi,
how do you orderby and groupby with two fields?
I have a table with these fields: chapter, page and version. I'd like to
find all items that are unique based on chapter and page and has the
highest version number.
Kenneth
--
---
You received this message because you are subscribed to
I'm just guessing cause your model isn't entirely clear
book_set = db(db.book.editor == auth.user_id)
articles = db(db.article.writer ==
auth.user_id)(~db.article.book.belongs(book_set._select(db.book.id)))
books = book_set.select()
http://web2py.com/books/default/chapter/29/06#orderby,-groupby,-limitby,-distinct,-having
order=field1|field2
On Monday, March 4, 2013 3:50:54 PM UTC+1, Kenneth wrote:
Hi,
how do you orderby and groupby with two fields?
I have a table with these fields: chapter, page and version. I'd like
which web2py version?
On Monday, 4 March 2013 06:46:21 UTC-6, Dmitry Mosin wrote:
Hello friends!
When I try something like this
---
db.define_table('m_dsc_cards_copy',
we are using hg tags, git tags, and semantic versioning.
On Monday, 4 March 2013 01:50:31 UTC-6, Paolo valleri wrote:
Good works, I will try it later today.
I don't know if you have already discussed about that, just in case, I
would suggest to start the use of git tags so it will be easier
git tags are not published https://github.com/web2py/web2py/tags . did
you issue git push --tags ?
On Monday, March 4, 2013 5:11:27 PM UTC+1, Massimo Di Pierro wrote:
we are using hg tags, git tags, and semantic versioning.
On Monday, 4 March 2013 01:50:31 UTC-6, Paolo valleri wrote:
Hi,
Is there a way to use the datastore for the session, filesystem and
ticket tables, whilst using CloudSQL for the actual db?
Also, having migrated from the datastore to CloudSQL, I am no longer
getting tickets saved in either - is there anything obvious I can look
into there? (In the
This is not a list:reference field, just a regular reference.
On Monday, March 4, 2013 9:07:35 AM UTC-5, Richard wrote:
There is a issue open for this by me and Massimo try a couple of time to
solve it, but it seems it still there...
Richard
On Mon, Mar 4, 2013 at 8:34 AM, Anthony
Yeah I just read the code, I read self-reference in his question and you
answer first word was Self-reference :)
Richard
On Mon, Mar 4, 2013 at 11:30 AM, Anthony abasta...@gmail.com wrote:
This is not a list:reference field, just a regular reference.
On Monday, March 4, 2013 9:07:35 AM
I've fixed the issue with the variable names by prefixing a letter to the
variable. However, the insert still does not function. Here's the error:
127.0.0.1.2013-03-04.11-38-23.96eaf75d-0524-4eb8-8848-6000d1993dcd
class 'gluon.contrib.pymysql.err.InternalError' (1048, uColumn 'Q4_3A'
cannot
I figured this out later on - I've adjusted all the variables and field
names to start with a Q. Thanks.
On Saturday, March 2, 2013 5:57:30 PM UTC-5, Arglanir wrote:
I think your compilation error comes from the fact that in Python you
cannot have a variable name starting with a number. Try
Did you previously define that column with notnull=True? If so, you may
need to alter that column directly in MySQL so it allows null values.
Anthony
On Monday, March 4, 2013 11:41:05 AM UTC-5, Anthony Bond wrote:
I've fixed the issue with the variable names by prefixing a letter to the
The values shouldn't be null - it should be a int value from between 0 and
5. Even if the user didn't select any items, the default value will still
be 0 from the drop down list.
On Monday, March 4, 2013 11:51:01 AM UTC-5, Anthony wrote:
Did you previously define that column with
gluon.contrib.simplesjson.dumps(a)
At :
http://web2py.com/books/default/chapter/29/10?search=simplejson#simplejson
Richard
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it,
On Tue, Mar 5, 2013 at 1:24 AM, Niphlod niph...@gmail.com wrote:
On Monday, March 4, 2013 3:10:33 PM UTC+1, Michele Comitini wrote:
First of al I like a library that claims web2py compatibility that's a
very good sign!
? web2py is out (part of the reason why I asked if someone was
web2py(tm) (2, 4, 1, 'alpha.2', datetime.datetime(2013, 3, 2, 9, 17, 16))
понедельник, 4 марта 2013 г., 22:09:59 UTC+6 пользователь Massimo Di Pierro
написал:
which web2py version?
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To
I had asked a question about comparing datetimes here:
https://groups.google.com/forum/?fromgroups=#!topic/web2py/2euU80vV2WE
The question was answered but I ran into another problem closely related,
so I made a sequel. Let's hope we don't have to suffer through a trilogy!
Here is what I am
web2py(tm) (2, 4, 2, 'stable', datetime.datetime(2013, 3, 3, 21, 22, 42))
Traceback (most recent call last):
File /var/www/py/web2py/gluon/restricted.py, line 212, in restricted
exec ccode in environment
File /var/www/py/web2py/applications/discount/models/db.py
Web2py 242 wizard,
The buttons [+] and [-] don't work.
I test: Firefox 18, Chrome and IE8; Ubuntu 12.04 and Win7.
Thanks
Fernando Lucas
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving
Hello I am trying to figure out how to do a query where given the region of
an entry in a database show entries from categories where people have
chosen that region.
I have atm this database code
db.define_table('listing',
Field('userinfo',db.auth_user,default=auth.user_id,
no, it's not possible. request.now is always calculated on the server, not
on the client. That being said, the today on the server may not be the
same today on the clients accessing your page from all the timezones in the
world
e.g. if you're providing some kind of function based on THEIR
I will,
I'm currently figuring out how to arrange my EC2 instance. After that I'm
looking for advice with web2py / Apache setup :) One problem at the time.
On Sunday, March 3, 2013 3:37:32 PM UTC+2, wwwgong wrote:
Please share the benchmark results when avail
--
---
You received this
To generate qr, I've used qrcode:
https://pypi.python.org/pypi/qrcode/2.4.1
You can see a working example here:
https://code.google.com/p/web2conf/source/browse/modules/image_utils.py
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
On Mon, Mar 4,
Hi I did something I think which is similar
you can get the current time based on time zone like this
import datetime
import pytz
import time
current_time =
datetime.datetime.now(pytz.timezone('US/Eastern')).replace(tzinfo=None)
This allowed me to schedule videos to play at a given time
Not
ps: version check fails because it expects
version (date) stable/dev
instead of the current format
Version 2.4.2 (stable) 2013-03-04 03:26:21
On Monday, March 4, 2013 5:13:34 PM UTC+1, Niphlod wrote:
git tags are not published https://github.com/web2py/web2py/tags .
did you issue git
Looks like you don't assign names to any of the selects, so their values
are not passed via request.post_vars (and therefore don't make it into
form.vars).
On Monday, March 4, 2013 11:54:23 AM UTC-5, Anthony Bond wrote:
The values shouldn't be null - it should be a int value from between 0
Thanks Anthony, that's very useful to know.
I'll have a look and try the simplest option :-). I'll have to update
web2py first so I'm not tinkering with old code to start with. I'll post my
code in one of those places if it works as expected.
On Saturday, March 2, 2013 12:59:45 AM UTC,
Whoops - true sign of a neophyte.
Is there a reason why web2py uses names as opposed to IDs?
On Monday, March 4, 2013 3:20:15 PM UTC-5, Anthony wrote:
Looks like you don't assign names to any of the selects, so their values
are not passed via request.post_vars (and therefore don't make it
it's how HTML works.
On Monday, March 4, 2013 10:09:51 PM UTC+1, Anthony Bond wrote:
Whoops - true sign of a neophyte.
Is there a reason why web2py uses names as opposed to IDs?
On Monday, March 4, 2013 3:20:15 PM UTC-5, Anthony wrote:
Looks like you don't assign names to any of the
db.category.parent.requires = IS_EMPTY_OR(IS_IN_DB(db, 'category.category'
))
a, the solution is so simple just to add the validator : IS_EMPTY_OR().
web2py is so efficient in developing time. thank you very much anthony.
--
---
You received this message because you are subscribed to
hi,
i want to show parent child tree using table that have self-reference.
actually i've tried the self-reference query, but the result is not i
expected, is there any idea for this?
for example:
*db.py*
db.define_table('category',
Field('category', length=10, notnull=True, unique=True),
Problem is that you are passing db.m_dsc_cards_copy as second argument and
it is a Table. It expects a Field.
On Monday, 4 March 2013 06:46:21 UTC-6, Dmitry Mosin wrote:
Hello friends!
When I try something like this
Hi,
How can I orderby IP address?
Can I write my own sort function?
How?
The following code:
db.t_device2ip.f_ip_id.requires = IS_IN_DB(db,'t_ip.id','%(f_ip_addr)s:
%(f_dns_name)s',multiple=False, orderby = 't_ip.f_ip_addr')
Sort as if IP was a string. (well in fact it is.. but that's not the
Yes Anthony, I think such an option is missing, as usually you just want to
disable that for few grids...
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Thanks Derek and Richard.
I got it to work by using:
db.t_bsc.id.label=T('Service Code')
After the the table definition, instead of inside of it.
Thanks also for the id type. I was not aware of that type.
Thanks,
On Monday, 11 February 2013 20:43:24 UTC+1, Richard wrote:
I just look again
Is SQLFORM.grid translatable now? :)
Thanks!
Tito
On Mon, Mar 4, 2013 at 5:07 PM, Niphlod niph...@gmail.com wrote:
ps: version check fails because it expects
version (date) stable/dev
instead of the current format
Version 2.4.2 (stable) 2013-03-04 03:26:21
On Monday, March 4, 2013
Hi Folks,
I would like to avoid 2 different users to run the same function while the
it is already running.
Example:
User 1 is running my_function, while it is running, if User 2 tries to run
it the application should warn that it is already in execution
Thanks!
Tito
--
Linux User #387870
That being said, the today on the server may not be the same today on
the clients accessing your page from all the timezones in the world
Maybe I wasn't clear in my question, but this is exactly the problem I am
trying to solve. I am trying to provide some kind of function based on
their
One possibility is to use a lock file. Look for portalocker.py in the gluon
directory and the Session class which uses portalocker.py for use. Needing this
functionality should be rare, multiple requests run on different threads so no
collisions in the controller should occur. The database
Hi Ron,
Thanks for you response, I need this because I have a function that clear a
table, read a bunch of local files and import it into the database. I just
want to avoid 2 people cleaning the table or maybe people querying the
table while it is being updated...
On Mon, Mar 4, 2013 at 10:10
Thanks Andrew, I was able to get this working for my current timezone using
datetime and timedelta. I'm still new at this so if anyone has a better
way or can get this working for all users anywhere instead of just people
in my time zone that would be awesome.
On Monday, March 4, 2013
at one point i was running both together. i did something like:
db = insert connection code here
sqldb = insert connection code here
and then connected tickets and such to db.
cfh
On Monday, March 4, 2013 8:24:44 AM UTC-8, Philip Kilner wrote:
Hi,
Is there a way to use the datastore for
i'm no longer using cloudSQL as i don't need it anymorebut several
months ago when i was using it i got weird and varied problems on GAE when
i had exceeded my billing quota on could SQL. have you checked that those
SQL instances are running and billing up to date?
On Monday, March 4,
Does anyone have this same problem with a smart grid ? Running on Linux.
Thanks
1.) the word grid is show to the right of the grid
2.) No boxes for Bread Crums
3.) No buttons for external links just text to the link
Daily Count View
grid:
- Daily
вторник, 5 марта 2013 г., 4:34:44 UTC+6 пользователь Massimo Di Pierro
написал:
Problem is that you are passing db.m_dsc_cards_copy as second argument and
it is a Table. It expects a Field.
Oh, I was not attentive
(However, it works for non-keyed tables)
Thank you Massimo!
--
---
Hi,
On 05/03/13 02:02, howesc wrote:
at one point i was running both together. i did something like:
db = insert connection code here
sqldb = insert connection code here
Got it - had tied that, but...
and then connected tickets and such to db.
...could not work out how to point these
Hi,
On 05/03/13 02:05, howesc wrote:
i'm no longer using cloudSQL as i don't need it anymorebut several
months ago when i was using it i got weird and varied problems on GAE
when i had exceeded my billing quota on could SQL. have you checked
that those SQL instances are running and billing
ahh, the connection stuff is in the book:
#store sessions in the DB
session.connect(request,response,db = db)
http://web2py.com/books/default/chapter/29/13#Avoid-the-filesystem
On Monday, March 4, 2013 9:50:02 PM UTC-8, Philip Kilner wrote:
Hi,
On 05/03/13 02:02, howesc
hrmmaybe it's time for GAE's next code update. i frequently notice a
degradation in performance just before they announce a new SDK version.
i'm not seeing anything out of the ordinary on my GAE apps right now, but i
do agree that the GAE team is not as transparent as i would like.
i
Hi Christian,
On 05/03/13 06:07, Christian Foster Howes wrote:
ahh, the connection stuff is in the book:
#store sessions in the DB
session.connect(request,response,db = db)
http://web2py.com/books/default/chapter/29/13#Avoid-the-filesystem
D'Oh!
Thanks for the pointer -
Hi Christian,
On 05/03/13 06:12, Christian Foster Howes wrote:
hrmmaybe it's time for GAE's next code update. i frequently notice
a degradation in performance just before they announce a new SDK version.
Interesting observation - will look out for that.
i'm not seeing anything out of
a) missing css files
b) you're probably using the generic view and returning dict(grid=grid,
)
On Tuesday, March 5, 2013 4:06:17 AM UTC+1, Dan Kozlowski wrote:
Does anyone have this same problem with a smart grid ? Running on Linux.
Thanks
1.) the word grid is show to the right of the
http://web2py.com/books/default/chapter/29/06#Record-versioning
On Tuesday, March 5, 2013 2:55:03 AM UTC+1, rh wrote:
On Mon, 4 Mar 2013 06:47:55 -0800 (PST)
Kenneth kenneth.t...@gmail.com javascript:
wrote:
Hi,
more questions on my book application.
There is let's say 20
73 matches
Mail list logo