Does anyone have any advice on this topic? I really must be able to do this
somehow.
I think the problem happens in form.validate() function, because web2py is
trying to validate everything and in there he is trying to save the file.
I see two options:
1. Somehow disable web2py automatic
I tought that localhost and 127.0.0.1 were equivalent, but it looks not. I
'd like to understand the difference.
After auth authentification in a CAS, the system redirects correcty to
localhost:8000/myapp/default/index.
Now, in a controller action, if I redirect again, for instance to
web2py + tornado
http://vimeo.com/38972256
2013/6/14 samuel bonilla pythonn...@gmail.com
Web2py + node.js
El viernes, 14 de junio de 2013 09:36:31 UTC+8, shartha escribió:
Hello. Some questions about websockets:
1) Can websockets be implemented within web2py without any in-socket
server
Hi all,
I'm creating a rest interface and I'd like to do something like:
URL: /pets/default/api/pets
RESULT: [
{name: 'Ramo',
animal: 'dog',
owner: 'http://server:port/pets/default/api/owners/15'}
]
but instead it keeps returning in the format of
[
{name: 'Ramo',
animal: 'dog',
owner: 15}
]
The format attribute of a table is used to set the default represent
attribute of reference fields that reference the table. However, the
represent attribute is only used in particular contexts, such as
SQLTABLE, view-only forms, and the grid.
Anthony
On Friday, June 14, 2013 6:40:32 AM
The URL host name is part of request.client, which is used as the prefix
for the session ID -- so switching from localhost to 127.0.0.1 causes a new
session ID (and therefore session file) to be created.
Anthony
On Friday, June 14, 2013 4:26:21 AM UTC-4, Serge Bourgeois wrote:
I tought that
Did you search web2pyslices.com?
There are some examples which may interesting to you.
On Friday, 14 June 2013 07:47:58 UTC+1, Domagoj Kovač wrote:
Does anyone have any advice on this topic? I really must be able to do
this somehow.
I think the problem happens in form.validate() function,
yes, I figured that. But since I _do_ want to provide the lnks to the
referred resources, I'm still looking for a solution.
Is it possible to provide a custome json-rendering routing or something?
Even hacking the json rendering-routne itself would do, If I'd now where to
hack it.
On Friday,
Yes i searched there also, but i did not find anything that fits my needs.
All uploads work the same way, there is no multiple upload. Files are sent
to server one by one. I want to upload the files directly, not with some
jquery combination.
--
---
You received this message because you are
How are you rendering it now?
On Friday, June 14, 2013 7:04:19 AM UTC-4, R. Osinga wrote:
yes, I figured that. But since I _do_ want to provide the lnks to the
referred resources, I'm still looking for a solution.
Is it possible to provide a custome json-rendering routing or something?
Even
I just render it by placing .json behind the url.
I have pretty much this:
http://www.web2py.com/book/default/chapter/10#parse_as_rest-(experimental)
It looks like I might use something like a custom_json property on table or
field, but I'm not sure. I also wonder how to use it then.
On Friday,
Could you make your own json view and render it manually?
I do that with XML and very happy with flexibility.
--
---
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
hmmm, rather not. I'm looking for a generic solution.
Well, nevermind then. It's not that big of an issue. The code calling my
services, knows the url pattern anyway.:-)
On Friday, June 14, 2013 12:40:32 PM UTC+2, R. Osinga wrote:
Hi all,
I'm creating a rest interface and I'd like to do
Hello. Some questions about websockets:
1) Can websockets be implemented within web2py without any in-socket
server
side component?
2) If yes, how is the constructor used on a local machine in the
constructor, say, as:
var ws = new WebSocket(ws://localhost/echo);
Thank you!
-
uWSGI
db.pets.owner.filter_out = lambda owner: URL('default', 'api', args=[
'owners', owner])
See http://web2py.com/books/default/chapter/29/6#filter_in-and-filter_out.
Anthony
On Friday, June 14, 2013 8:40:42 AM UTC-4, R. Osinga wrote:
hmmm, rather not. I'm looking for a generic solution.
Well,
This was very useful to me too, Thanks.
--
---
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
i'm not sure how to get the web2py shell to work with GAE, but how about
you use http://127.0.0.1:8000/console that is started when you run the GAE
dev server?
On Wednesday, June 12, 2013 10:20:16 AM UTC-7, Quint wrote:
Hello,
I'm trying to use the interactive shell with the GAE dev server
can you paste the traceback, teh web2py version, and the GAE SDK version
you are using? i'm currently dealing with some problems with the GAE SDK
version 1.8.1 released 2 days ago.
On Thursday, June 13, 2013 8:29:35 AM UTC-7, peibol wrote:
Hi all:
Everything is running smoothly at
Hello
In my company we have some need to send sms or even a call to a mobile
phone every time a UPS goes down,especially after hours.
Also we are a chemical factory so some alarms of some kind could alert some
people's phone.
I would like to know if you know any cloud service that receives an
Aravind,
I see that in trunk (and perhaps the latest web2py release) i think that
this has been fixed. Please make sure you are using the latest web2py
version. I'm working on upgrading to the latest web2py version and then
the latest GAE SDK to get things working for me. There may be some
This is really important to me, can anyone help me?
--
---
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,
don't know if it works for you, but there's a contrib for sending sms
gluon/contrib/sms_utils.py.
on the receiving email part, there's the dal adapter for an IMAP inbox.
In italy we have skebby.it that has a nice feature of mail 2 sms, but
again, I don't know if it's available in your country.
Can't you just loop through the files in request.post_vars and insert
them manually, without using SQLFORM validation?
You can still use SQLFORM to generate HTML form or you can write that
manually too.
You can use db.table.validate_and_insert(...) or you can use
db.table.fieldname.validate
When I'm create a new application, i get a complacated initial view.
For example annoying Welcome customize me text. If you are not a html/css
guru,
you have hard time while remove it, becouse the doc does not contains it.
step by step.
I think the initial clearing would be the first thing in
The default layout in the welcome app (which is used to generate new apps)
comes from /views/layout.html, and the default index page comes from
/views/default/index.html. If you do not like the defaults, simply delete
those files and build your layout and other views from scratch as per the
Hey there. ;)
Have you tried this one?
https://groups.google.com/forum/?fromgroups#!topic/web2py/Lc-aZXVpsk4
It seems that something similar has been implemented in that fashion in the
wizard for creating an app in web2py.
Does that help?
BR,
Jason
On Thu, Jun 13, 2013 at 11:55 AM, Ykä Marjanen
I just reverted back to 2.4.6-stable+timestamp.2013.05.10.08.32.00 and the
problem exists there as well.
-Jim
On Friday, June 14, 2013 8:54:59 AM UTC-5, Jim S wrote:
Here you go. Attached.
-Jim
On Thursday, June 13, 2013 10:46:58 PM UTC-5, Massimo Di Pierro wrote:
Can we see an
This may also help... we did this in interestid.com when creating an event.
@auth.requires_login()
def create_event():
'''
NOTES:
* new_event_form
'''
from plugin_StepyForm import StepyForm
steps = [
dict(title=Step 1, legend=First step, fields =
Expert Texting does what i need.
Thank you Simone
2013/6/14 Niphlod niph...@gmail.com
don't know if it works for you, but there's a contrib for sending sms
gluon/contrib/sms_utils.py.
on the receiving email part, there's the dal adapter for an IMAP inbox.
In italy we have skebby.it that
Dear team,
I'm using Google App Engine - with python 2.7 and web2py. My application
suddenly stopped working from yesterday to today. I deployed the
application today (June14, 2013) and I get the error OverflowError: Python
int too large to convert to C long when web2py code tries to store
Dear team,
I'm using Google App Engine - with python 2.7 and web2py. My application
suddenly stopped working from yesterday to today. I deployed the
application today (June14, 2013) and I get the error OverflowError: Python
int too large to convert to C long when web2py code tries to
I'm using Google App Engine - with python 2.7 and web2py. My application
application suddenly stopped working with new deployment.
I deployed the application today (June14, 2013) and I get the error
OverflowError: Python int too large to convert to C long when web2py code
tries to store
They have a soap service
i want the sendsms call
s:element name=SendSMS
s:complexType
s:sequence
s:element minOccurs=0 maxOccurs=1 name=UserID type=s:string/
s:element minOccurs=0 maxOccurs=1 name=PWD type=s:string/
s:element minOccurs=0 maxOccurs=1 name=APIKEY type=s:string/
s:element
Trunk now includes some new functionality in appadmin to allow specially
designated administrative users of an app to manage specific tables in the
database.
First, there is /appadmin/manage/auth, which is a special page specifically
for managing Auth users, roles, and permissions. Just create
http://runnable.com http://runnable.com/python
I see other webframeworks like Express
maybe web2py could be added to this
--
---
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,
Generally, maybe error template can be some app config, but not bound to
routing?
and if it is found it is used, and if not found - default template would be
used...
and maybe default template could work a bit smarter - check if admin is
logged, and then display this iframe with stuff
Does anyone here know what this error means?
Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
Traceback (most recent call last):
File /home/www-data/web2py/gluon/restricted.py, line 212, in restricted
exec ccode in environment
File
I don't know about the soap problem.
However, I do know that i had a good experience in getting this service
working once...
http://www.bulksms.com/
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and
That must be it. I updated my deployment to the newest Debian with Python
2.7 and all is working now. You are the man!
-- Joe
On Thursday, June 13, 2013 10:36:36 PM UTC-7, Massimo Di Pierro wrote:
There should be no difference but I remember reading in the past there was
a bug in hashlib
It means your Base64 has incorrect padding. Those equals signs at the end
are important. You can try adding some or subtracting some to get the
correct padding.
Chances are, your data is corrupted.
On Friday, June 14, 2013 10:15:49 AM UTC-7, Auden RovelleQuartz wrote:
Does anyone here know
On Fri, Jun 14, 2013 at 3:44 PM, António Ramos ramstei...@gmail.com wrote:
Hello
In my company we have some need to send sms or even a call to a mobile
phone every time a UPS goes down,especially after hours.
Also we are a chemical factory so some alarms of some kind could alert
some
what do you mean by:
Those equals signs at the end are important. ?
Please elaborate - many thanks
On Friday, June 14, 2013 3:12:56 PM UTC-5, Derek wrote:
It means your Base64 has incorrect padding. Those equals signs at the end
are important. You can try adding some or subtracting some
On Fri, Jun 14, 2013 at 2:36 AM, shartha m.mirghorb...@gmail.com wrote:
Hello. Some questions about websockets:
1) Can websockets be implemented within web2py without any in-socket
server side component?
Yes. Runnig web2py with gevent or eventlet
If you want I can post an example using
hi all, i'm from colombia, I do not speak English... this is a translater
of google... translate.google.com.co
when I insert my name on the form do not nothing
why in the second view name = request.vars.visitor_name or
redirect(URL('first')) return None ???
def first():
form =
uhm the red parts must be equal
def first():
form = SQLFORM.factory(Field('
visitor_name', requires=IS_NOT_EMPTY()))
if form.process().accepted:
name = form.vars.visitor_name
redirect(URL('second',vars=dict(name=name)))
return dict(form=form)
def second():
not found in the second.html vew show...
hola *None
*
*why ??
*
*
*
*
*
*are* wrong *the example in the book * ???
2013/6/14 Niphlod niph...@gmail.com
uhm the red parts must be equal
def first():
form = SQLFORM.factory(Field('
**visitor_name', requires=IS_NOT_EMPTY()))
if
One more thing -- you can override the default /appadmin/manage/auth by
providing an auth key in auth.settings.manager_actions with a custom dict
for that action (this makes it possible to specify a custom heading or
limit which Auth tables are included). In that case, you'll still get some
thanks for you help Niphlod i go continue learning thanks
2013/6/14 Niphlod niph...@gmail.com
it works fine here.
if you found the example in the book, it needs to be updated.
--
---
You received this message because you are subscribed to a topic in the
Google Groups
https://en.wikipedia.org/wiki/Base64
look at those equals signs at the end. They line it up every 4 bytes...
On Friday, June 14, 2013 1:45:58 PM UTC-7, Auden RovelleQuartz wrote:
what do you mean by:
Those equals signs at the end are important. ?
Please elaborate - many thanks
On
Thanks - I assume you are talking about the change from class
Reference(int) to class Reference(long). Should work I think.
Btw: This fix was done quite some time ago (on Jan 1st 2013 -
https://github.com/web2py/web2py/commit/dd3055836a3f8fbc5b06763710c369cab3f3fc40)
- so patch might not be
see thread
https://groups.google.com/forum/?fromgroups=#!searchin/web2py/1.8.1/web2py/jT3djFSBxQw/VhRA_D46EAEJ
--
---
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
see thread
https://groups.google.com/forum/?fromgroups=#!searchin/web2py/1.8.1/web2py/jT3djFSBxQw/VhRA_D46EAEJ
On Friday, 14 June 2013 12:52:35 UTC+5:30, Mukesh wrote:
Dear team,
I'm using Google App Engine - with python 2.7 and web2py. My application
suddenly stopped working from
Yup, that change is why i'm upgrading web2py now. Other GAE users have
reported issues with the recent web2py versions, and i think i found an
issue in the auth module when using custom table names. I'll let you
know my results as i do my testing
cfh
On 6/14/13 17:33 , Aravindan Rs
I'm trying to set up a test server that's close to the production server
I'm going to have. I have a VM with web2py and nginx/uwsgi installed on
Debian. The database is Postgres which runs on the host of the VM and
talks thru a host only network adapter, also on Linux.
It all seems to work
you can start to translate in the language folder
https://github.com/gustavox4ids/hackathon_sebrae/pull/10
2013/6/11 joseph simpson jjs0...@gmail.com
Google translate does a good job on most of this material..
On Tue, Jun 11, 2013 at 12:47 AM, Jason (spot) Brower encomp...@gmail.com
Hi,
recently we are having too many spams posted on web2pyslices.com
I am deleting one by one, but started to be difficult to track this.
We need to implement a captcha system or any other kind of spam blocking.
is there any volunter? to do this for user registration form and also for
article
56 matches
Mail list logo